By Tim King · Updated
Mandelbrot Set Explorer
Zoom the Fractal Online, Free 4K PNG
OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.
How the Mandelbrot Explorer works
This Mandelbrot set explorer zooms as deep as you like. The Mandelbrot set is the black shape in the middle; everything around it is coloured by how quickly each point escapes. Click anywhere to zoom in on it, keep clicking to go deeper, and when you find a view you like, export it as a PNG at up to 4K. The centre coordinates and zoom are shown under the picture so you can find it again.
The Mandelbrot set comes from one line of arithmetic, yet its edge holds endless detail. Zoom into any part of the boundary and you find spirals, seahorses, lightning filaments and tiny copies of the whole set, and the detail never runs out. This page draws it live in the browser, lets you dive in with a click and exports any view as a PNG at wallpaper size.
Why it matters. Benoit Mandelbrot plotted the set at IBM in 1980, and it became the emblem of fractal geometry: the idea that rough, self-similar shapes such as coastlines, clouds, blood vessels and ferns can be measured and modelled. The same mathematics sits behind compression research, antenna design and the procedural terrain in films and games. For teachers it is the best visual introduction to complex numbers and iteration, and for everyone else it is simply one of the most beautiful pictures maths has produced.
How the Mandelbrot set explorer draws it
Every pixel stands for a complex number c = x + yi. Starting from z = 0, the page repeats z = z² + c and watches what happens:
- If z stays small forever, c is in the set and the pixel is drawn black.
- If z grows without limit, c is outside, and the pixel is coloured by how many steps it took to escape.
Once z is further than 2 from the origin it is certain to escape, so the test is quick. The page waits until 4 and then smooths the step count with a logarithm, which blends the colour bands instead of letting them step. Neighbouring points escape at similar times, and that is why the colours form the contour bands and filaments that trace the edge of the set.
A few landmarks. The big heart shape is the main cardioid, and the circle to its left, centred on −1, is the period-2 bulb. On the real axis the set runs from −2 to 0.25. The set is connected, with every island linked to the body by filaments too thin to see, and its area is about 1.506. Good places to zoom:
- Seahorse Valley, the gap between the cardioid and the left bulb, near −0.75 + 0.1i.
- Elephant Valley, the cleft on the right side of the cardioid, near 0.28 + 0.01i.
- The needle, the thin spike running out to −2, where mini-Mandelbrots sit along the real axis.
Zooming and the iteration limit
A click recentres on that point and magnifies 2.5 times, and shift-click zooms back out. Zoom multiplies, so ten clicks is about 9,500×, and twenty clicks is over 90 million. The detail keeps coming until roughly 10¹³×. There the double-precision numbers a browser uses run out of digits, and the picture turns blocky. Dedicated programs go deeper with arbitrary-precision maths.
Near the boundary, points take a long time to escape. If the iteration limit is too low they are wrongly drawn black, and the edge looks blobby and smooth. Raise the limit as you zoom: the default 300 is fine for the full view, 1,000 or more for deep zooms, and the slider goes to 2,000. The cost is render time, because every black pixel runs the full loop.
How to read the result.
- Centre is the complex number at the middle of the view, shown to six decimal places. Note it down to return to a spot you like; at very deep zooms six places are not enough to pin it exactly.
- Zoom is magnification relative to the starting view, which is 3.2 units wide. At 100× the screen spans 0.032; at 1,000,000× it spans about three millionths.
- Size is the canvas in pixels. An export renders at its own size.
Palette and colour cycle. Spectrum, Fire, Ice and Mono set the colour scheme. Colour cycle sets how fast the palette repeats as the step count rises. Low values give broad, calm bands that suit the full view. High values give fine, busy banding that picks out the filaments in a deep zoom, where escape counts climb into the hundreds. Regenerate shifts where the palette starts without changing the view, so you can put the bright band where you want it.
Tips and pitfalls.
- Aim at the edge. Clicking deep inside the black body or far out in the colour just zooms into a flat area. The interesting detail is always on the boundary.
- Raise iterations before you judge a zoom. A dull, black-edged view usually needs more iterations, not a new location.
- Mono suits print. Greyscale bands reproduce well in print and on e-ink.
- Export at the final size. Save PNG re-renders the view at the chosen resolution, so a 4K export computes about eight million fresh points instead of upscaling the preview. At a high iteration limit that can take several seconds.
The Julia set explorer uses the same z² + c rule with c held fixed, and every point of the Mandelbrot set corresponds to a connected Julia set. For other self-similar shapes, try the Koch snowflake or Sierpinski triangle generators.
FAQ
Where are the interesting places?
The seahorse valley around −0.75 + 0.1i, the elephant valley near 0.28 + 0.01i, the spike along the negative real axis to −2, and the tiny copies of the whole set at the tips of the antennae, for example around −1.77 + 0i. Click into the boundary anywhere and keep going.
Why does the picture go black in places when I zoom?
The iteration limit is too low for that depth, so points that would escape eventually are counted as members of the set. Raise the limit and the black areas resolve into detail.
Why does it go blocky at very deep zoom?
Numbers in the browser have about 16 significant digits. When the width of a pixel is smaller than that precision, neighbouring pixels compute the same value. Arbitrary-precision explorers exist but they are far slower; this one stops where JavaScript's doubles do.
How is the Julia set related?
The same z² + c formula, but c is fixed and z starts at the pixel. Each point of the Mandelbrot set corresponds to a Julia set; there is a separate explorer for those.
See also: all Generative Art tools, Images, Audio, Video & Screen, PDF, SVG, Simulations & Screensavers, Chart Makers, 3D Model Viewers, Drawing Pads, Mockups & 3D Making, Diagram Makers, 3D Science, Tracker Music.
Related tools
Julia Set Explorer
Click to zoom into Julia set fractals; export the view at 4K.
Sierpinski Triangle Generator
Sierpinski triangle by subdivision or chaos game; export as PNG.
Koch Snowflake Generator
Koch snowflake and anti-snowflake to any depth; export as PNG.
L-System Tree Generator
Fractal trees from rewriting rules; depth, angle and randomness sliders.
Perlin Noise Texture
Clouds, marble, wood grain and more from layered Perlin noise; PNG up to 4K.