Mandelbrot & Julia sets, explained.
Both explorers repeat zₙ₊₁ = zₙ² + c. The difference is what you hold fixed.
What is the “God theory”?
“The thumbprint of God” is a poetic nickname for the Mandelbrot set, shared with a wide audience by Arthur C. Clarke’s documentary The Colours of Infinity. The phrase reflects how a fingerprint-like world of intricate detail grows from the repeated rule zₙ₊₁ = zₙ² + c.
It is not a mathematical theory or evidence for a religious claim. Mathematics tells us which complex parameters have bounded orbits; the nickname describes the awe some viewers feel as they explore the set’s endlessly detailed boundary.
Try it: enter a Mandelbrot coordinate as c, then compare its Julia set. Each image is a different view of the same recurrence.
Read the documentary listing ↗Mandelbrot: vary c
Each pixel represents a complex parameter c = a + bi. Start at z₀ = 0 and repeatedly square z, then add c. The Mandelbrot set contains parameters whose orbits stay bounded forever.
Explore the parameter plane ↗Julia: vary z₀
Choose one constant c, then use each pixel as a different starting value z₀. The colored image approximates the filled Julia set and its escape behavior. Its boundary is the Julia set.
Explore the dynamical plane ↗Read the image carefully
The original Java code stops when its escape test triggers or the iteration limit is reached. Its HSB colors depend on iteration count. Not escaping within a finite limit is evidence to investigate, not proof of membership.
The original Swing renderer skips Julia parameters outside |c| ≤ 2. The website now supports those finite constants by keeping the same Java recurrence and HSB colors with a sufficient escape radius R = max(2, √|c| + 1). Finite precision and iteration limits still apply.
Pixels and iterations answer different questions
Resolution is how many pixels sample the plane. A larger image can show smaller spatial features. Iterations are how many recurrence steps each pixel may take before the test stops. Increasing one does not increase the other.
Use 200 iterations for Mandelbrot navigation. Julia starts at 1,000 for a more detailed view; its cost still depends on how many pixels survive to the limit. Raising the preview limit takes longer. The Capture tab allows up to 100,000 iterations for a saved PNG, warns about the delay, and keeps those settings separate from exploration. High-detail captures can take minutes on the free Java host.
Try a small experiment
- Open Mandelbrot and select Inspect.
- Trace c = 0, then c = 1. Compare 0 → 0 with 0 → 1 → 2 → 5.
- Select Place Julia marker, then click the image. Its Java-generated Julia preview appears beside the Mandelbrot view.
- Study a boundary with a modest iteration increase. Use Capture for a detailed saved image once the view is settled.
Eight proofs, explained.
Read the proof handbook PDF ↗Open each numbered source PDF directly below, or expand its card for a step-by-step explanation and experiment. The correction to Proof 1.3 is called out clearly.
1.1Why the Mandelbrot set lies within radius 2
- The first iterate equals the parameter: z₁ = c. Let C = |c|. If C > 2, the orbit already starts beyond radius 2.
- For a later radius r ≥ C, the reverse triangle inequality gives |z² + c| ≥ r² − C ≥ r² − r = r(r − 1). Since r > 2, this is larger than r by a factor greater than 1.
- The radii keep growing without bound. Therefore |c| > 2 excludes a Mandelbrot parameter. Being inside radius 2 is only a necessary condition: c = 1 is still outside the set.
This parameter shortcut applies to Mandelbrot. Applying it to every Julia constant is not a general Julia membership test; Inspect explains when this renderer shortcut applies.
Try it: Trace c = 1 and c = 0 in Inspect. Both lie within radius 2, but their orbits behave differently.
Open original Proof 1.1 PDF ↗Read the original PDF here
1.2A distance test without square roots
- A complex number c = cₐ + icᵦ is the point (cₐ, cᵦ). Pythagoras gives its distance from the origin.
- Both the modulus and radius 2 are nonnegative, so squaring preserves the inequality. Compare the sum of squares with 4 instead of evaluating a square root.
- This is the same geometric circle expressed in arithmetic that the Java renderer uses for its initial parameter check.
Try it: For c = 1 + i, the squared modulus is 2. For c = 2 + i, it is 5, beyond the radius-2 circle.
Open original Proof 1.2 PDF ↗Read the original PDF here
1.3Why crossing radius 2 proves escape
- The reverse triangle inequality bounds |z² + c| from below by |z|² − |c|. For candidate Mandelbrot parameters, |c| ≤ 2, so r² − 2 is a valid lower bound.
- The growth condition r² − 2 > r factors as (r − 2)(r + 1) > 0. Since a modulus cannot be negative, r > 2 is the relevant region.
- Once r exceeds 2, every later radius remains above it. The positive growth gap cannot shrink below its first value, so the orbit is unbounded.
Correction to the original PDF, branch 3b: |c| ≤ 2 does not imply |c| − r² ≥ 2 − r². The claim that every orbit with r < 1 must grow is false: c = 0, z = 0 stays at 0. The r > 2 escape argument above remains valid. The source PDF is kept unchanged.
Try it: Trace c = 1: 0, 1, 2, 5. Equality at radius 2 does not trigger escape; the next term does.
Open original Proof 1.3 PDF ↗Read the original PDF here
1.4The loop’s squared escape condition
- Apply the distance formula to the current orbit value zₙ, rather than the parameter c. Its squared modulus is zₐ² + zᵦ².
- A strict crossing above 4 ends the original loop. Equality stays in the loop: replacing ≤ with < would change the behavior at radius 2.
- The iteration limit is the other stopping condition. Reaching it means not escaped within this finite test, not proven bounded forever.
The radius-2 justification here assumes |c| ≤ 2. For a general Julia constant, a sufficient escape radius is max(2, |c|); this guide describes the original implementation without changing it.
Try it: For c = −2, the Mandelbrot orbit reaches −2, then 2, then remains at 2. It must not be classified as escaped solely at equality.
Open original Proof 1.4 PDF ↗Read the original PDF here
1.5Split the iteration into real and imaginary parts
- Expand (a + ib)² = a² + 2iab + i²b². Since i² = −1, its real part is a² − b² and imaginary part is 2ab.
- Adding cₐ + icᵦ produces the two update equations. Both use the old a and b; store the new values in temporaries before replacing them.
- Mandelbrot starts at z₀ = 0 and varies c per pixel. Julia fixes c and varies the initial z₀ per pixel. The same recurrence supports both views.
Try it: With z = 1 + i and c = 0, the next value is 2i. Use the real and imaginary equations to check it.
Open original Proof 1.5 PDF ↗Read the original PDF here
2.1Map a pixel to a complex coordinate
- Normalize a pixel index by image width or height, scale it by the corresponding complex-plane span, then add the minimum bound.
- The original Java image writes rows in reverse vertical order. A displayed row py therefore maps to source row H − 1 − py. The formula above includes that flip.
- Actual pixel indices run from 0 to W − 1 and 0 to H − 1. The final sampled coordinate is just short of the maximum bound. Inspect uses this pixel convention, rather than a rounded screen percentage.
Try it: Select the top and bottom rows. The top corresponds to the larger imaginary value, even though screen y grows downward.
Open original Proof 2.1 PDF ↗Read the original PDF here
2.2Zoom while keeping the pointer anchored
- Find the pointer’s fraction across the image. Translate that fraction into its complex-plane anchor coordinate.
- Divide the span by a factor above 1 to zoom in; multiply by that factor to zoom out. Set the new minimum so the anchor stays at the same image fraction.
- Apply this independently to x and y, accounting for screen y pointing downward. Both spans scale equally, preserving the shape.
Try it: Point near a boundary and double-left-click repeatedly. The same feature stays under the pointer. Double-right-click reverses the zoom.
Open original Proof 2.2 PDF ↗Read the original PDF here
2.3Turn a drag into a viewport translation
- Here dx and dy mean release position minus drag-start position. Divide the pixel displacement by the displayed image dimensions.
- Scale by the mathematical spans. Dragging the picture right shifts the viewed x bounds left, so subtract Δx from both x bounds.
- Dragging down moves the mathematical bounds upward because screen and complex y directions are opposite. Add Δy to both y bounds. Spans remain unchanged, so panning does not zoom.
Try it: Drag right, then back by the same amount. Compare the zoom label: it remains constant. During drag, the existing PNG moves; Java renders the translated view on release.
Open original Proof 2.3 PDF ↗