Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tomlobato/newton-rocks

Numerical solution for Newtonian Gravitation in the Solar System
https://github.com/tomlobato/newton-rocks

gravitation physics ruby simulation

Last synced: about 2 months ago
JSON representation

Numerical solution for Newtonian Gravitation in the Solar System

Awesome Lists containing this project

README

        

Sample:

![Sample Animation](https://raw.githubusercontent.com/tomlobato/solar_system_mechanics/master/assets/sample.gif)

# Dependencies

Gem mittsu: https://github.com/jellymann/mittsu

# Run

```bash
sudo apt-get install libglfw3 # on ubuntu
gem install mittsu
./solar.rb
```

# Refs

[Feynman Lectures - Planetary motions](http://www.feynmanlectures.caltech.edu/I_09.html#Ch9-S7)

![Gravitational Force Equation](https://raw.githubusercontent.com/tomlobato/solar_system_mechanics/master/assets/gravity.png)

# TODO

- Moons
- Body rotation
- Body inclination
- Asteroid belt
- Dwarf planets
- Gather real initial conditions (position, velocity)
- Configuration presets:
- object choosing
- size overriding
- Real clock
- Motion by uniform time steps