Learning Math and Coding with Robots

 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 Hardware 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: 1.75 in1.625 in2.0 in Track Width: in

Robot 2

 Initial Position: ( in, in) Initial Angle: deg Current Position: (12 in, 0 in) Current Angle: 90 deg Wheel Radius: 1.75 in1.625 in2.0 in Track Width: in

Robot 3

 Initial Position: ( in, in) Initial Angle: deg Current Position: (24 in, 0 in) Current Angle: 90 deg Wheel Radius: 1.75 in1.625 in2.0 in Track Width: in

Robot 4

 Initial Position: ( in, in) Initial Angle: deg Current Position: (36 in, 0 in) Current Angle: 90 deg Wheel Radius: 1.75 in1.625 in2.0 in Track Width: in

Draw Two Trucks on a Road in One-Point Perspective
Problem Statement:
In this activity you will draw two trucks on a road in one-point perspective. The board blocks draw lines connecting from a single vanishing point through the corners of the quadrilaterals. The pre-placed blocks draw the outline of one of the trucks. Add blocks to draw a second truck closer to the vanishing point on the road in the same lane using the red lines as a guide. Then add blocks to add color to the trucks, then delete the board blocks.
```/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
CPlot plot;

plot.strokeColor("black");
plot.fillColor("#666666");
plot.ellipse(39.5, 22.875, 1.75, 3, 0);
plot.ellipse(44.5, 22.58, 1.75, 2.25, 0);
plot.fillColor("#c0c0c0");
plot.quad(38.7, 22.5, 38.7, 27.9, 45.7, 28.06, 45.7, 22.77);
plot.quad(38.7, 27.9, 38, 30, 43, 30.27, 45.55, 28.19);
plot.quad(38, 26, 38, 29.5, 38.7, 27.9, 38.7, 22.5);
plot.fillColor("#666666");
plot.ellipse(44, 6, 4, 6, 0);
plot.ellipse(55, 6, 4, 6, 0);
plot.ellipse(41, 14, 2, 3, 0);
plot.fillColor("#c0c0c0");
plot.rectangle(42, 6, 16, 12);
plot.quad(42, 18, 40, 24, 50.5, 24, 57.85, 18);
plot.quad(40, 16, 40, 23.25, 42, 18, 42, 6);
plot.grid(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:
In this activity you will draw two trucks on a road in one-point perspective. The board blocks draw lines connecting from a single vanishing point through the corners of the quadrilaterals. The pre-placed blocks draw the outline of one of the trucks. Add blocks to draw a second truck closer to the vanishing point on the road in the same lane using the red lines as a guide. Then add blocks to add color to the trucks, then delete the board blocks.

Time