Skip to content

pmocz/nbody-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

nbody-python

Vectorized N-body code (Python)

Create Your Own N-body Simulation (With Python)

Philip Mocz (2020) Princeton University, @PMocz

Simulate orbits of stars interacting due to gravity

Code calculates pairwise forces according to Newton's Law of Gravity

python nbody.py

Simulation

Releases

No releases published

Packages

No packages published

Languages