IMPORTANT: Use: TURBO MODE --> SHIFT + FLAG The distances from any of the attractors at which each point plots is divided by values between 1 and 2, instead of 2 (as in typical Sierpinski triangle). ----CHALLENGE---- Remix to use attractors at the vertices of other figures such as a triangle (Sierpinski), pentagon, hexagon, octagon, etc.
This program cycles through divisors 1.1 - 1.9 within the chaos game method of plotting points of each set by picking a random attractor dividing the distances by the above divisors. More info here: https://en.wikipedia.org/wiki/Chaos_game & http://mathworld.wolfram.com/ChaosGame.html INQUIRY IDEA: Why/How does this very simple 'chaos game' algorithm produce fractals? What others ways can fractal be produced?