GravitySimulator is a planetary simulation aiming to make efficient use of thousands of interacting bodies. To allow up to 10000 visible bodies in realtime, Barnes-Hut algorithm was used with a custom cache-friendly octree implementation and extensive multithreading.


