Skip to content

A simple yet eficient open source gravitational simulater.

License

Notifications You must be signed in to change notification settings

rrocketmann/OrbitDance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrbitDance

A simple yet efficient gravitational simulator primarly used to simulate the gravitational interactions between three astronomical bodies.

A brief definition of the 3 body problem

The "Three-Body Problem" refers to a classic physics problem that deals with predicting the motion of three astronomical bodies under their gravitational influence. Unlike the two-body problem, which has a well-defined solution, the three-body problem is complex and often chaotic, making it difficult to predict the exact positions and velocities of the bodies.

The inherent unpredictability and instability of the three-body problem serves as a powerful analogy for various challenges in science but sometimes also politics. This open source program lets us visualize the astrophysics problem using the python programming language.

main.py

Screen.Recording.2024-12-24.at.6.10.03.PM.mov

trail.py

Screen.Recording.2024-12-24.at.6.09.20.PM.mov

fading_trail.py

Screen.Recording.2024-12-24.at.6.08.22.PM.mov