I'm back at simulating gravity.
In this simulation, no Barnes-Hut tree optimization since with this precise particle configuration (no high distance between clusters, very few mass particles) it is slower than standard method. Instead, 2 arrays of particles, 1 with all 100,000 particles, the orther with only the 201 masses particles are used.
~~~~~~~~~~~~~
| VIDEO LOG |
~~~~~~~~~~~~~
Number of particles : 100000
Number of masses : 201
Performance : 0.31spf - 3.21fps
Speed rate : 0.50x
Simulated time : 30.0s
Simulation time : 15m 33.1s
Video time : 1m 0.0s