B.Mandelbrot has discovered a way to index Julia sets for parametric families of functions. The applet below
illustrates this concept for a simple function fc(z) = z2 + c where z and c are complex.
For every c there exists a Julia set; and a related picture appears in the right part of the area. Values for c can be
picked from the picture on the left that, loosely speaking, depicts the Mandelbrot set for the family fc(z).
To obtain the Mandelbrot set, run iterations zk+1 = fc(zk) with z0 = 0 and c varying in some bounded area (below a rectangle with opposite corners (-2.2, -1.4) and (0.8, 1.4)). It's known that
once |zk| becomes greater than 2: |zk| > 2, the iterations will eventually escape to infinity.
For every c, mark the iteration kc at which this condition first becomes true. Associate with the point c a color
number kc from a given palette of colors. This will produce a picture on the left. The Mandelbrot
set is the set of c's for which the iterations starting with x0 = 0 are bounded. This is the set that consists
of the enterior cardioid-like shape with a circle attached on its left. Each
of the two has smaller warts attached which have some more, adding to the ugliness (or is it the beauty?) of the curve.
As one can see, the algorithms for obtaining the Mandelbrot and Julia sets
are virtually the same. For a given (fixed) c, in order to visualize the Julia set, run iterations zk+1 = fc(zk)
starting with various z0 ranging in a rectangular area. Associate different colors with different starting points depending
on how fast (or slow) iterations converge (or diverge).
A few words on the applet itself. Once the Mandelbrot set is drawn, you can select a value
of c by clicking anywhere (any time) inside the left portion of the display. The corresponding
Julia set will be getting drawn in the right portion of the display. Clicking there will stop
the process. Even before it's finished, you can select another value of c. You can actually catch a glimpse of the iterations in progress.