Update README with controls and new screenshot
This commit is contained in:
parent
248602df1b
commit
816b077eb9
@ -3,3 +3,12 @@
|
||||
An N-body simulation in Rust using the [bevy](https://bevyengine.org) crate for rendering and [bigbang](https://docs.rs/bigbang/0.0.9/bigbang/) crate for the n-body calculations.
|
||||
|
||||
![screenshot](assets/nbody.png)
|
||||
|
||||
## 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 |
|
BIN
assets/nbody.png
BIN
assets/nbody.png
Binary file not shown.
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 22 KiB |
Loading…
Reference in New Issue
Block a user