Here are some Koch Curves and a Koch Snowflake (another site about Koch Snowflakes here). They're generated with a recursive algorithm, which METAPOST isn't very good at, so they're a bit slow to generate and the maximum depth is only about 6 levels. These examples are to 3 and 6 levels depth (where 0 levels is a single line). Postscript might be better for this, since it seemed to handle the recursion in my Sierpinski Gaskets quite well. The snowflake is generated by joining together three Koch Curves whose starting lines form an equilateral triangle.
![]() |
![]() |
| METAPOST source ready-made postscript |
(from the same source file) ready-made postscript |

