0x36302418126y36302418126
Grid:
Tics Lines:
Width px
Hash Lines:
Width px
Labels:
Font px
Trace Lines:
Robot 1:
Width px
Robot 2:
Width px
Robot 3:
Width px
Robot 4:
Width px
Axes: x-axis y-axis Show Grid
Grid: 24x24 inches 36x36 inches 72x72 inches
96x96 inches 192x192 inches
Quad: 4 quadrants 1 quadrant
Units: US Customary Metric
Background:

Robot 1

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (0 in, 0 in)
Current Angle: 90 deg
Wheel Radius:
Track Width:
in

Robot 2

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (6 in, 0 in)
Current Angle: 90 deg
Wheel Radius:
Track Width:
in

Robot 3

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (12 in, 0 in)
Current Angle: 90 deg
Wheel Radius:
Track Width:
in

Robot 4

Initial Position:
( in, in)
Initial Angle:
deg
Current Position: (18 in, 0 in)
Current Angle: 90 deg
Wheel Radius:
Track Width:
in

Draw an Umbrella in the Rain
Problem Statement:
The pre-placed blocks will draw part of the umbrella. Edit the first loop so instead of 2 light blue circles, 5 circles are drawn to create the bottom edge of the umbrella. The raindrops are currently circles. Add triangles on the top halves of the circles to create the proper raindrop shape.
/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
double i;
double j;
double x;
double y;
CPlot plot;

plot.backgroundColor("#ccffff");
plot.noStrokeColor();
plot.fillColor("red");
plot.arcSector(18, 14, 10, 0, 180);
plot.fillColor("#ccffff");
for(i = 1; i <= 5; i++) {
  plot.circle(6 + 4 * i, 14, 4);
}
plot.strokeColor("black");
plot.line(18, 18, 18, 10);
plot.arc(19.5, 10, 1.5, 180, 360);
plot.line(18, 24, 18, 25);
plot.noStrokeColor();
plot.fillColor("#3366ff");
for(j = 1; j <= 25; j++) {
  x = randint(1, 35);
  y = randint(1, 35);
  plot.circle(x, y, 0.4);
  plot.triangle(x + 0.4, y, x - 0.4, y, x, y + 0.7);
}
plot.strokeColor("black");
plot.text("Rain, rain go away!", PLOT_TEXT_LEFT, 4, 30);
plot.grid(PLOT_OFF);

plot.axisRange(PLOT_AXIS_XY, 0, 36);
plot.ticsRange(PLOT_AXIS_XY, 6);
plot.sizeRatio(1);
plot.plotting();
/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
double i;
double j;
double x;
double y;
CPlot plot;

plot.backgroundColor("#ccffff");
plot.noStrokeColor();
plot.fillColor("red");
plot.arcSector(18, 14, 10, 0, 180);
plot.fillColor("#ccffff");
for(i = 1; i <= 5; i++) {
  plot.circle(6 + 4 * i, 14, 4);
}
plot.strokeColor("black");
plot.line(18, 18, 18, 10);
plot.arc(19.5, 10, 1.5, 180, 360);
plot.line(18, 24, 18, 25);
plot.noStrokeColor();
plot.fillColor("#3366ff");
for(j = 1; j <= 25; j++) {
  x = randint(1, 35);
  y = randint(1, 35);
  plot.circle(x, y, 0.4);
  plot.regularPolygon(x, y + 0.4, 3, 0.4, 0);
}
plot.strokeColor("black");
plot.text("Rain, rain go away!", PLOT_TEXT_LEFT, 4, 30);
plot.grid(PLOT_OFF);

plot.axisRange(PLOT_AXIS_XY, 0, 36);
plot.ticsRange(PLOT_AXIS_XY, 6);
plot.sizeRatio(1);
plot.plotting();
Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
The pre-placed blocks will draw part of the umbrella. Edit the first loop so instead of 2 light blue circles, 5 circles are drawn to create the bottom edge of the umbrella. The raindrops are currently circles. Add triangles on the top halves of the circles to create the proper raindrop shape.

		
Time