Use the left and right arrow keys to change the "Number of Sides" variable (or just drag the slider). Press "r" to restart the drawing process. Turbo mode *highly* recommended. (Shift + Click the green flag.)
This project generates fractals using the following instructions: 1. Start with a random point. 2. Pick a random vertex of a polygon of a given number of sides (hence the "Number of Sides" variable). 3. Move the starting point halfway to the random vertex. 4. Pick another vertex of the polygon (cannot be the same as the previous one). 5. Repeat from Step 3 until desired result is achieved. If you want to learn more about this, feel free to take a look at the Wikipedia page: https://en.wikipedia.org/wiki/Chaos_game There's some stuff in here that I'd like to expand upon and/or tweak, but probably not today. (Translation: At best, there's maybe a 50% chance that I'll come back to this.)