/n-body-sim

n-body simulator with a bunch of random features!

Primary LanguageC++

n-body-sim

n-body simulator written in SDL with a bunch of random features!

See https://www.youtube.com/watch?v=eGq0397CrCc for a demonstration.

  • Real time orbit prediction and display
  • Collisions between bodies
  • Ability to spawn in new bodies
  • Ability to throw bodies

The initial conditions are the solar system with the Sun and all the planets up to Jupiter.