Chaos Theory: Mandelbrot Set Generator

Having read about the Mandelbrot Set, I simply had to write an applet myself to generate it. It must be one of thousands. It is probably not the best. [Português] [PDF]


An image of the Mandelbrot Set, as generated by Robert John Morton's generator applet. But for me this was not the point. The point for me was seeing this complex image materialise from such simple code. My fascination came from my realising that this complexity was born not out of an obscure incomprehens­ible form of mathematics or fancy programming but was the result of a simple iterative process which exhibit­ed an amazing phenomena that is woven, by nature, into the fundamen­tal fabric of numbers.

In this applet the x-axis runs from −2·2 to +1·2 and the y-axis runs from −1·3i to +1·3i. You can extend the coverage by altering the constants XMAX, YMAX, XBIAS and YBIAS in the Java source code and then recompiling it. You can explore different parts of the Mandelbrot set at different scales of magnification by suitably altering these same constants.

I first prototyped my Mandelbrot Set generator in QuickBASIC. I then developed it further in C before Java materialized as the language of the Web.

If with Microsoft Windows a Security box pops up saying that the application has been blocked because it's untrusted please click here. If you get warn­ing messages with Linux, please click here.


© November 1997 Robert John Morton | PREV | NEXT