Softened Newtonian gravity in 2D, solved every frame with an adaptive-quadtree
Cartesian FMM — far fields travel through multipole and local Taylor expansions,
near fields are summed exactly.
M2M → M2L → L2L → P2P
Particles0
FPS–
FMM solve–
Quadtree nodes0
M2L interactions0
Sample force err–
Scene
FMM solver
Physics
View
Click to inject a particle cloud · Shift-click to add a massive body · Space pauses