Basic physics simulation (rigid bodies) written in Rust, using the macroquad framework.
Runs natively on most platforms (tested on Windows and macOS), and in the browser using WebAssembly.
The WASM version can be accessed on GitHub Pages.
See macroquad's build instructions.
Make sure to use the --release
flag for better (5-10x) performance.