Skip to content

This is a planet simulation developed with python using pygame.

Notifications You must be signed in to change notification settings

FahdSeddik/Solar-System-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solar System Simulation

-This is a planet simulation developed with python using pygame.
-I only simulate Mercurcy,Venus,Earth,Mars, and Jupiter.(due to scale)
-This simulates accurate forces using Newton's universal law of gravitation.
-Accurate model of mass, and distance between planets, however, not size so we can see the planets :)
-I used data provided from NASA to get accurate distances in astronomical units (AU).
-Orbits are elliptical but not visible due to scale.
-Distance from sun is displayed on each planet to prove that its changing and not a circle.

Note: Enabling asteroids might slow down the simulation

Display

s1

Buttons

From Left to Right:
Start/Resume Simulation
Stop/Pause Simulation
Enable/Disable asteroid belt Simulation (added for performance issues)

About

This is a planet simulation developed with python using pygame.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages