L-systems

From GenerativeArt

(Difference between revisions)
Jump to: navigation, search
(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)

Revision as of 03:53, 14 September 2009

Personal tools