Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tomlobato/newton-rocks
- Owner: tomlobato
- Created: 2018-12-11T01:12:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-21T20:14:44.000Z (about 3 years ago)
- Last Synced: 2024-11-05T10:36:26.701Z (3 months ago)
- Topics: gravitation, physics, ruby, simulation
- Language: Ruby
- Homepage:
- Size: 15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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