Sign In
Learning Math with Coding and Robotics

Linkbot Image Mindstorm Image
Grid Size: S M L Simple View: MinView:
Background Image
Coord: x-axis y-axis Grid Lines: x-axis y-axis
Grid: 12x12 inches 24x24 inches 36x36 inches
72x72 inches 96x96 inches 192x192 inches
1x1 inches 2x2 inches Fraction:
Quad: 1 Quadrant 4 Quadrants 1&4 Quadrants
Units: US Customary Metric Ruler:
Font px
Tics Lines:
Width px
Hash Lines:
Width px
Animate the Front View of a Car with a Rainbow

The pre-placed blocks draw the two trees in the distance and provide a function called drawTrees which draws trees at given x and y coordinates at a scale of s. Add more blocks to animate the trees moving closer. The movement of the trees should follow the green lines. The center of the green triangles should always be on the green lines. The left line has a slope of 2/3 and the right line has a slope of -2/3. As the trees get closer, they should also get bigger.

Workspace Load Save Ch Ch Shell Console
Rubbish bin