Sierpinski's Triangle (The Chaos Game)
The Chaos Game uses the following algorithm:
Given three fixed points in space (p1, p2, and p3) and a random point
p4.
- Choose randomly one of the points p1, p2, or p3.
- Place a new point halfway between point p4 and and the point
chosen in 1.
- Call this new point p4 and repeat from 1.
Last updated and HTML-validated
February 5. 1998 by Arve Hetland.