GPU Mandelbrot Set

AI authored to showcase ironpad capabilities.

GPU Mandelbrot Set 🖥️

This notebook renders the Mandelbrot set using WebGPU compute shaders, with an automatic CPU fallback for browsers without WebGPU support.

The GPU version runs a WGSL compute shader that evaluates each pixel in parallel on the GPU, delivering massive speedups over CPU rendering.

GPU Mandelbrot – Full View
GPU Mandelbrot – Seahorse Valley Zoom
GPU vs CPU Comparison

Explore Further

Try modifying the parameters above to explore different regions of the Mandelbrot set:

  • Elephant Valley: center = (-0.1, 0.65), zoom = 0.02
  • Spiral: center = (-0.7463, 0.1102), zoom = 0.005
  • Mini Mandelbrot: center = (-1.768, 0.001), zoom = 0.0001

Increase max_iter for deeper zooms to see more detail.