6 1 View on Github

Kaleidoscope

The Chaos Game is a randomized fractal generation algorithm.

  • Pick any regular polygon

  • Pick any arbitrary point inside the polygon

  • Iterate: Put down another point anywhere in the line between the previous point and a random (or algorithmically chosen) vertex of the polygon.


Play here (Desktop Firefox / Chrome)

Its no Mandelbrot Set, but you do have the ability to curate your own unique fractals by adjusting the following params during the live generation process.

  • Jump ratio [0, 1]

  • Forbidden jump positions, ie. only allow clockwise rotations with regards to the previous jump(s)

Demo

I made the demo run at ludicrous speed, for a better look, you can slow things down a bit in the actual game.

(Settings panel to your left.)

demo

Some interesting Chaos Game fractals

hexagon_noacross_0.5.png
sierpinski_triangle.png
pentagon_noacross2_0.5.png
hexagon_noajacent_0.5.png
hexagon_norepeat2_0.5.png
hexagon_trial2_0.5.png
pentagon_noajacent2_0.5.png
hexagon_noacross2_0.5.png
square_noacross2_0.5.png