Chaos Game

Creates an image based on the Chaos Game wikipedia Wolfram
It takes a random point in the polygon and then translates it by a fixed fraction of the distance to one of the vertices chosen at random. This iteration is repeated.
Sides gives the number of sides in the polygon
Points is the number of points per iteration
Fraction sets the fraction
Speed adjusts the animation speed
The default settings produce the Sierpinski Triangle

This is a Java Applet created using GeoGebra from www.geogebra.org - it looks like you don't have Java installed, please go to www.java.com

Created with GeoGebraShared by slik
View as Java Applet
View as HTML5 Applet