Skip to content

CaveSpiderLZJ/ThreeBodySimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Three-Body Problem Simulator

Hi there! This is a super simple three-body problem simulator in Python.

To run the code, just set some initial parameters of the stars and the planet in main.py, then run python main.py and you are done!

You can then find the output track video out.mp4 in the root dir.

I have tried hundreds of initial conditions to get a beautiful result (the default parameters).

Feel free to do the experiments yourself to get a better result. Have fun :)

About

A super simple three-body problem simulator in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages