The Koch snowflake is a fractal that is created by starting with a line segment, then recursively altering it as follows:
1. Divide the line segment into three segments of equal length.
2. Draw an equilateral triangle that has the middle segment from step 1 as its base.
3. Remove the line segment that is the base of the triangle from step 2.
Figure 12.17 shows the first several iterations of the snowflake.
![1757_0716681f-346a-4670-a0d9-829c57828e26.png](https://secure.tutorsglobe.com/CMSImages/1757_0716681f-346a-4670-a0d9-829c57828e26.png)