Login
Sierpinski triangles are fractals - each triangle contains three images of itself. The amazing thing about the Sierpinski triangle is how easily you can generate one: The whole algorithm looks like this:
  1. choose three points for your bounding triangle
  2. choose a random starting point, anywhere at all
  3. choose one of the corners of the bounding triangle, at random
  4. pull your point halfway toward that point
  5. go back to step 3

That's it! You can do that yourself on paper, with ruler and a six sided die to randomly choose a vertex of the triangle (roll of 1,2 means vertex 1, roll of 3,4 means vertex 2, roll of 5,6 means vertex 3).