A handful of rewriting rules grow into ferns, snowflakes, and dragon curves. This is how nature — and computer graphics — build organic complexity.
L-System FractalsLive
turtle graphics · rewriting rules
Controls
Presets
A Lindenmayer system grows a string by rewriting each symbol with a rule, then reads it as turtle commands: F draw, +/− turn, [ ] push/pop. Simple rules, botanical complexity.
Reading this result: After 5 rewrites the string holds 0 symbols — each pass replaces every symbol at once, so detail multiplies exponentially, not linearly.
★ Sign in to save this setupSave your tuned setup, or drop this simulation into your own site, docs, or course page.
How it works
A Lindenmayer system starts from an axiom string and repeatedly replaces each symbol using production rules. The final string is read as turtle-graphics commands (draw, turn, branch), turning a compact recursive grammar into an intricate fractal — the classic model of plant growth.
✦
Ask the AI about this model
The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.
Is this L-system fractal generator tool really free?▾
Yes. L-System Fractals runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?▾
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?▾
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?▾
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.