TurtleArt

Repeating Commands

Sometimes you want to repeat a set of commands over and over to create a pattern. Use the flow menu blocks to repeat commands to the turtle.

repeat menu - needs updating

Working with one of the flow commands, repeat, makes the turtle repeatedly draw lines.

repeat command this number of times

Any commands that are attached to the repeat will be repeated the number of times specified by the number on the top.

This example draws a circle then picks up the pen, moves forward 10 spaces then turns right 90 degrees. This command repeats 4 times.

repeat commands and resulting shapes

Author : RepeatingCommands
© Anne Gentle 2008
Modifications:
adam hyde 2008



License : General Public License

Produced in FLOSS Manuals (http://www.flossmanuals.net)