If you could zoom out far enough — hundreds of millions of light-years — the universe would look like foam. Galaxies cluster along filaments and walls. Between them are vast empty regions called voids, some stretching hundreds of millions of light-years across. At the nodes where filaments meet, galaxy clusters accumulate — the most massive gravitationally bound objects in the universe. This is the cosmic web, and it exists because of events that happened a fraction of a second after the Big Bang.

Understanding how structure grows from a hot, nearly uniform plasma to the network of filaments and clusters we observe today is one of the great achievements of modern cosmology. The answer requires dark matter, general relativity, and a connection between the quantum and the cosmic that is remarkable in its precision.

The Seeds: Quantum Fluctuations from Inflation

The early universe was almost perfectly uniform — but not quite. During the inflationary epoch (the exponential expansion in the first 10⁻³² seconds), quantum fluctuations in the inflaton field — tiny random variations in energy density — were stretched from subatomic scales to cosmological ones. These became the seeds of all future structure: regions very slightly denser than average, and regions very slightly less dense.

The amplitude of these fluctuations is characterised by a number called the scalar spectral index (ns). Planck satellite measurements give ns ≈ 0.965 — slightly less than 1, meaning there is slightly more power on large scales than small scales. This "red tilt" is a robust prediction of most inflationary models and its detection confirms that inflation (or something that behaves like it) occurred.

Dark Matter: The Scaffold of Structure

Ordinary (baryonic) matter alone cannot explain the observed large-scale structure. The universe's baryon density is too low, and baryons were coupled to radiation in the early universe — the photon pressure fought against gravitational collapse, preventing baryonic perturbations from growing efficiently before recombination.

Dark matter, which does not interact electromagnetically and is not coupled to radiation, began forming gravitational potential wells immediately after it became non-relativistic — long before recombination. By the time ordinary matter decoupled from radiation at 380,000 years, it fell into the pre-formed dark matter halos. Without dark matter, structure formation would have been far too slow, and the universe today would look nothing like it does.

"The cosmic web is not a random arrangement. It is the direct descendant of quantum noise from the first moments of the universe, amplified by gravity over 13 billion years and traced today in the positions of billions of galaxies. Every void, every filament, every cluster carries information about the physics of the Big Bang."