Learning Math and Coding with Robots

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

Robot 3

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

Robot 4

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

Draw a Stream in One-Point Perspective
Problem Statement:
Use the lines drawn by the board blocks as a guide to create a drawing like the one in the video using a lake instead of a railroad. Once the drawing is completed, delete the board blocks and add a green rectangle for the grass. One of the trees and one side of the house have already been drawn for you.
/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
CPlot plot;

plot.noStrokeColor();
plot.fillColor("#33cc00");
plot.rectangle(0, 0, 72, 40);
plot.fillColor("#006600");
plot.triangle(60, 30.5, 64, 44.5, 70, 30.5);
plot.triangle(53, 33, 56, 43.5, 60, 33);
plot.triangle(48, 35, 50, 42.5, 53, 35);
plot.triangle(44.5, 36.5, 46, 41.5, 48, 36.5);
plot.triangle(41, 37.75, 42, 41, 43.5, 37.75);
plot.fillColor("#663300");
plot.rectangle(63, 24.5, 3, 6);
plot.rectangle(55, 29, 2, 4);
plot.rectangle(49.5, 32, 1.5, 3);
plot.rectangle(45.5, 34.5, 1, 2);
plot.rectangle(41.75, 36.5, 0.75, 1.25);
plot.strokeColor("#663333");
plot.fillColor("#663333");
plot.quad(16, 36, 24, 37.5, 24, 33.5, 16, 29.5);
plot.strokeColor("#663333");
plot.rectangle(8, 29.5, 8, 6.5);
plot.strokeColor("brown");
plot.fillColor("#990000");
plot.triangle(8, 36, 12, 41, 15.5, 36);
plot.quad(12, 41, 22, 40.5, 24, 37.5, 16, 36);
plot.strokeColor("#330000");
plot.line(16, 29.5, 16, 35.75);
plot.line(8, 29.5, 8, 35.75);
plot.line(8, 29.5, 16, 29.5);
plot.line(16, 29.5, 24, 33.5);
plot.line(24, 33.5, 24, 37);
plot.quad(18, 30.5, 18, 34, 20, 34.5, 20, 31.5);
plot.fillColor("#999999");
plot.rectangle(10, 33, 2, 2);
plot.fillColor("#996633");
plot.quad(18, 30.5, 20, 31.5, 24, 31, 22.5, 30);
plot.fillColor("#999999");
plot.quad(0, 12, 35.25, 39.25, 14, 0, 0, 0);
plot.fillColor("#33ccff");
plot.triangle(24, 0, 36, 39.5, 48, 0);

plot.label(PLOT_AXIS_XY, "");
plot.grid(PLOT_OFF);
plot.tics(PLOT_AXIS_XY, PLOT_OFF);
plot.axis(PLOT_AXIS_XY, PLOT_OFF);
plot.axisRange(PLOT_AXIS_XY, 0, 72);
plot.ticsRange(PLOT_AXIS_XY, 6);
plot.sizeRatio(1);
plot.plotting();
Blocks Save Blocks Load Blocks Show Ch Save Ch Workspace
Problem Statement:
Use the lines drawn by the board blocks as a guide to create a drawing like the one in the video using a lake instead of a railroad. Once the drawing is completed, delete the board blocks and add a green rectangle for the grass. One of the trees and one side of the house have already been drawn for you.

		
Time