A real-time 2D N-body gravity engine driven by the Fast Multipole Method. Far-field interactions are collapsed into Taylor jets and translated down the quadtree, so the force solve scales near-linearly with particle count instead of O(N²).
M2M → M2L → L2L → P2P