Learning Math and Coding with Robots

0x126-6-12y126-6-12
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: (4 in, 0 in)
Current Angle: 90 deg
Wheel Radius:
Track Width:
in

Robot 3

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

Robot 4

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

Draw a Bear
Problem Statement:

The pre-placed block will draw a circle at the origin for the face of the bear. Add drawing blocks to add ears, a nose, a mouth, eyes, etc.
/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
CPlot plot;

plot.noStrokeColor();
plot.fillColor("#663300");
plot.circle(5, 5, 3);
plot.circle(-5, 5, 3);
plot.noStrokeColor();
plot.fillColor("#cc9933");
plot.circle(0, 0, 7);
plot.fillColor("white");
plot.circle(2, 2, 2);
plot.circle(-2, 2, 2);
plot.fillColor("#66cccc");
plot.circle(2, 1, 1);
plot.circle(-2, 1, 1);
plot.fillColor("#663300");
plot.ellipse(0, -1, 5, 3, 0);
plot.strokeColor("black");
plot.arc(0, 1, 5, 225, 315);
plot.grid(PLOT_OFF);

plot.axisRange(PLOT_AXIS_XY, -12, 12);
plot.ticsRange(PLOT_AXIS_XY, 2);
plot.sizeRatio(1);
plot.plotting();
Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:

The pre-placed block will draw a circle at the origin for the face of the bear. Add drawing blocks to add ears, a nose, a mouth, eyes, etc.

		
Time