Showing posts with label Barnsley. Show all posts
Showing posts with label Barnsley. Show all posts

## Sunday, February 24, 2013

### The Fern

Mathematician Dr. Michael Barnsley, on page 87 of his book, Fractals Everywhere, gives a table containing the coefficients and probabilities 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.  Note: In the Scratch 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.
Here is a screenshot of the Fern project I recently uploaded to the Scratch website.

http://scratch.mit.edu/projects/popswilson/3126850
The Collage Theorem uses high school algebra but is incredibly powerful at creating images from small pieces of computer code. Again, I explain the Collage Theorem in detail in a free PDF, The Collage Theorem, that can be had for free by sending a request to

## Saturday, February 23, 2013

### An Iconic Image of Deterministic Chaos

The Sierpinski triangle, along with the Mandelbrot set, are two of the iconic images of Fractals and Chaos theory.
The mathematician Michael Barnsley created a theorem called the Collage Theorem that provides the mathematics for playing the 'Chaos Game' (the common source for the Sierpinski Triangle) that will compute ANY image!
Perhaps you've seen the ferns (a soon to be uploaded Scratch project) and other images produced by the Collage Theorem (called Iterated Functions Systems by Barnsley).
Geometrically, the Collage Theorem is the mathematics for creating an affine geometric transformation which is a combination of translations, rotations, and scalings (taught in secondary mathematics). Every image has a unique set of values for the coefficients a, b, c, d, e, and f of the transformation equations. Plug those values into an algorithm like the one in this project and compute the image!
Here is a very short video of the Scratch project.

The Chaos Game is usually presented as a random application of the midpoint theorem, a typical Algebra I topic. In the future I will upload the midpoint formula project as used in playing the Chaos Game. It computes the same image computed in this project.