+++++++++++++++++++++++++++++++++++++++++ USE TURBO MODE!!!!! PLEASE READ THE FULL INSTRUCTIONS, they should be pretty interesting to read. So this is interesting. I made a program that generates weird fractally shapes. I'll explain it in a bit. The controls are pretty simple, just adjust the sliders to change the shape and size. Press space to clear and regenerate. If you want to try out some cool features (like making the thumbnail :P) click see inside and do some experimenting with blcojs. I will explain what blcojs does in a bit. Anyway, here's basically how the program works: There are a certain amount of points that form a 'perfect' shape (this number can be adjusted using the sides slider). The program picks a random point in the shape and then picks a random one of the points. It then moves halfway to this point and leaves a dot, marking its new location. From this new location, It picks another point and moves halfway there. It does this as many times as you wish, and if you leave it running for a few seconds (TURBO MODE) it will start to generate a fractal right before your eyes. Now, the blcojs. "Blcojs" doesn't actually mean anything, I just smashed the keyboard, but I'll explain what it does. It basically tells the program that it can't choose a point twice in a row, or the one two to the left of that, or both, or anything else. This can make some pretty awesome patterns, as you can imagine. I made the thumbnail by adding 2, 3, and 4 to blcojs and then doing 7 sided shape. Now, you might notice that the colors are changing. I just changed the colors based on the x position and the shade based on the y position. You might also notice if you try to generate the thumbnail, the colors will look a little buggy. I haven't figured out how to fix this yet, but I don't know if I want to because it's really cool looking. I guess you can try messing with the shade size variable, I haven't figured out what to do with it yet. Oh yeah, I forgot that not everybody is a math nerd. Well, if you are still confused about what a fractal is, here's a short video that may help: https://www.youtube.com/watch?v=S3YvheUKSEg One more thing: I have no idea why this is called chaos game, but that is its name, so... yeah. +++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++ Hopefully by reading the instructions you understand this, but if you don't, here's a video: https://www.youtube.com/watch?v=kbKtFN71Lfs I honestly still don't know why this works, but at least I understand how. Thanks to numberphile for the video. Thanks to my brother @jchabin for explaining the video and helping me create this. Thanks to you for taking the time to read this (nobody xd). Please consider like / fave / follow, it helps a lot! :D +++++++++++++++++++++++++++++++++++++++++