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?).

Advertisements

Have Something to Add?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s