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: about 2 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-11T00:39:50.000Z (over 2 years ago)
- Last Synced: 2024-08-03T16:08:21.355Z (5 months ago)
- Language: Rust
- Size: 3.03 MB
- Stars: 73
- Watchers: 4
- Forks: 10
- 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