The Chaos Game works as follows: 1. Place down some points to form a polygon. 2. Place a point at one of the vertices of the polygon. 3. Add a point a fraction of the way between the last placed point and a random vertex of the polygon. 4. Repeat step 3. Over time, this generates a self-similar fractal pattern. How to Use: - Shift-Click the green flag in the upper right corner to activate Turbo Mode - Click to place the starting points - Adjust the slider in the upper left corner (you cannot adjust this after it starts rendering the fractal!) - Press C to toggle between light/dark points (you cannot adjust this after it starts rendering the fractal!) - Press Space to start rendering the fractal - Press Space again to stop rendering the fractal NOTE: If the starting points are spread out a lot, it will take longer to render, but it will be more accurate. Have fun!
Inspired by Sierpinski Gasket Math Fractal by @math_geek_ https://scratch.mit.edu/projects/66016024/ For more info on the Chaos Game, see: https://en.wikipedia.org/wiki/Chaos_game