Labs · Fractals

Chaos Game & IFS Fractals

Chaos Game & IFS Fractals simulation

Randomness can also draw perfect order. In the chaos game you pick a random corner of a polygon and jump a fixed fraction of the way toward it, again and again. For a triangle and ratio ½, the points land exactly on the Sierpinski triangle.

That is one example of an Iterated Function System: a few affine maps (scale, rotate, shift) applied at random. Barnsley's fern uses just four maps, chosen with different probabilities. The image is a density plot of millions of points on a log scale.

On "Pentagon flake", slide the jump ratio slowly away from 0.618 and watch the structure dissolve.

Controls

Evolved from L-Systems.

Evolved into Fractal Flames.