Week Two Recursion Lab - Fractals

All of these fractals use a few Processing concepts that we haven't covered yet, including different color modes, transformations, matrices and stacks. What we have covered is recursion -- I want you to pick one of the fractals and find the three parts of the recursion, and look at how to change the amount of times the recursive function is called (and why that works). Be careful with more than 8 or 9 recursive calls -- it will take a long time for the program to run if you use that many or more.

Try altering the code to make different sized screens, different colors, shapes or levels of recursion.



[[Media:Trifact.pde|Blue Triangle-Based Fractal]]

[[Media:Fractcirc_opacity.pde|Red Circular Fractal]]

[[Media:Fractcirc_opacity_rainbow.pde|Rainbow Circular Fractal]]

The above fractals were made by Jim Alieri.

Our results:

Michael

Tiange