🪐 Orbits in d Spatial Dimensions: 2D Top-Down Sandbox
Top-down sandbox showing how a central force changes with the number of spatial dimensions: the field falls as 1/r^(d-1), so orbits are closed ellipses at d=3, rosettes at d=2, and unstable at d=4. Sling bodies with the mouse, drag the source, and read the measured periapsis shift against theory.
⚙ Under the hood
Top-down sandbox showing how a central force changes with the number of spatial dimensions: the field falls as 1/r^(d-1), so orbits are closed ellipses at d=3, rosettes at d=2, and unstable at d=4. Sling bodies with the mouse, drag the source, and read the measured periapsis shift against theory.
dimensionscentral forceorbitseffective potentialbertrand theoremgauss law
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install