🌌 Gravitational N-Body Simulation
A gravitational n-body simulation numerically computes how a group of masses move under their mutual gravitational pull, a problem with no general closed-form solution for three or more bodies. Real-time simulations often use hierarchical tree algorithms like Barnes–Hut, which group distant clusters of bodies into single approximate masses to cut computation from O(n²) toward O(n log n).
🧪 See it in action
🌌 Barnes–Hut N-body📖 Go deeper
For a fuller technical treatment, see the Algorithms Glossary — B reference on MySimulator.
Browse more terms in the MySimulator Glossary, or explore the full library of 1000+ interactive, browser-based simulations.