Command Reference

Command
Description
F
Move forward one line
M
Move forward one line without drawing a line
T
Turn around (turn 180 degrees)
[
Save turtle position and direction
]
Restore saved turtle position and direction
+
Turn counter-clockwise the number of degrees given by the angle increment
-
Turn clockwise the number of degrees given by the angle increment
 
 
*
Randomly turn an angle increment (clockwise or counter-clockwise)
{
Increase the step size by 1 (affects all F’s and M’s after this command)
}
Decreases the step size by 1 (affects all F’s and M’s after this command)
|
Randomly chooses the step size (affects all F’s and M’s after this command)
<
Increases the angle increment (affects all +’s and -’s after this command)
>
Decreases the angle increment (affects all +’s and -’s after this command)
^
Randomly chooses the angle increment (affects all +’s and -’s after this)

Important Notes:

Note that by adding the commands that are random will cause you to get a different fractal every time you run it.

The step size is the number of units the turtle should move when given a F or a M.