Adaptive quadtree · Cartesian multipole expansions · softened 2-D Newtonian gravity, solved in near-linear time.