DGS Studio

Fractals

Julia Set

Explore a quadratic Julia set with a fixed complex parameter c.

julia() draws the quadratic Julia set for a fixed c, starting from the point z₀ under the pointer rather than from 0. The default parameter is c = −0.8 + 0.156i.

The iteration is the same square-and-add rule as the Mandelbrot set. What changes is which number is the pixel and which number is held fixed. Escape still means |z|² > 4.

Equation

julia()

What repeats

These fractals are produced by a rule that repeats. The line fractals replace each segment with a smaller copy according to a named curve and an iteration count. The Mandelbrot and Julia sets repeat the quadratic map z → z² + c and color a point by how quickly it escapes.

More iterations add detail, and they also add work. Escape pictures are finite-resolution approximations: a point that has not escaped yet is not a proof that it never will. Zooming the Mandelbrot or Julia view is done in the browser after the example has opened.

Reading the input

Try a change

Generate Graph selects the fractal viewer. Zooming and iteration changes happen in the browser after the set is open. The equation itself stays mandelbrot() or julia().

Edit and generate

Generate Graph opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples