This is a simple three body simulation, built over a lunch break to try out macroquad.
An online version can be found here.
demo.mov
Note: If you are using a non-standard keyboard layout, the controls do not take that into account.
For the native version, run
cargo run --release
For the wasm version, run
cargo build --target wasm32-unknown-unknown --release
cp target/wasm32-unknown-unknown/release/three-bodies.wasm docs/