Skip to content

Rust + WASM Mandelbrot Set

Published:

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

Steps

  1. Clone the repository:

    git clone https://github.com/martishin/rust-wasm-mandelbrot
    cd rust-wasm-mandelbrot
  2. Build the WebAssembly module:

    cd mandelbrot_wasm
    make build
  3. Install frontend dependencies and start dev server:

    cd ../client
    npm install
    npm run dev
  4. Open in your browser: http://localhost:5173

Technologies Used