An algorithm originally described by Barnsley in 1988. Pick a point at random inside a regular -gon. Then draw the next point a fraction of the distance between it and a polygon vertex picked at random. Continue the process (after throwing out the first few points). The result of this "chaos game" is sometimes, but not always, a fractal. The results of the chaos game are shown above for several values of .