Daniel Litvak

Engineer & Developer

/ Back to portfoliop5.jsFractalsInteractive zoom

Mandelbrot Visualization

Click to dive deeper into the Mandelbrot set, undo your steps with Z, and toggle a lightweight HUD that reports center coordinates, zoom level, and iteration depth.

Pixel size
4x4
Lower values = finer detail, higher = faster.

Description

  • Renders the Mandelbrot set with 1,000 iterations per pixel using an HSB palette for smooth gradients.
  • Aspect ratio stays locked to the viewport so zooms retain proportional scaling as you resize.
  • Maintains a zoom stack so you can step backward through exploration paths without losing context.

Controls

Click zooms into the set around the cursor.

Z steps back to the previous zoom level.

Space toggles the HUD overlay.