Labs · Fractals

Stochastic L-System Garden

Stochastic L-System Garden simulation

A deterministic L-system grows the same plant every time. Make the rules stochastic and every plant becomes an individual. Here F is rewritten to one of three options at random each time: F[+F]F[−F]F, F[+F]F or F[−F]F.

The plants also grow (the drawing extends over time) and sway: noise bends each branch by an amount proportional to its depth in the bracket stack, so tips move more than trunks.

Press "Replant" a few times. No two gardens are alike.

Controls

Evolved from L-Systems.