Julia set code
The Julia set uses exactly the same equation as the Mandelbrot set, however
instead of starting with Z = 0, and C taking the value of the co-ordinate
point of interest, Z starts off as the value of the co-ordinate point of
interest, and C is a constant (in the whole image).
The constant value C is actually a coordinate on the Mandelbrot set,
and it is for this reason that the Mandelbrot set is often described as
a map for all Julia sets.
The program here draws a small julia set in the middle of the screen,
then animates it by varying the value of C slightly in each frame. The
result (on a Pentium PC) is a smooth animated pattern which changes.
Julia set code