Labs · Fractals

L-Systems

L-Systems simulation

Aristid Lindenmayer invented L-systems to model how plants grow. You start from an axiom string and rewrite every character in parallel using production rules, once per generation. A "turtle" then reads the result: F/G = draw forward, +/− = turn, [ = save position, ] = restore it.

A handful of characters can describe ferns, snowflakes and space-filling curves. The current rules appear in the top-left panel.

Choose "Fractal plant" and move the angle slider slowly.

Controls

Evolved into Mandelbrot & Julia Explorer, Chaos Game & IFS Fractals, Stochastic L-System Garden.