Mandelbrot Set Explorer
Explore the Mandelbrot fractal interactively. Pan and zoom on a high-resolution canvas, pick from eight color palettes, raise the iteration depth to reveal infinite self-similar detail, and hover any point to see its matching Julia set in real time. Includes ten classic locations (Seahorse Valley, Elephant Valley, Mini Mandelbrots, Triple Spiral), PNG export, and shareable coordinate URLs.
For every pixel, map it to a complex number c and run zn+1 = zn2 + c from z0 = 0. The color encodes how many steps until |z| > 2 — black means it never escaped.
Near the boundary, escape can take 1,000+ steps. Use the slider to add iterations as you zoom in. The tool also auto-bumps the iteration cap as you zoom past 10×, 100×, 1,000×.
The Mandelbrot set is the master parameter map of all Julia sets. Hover the canvas: the preview is the Julia set for the c under your cursor. If c is inside the Mandelbrot set, its Julia set is connected.
Banded coloring shows discrete iteration rings — great for counting. Smooth coloring uses i + 1 − log(log|z|) / log 2 for a continuous gradient — great for photos.
▦ How the iteration escapes — a worked example
The Mandelbrot set is the collection of all c for which the orbit stays bounded. A pixel's color encodes how many iterations its orbit needed to escape — and the boundary, where some orbits stay bounded forever while neighbors escape, is the infinitely intricate fractal you are exploring.
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by going Premium (ad‑free + faster tools), or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade to Premium (ad‑free)
About Mandelbrot Set Explorer
The Mandelbrot Set Explorer is an interactive fractal viewer for the most famous mathematical object of the late 20th century. Drag the canvas to pan, scroll to zoom, hover any point to see its matching Julia set, and switch between eight color palettes. Ten famous-location presets — Seahorse Valley, Elephant Valley, Triple Spiral, Mini Mandelbrots, Tendrils, Lightning, Spider, Crown, Sunflower — jump you straight to the spots mathematicians have named over four decades of exploration. Everything renders client-side, so you can zoom freely without round-tripping to a server, and a shareable URL captures the exact view down to the last digit of precision.
What Is the Mandelbrot Set?
The Mandelbrot set is the set of all complex numbers \( c \) for which the sequence \( z_{n+1} = z_n^2 + c \), starting from \( z_0 = 0 \), stays bounded (never grows to infinity). It is named after the Polish-French-American mathematician Benoit Mandelbrot, who first drew it on a computer at IBM in 1980. The familiar black, heart-and-circle silhouette you see on this tool is the inside of the set; the rainbow boundary is colored by how many iteration steps each pixel needs before its orbit escapes the radius-2 disk and is officially declared "outside."
The set is the most famous example of a fractal: an object built from a simple, deterministic rule whose boundary nevertheless has infinite complexity. Zoom in anywhere on that boundary and you find an unending procession of spirals, tendrils, seahorse shapes, dendrites — and, hidden inside, perfect tiny copies of the whole set, called mini-Mandelbrots.
How This Explorer Works
Famous Locations to Visit
| Location | Why it is famous |
|---|---|
| −0.745 + 0.113i | Seahorse Valley — between the main cardioid and the period-2 bulb. Spiral arms unfold into seahorse-shaped tendrils. The first place every Mandelbrot tour visits. |
| 0.275 + 0i | Elephant Valley — along the right side of the main cardioid. The bulbs lined up like a parade of tiny elephants. |
| −0.088 + 0.654i | Triple Spiral — three-armed spirals near a period-3 bulb. Demonstrates how internal angles of bulbs correspond to combinatorial rotation numbers. |
| −1.7497 + 0i | Mini Mandelbrot — a perfect, miniature copy of the whole set, sitting on the western antenna. There are infinitely many of these hidden inside the boundary. |
| −0.7269 + 0.1889i | Tendrils — extremely thin filaments connecting bulbs. Proves Adrien Douady and John Hubbard's 1985 result that the set is connected. |
| −1.25066 + 0.02012i | Lightning — forking bolt-shaped dendrites on the western edge. A favorite for posters. |
| −1.4063 + 0i | Spider — eight-legged structures near the period-2 attractor. |
| −0.1607 + 1.0376i | Crown — a jewel-encrusted crown of dendrites at the top of the set, demonstrating the Mandelbrot/Julia symmetry above the real axis. |
| −0.7436 + 0.1318i (deep) | Sunflower — at 22 trillionths of a unit per pixel, this is near the practical limit of standard double-precision arithmetic. Beyond this depth, professional renderers switch to arbitrary-precision math. |
The Math Behind the Picture
Pick a complex number \( c \). Set \( z_0 = 0 \) and apply the iteration \( z_{n+1} = z_n^2 + c \) over and over. There are exactly two possible outcomes: either the sequence stays inside the disc \( |z| \le 2 \) forever (in which case \( c \) is in the Mandelbrot set), or some \( z_n \) escapes that disc, after which it is guaranteed to fly off to infinity (in which case \( c \) is outside).
The escape radius 2 is special: a famous theorem says once \( |z_n| > 2 \) for any \( n \), the orbit must escape. So we never need to iterate forever — we just iterate until either we reach the cap (we declare \( c \) inside) or \( |z| > 2 \) (we declare \( c \) outside, recording the iteration count). For smooth coloring we use the fractional escape value:
\[ \nu = n + 1 - \frac{\log(\log |z_n|)}{\log 2} \]
which interpolates between integer iteration bands and yields a continuous gradient as you move across the boundary.
The Mandelbrot–Julia Connection
For each complex number \( c \) there is a Julia set \( J_c \) — the set of starting points \( z_0 \) whose orbits under \( z \to z^2 + c \) stay bounded. The Mandelbrot set is the parameter space of all Julia sets: a point \( c \) belongs to the Mandelbrot set if and only if its Julia set is connected (a single piece). Otherwise, the Julia set is a disconnected "Cantor dust." The live Julia preview in the corner makes this visible — as you move your cursor across the boundary of the Mandelbrot set, you can watch the Julia set transition from solid connected shapes to powdered dust at the exact moment you cross.
Why It Is Important
- Foundational example for complex dynamics. The study of holomorphic dynamics — what happens when you iterate complex polynomials — is built around the Mandelbrot set. The famous Douady–Hubbard theorem (1985) establishes that it is connected; Yoccoz's later work proved local connectivity at many specific points; Mandel and Adrien Douady's deep theory underpins decades of research.
- The most photographed mathematical object. Computer graphics had a famous "Mandelbrot moment" in the 1980s, when high-resolution color renderings became feasible on home computers. It introduced an entire generation to the idea that mathematics could be visually beautiful.
- Practical applications. The same iteration shows up in image compression (IFS — iterated function systems), texture synthesis, antenna design (fractal antennas), and procedural terrain generation.
- Educational power. Every step is elementary — complex multiplication, addition, a tolerance check — yet the result is dizzyingly complex. It is the canonical "small rule, big behavior" object, perfect for teaching dynamics, computability, and the limits of intuition.
Tips for Beautiful Renders
- Zoom into the boundary. The inside of the set is solid black — interesting renders sit on the boundary, where iteration counts vary rapidly between neighboring pixels. Seahorse Valley and Elephant Valley are good starting points.
- Crank iterations after zooming. Each 10× zoom typically needs 1.5–2× the iteration depth to keep the boundary sharp. If a deep view looks "muddy" along the edges, raise the slider.
- Try opposite palettes. The same view looks completely different in Fire vs Ocean vs Rainbow Cycle. Save multiple PNGs of the same coordinates with different palettes for a striking poster series.
- Use banded coloring for "rings." Smooth coloring is photogenic, but banded coloring reveals the period-doubling and combinatorial structure of escape times — every flat color band is a different "kth iteration to escape" set.
- Watch the Julia preview. Move slowly along the boundary, especially across bulb attachments — the Julia preview will pulse and rearrange itself dramatically, showing the underlying mathematics in real time.
Practical Limits and the Precision Frontier
This tool uses standard JavaScript double-precision floats (IEEE 754, 64-bit), which give about 15–16 significant decimal digits. That sets a practical zoom limit at span ≈ 10⁻¹³ — about 10¹⁴×. At that depth, the gap between two adjacent pixels is smaller than the precision of the underlying arithmetic, and the image begins to show squarish quantization artifacts. To zoom deeper, professional fractal renderers like Kalles Fraktaler, Ultra Fractal, or Fractal eXtreme use arbitrary-precision libraries that can carry thousands of digits — at the cost of being hundreds of times slower per pixel. The Sunflower preset in this tool sits near the practical edge: at that location, individual pixels span just 22 trillionths of a unit.
Frequently Asked Questions
What is the Mandelbrot set?
The Mandelbrot set is the collection of complex numbers c for which the iteration z = z² + c, starting from z = 0, never escapes to infinity. It was popularized in the late 1970s by Benoit Mandelbrot and is the most famous example of a mathematical object that is both simple to define and infinitely intricate. The familiar black cardioid + circle shape is the inside of the set; the colorful boundary you see in this tool is where iteration counts grow without ever escaping the radius-2 disc.
How does the iteration formula work?
For every pixel on the canvas, we map the pixel to a complex number c. Then we apply z_n+1 = z_n² + c starting from z_0 = 0, counting how many iterations it takes before |z| exceeds 2. If it never exceeds 2 within max_iter steps, we color the pixel black (it is in the set). Otherwise we color it by how many steps the escape took — that count, smoothed with a logarithmic correction, becomes the position in the color palette.
Why does the boundary look infinitely detailed?
The Mandelbrot set is self-similar on its boundary — zooming into almost any part of the boundary reveals smaller copies of the full set (so-called mini-Mandelbrots) plus an unending variety of spirals, dendrites, and seahorse shapes. The boundary has fractal dimension exactly 2, the maximum possible for a planar set, even though it has zero area. This means it fills space tightly without ever being a solid region.
What is the iteration depth and how should I set it?
Iteration depth (max_iter) is the maximum number of times we apply z = z² + c before giving up and calling the point inside the set. Bigger numbers reveal more boundary detail but slow rendering. The full view needs about 250 iterations; medium-deep zooms (span around 0.01) need 400–800; deep zooms (span below 0.0001) often need 1500–3000. The tool caps it at 4,000 — beyond that, browser double-precision floats begin to lose detail anyway.
What is a Julia set and how does the live preview work?
For each complex number c there is a Julia set — the set of starting points z_0 for which z = z² + c stays bounded. The Mandelbrot set is the master map of all Julia sets: a point c is in the Mandelbrot set if and only if the Julia set for that c is connected. When you hover your cursor over the Mandelbrot canvas, the preview renders the Julia set for the c under the cursor in real time, so you can watch how the Julia shape morphs as you move.
What are the famous locations?
Mathematicians and artists have named many landmark spots: Seahorse Valley (around −0.745+0.113i), Elephant Valley (around 0.275+0i), the Triple Spiral (around −0.088+0.654i), Mini Mandelbrots (at −1.7497 and elsewhere), Tendrils, Lightning, Spider, Crown, and Sunflower. Each demonstrates a different combinatorial pattern of the set's bulbs and rays.
How deep can I zoom?
This tool uses JavaScript double-precision floats (about 15–16 significant digits). That means you can zoom to a span of roughly 10⁻¹³ before pixels start to look identical due to round-off. To zoom deeper, you need arbitrary-precision (bignum) arithmetic, which is hundreds of times slower per pixel. The Sunflower preset is at the practical edge.
Why are there bands of color and how do I remove them?
The integer escape-time count produces visible bands: every pixel with the same iteration count gets the exact same color. To remove the bands, we use a smooth (continuous) escape value computed as i + 1 − log(log|z|) / log 2. Switch the Smooth toggle off to see the banded version — useful for counting iteration rings.
Why is rendering slower at deep zooms?
Inside the set and near the boundary, the iteration takes the full max_iter steps for every pixel — that is where almost all the CPU time goes. At a deep zoom most pixels are near the boundary, so almost every pixel hits the iteration cap. Doubling max_iter roughly doubles the render time on a deep zoom.
Can I save and share a particular view?
Yes. Click Copy share-link — the URL parameters (cx, cy, span, max_iter, palette) capture the exact location and look, and opening that link in any browser restores the same view. The Save PNG button downloads the current canvas at its native resolution.
Is the set really connected?
Yes. Adrien Douady and John Hubbard proved in 1985 that the Mandelbrot set is connected — every two points inside the set can be joined by a continuous path that stays inside. Visually this is surprising because the boundary has thin filaments that look as though they might disconnect the set into islands — but those filaments are themselves part of the set, holding everything together.
What is the area of the Mandelbrot set?
The exact area is unknown — Monte Carlo estimates place it at about 1.5065 square units. The boundary has fractal dimension exactly 2, but the boundary itself has zero area (Lebesgue measure zero), so all the area lives in the solid interior bulbs. Exact analytical formulas exist for the main cardioid and the period-2 disk, contributing about 1.3 of those 1.5 square units between them.
Reference this content, page, or tool as:
"Mandelbrot Set Explorer" at https://MiniWebtool.com// from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: 2026-05-20