The Mandelbrot set is one of the most famous objects in fractal geometry because a very simple rule produces
remarkably complex boundaries. Each point in the plot corresponds to a complex number \(c=a+bi\) on the complex
plane. For that \(c\), we iterate the quadratic map
\[
z_{0}=0,\qquad z_{n+1}=z_{n}^{2}+c.
\]
The question is: does the sequence \(\{z_n\}\) remain bounded, or does it grow without bound? If the orbit stays
bounded, the parameter \(c\) is considered to be in the Mandelbrot set.
A powerful simplification is the escape radius test. For the quadratic map above, if \(|z_n|\) ever
becomes larger than 2, the sequence will diverge to infinity. That is why many renderers use the condition
“escape when \(|z|>2\)”. Points that never escape after a chosen maximum number of iterations are colored as
“inside” (often black). Points that do escape are colored according to how quickly they escape.
The boundary between escaping and non-escaping points is where the fractal lives. No matter how far you zoom in,
you keep finding new filaments, bulbs, and spirals. This “infinite detail” is a hallmark of fractals: the boundary
has intricate structure at every scale. Mathematically, the boundary is highly irregular and has a fractal dimension
(not an integer like 1 for a line or 2 for a region).
Most visualizations use an escape-time algorithm. For each pixel, you map its screen position to a
complex number \(c\), iterate the recurrence up to \(N\) times, and record the first iteration where \(|z_n|\) exceeds
the escape radius. A small escape count means the point is “far outside” and escapes quickly; a large count means it
sits near the boundary and escapes slowly. To reduce banding, many plots use a smooth iteration value,
which estimates a fractional escape time using \(\log(\log|z|)\). This yields more continuous color gradients while
preserving the same underlying mathematics.
Interactivity matters because the Mandelbrot set is all about scale. Panning moves the view window across the complex
plane, while zooming shrinks the half-span of the visible region and reveals finer structure. As you zoom deeper, you
typically need more iterations to correctly classify points near the boundary, because their orbits can take a long time
to escape. This calculator lets you adjust iteration limits, choose a palette, probe a specific \(c\), and explore how a
simple recurrence generates a rich, self-similar world.