Chaos Game

Last updated: 08.05.2002


ChaosGame

This applet plots a triangular shape called a Sierpinski triangle. The interesting property of this shape is that it's a fractal exhibiting self-similarity: the main triangle contains smaller triangles that contain smaller triangles that ... you get the idea. The shape is actually formed by placing a single point and then moving it towards one of three randomly-chosen attractors located at the points of the triangle. Each time the point is moved, it is plotted, and the result is the shape you see (or don't see if your browser doesn't support Java 1.1).

Java Applet

The applet parameters also allow you to try it with different numbers of attractors, or with a different number of iterations, but the results tend to be fairly gruesome for any number of attractors other than 3.

* Documentation and Sources

Menu
Java
Links
Notes
Software
JavaScript
Perl
Python
Macintosh
Palm

Java[UP][LINKS][HOME]