Julia Explorer Java Applet
Instructions
DetailsProgram HistoryThis applet was adapted from a stand-alone Java 1.1 program I originally wrote for CS 3 at Caltech. I added many extra features to make it more spiffy. For example, points in the fractals are painted at increasing resolution so you can get a rough idea of what the fractal looks like very quickly. Also, the color scheme can be changed to any one of the preset color schemes. The main strength of this program (and where it gets the name "Julia Explorer") lies in the ability to change the Julia fractal by choosing a point in the Mandelbrot fractal. Why this is interesting is discussed below.CodeThe java source files:
FractalPanel.java FractalInterface.java FractalImage.java FastFractalBox.java Julia.java Mandelbrot.java Complex.java (I didn't write this class.) FractalsFractals are generated by iterating a function from the complex plane to the complex plane.A point is in the Mandelbrot (or Julia) set if the function does not eventually diverge to infinity. The mandelbrot set uses the function z[i+1] = z[i]^2 + z[0] There is only one mandelbrot set. Julia sets use the function z[i+1] = z[i]^2 + c Where c is some fixed point in the complex plane. So, for every c, there is an associated Julia set.
Any point z0 with absolute value greater than 2 eventually
diverges under iteration of both Julia and Mandelbrot functions.
This will be important.
Colorful fractal images can be generated by defining the color of a
point z0 in the complex plane as follows:
Finally, note that by definition, a Julia set is connected if and
only if the point c is in the mandelbrot set. So, to find the most
interesting Julia fractals, select points near the edge of the
Mandelbrot set (the black in the left fractal) either inside of it
or near it.
by B. Oran Switzer Home | Resume | Samples | Fractals | oran@its.caltech.edu |