A clone of the excellent https://github.com/fogleman/Quads written in Rust and compiled to WebAssembly.
# building the server-side cli
cargo build --release --bin server --features="build-binary"
# sample usage
./target/release/server data/220_supertramp.png 10000
# building as wasm
wasm-pack build --target web --out-dir wasm
# once wasm has been built the 'app' can be served with a http server
python -m http.server --bind 127.0.0.1 8000
Note for self: Unfortunately, I did not find a simple way to automate the build with netlify/github actions.
So I'm checking in the results of the wasm-pack build process, which means netlify directly deploys the static files in this repo.