Starter template for p5-sys
- Install Rust
- Install wasm-pack
git clone https://github.com/Maan2003/p5-rs-starter.git
cd p5-rs-starter
- Open Cargo.toml and replace
{{ project }}
with the project name and{{ author }}
with your name wasm-pack build --target web --out-name sketch --dev
(--dev is for developing mode will compile faster)cd pkg
- Start some http server here like
python -m http.server