Update README with controls and new screenshot

This commit is contained in:
Tyler Hallada 2020-08-13 00:27:09 -04:00
parent 248602df1b
commit 816b077eb9
2 changed files with 10 additions and 1 deletions

View File

@ -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. 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) ![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 |

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 22 KiB