HomeCosmologyCosmic Expansion & Structure Simulator

Cosmic Expansion & Structure Simulator

Interactive cosmology simulator: integrate the Friedmann equation to watch the scale factor of the universe evolve, then see thousands of galaxies grow from a smooth field into filaments, clusters and voids as matter and dark energy compete.

Cosmology3DAdvanced60 FPS
cosmology-advanced ↗ Open standalone

Advanced cosmology studies the evolution and structure of the universe at the largest scales — how the Friedmann equations govern the expanding scale factor, and how gravity turns a nearly smooth early universe into today's cosmic web of galaxy filaments, clusters and voids threading vast empty regions. This simulator integrates the Friedmann equation in real time from your chosen Hubble constant and matter density, driving both a uniform Hubble expansion of a galaxy grid and a Zel'dovich-approximation growth of density perturbations on top of it. Watch how a higher matter density accelerates structure formation while a dark-energy-dominated universe stretches space fast enough to freeze the web in place.

⚙ Under the hood

Integrate the Friedmann equation in real time to watch the scale factor of the universe evolve, then see thousands of galaxies grow from a smooth field into filaments, clusters and voids as matter and dark energy compete.

Three.jsCosmologyFriedmann equationDark energyStructure formation

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

What did you find?

Add reproduction steps (optional)