Iterations 8

This page implements an iterated function system (IFS) for generating fractals. We apply each of the transformations F0, F1, and F2 to the canvas, and then apply each transformation to each result, and so on. Each time we apply a transformation we draw a square. As we branch, we change the color of the square: starting with white, we subtract from red for F0, blue for F1 and green for F2.