Tag Archives: visualizing fractal

Processing

Have you ever heard of MIT’s Processing?

It is very simple and very powerful programming language/environment for experimental stuff. I recently started to play with it, so here’s my first simple program to visualize the Koch’s snowflake fractal. It is, indeed nothing much, but it clearly shows how easy is creating classes and extracting functionality in methods with Processing (which is no surprise, since Processing is java-based).

The interactive part is, that on mouse click the snowflake changes it’s stroke color and order, depending on the x-y coordinates of the mouse pointer during the click time.

It is so much fun, so stay tuned.. There is more to come.. :)

And here is a video, of how can you creatively use the provided code: