Just 28 numbers define an entire fern—every frond, every leaflet. Michael Barnsley showed that nature's complexity can emerge from astonishingly simple mathematics. Roll the dice, apply a transform, repeat. A fern grows from chaos.
Just 28 numbers (coefficients for 4 affine transformations) encode an entire fern. This is millions-to-one compression—the foundation of fractal image compression!
Each transform has 6 coefficients (a, b, c, d, e, f) plus a probability weight
Start anywhere. Roll weighted dice to pick a transform. Apply it. Plot the point. Repeat. After thousands of iterations, the fern magically appears—attracted to this fractal shape.
f₁ (1%): Creates the stem—maps everything to a line.
f₂ (85%): Shrinks and lifts—creates the main body.
f₃ (7%): Rotates left—makes left leaflets.
f₄ (7%): Rotates right—makes right leaflets.
Each small leaflet is a tiny copy of the whole fern. Zoom in anywhere and you see the same structure repeating. This is the essence of fractals—infinity in finite space.
Real ferns grow using recursive genetic instructions—"grow a frond, then grow smaller fronds on it." Evolution discovered IFS-like algorithms billions of years before mathematicians!