Chaos Lab

Tool

Chaos game

Random vertex picks + a fixed contractive rule reveal a deterministic fractal. Switch presets to see Sierpinski triangle, Sierpinski pentagon, and "forbidden-move" variants.

Chaos game rule

vertices = 3 regular polygon
step:    P_{n+1} = P_n + 0.500 · (V_random − P_n)
similarity dim (rule = none): 1.5850

Pure randomness + a fixed contractive rule = deterministic fractal. Barnsley's theorem guarantees convergence. Try N=4 with factor=0.5 and rule=none (fills a square) vs no-same (Sierpinski-carpet-like cousin).

FAQ

Frequently asked questions