Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 491 Bytes

readme.md

File metadata and controls

5 lines (3 loc) · 491 Bytes

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.