🌐 EN

πŸŒ€ Mandelbrot Set Explorer

Zoom into the infinite detail of the Mandelbrot set. Click anywhere to zoom in, shift-click or right-click to zoom out, and tune the iteration count and color palette in real time.

200

Click the canvas to zoom in Β· Shift-click or right-click to zoom out.

GUIDE

Learn more

01

What is the Mandelbrot set?

The Mandelbrot set is the set of complex numbers c for which the iteration z β†’ zΒ² + c (starting at z = 0) stays bounded forever. Points inside the set are colored black; points outside are colored by how quickly they escape to infinity. Named after Benoit Mandelbrot, who studied it in 1980, it is the most famous example of a fractal β€” an object whose intricate, self-similar structure repeats at every scale.
02

How the explorer works

For each pixel the tool maps its position to a complex number c, then iterates zΒ² + c until the magnitude exceeds 2 (guaranteed escape) or the iteration cap is reached. The escape count drives the color. This explorer uses smooth (continuous) coloring β€” a fractional escape value computed from the final magnitude β€” so bands blend seamlessly instead of forming hard rings. Rendering runs in row-bands via requestAnimationFrame so the page stays responsive even at 1000 iterations.
03

Getting the best images

As you zoom deeper, raise the iteration count: shallow views look fine at 100–200 iterations, but deep zooms need 500–1000 to resolve fine filaments. The most spectacular structures β€” miniature Mandelbrots, spirals and "seahorse" valleys β€” live along the boundary between the black interior and the colored exterior. When you find a view you like, click Save PNG to export it at full canvas resolution.

Frequently asked questions

Why does the image get blocky when I zoom very deep?
Zooming relies on double-precision floating point. After roughly 10^13Γ— magnification the numbers lose precision and detail turns blocky β€” that is a hardware limit of standard JavaScript numbers, not a bug. Reset and explore a different region.
What does the iteration slider actually change?
It sets the maximum number of z β†’ zΒ² + c steps before a point is assumed to be inside the set. Higher values reveal finer boundary detail but take longer to render. The cap is 1000.
Is this related to the Julia set?
Yes. The Mandelbrot set is effectively a map of all Julia sets: each point c corresponds to one Julia set, and c values inside the Mandelbrot set give connected Julia sets. Try our Julia Set Generator to explore them.