Home▸Articles▸Cosmology

The Cosmic Web: A Framework for Understanding Galaxy Distribution

A 2D representation of how galaxies cluster in a universe governed by gravity and dark matter.

mysimulator teamUpdated June 2026≈ 4 min read▶ Open the simulation

What is the Cosmic Web?

The cosmic web refers to the large-scale structure of the universe, which consists of vast networks of galaxies connected by filaments and separated by voids. This structure emerges from the gravitational attraction between matter in the universe, particularly dark matter, which cannot be directly observed but is inferred through its gravitational effects.

In this 2D simulation, you can observe how a random scatter of 'galaxies' evolves into a web-like pattern due to the underlying gravitational forces, mimicking the real cosmic structure.

How Does It Form?

The formation of the cosmic web is driven by the distribution and motion of dark matter. Dark matter, which makes up about 27% of the universe's mass-energy content, does not interact with light but exerts gravitational forces on visible matter. As a result, it acts as the backbone for galaxy clustering.

In the simulation, adjusting the filament clustering slider changes how strongly galaxies are attracted to each other, while altering the void size and settling speed sliders modifies the scale of empty spaces between clusters and the rate at which structures form.

live demo · related simulation● LIVE

Why Does It Matter?

Understanding the cosmic web is crucial for cosmologists as it provides insights into the distribution of dark matter, galaxy formation processes, and the evolution of the universe. The structure of the cosmic web helps explain why galaxies are not uniformly distributed throughout space but form complex patterns.

Additionally, studying the cosmic web can help in testing theories about the nature of dark matter and dark energy, which together make up over 95% of the universe's mass-energy content.

Real-World Applications

The principles underlying the cosmic web have practical applications beyond pure science. For instance, they inform models used in astrophysics to predict galaxy distributions and help in designing telescopes and observational strategies for future space missions.

Moreover, understanding these structures can aid in developing algorithms for data analysis in fields like computer vision and machine learning, where similar patterns of clustering are relevant.

Frequently asked questions

What is dark matter?

Dark matter is a form of matter that does not emit, absorb, or reflect light, making it invisible to telescopes. It was inferred through its gravitational effects on visible matter and radiation.

How do we know the cosmic web exists if we can't see dark matter?

We infer the existence of the cosmic web by observing how galaxies cluster in space and using computer simulations to model their distribution based on known laws of gravity. The patterns seen match predictions made from models that include dark matter.

Can we use this simulation for educational purposes?

Absolutely, this simulation can be used as an educational tool to help students and researchers visualize the complex structure of the universe and understand the principles behind galaxy distribution.

Is the cosmic web visible in 3D space?

While the cosmic web is a three-dimensional structure, it is often visualized in 2D projections for simplicity. In reality, it extends throughout the observable universe, with galaxies forming intricate patterns of filaments and voids.

Try it live

Everything above runs in your browser — open Cosmic Web Structure Simulator (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Cosmic Web Structure Simulator (2D) simulation

What did you find?

Add reproduction steps (optional)