Fractals!

There was a video I came across that explained some simple rules for plotting points that ended up building a fractal shape. In the video it was hand drawn and lacking an explanation, so I wanted to verify this via code. I built a python code that follows the same rules in the video and, lo and behold, it really works! I looked further into this and it’s actually a mathematical concept called the “Chaos Game”. I implemented some specific rules and was able to generate more fractals with more vertices.

You can download the code from GitHub here: https://github.com/wes-litalien/ChaosGame.git