To play the chaos game, draw a random point inside a regular polygon with n sides. Select a random vertex. Draw a point a fraction r of the way from the previous point to the selected vertex. Iterated many times, this produces a fractal for many values of n and r. Some non-fractal configurations are nonetheless interesting with one or more color schemes.
This work is licensed under a Creative Commons Attribution 3.0 License.