The Mandelbrot Set: Executable or Text Version
The Mandelbrot Set is described by the term coined by the mathematician Benoit Mandelbrot in 1975 - FRACTAL.
The Julia Set: Executable or Text Version
Assembly Language enhanced: Executable or Text Version
The Julia Set is closely related to the Mandelbrot set. Although there is a precise mathematical meaning to the term Fractal, in essence it means that no matter how close you "zoom in" to the picture, the picture looks the same; it has the same overall format.
There is a Julia set for every point of the Mandelbrot set - so there's only ONE Mandelbrot set, but infinitely many Julia sets. The JULIA Set is formed as described below:
To get the JULIA Set:
• Firstly, pick a large number. 1 million will do.
• Choose some Complex Number C, then, starting with Z=(-1,-1) calculate Znew= Z x Z -C
• Work out Mod(Znew). Is it larger than 1 million? If not, work out the following.............
• Znew2 = Znew x Znew - C . Is Mod(Znew2) larger than 1 million? If not, repeat the procedure to get Znew3 and so on..
Set a screen up with Z=(-1,-1) at the bottom left corner, and Z=(1,1) at the top right corner, and repeat the above procedure moving from RED -1 to 1 and GREEN -1 to 1 in let's say 1000 steps for each. Colour each of these points according to how many repetitions of the above calculation it took for the Modulus to exceed 1 million. If after a reasonable number of repetitions, say 64 for the number of colour gradations available on a computer, you find that Mod(Znew64) is STILL not bigger than 1 million, colour that pixel BLACK.
You will then get the Julia set associated with the Complex Number C, which is what my program does. You should opt to start off with the Mandelbrot set, and choose the Julia set by clicking on the picture of the Mandelbrot set, then zoom into any particular rectangular area of the Julia Set using the mouse. The Mouse Pointer is turned OFF except once the picture is complete. Then either press -s- to quit the program altogether, or press -m- to turn ON the Mouse Pointer. Once turned ON, choose a rectangular area to zoom into by clicking firstly the LEFT mouse button at one corner, then the RIGHT mouse button for the OPPOSITE corner. One second later, the program resumes with the Mouse Pointer once again turned OFF.