Learning Math and Coding with Robots

Linkbot Image Mindstorm Image Cursor Image
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 Hardware
Units: US Customary Metric
Background: Background Image

Robot 1

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

Robot 2

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

Robot 3

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

Robot 4

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

Draw a City in Two-Point Perspective
Problem Statement:
You will create a drawing of a city in two-point perspective. The board blocks draw lines to use as a guide, and the pre-placed blocks draw two of the buildings. Add blocks to draw more buildings and add color to the drawing. Then erase the board blocks once the drawing is complete.
/* Code generated by RoboBlockly v2.0 */
#include <chplot.h>
CPlot plot;

plot.strokeColor("#330000");
plot.fillColor("#c0c0c0");
plot.rectangle(0, 0, 72, 40);
plot.fillColor("#999999");
plot.quad(6, 40, 72, 6, 72, 0, 66, 0);
plot.quad(66, 40, 0, 6, 0, 0, 6, 0);
plot.fillColor("#666666");
plot.quad(54, 34, 48, 35, 48, 48, 54, 49);
plot.quad(54, 49, 58, 46, 58, 36, 54, 34);
plot.quad(46, 29.75, 46, 35, 50, 36.15, 50, 31.75);
plot.quad(44, 33.5, 44, 35.5, 46, 35, 46, 33);
plot.quad(46, 35, 44.25, 35.6, 48, 36.5, 49.5, 36.25);
plot.triangle(42, 32, 45.5, 33.25, 42, 34);
plot.quad(42, 27.5, 42, 32, 46, 33.25, 46, 29.75);
plot.quad(36, 24.5, 36, 34, 42, 35.25, 42, 27.5);
plot.quad(36, 24.5, 36, 34, 30, 35.25, 30, 27.5);
plot.quad(36, 34, 30.75, 35.3, 36, 36, 41.25, 35.3);
plot.quad(14, 22, 14, 52, 24, 49.5, 24, 24);
plot.quad(14, 22.25, 14, 52, 10, 46, 10, 32);
plot.quad(28, 20.5, 17.5, 15, 17.5, 46, 28, 44.75);
plot.quad(17.5, 15, 17.5, 46, 14, 44, 14, 22.5);

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:
You will create a drawing of a city in two-point perspective. The board blocks draw lines to use as a guide, and the pre-placed blocks draw two of the buildings. Add blocks to draw more buildings and add color to the drawing. Then erase the board blocks once the drawing is complete.

		
Rubbish bin
Time