Mandelbrot / Julia Explorer

What is this?

Mandelbrot/Julia Explorer allows you to explore the infinite wonders of the fractal, an amazing mathematical constructs. Fractals are, in simple terms, geometric figures which exhibit self-similarity. This means that they look the same at different 'zoom levels'. If this isn't clear yet, you'll probably get a better understanding if you try it out. This tool allows you to zoom in to 2 different types of fractals, the Julia Set and the Mandelbrot Set. These are arguably the most famous fractal designs, as well as the most beautiful. They are both defined by recursive functions in the complex number plane. Each set consists of all the complex numbers for which its corresponding function converges. For the Mandelbrot Set, the function is zn+1 = zn2 + c. This function is checked for convergence at each complex number, with z starting at 0+0i and c starting at the point being tested. The Julia set is similar, and closely related. It also uses the function zn+1 = zn2 + c, but in a different way. To form the Julia Set, test each complex point with the formula for convergence, but start z at the point being tested and use a complex constant for c. Different values of C will result in different Sets. Only values between -2 and 2 for both the real and imaginary parts of c will result in sets with non-zero length. To get started, try some of these c values: -0.4+0.6i, 0.285+0i, 0.285+0.01i, 0.45+0.1428i, -0.70176-0.3842i, -0.835-0.2321i, or -0.8+0.156i.

How do I use it?

Simply select either Mandelbrot or Julia Set, then select a C value (for Julia only). Once the Set has been drawn, click anywhere to zoom. Edit the colors from the dropdown controls in the upper right. Click 'redraw' after editing colors to redraw with the new colors. Click 'reset' to return to the initial zoom level and colors. Click 'newEquation' to return to this page. Press the 'Img' button in the lower right to open an image of the current drawing in a new page (fractals make great wallpapers). After many, many levels of zoom, the fractal may lose its self-similarity. This is not a property of the fractal, but rather a shortcoming of the technology used to display it.

How was this made?

Mandelbrot/Julia Explorer uses 100% HTML5/JS. The fractals are drawn on a canvas. WebWorkers are used to increase speed and responsiveness. Thanks to dat.GUI and Zepto.js.

Happy Fractaling!
Pick an Equation:

Choose a C value:
C = + i