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 Buildings in Two-Point Perspective
Problem Statement:
In this activity you will draw buildings in two-point perspective. The board blocks draw red lines converging to two vanishing points to help guide your drawing. The pre-placed blocks draw the first building and the street. Add blocks to draw two more buildings and add color. Once the drawing is finished, delete the board blocks.
```/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
CPlot plot;

plot.strokeColor("black");
plot.fillColor("#c0c0c0");
plot.rectangle(0, 0, 72, 72);
plot.fillColor("#999999");
plot.quad(50, 35.5, 50, 49, 56, 48.5, 56, 40);
plot.quad(46, 36, 46, 48.75, 50, 49, 50, 35.5);
plot.quad(22, 35.5, 22, 49, 16, 48.5, 16, 40);
plot.quad(26, 36, 26, 48.75, 22, 49, 22, 35.5);
plot.quad(36, 24, 36, 56, 46, 53.25, 46, 32);
plot.quad(36, 24, 36, 56, 26, 53.25, 26, 32);
plot.line(0, 52.75, 36, 24);
plot.line(72, 52.75, 36, 24);
plot.noStrokeColor();
plot.fillColor("#666666");
plot.quad(0, 52.75, 0, 52.75, 36, 12, 36, 24);
plot.quad(72, 52.75, 72, 52.75, 36, 12, 36, 24);
plot.strokeColor("black");
plot.line(0, 52.75, 36, 12);
plot.line(72, 52.75, 36, 12);

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 buildings in two-point perspective. The board blocks draw red lines converging to two vanishing points to help guide your drawing. The pre-placed blocks draw the first building and the street. Add blocks to draw two more buildings and add color. Once the drawing is finished, delete the board blocks.

Time