Skip to content

Gravitational model of the solar system. It uses the Euler method to estimate the position and velocity of objects.

Notifications You must be signed in to change notification settings

pzacha/Solar-System-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solar system model

2D Solar System model.

General info

Gravitational model of the Solar System. User can add additional objects. GUI created using Tkinter and animation created using Matplotlib.

How to install

  1. Download the .zip or clone the repository.
  2. Run pip install -r requirements.txt.
  3. Run main.py.

Screenshots

Inner planets simulation with additional extrasolar object.

Menu calendar

Solar System simulation - Mercury and Venus excluded.

Menu calendar

Modules

  • models.py - contains SpaceObject class and its childs.
  • simulation.py - contains SolarSystemSimulation class.
  • tests - module that contains all tests.
  • gui.py - module that contains GUI.

About

Gravitational model of the solar system. It uses the Euler method to estimate the position and velocity of objects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages