‹ All scenes

Cosmos

Particle universe simulator

A particle universe simulator follows matter as particles to show how the universe's structure grew. This one is free in your browser with no download: 262,144 particles start almost evenly spread, like the early universe, and gravity gathers them into walls, filaments and bright knots, the cosmic web that galaxies line up along today. It runs on Yakov Zel'dovich's 1970 theory of how that web forms.

Matter drains out of a void into walls, filaments and bright knots, colored from void blue through filament cyan to knot gold.

Drag to turn it, pinch or scroll to zoom, double-tap to reset.

The idea
How the universe's large-scale structure formed, by the Zel'dovich approximation: tiny random density ripples grow under gravity into sheets, then filaments, then clusters. The field is a fresh random realisation with the statistics of a real one.
With music
The growth breathes with the bass; kicks light up the knots; vocals make it glow. Tap Demo beat for our own beat, or Your music to let it hear the room.
How it runs
It’s the same live simulation as in the Everdust apps, running in your browser on WebGL 2. If your device struggles, it lowers the detail a step at a time to keep the motion smooth.

What you can do

How did the cosmic web form?

Just after the Big Bang, matter was spread almost perfectly evenly. The cosmic microwave background, light released 380,000 years later, shows the leftover ripples: differences in density of about one part in 100,000. Everything since grew from those ripples, because a region slightly denser than average pulls in a little more matter, which makes it denser still.

In 1970 the Soviet physicist Yakov Zel'dovich worked out what that growth looks like. Each bit of matter moves in a straight line set by the ripples around it, and collapse happens along one direction first. Matter flattens into vast sheets, which he called pancakes; where sheets cross they make filaments, and where filaments meet they make dense knots. Galaxy surveys such as the Sloan Digital Sky Survey later mapped exactly this: galaxies strung along filaments around huge, nearly empty voids.

This simulator uses his approximation. A random field of ripples with statistics like those of cold dark matter was computed in advance; each of the 262,144 particles then moves along its own displacement as the growth factor rises, and its density comes straight from his formula. The box wraps around at its edges, like a small piece of an endless universe.

The shortcut: the approximation is exact only until streams of matter cross, so it never forms the tight, round halos a full gravity simulation makes. The bright knots mark where those halos would be.

Questions

Is this particle simulator free?
Yes. It runs free in your web browser on WebGL 2, with no download, no account and no ads. The particle field is about 6 MB, loaded once; on a slower device it renders at a lower resolution to keep the motion smooth.
How many particles does it simulate?
262,144, a 64 by 64 by 64 grid. Each one moves along its own path every frame on your graphics chip.
Is it real physics?
Yes, with one simplification. It is the Zel'dovich approximation, a standard starting point that cosmologists still use to set up their big simulations. It is exact until streams of matter cross; after that a full N-body simulation, where every particle pulls on every other, is needed to form the dense halos where galaxies sit.
What is the cosmic web made of?
Mostly dark matter, which outweighs ordinary matter about five to one. Galaxies form in the densest knots and along the filaments, and the voids between them can be hundreds of millions of light-years across.
Is this the Everdust app?
It is one of its worlds. The Everdust app, a particle universe simulator, is free on the App Store for iPhone, iPad, Apple Vision Pro and Apple TV, on Google Play for Android, and on the Meta Horizon Store for Meta Quest 3 and 3S, with galaxy collisions, black holes and space science games.

This is one world, in your browser

The full version is in the Everdust app.

The app has many more live worlds at full detail, games built on the same physics and narrated stories you step inside. It’s free to download, with no ads, on the App Store for iPhone, iPad, Apple Vision Pro and Apple TV, on Google Play for Android phones and tablets, on the Meta Horizon Store for Meta Quest and from everdust.ai for Mac.