Mandelbrot set computation written in Rust, compiled to wasm
- Install Rust nightly and the
wasm32-unknown-unknown
target:
curl https://sh.rustup.rs -sSf | sh
rustup toolchain install nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
- Install wasm-gc:
rustup run nightly cargo install --git https://github.com/alexcrichton/wasm-gc
-
Install node.js & yarn
-
Clone this repo
-
Install packages and run:
yarn
yarn start
- Direct your browser to http://localhost:8080 and enjoy!