Projects Mandelbrot set explorer

Mandelbrot set explorer

An interactive zoomable rendering of the Mandelbrot set, with smooth iteration count for continuous coloring. The palette has been tuned to the site's deep-space warmth: indigo, plum, brick, amber, cream.

Interactive p5.js · Canvas 2D Smooth iteration count
Max iterations 96

Notes

Iterates zn+1 = zn² + c for each pixel and uses the smooth-iteration formula n + 1 − log(log|z|)/log 2 to avoid the banding you get with integer escape times.

The palette is sampled with a non-linear ramp so the high-detail warm zone (where iteration counts cluster near the boundary) gets the most colour budget.

  • DragDrag a square on the canvas to zoom in
  • BackStep out one zoom level
  • ResetReturn to the full set
  • SliderRaise iteration count for deeper detail