Description
This project showcases a real-time, interactive Mandelbrot set powered by Rust + WebAssembly (WASM) and rendered via WebGL in the browser.
You can pan, pinch, scroll, and zoom infinitely - all computations are handled on the GPU for smooth performance, even on mobile devices.

Source code is available on GitHub.
🚀 Try the live demo here
Running Locally
Prerequisites
- Rust (with
wasm-pack
) - Node.js & npm – for the React frontend
Steps
-
Clone the repository:
git clone https://github.com/martishin/rust-wasm-mandelbrot cd rust-wasm-mandelbrot
-
Build the WebAssembly module:
cd mandelbrot_wasm make build
-
Install frontend dependencies and start dev server:
cd ../client npm install npm run dev
-
Open in your browser: http://localhost:5173
Technologies Used
- Rust + WebAssembly (WASM) – for GPU shader setup and bindings
- React + Vite – responsive frontend