So, this summer I read Chaos by James Gleick and like any other nerd, I couldn’t wait to create a piece of code that generates fractals. I fell in love with the Sierpinski triangle and knew it would be fun to implement a JavaScript version of it.

The result can be found here. Feel free to play around as much as you’d like!