TurtleGraphics Commands The TurtleGraphics interpreter understands programs, which are simply strings composed of the following commands: FnFn LnLn RnRn U D X n { commands } Move the turtle forward n units Turn left n degrees Turn right n degrees Raise the pen to stop line drawing Lower the pen to resume line drawing Repeat the specified commands n times Students can add various other commands (change pen color, change step size, save/restore position) as extensions.
{}