The Hacking Shtick
 
Who's the Mandelbrot?
     The Applet that appears here is a Mandelbrot rendering Applet.

     The basic Mandelbrot fractal, which is what is being displayed here, is formed using the equation ZN+1=(ZN)2+X+iY. This equation is applied to each point on a 2-Dimensional graph where X is the X position of the point and Y is the Y position. i is, as usual, the imaginary number, which is defined as the square root of -1. N is an Integer. One starts with N=0. Z0 is the base value used and it is defined as X+iY. N is incremented and the equation is calculated again in order to find each next Z value. The point is to determine whether Z runs on to infinity. To produce the image seen above one needs to set a cut off value for Z. Once Z reaches or exceeds that value, one sets the color of the position to N. (Or at least colors the pixel based on N)
     The number in the upper left-hand corner is the amount of time, in millisecond units, it took to render the fractal.

ClassesClass FileSource File
Mandelbrot  
Mandelbrot.class   Mandelbrot.java  
shtick.math.Complex  
shtick/math/Complex.class   shtick/math/Complex.java