Joachim Despland

N-Body

Windows: [DOWNLOAD]
- Use the "-" and "=" keys to zoom in and out.

N-Body is just a little application coded in C++ that simulates a bunch of particles of varying mass interacting with each other through gravitation. The result is something that resembles a star cluster.

The goal was to try out different methods of integration for a real-time physics engine. The one used in the final version is a variation of the Verlet integration method.

I ended up finding a very nice way to solve the stability problems in such a physics engine while maintaining optimal performance that I will be using on future projects.