Skip to content

claCase/N-Body

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

N-Body

N-Body System Simulation Wiki Article.

Directed Force Formula between two planets:

alt-text

Position Update Equation:

alt-text

Generate animation parameters:

python3 .\main.py --initial "circle" --n_planets 10 --t 2500 --dt 0.02 --trace --trace_len 1700 --save --skip 10

alt-text

Generate animation parameters:

python3 .\main.py --initial "spiral" --dt 0.2 --t 1200 --skip 2 --trace --save --skip 3

alt-text

python3 .\main.py --initial "uniform" --n_planets 25 --dt 0.2 --t 1200 --skip 3 --save

alt-text

About

N-Body System Simulation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages