Browse Source

Add the turtle commands tot he help

master
Starbeamrainbowlabs 5 years ago
parent
commit
42d8797d02
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 7
      SimpleTurtle/Help.txt

7
SimpleTurtle/Help.txt

@ -16,6 +16,13 @@ Input File Format: @@ -16,6 +16,13 @@ Input File Format:
Subsequent lines beginning with a # (hash sign) are ignored.
Rules are declared with an equals sign - i.e. f=f-f+, or fb=fbfafcfafb.
Lines starting with an exclamation mark specify directives that should be passed to the turtle - i.e. !angle=1.0472
The L-System is rendered at each generation. Any character the turtle doesn't understand is ingored.
Turtle Characters:
f Move forwards
h Also move forwards
+ Turn clockwise
- Turn anti-clockwise
Turtle Directives:
angle Sets the angle by which the turtle should turn. Note that this is specified in radians.

Loading…
Cancel
Save