Home▸Algorithms & AI▸L-System Fractal: Koch, Hilbert, Dragon and Plant Curves from String Rewriting (2D Lab)

🌿 L-System Fractal: Koch, Hilbert, Dragon and Plant Curves from String Rewriting (2D Lab)

Interactive L-system fractal generator: string rewriting with a turtle, presets for Koch, Hilbert, dragon, Gosper, Sierpinski arrowhead and plants, box-counting dimension and three live checks.

Algorithms & AI2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
L-System Fractal: Koch, Hilbert, Dragon and Plant Curves from String Rewriting (2D Lab) ↗ Open standalone
⚙ Under the hood

Interactive Lindenmayer-system fractal generator: string rewriting read by a turtle, with Koch, Hilbert, dragon, Gosper, Sierpinski and branching-plant presets, box-counting and similarity dimension, and live checks of segment counts, length and space filling.

L-SystemFractalsRecursionTurtle GraphicsCanvas 2D

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)