Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bcamp1/Gravisim
A universal gravity simulator written using rust_sdl2
https://github.com/bcamp1/Gravisim
Last synced: 3 months ago
JSON representation
A universal gravity simulator written using rust_sdl2
- Host: GitHub
- URL: https://github.com/bcamp1/Gravisim
- Owner: bcamp1
- Created: 2019-02-10T21:10:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-11T00:39:50.000Z (about 2 years ago)
- Last Synced: 2024-04-18T22:40:34.604Z (7 months ago)
- Language: Rust
- Size: 3.03 MB
- Stars: 74
- Watchers: 4
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-physics - Gravisim - A universal gravity simulator written using rust_sdl2 (Mechanics / Gravity)
README
# Gravisim
![gravisim-preview](https://github.com/bcamp1/Gravisim/blob/master/preview.gif)
A simulation of universal gravitation written in [Rust_SDL2](https://github.com/Rust-SDL2/rust-sdl2)
It uses [Newton's Law for Universal Gravitation](https://en.wikipedia.org/wiki/Newton%27s_law_of_universal_gravitation) to to run an n-body physics simulation.
## Run in linux with:$ apt install libghc-sdl2-ttf-dev
$ apt install libsdl2-gfx-dev
$ git clone https://github.com/bcamp1/Gravisim.git
$ cd Gravisim
$ cargo run