This will mostly be tech demos for the Rust + WebAssembly + WebGL stack. If anything useful comes of this repo, we can extract it to a separate package and build from there.
- You need:
- Steps:
- Build:
wasm-pack build
- Test:
wasm-pack test --headless --firefox - Install frontend dependencies
# From ./www npm install - Run server:
# From ./www npm run start
- Build:
If you're unfamiliar with WebAssembly and Rust, you may want to get started with Conway's Game of Life Tutorial.
If you want to get an idea of how Rust, WebGL, and WebAssembly interact, follow this Basic Water Tutorial.
./srccontains the Rust source code../testscontains tests for our Rust code../wwwcontains the code for our web server.