Math
Runs Locally in Browser

L-system Generator

Render recursive Lindenmayer (L-system) fractals with customizable axioms and PNG/SVG export.

Last updated:

Presets Library

Classic fractals & botanical rules

L-System Grammar

Define axiom & production rules

Styling & Backdrop

Colors, stroke, canvas background

Complexity Stats
Expanded:0 chars
Eval Time:0 ms
Total draw lines:0
Interactive Canvas
200
Drag to Pan • Scroll to Zoom
Scale: 1x
Animation SpeedChars per animation frame
200 /f
Turtle Symbol Reference
F / GMove forward and draw a line segment.
f / gMove forward without drawing.
+ / -Rotate right (+) or left (-) by the set angle.
[ / ]Push / Pop turtle state (position & angle).

About L-system Generator

Experiment with Lindenmayer rewrite rules, starting axioms, turn angles, and recursion depths (1–14) locally on Canvas to render fractal plants and curves with PNG and SVG export.

Runtime

Client-side Canvas/SVG L-system string rewriter and turtle renderer.

Formats

Export: PNG or Vector SVG.

Constraints

High iteration depths (up to 14) on branching rules generate exponential segment counts that can slow browser rendering.

Discover More Tools

Related utilities across the Imgira catalog.

Explore All Tools