L-System Fractals
Draw
Clear
Export PNG
Preset
Koch Snowflake
Dragon Curve
Sierpinski Triangle
Fractal Plant
Binary Tree
Hilbert Curve
Axiom
Rules (one per line, format: symbol=exp)
F=F+F--F+F
Angle (degrees)
Iterations
Step length (px)
Line width
Colors
Animate
Fit to canvas
Delay (ms)
Note: Use + and - for rotations, [ and ] to push/pop (branching). F draws forward, f moves without drawing. Other symbols are ignored (useful for placeholders like X).
Rules preview / debug