A Julia set uses the same rule as the Mandelbrot set, z → z² + c, but turns it around: c stays fixed, and every pixel is a different starting point. Pick c on the small Mandelbrot map, drag it around and watch the Julia set change shape, and fall apart into dust the moment c leaves the Mandelbrot set.

This article and its interactive demo were created with the help of generative AI and editorially reviewed.

Julia sets and the Mandelbrot set: one rule, read two ways

Both pictures come from the same step: square z and add c, again and again. For the Mandelbrot set, z always starts at 0 and every pixel is a different c. For a Julia set, c is chosen once, and every pixel is a different starting value of z. The black pixels are the starting points whose values stay bounded for ever; together they form the filled Julia set, and its edge is the Julia set itself.

Once z is further from 0 than both 2 and the size of c, it is certain to run off to infinity. The demo counts the steps until that happens and colours the pixel by the count; a pixel that never gets that far in the chosen number of steps is painted black.

Connected or dust: the orbit of 0 decides

Whether a Julia set is one connected piece depends on a single orbit, the one that starts at 0. If that orbit stays bounded, which is exactly the Mandelbrot test for c, the Julia set is connected. If it escapes, the Julia set is a Cantor set, sometimes called Fatou dust: infinitely many points, no two of them joined. The Mandelbrot set is therefore a map of all Julia sets: inside it, one piece; outside it, dust.

For c = 0.4 + 0.4i the orbit of 0 passes 2 at step 9, and the demo shows scattered specks with no black at all. The value c = −0.8 + 0.156i, a favourite of fractal galleries, is less obvious: its picture looks like one connected dragon, yet the orbit of 0 escapes at step 252, so it too is dust. The gaps are simply too fine to see. Set the steps to 100, then to 300, and watch the verdict change.

Famous Julia sets: basilica, Douady rabbit, dendrite and Siegel disk

For c = −1, the basilica or San Marco fractal, the orbit of 0 alternates 0, −1, 0, −1 for ever. The Douady rabbit, named after the French mathematician Adrien Douady, belongs to c ≈ −0.1226 + 0.7449i, the centre of a period-3 bulb of the Mandelbrot set: the orbit of 0 comes back to 0 after exactly three steps. For c = i the orbit of 0 runs i, −1 + i, −i, −1 + i, −i and so on without ever returning to 0. That Julia set, the dendrite, is a branching tree with no inside at all, which is why the demo shows no black for it.

The Siegel disk, at c ≈ −0.3905 − 0.5868i, holds a quieter surprise. Inside the black region there is a fixed point that turns everything around it by the same angle every step, 0.618… of a full turn, the golden ratio's fractional part. Follow the orbit of a point near it and the values walk round and round a closed loop, never settling and never escaping. The disc is named after the mathematician Carl Ludwig Siegel.

Gaston Julia, Pierre Fatou and the first pictures

In 1918, aged 25, Gaston Julia published a 199-page memoir on iterating rational functions, which won the Grand Prix des Sciences Mathématiques of the French Academy of Sciences. Pierre Fatou developed the same theory independently between 1917 and 1920. The Julia set and its complement, the Fatou set, are named after them.

They had no computers to draw what they described. The Mandelbrot set was first drawn by Robert Brooks and Peter Matelski in 1978, and Benoit Mandelbrot's computer pictures from IBM in 1980 made the Mandelbrot set famous and brought Julia's work back into view. A Julia set takes a computer millions of steps; this page does them in your browser every time you move c.