Fast Multipole Expansion: Error against Order for a Star Cluster (2D)
A plan view of the star cluster, its circle, the orbiting probe and the multipole error against order, with the rigorous Greengard-Rokhlin bound. Same expansion, direct sum and checks as the 3D table.
The fast multipole method replaces the pull of a whole cluster of stars on a faraway probe by a short series of moments about the cluster centre. Each extra term shrinks the error by about the ratio of cluster radius to probe distance. Choose the number of stars, the cluster shape, the ratio of cluster radius to probe distance and the expansion order, then watch a probe circle the cluster and compare the multipole potential and field with the exact direct sum and with the rigorous error bound. A Blender-built display table with numerical checks, including the exact shift of an expansion to a new centre.
A plan view of the star cluster, its circle, the orbiting probe and the multipole error against order, with the rigorous Greengard-Rokhlin bound. Same expansion, direct sum and checks as the 3D table.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install