Click on the green flag. Use Turbo to speed up calculations. See Notes and Credits
Dr. Barnsley, on page 87 of his book, Fractals Everywhere, gives a table containing the coefficients and probablities for computing the image of a fern using his famous Collage Theorem. The Collage Theorem consists of two linear equations, ax + by + e, cx + dy + f, four transformations w1, w2, w3, w4, and, as mentioned above, the coefficients and probabilities for computing the image. To understand how these elements are put together, look at the code. Note: in the code, I name the transformations w1, etc. as subroutines. The Collage Theorem can compute ANY image. The trick is finding the right coefficients, a, b, c, d, e, and f. Consult his book, Fractals Everywhere, for more information. A detailed explanation of how the code is constructed can be had at www.scratch-blog.com