charlesrosenbauer / N-Body

Just a simple N-body simulation I threw together in a couple hours.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Just a simple n-body simulation I threw together in a few hours.

Blue and Red particles are able to have different "charges," though this needs to be hardcoded.

The simulation is 3D, and there is a rotation rate for the camera, also hardcoded. I may add some keyboard controls later for rotation, I just didn't have much of a need to when I was throwing this code together.

About

Just a simple N-body simulation I threw together in a couple hours.


Languages

Language:C++ 100.0%