Julia Sets are fractals. The way the color for each pixel is generated is as followed: Find the corresponding complex number x+yi based on the position on the complex plane (or the canvas below). Using this as the starting value z, calculate z^n+c, where c is a complex number of user's choice and n is an integer, usually 2, until a maximum number of iterations (default of 360) is reached or the distance of z from the origin is greater than 2. Black numbers reach the max iteration number, while red numbers quickly leave the bounding radius and green means it takes a medium number of iterations. You can use the sliders below to change the real and imaginary part of c as well as the scale factor for pixels. If you want to get a more precise value on the slider than you can by dragging with the mouse, you can also use the left and right arrow keys to change the value by much smaller increments. The bigger the scale, the faster it will draw but the lower the resolution. You can also hit randomize to randomly pick numbers for the real and imaginary parts of c.

Two other options you have when generating these images is having a fixed value for c (which is the default) and taking the absolute value in each iteration before taking the complex number to the exponent. If c isn't constant, then c is simply the starting number z. With an exponent of two, this generates the famous Mandelbrot set. If you start with the Mandelbrot set and check the absolute value box, you end up with the less famous "Burning Ship" fractal.

You can also drag the image on the canvas to pan, which allows you to zoom in on specific parts of the fractal.

Real part of C:
Imaginary part of C:
Factor to scale the pixels:
Zoom factor:
Exponent:
Number of iterations:

Coordinate of mouse position:


Fixed value of C Take absolute value each iteration