HomeSpace & AstronomyGalaxy Cluster Simulator

Galaxy Cluster Simulator

Interactive 3D galaxy cluster: hundreds of galaxies bound by gravity, hot intracluster gas and a virial-mass calculator that shows how much invisible dark matter a cluster needs to keep its fast-moving galaxies from flying apart.

Space & Astronomy3DModerate60 FPS
galaxy-cluster ↗ Open standalone

Galaxy clusters are the largest gravitationally bound structures in the universe — hundreds to thousands of galaxies, plus a vast reservoir of million-degree intracluster gas, all held together by gravity. This simulator builds a cluster from scratch and lets you tune how many galaxies it has and how fast they're moving (their velocity dispersion), then compares two numbers side by side: the visible mass you can actually see in starlight and hot gas, and the much larger virial mass the virial theorem (2K + U = 0) says the cluster needs to keep its fast galaxies from escaping. Toggle dark matter off and watch the cluster fly apart in real time — a direct, interactive demonstration of the mass discrepancy that first convinced astronomers dark matter exists at the scale of entire clusters, not just single galaxies.

⚙ Under the hood

Interactive 3D galaxy cluster: hundreds of galaxies bound by gravity plus hot intracluster gas, with a live virial-mass calculator showing how much invisible dark matter the cluster needs to keep its fast-moving galaxies from flying apart.

Three.jsgalaxy-clusterdark-mattervirial-theoremastrophysicscosmology

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)