N-body simulation using bevy and bigbang crates
.cargo | ||
assets | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
bevy-nbody
An N-body simulation in Rust using the bevy crate for rendering and bigbang crate for the n-body calculations.
Controls
key | control |
---|---|
R | reset the simulation |
Left Click | hold and move mouse to pan the view |
Middle Click | hold and move mouse up and down to zoom in and out |
Right Click | click on a body to focus the camera on that body |