In the above L-system generator, the following commands can be used to create a turtle graphic
Generating a Turtle Graphic
- Drawing Commands: Letters in the alphabet (A-G) that tell the turtle to move forward in the direction currently pointed
- Constant Commands: Letters in the alphabet (X,Y,Z) that do not correspond to any change in the turtle's position
- + : Turn the turtle to the left by the angle specified
- - : Turn the turtle to the right by the angle specified