Hierarchical N-body solver

Fast Multipole Gravity Lab

Adaptive quadtree Cartesian FMM with dual-tree traversal, 1–5th order expansions, softened Newtonian gravity and a live direct-summation accuracy check.

M2M → M2L → L2L → P2P
Particles0
Frames / s0
FMM solve0.00 ms
Quadtree nodes0
M2L pairs0
Sample force err–
Click to inject a particle cloud · Shift-click to add a massive body · Space pauses