L-systems
From GenerativeArt
(Difference between revisions)
(→Basic Operations) |
(→Basic Operations) |
||
* F is move forward with length d with pen down | * F is move forward with length d with pen down | ||
* f is move forward with length d with pen up | * f is move forward with length d with pen up | ||
- | * + is turn left by angle | + | * + is turn left by angle δ |
- | * - is turn right by angle | + | * - is turn right by angle δ |
* [ pushes current state down the stack (i.e. saves position and heading) | * [ pushes current state down the stack (i.e. saves position and heading) | ||
* ] pops the current state off the stack (i.e. gets position and heading) | * ] pops the current state off the stack (i.e. gets position and heading) |