Lab 2: Recursion Projects

In this lab, students explore more variety in fractal shape generation and practice writing recursive definitions (like tree in Lab 1) right away without first constructing non-recursive versions (e.g. tree 1, tree 2, tree 3, etc.) of their programs. Students explore several common fractal structures, see how fractal structures occur in the natural world, and then use recursion to model the artwork of Mondrian.

Looking Ahead
Animation of the formation of the Koch snowflake starting from an equilateral triangle

Pacing

The 3 required lab pages could be split across 3–5 days (95–190 minutes). Expected times to complete follow:

Prepare

Lab Pages

Related Resources:

These Wikipedia articles may be too advanced for students, but you may find some of the images and background useful resources:

Solutions