Hierarchical N-body solver

Fast Multipole Gravity Lab

Softened Newtonian gravity on an adaptive quadtree — far fields via Taylor jets, near fields exact.

M2M → M2L → L2L → P2P

Solver telemetry

Particles– FPS– FMM solve– Tree nodes– M2L pairs– Sample error–
Click to inject a particle cloud · Shift-click to add a massive body · Space pauses