Add the turtle commands tot he help

This commit is contained in:
Starbeamrainbowlabs 2018-01-28 23:35:54 +00:00
parent 1a3280e7a0
commit 42d8797d02
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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.