Softened Newtonian gravity in 2D, solved every frame with an adaptive
quadtree and a Cartesian fast multipole method. Far cells interact through multipole→local
translations; near cells are integrated exactly.
M2M → M2L → L2L → P2P
Telemetry
Particles0
FPS0
FMM solve0.00 ms
Tree nodes0
M2L passes0
Force error—
Scene
Particles1024
FMM Solver
Expansion order3
Separation ratio1.60
Leaf capacity32
Physics
Gravity G0.65
Softening ε0.018
Timestep dt0.0030
View
Click to inject a particle cloud · Shift-click to add a massive body · Space pauses