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
julia()— This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
Try a change
- Lower the iteration count by 2 and generate. You should recognize the same rule with fewer replacements.
- Raise the count by 1 only. Each added iteration multiplies the number of segments, so large jumps get slow.
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().