MathJax

Saturday, April 22, 2017

Fun with Fractals

Here's a fun thing to click on:

-gon
Square
Scalene triangle
Pointy

Iterations:



If you had the tiniest bit of fun clicking on that, you should be able to have much, much more fun downloading the code and fiddling with it. The most direct way is to save this web page to your computer and then edit the code directly. There's lots more to play with than what was simple to put in the UI. The real fun is hidden in the code!

Code is available on GitHub at https://github.com/johngorski/fractals. Your git client should also work just fine:
git clone https://github.com/johngorski/fractals.git
Unsurprisingly, you can learn more about Koch Snowflakes on Wikipedia.

No comments:

Post a Comment