In my collection of programs generating fractals this famous one cannot miss.

The Koch snowflake is generated by starting with an equilateral triangle. Every side of the triangle then gets cut into three equal pieces and the center one gets replaced with yet another equilateral triangle.

To get the perfect fractal, you would need to repeat this process infinitely many times.

More information on the snowflake can be found in this Wikipedia entry.

#### Controls

- F1 iterates the fractal
- F2 zooms in
- F3 zooms out
- F4 resets zoom
- F5 takes a screenshot
- Arrow keys move the camera around

```
# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 25th of April, 2016
# edited 26th of April, 2016
# edited 29th of April, 2016
```