The chaos game is a neat way of generating fractals with just a polygon and a point - and a smattering of random chance. To play the game, first you start with polygon and a random initial point somewhere inside of that polygon. Then:

  1. Pick a random vertex on the polygon.
  2. Draw a point that is some fraction of the way in between your random point and the vertex you picked.
... Read more