RoboBlocky
Sign In
Learning Math/CS/Engineering Design with Robotics
Grid Size: S M L Simple View: MinView:

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 1/3 and the right line has a slope of -1/3. As the trees get closer, they should also get bigger.

Piano
Workspace Load Save C Prompt C Launch Console
Lock
roboblockyA120.ch
Time