Mandelbrot 2 Source code: mandelbrot02 Built with Processing return to Dr. Conroy's Math Department page |
This applet shows the algorithm used to generate the Mandelbrot set. Click on the screen to select a point. This point corresponds to a point in the complex plane. This becomes c, and then the function f(z)=z2+c is used to create the sequence c, f(c), f(f(c)), f(f(f(c))), ... . This sequence is shown graphically with white lines connecting each term to the next. If the magnitude of the limit of the sequence is less than 2, then c is in the Mandelbrot set. If not, then it is not. |