TURBO MODE! My other project, with movable points http://scratch.mit.edu/projects/13915893/#player IMPORTANT: This will make more sense if you read the notes. Also, check out this link: http://mathworld.wolfram.com/ChaosGame.html Press Space (or Flag) to start. Press S to show/hide variables. Press R to randomize variables and start over. Press T to randomize all variables but points per side. Number of Sides is the number of sides of the polygon. Numerator is the numerator of the distance the point moves at each step. Denominator is the denominator of the distance the point moves at each step. Number of Sides changes whether there are just (Number of Points) points or whether there are more per side. For example: If you change this to 1 and put Number of points to 4 and Numerator to 2 and Denominator to 3, you get Sierpinski's Carpet.
Thanks to Greenatic for helping making this much faster. Note: This will not generate fractals 100% of the time. Mess around. Try this combination of variables: 3, 1, 2, 0 to make Sierpiński's Triangle. Post your combinations of variables if you find them interesting! The Chaos Game is a mathematical procedure. The steps are this: 1: Draw any number of points that make a polygon. 2: Choose a place to "be". 3: Choose one of the points of the polygon at random. 4: Move a certain fraction of the distance to that point towards that point. 5: Draw a point. 6: Choose another point and repeat again. 7: Keep repeating.