Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 491 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 491 Bytes

nbody-python

Vectorized N-body code (Python)

Create Your Own N-body Simulation (With Python)

Philip Mocz (2020) Princeton Univeristy, @PMocz

Simulate orbits of stars interacting due to gravity

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

python nbody.py

Simulation