Mandelbrot explorer

Draw a rectangle to zoom in. Shift-drag to pan. Use the buttons below to zoom from the center.

What is the Mandelbrot set?

Think of every point in the picture as a number with two parts: a horizontal coordinate and a vertical one. To test a point, call it c and start with z equal to zero. Square z, add c, and repeat with the result. The same rule runs at each point with a different c.

Once z gets more than two units from zero, it will grow without limit. The palette shows how quickly points escape. Points that stay within that distance forever belong to the Mandelbrot set. The explorer colours a point black if it still hasn’t escaped after 16,000 steps at the saved setting. Near the edge, raising the iteration limit can reveal filaments that previously looked black.

This view zooms into the colourful side of that boundary, where even nearby points can take very different numbers of steps to escape.

Read more about the Mandelbrot set on Wikipedia