Lindenmayer System
Preset
Angle
Iterations
Start angle
Line width
Axiom
Rules
— one per line, e.g.
F = F+F-F-F+F
Apply Grammar
Reset to preset
Symbols:
F
G
draw forward ·
f
moves forward without drawing ·
+
turns left ·
-
turns right ·
|
turns 180° ·
[
]
push / pop state.
Any other letter (e.g.
X
,
Y
,
A
,
B
) is a variable used in rules — it does not draw.