Softened Newtonian gravity in 2D solved with an adaptive quadtree Fast Multipole Method — near-linear force evaluation, live error sampling, and interactive injection.
M2M → M2L → L2L → P2P
Telemetry
Particles–
Frames / s–
FMM solve–
Quadtree nodes–
M2L interactions–
Sample force error–
Scene
Particle count1024
FMM solver
Expansion order3
Separation ratio1.60
Leaf capacity32
Physics
Gravity G0.65
Softening ε0.018
Timestep Δt0.003
View
Click inject cloud · Shift-click massive body · Space pauses