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

A definition for a drawSquare function has been provided. (It draws a square of side length 8.) Add a repeat loop (from the Loops tab) to the pre-placed code and insert a call to the drawSquare function inside it. After the call to drawSquare, also insert a turnLeft command for a turn of 10 degrees. After you get it running, experiment with different values for the number of iterations, the speed, the distance, and the angle. Try to create a diagram of repeating squares that goes 360 degrees around.

Piano
Workspace Load Save Ch Ch Shell Console
Lock
roboblockyA869.ch
Time