The chaos game Based on this Numberphile video. To speed up the simulation, several agents are spawned to run concurrently. See live demo here.