Question: The Koch Snowflake. A snowflake-like shape is recursively defined as follows. Start with an equilateral triangle: Next, increase the size by a factor of three
The Koch Snowflake. A snowflake-like shape is recursively defined as follows. Start with an equilateral triangle:

Next, increase the size by a factor of three and replace each straight line with four line segments: Repeat the process: Write a program that draws the iterations of the snowflake shape. Supply a button that, when clicked, produces the next iteration.
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
The Koch snowflake is a classic example of a fractal shape formed by starting with an initial shape an equilateral triangle and recursively applying a set of transformation rules to create increasingl... View full answer
Get step-by-step solutions from verified subject matter experts
