1
Fork 0
Playground for doing rust stuff in the browser
Find a file
2020-12-17 21:24:49 +01:00
src Smoooooth version of previous (and rust-fmt) 2020-12-17 21:24:49 +01:00
tests initial commit 2020-11-18 20:33:04 +01:00
www Nice visualisation based on sandpiles 2020-12-17 20:40:36 +01:00
.gitignore initial commit 2020-11-18 20:33:04 +01:00
Cargo.toml Nice visualisation based on sandpiles 2020-12-17 20:40:36 +01:00
README.md Smoooooth version of previous (and rust-fmt) 2020-12-17 21:24:49 +01:00

rust-wasm

Playground for rust stuff in the browser. Currently it is a nice visualisation.

Build

wasm-pack build
cd www
npm install

Run

cd www
npm run start

This command automatically watches the files, so you can build rust stuff and it will automatically appear.

Deploy

cd www
npm run build

Then copy the dist directory to a server.