Mandelbrot set images are made by sampling complex numbers and determining for each whether the result tends towards infinity when a particular mathematical operation is iterated on it. Treating the real and imaginary parts of each number as image coordinates, pixels are colored according to how rapidly the sequence diverges, if at all.
So all that breaks down into "it makes a pretty picture that keeps generating new patterns as you zoom in on the edges". This started out as a DevShed article but I decided to scrap that and just work on it for fun instead.
This Mandelbrot generator has been created in Flash MX using ActionScript 1. It utilises the local connection object to update a second movie with its current status. You may notice that it returns to its starting set after every few turns. That is by my design so that it cant randomly pick too many blank zones before something interesting appears again.
- Upgrade it to latest Flash/ActionScript.
- Switch from each dot being an individual movieclip to each dot being a pixel, use the Bitmap classes in ActionScript 2.
- Hopefully increase the speed enough that it can use a higher number of dots as its at about its maximum now with the current system