Some experiments with wpgu and wasm. Built with nix.
A lot of this material is taken directly from learn-wgpu.
This project requires nix with flakes enabled.
nix develop
cargo run
nix develop
cargo watch -i .gitignore -i "www/*" -s "wasm-pack build renderer/ --out-dir ../www/pkg --target web"
In another terminal, run the development server:
cd www; npm run dev