Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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