Tag Archives: fractals

Koch Snowflakes

Came across Sal‘s discussion of the Koch Snowflake (on wikipedia) yesterday.

Got a little obsessed and wanted to draw it programmatic like I did 20+ years ago when I first saw the Sierpinski Gasket on a NOVA tv show (which I re-did using Khan’s software a few months ago).  After a few failed attempts (and a failing to recognizing my usage of sine and cosine), today I went and looked for someone else’s code just to get me through it (oh the aging brain!) and found N-Wing’s code over at everything2.

Here it is: Koch Snowflake Fractal (Doh, WordPress isn’t allowing me to embed the program right here in the blog).

Vi Hart shows them in her Triangle Party Doodling too if you like her style (who doesn’t?).