Simply Physics Engine
Written in Rust and targetting WebAssembly, published as an NPM package. Meant for use in web apps for rendering physics simulations.
Steps to build and run sample app
Prerequisites
- Rust and Cargo https://www.rust-lang.org/tools/install
- wasm-pack https://rustwasm.github.io/wasm-pack/installer/
- NodeJS (For runing sample app. Use NVM https://github.com/nvm-sh/nvm to install Node 16)
Steps
- Build the NPM package using
wasm-pack
$ make build
- Run the sample web app that uses the NPM package
$ make www-install-and-start
- Go to http://localhost:8080/ in a browser