Clear the canvas, move the pen to the center, and reset all styles.
Erase everything on the canvas.
Move the pen to the center of the canvas, and point the pen direction up.
Pick the pen up off of the canvas.
Place the pen down on the canvas.
Turn the pen direction to the left by the specified degrees.
Turn the pen direction to the right by the specified degrees.
Move the pen forward by the given distance.
Move the pen backwards by the given distance.
Set the size of the pen to be used.
Set the color of the pen stroke.
Set the opacity of the pen stroke (0 to 1).
Set the color of the fill to be used when drawing shapes.
Set the opacity of the shape fills (0 to 1).
Fill the background with a color.
rect x y width height
Draws a rectangle, starting at (x, y) of size width and height.
re iterations [ statement ]
Repeat the statement inside of the brackets iterations times.
rand minimum maximum
Generate a random number between minimum and maximum.