Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 658 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 658 Bytes

Three Bodies

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.

Building

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/