An interactive WebAssembly-powered Mandelbrot set explorer built with Rust and WebGPU.
- Real-time Mandelbrot set rendering using WebGPU compute shaders
- Interactive zoom and pan with mouse wheel and keyboard controls
- High-performance WebAssembly backend
- Responsive design that works on any screen size
- Mouse wheel: Zoom in/out at cursor position
- Arrow keys: Pan around the fractal
- +/-: Zoom in/out at center
- R: Reset to initial view
- Z: Auto-zoom
Visit https://nyberg.dev/mandelbrot-wasm/ to try it out!
- Rust with
wasm32-unknown-unknowntarget wasm-pack
wasm-pack build --target web --releaseServe the files with any static file server:
python -m http.server 8000This project automatically deploys to GitHub Pages via GitHub Actions when changes are pushed to the main branch.