An N-Body gravity simulation using Barnes–Hut algorithm.