N-body simulations
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
processing/bh_nbody
readme.md

readme.md

This is my implementation of the Barnes-Hut algorithm in 2D for an N-body gravity simulator. The 2D Barnes-Hut algorithm uses a quad-tree to provide a fast approximation for particle interactions.

I've implemented this in Processing, with the controlP5 UI library.

There is a brief video demo on YouTube here.