Hierarchical N-body solver LIVE

Fast Multipole Gravity Lab

Softened Newtonian gravity on an adaptive quadtree. Cartesian multipole moments become Taylor-expanded local fields for distant cells, and nearby leaves are summed exactly.

M2M → M2L → L2L → P2P
Click to inject a particle cloud · Shift-click to add a massive body · Space pauses