Skip to main content
ATLAS OF THE COSMOS
Fetching scene…
Distance from the Milky Way
1Camera & Animation
Reveal
Navigate
Rotate
Reset
Tumble

2Flow Lines
All streamlines
By basin

3Galaxies
CF4 galaxies (55K)

SDSS DR18
DESI DR1

2MRS (20K local)

4Cosmic Web Geometry
Ho'oleilana BAO shell


6Reference Frame
Distance spheres
Redshift shells
Object labels
Milky Way marker
Coordinate axes
Zone of Avoidance

7Background

Atlas of the Cosmos

Gravitational Flows · Basins of Attraction · Cosmic Web · Local Universe

What you are seeing

Every galaxy in the universe is in motion — not just moving away from us as space expands, but also pulled sideways by gravity toward massive concentrations of matter. This atlas maps those gravitational flows across more than a billion light-years of our cosmic neighbourhood, using real galaxy positions and velocities.

The coloured streamlines trace paths that matter follows under gravity. Every line converges toward a gravitational attractor — a supercluster massive enough to reshape the motion of thousands of galaxies. The region of space whose matter drains toward the same attractor is called a Basin of Attraction.

The Fresnel-edged shells show the five most probable basins identified by the analysis, glowing at their edges where basin boundaries meet. The Milky Way sits near the boundary between two: Laniakea/Ophiuchus (~48% probability) and Shapley (~50%). Our cosmic fate is genuinely uncertain.

A second streamline model — the 5-basin probabilistic streamlines — offers an alternative view computed using HAMLET mean-field reconstruction and HDBSCAN clustering. Flowlines are seeded within surfaces where galaxies have >50% probability of belonging to each attractor.

The Galaxy Density Fields (5 levels) show where infrared-luminous matter concentrates — the bright nodes, filaments, and walls of the cosmic web — computed directly from 20,163 galaxy positions in the 2MASS Redshift Survey (FoG-corrected, Kourkchi & Tully 2017). Five smoothing levels range from sharp cluster cores (Level 1) to the full luminosity envelope (Level 5). Reliable within ~133 Mpc.

Galaxy survey overlays (SDSS DR18, DESI DR1) extend the view far beyond the CF4 volume, revealing large-scale structure across up to 8 billion light-years. The Local Universe mode shows 20,163 nearby galaxies within ~350 million light-years, sized by intrinsic infrared brightness, with named cluster identification and group structure.

Use the Views menu at the top of the panel to jump between curated perspectives — from the full cosmic overview to close-ups of the Great Attractor, Ho'oleilana, or deep survey fields.

Data

CF4 survey
Cosmicflows-4 — 55,877 galaxy redshifts, color-coded by basin
SDSS DR18
Sloan Digital Sky Survey — up to 1M galaxies, z < 0.5
DESI DR1
Dark Energy Spectroscopic Instrument — up to 500K galaxies (BGS+LRG), z < 1.1
2MRS
2MASS Redshift Survey K<11.75 — 20,163 galaxies within ~350 Mly. Distances use direct measurements (Cepheids, TRGB) for nearby galaxies, cosmology-corrected velocities for the rest. Cluster shapes preserved via partial Finger-of-God compression.
Density field
5 isosurface levels computed from 20,163 FoG-corrected 2MRS galaxy positions (Kourkchi & Tully 2017). Level 1: 31K verts (sharp cores) → Level 5: 322K verts (full envelope). K-band luminosity weighting with Tully 2015 incompleteness correction.
v2 streamlines
5-basin probabilistic Basins of Attraction (pBoA) — HAMLET mean field + HDBSCAN clustering. Flowlines seeded in p>0.5 surfaces for Ophiuchus, Hercules, Perseus, Shapley, and Sloan Great Wall.
Volume
±500 h⁻¹Mpc (~1.3 billion ly) cube (CF4); surveys extend to ~8 Gpc
Grid
128³ voxels, 7.8 h⁻¹Mpc resolution
Velocity field
CF4pp_mean_std_grids.npz — HAMLET reconstruction, 1,000 statistical realizations
Basin labels
CF4_new_128-z008_BoA.fits — watershed segmentation

Method

The velocity field was reconstructed using HAMLET (Hamiltonian Monte Carlo), a Bayesian algorithm that infers the 3D density and peculiar velocity field from galaxy redshifts across 1,000 statistical realizations. This captures uncertainty in the reconstruction.

Basins of Attraction were identified by integrating streamlines forward in the velocity field until they converge. All points whose streamlines terminate at the same attractor form one basin — a gravitational watershed, analogous to river drainage basins on Earth but in 3D, at cosmic scale.

Two streamline models are available. The primary model uses 9 basins extracted from single consistent HAMLET realizations, pre-computed using SDvision and colour-assigned by endpoint attractor. Laniakea uses a dedicated high-density model (3,162 streamlines). The 5-basin probabilistic model uses HDBSCAN clustering on the HAMLET mean field to define probabilistic Basins of Attraction (pBoA), with flowlines seeded within surfaces where galaxies have >50% membership probability.

Each CF4 galaxy is assigned to a basin by looking up its 3D position in the 128³ watershed grid. The "By basin" color mode uses these assignments, matching each galaxy to its streamline basin colour.

The Galaxy Density Field is constructed from 2MRS log-density data using Marching Cubes isosurface extraction with Gaussian blur (σ = 0.8 cells), a log-density threshold of 8.5, and Taubin smoothing (12 iterations). A hard cutoff at 10,000 km/s (~133 Mpc) ensures reliability — beyond this distance, incompleteness corrections in the 2MRS sample become too large.

Distances in the local universe are not straightforward. We observe galaxy redshifts — how fast each galaxy appears to recede — but converting that into a true distance requires care. For nearby galaxies, direct measurements (from pulsating Cepheid stars or the brightness of red giant stars) give precise distances. For the majority of galaxies, we use their recession velocity in the cosmic microwave background frame, adjusted by a cosmological correction factor (fmod) that accounts for the geometry of expanding space.

Galaxy clusters present a different challenge: galaxies orbiting within a cluster have random motions that smear their apparent positions along the line of sight — an effect called "Fingers of God" that makes round clusters look elongated, pointing at us. We correct this using partial compression: each galaxy's radial offset from its group centre is scaled down based on the group's physical size and internal velocity spread. This removes the artificial elongation while preserving the real three-dimensional shape of clusters like Virgo and Fornax.

Galaxy brightness in the local view uses absolute K-band magnitude (MK) — intrinsic infrared luminosity corrected for distance — so that a galaxy's apparent size reflects its true luminosity rather than its proximity.

Key structures

Shapley
~650 Mly · likely the MW's cosmic fate
Sloan Gt Wall
~980 Mly · largest BoA by volume
Ho'oleilana
670 Mly BAO shell · >6σ detection
Laniakea
~520 Mly wide · our supercluster
Vela
~820 Mly · hidden behind Milky Way
Dipole Repeller
~520 Mly · repulsive underdensity opposite Shapley
Cold Spot Repeller
~750 Mly · underdensity toward the CMB Cold Spot
Local Void
~200 Mly across · begins ~3 Mly from the Milky Way

Background panoramas

Cosmic web — Dark matter distribution from the IllustrisTNG cosmological simulation (TNG Collaboration). Shows the filamentary large-scale structure that the real galaxies in this atlas trace.

Planck CMB — The Cosmic Microwave Background as mapped by ESA's Planck satellite — the oldest light in the universe (380,000 years after the Big Bang). The tiny temperature fluctuations visible here are the seeds from which all the structures in this atlas grew.

References

Cosmicflows program
Cosmicflows-4: Tully, R.B., Courtois, H.M., Pomarède, D. et al. (2023). ApJ, 944, 94. DOI: 10.3847/1538-4357/ac94d8
Basins of Attraction: Valade, A., Libeskind, N.I., Pomarède, D., Tully, R.B. et al. (2024). Nature Astronomy. DOI: 10.1038/s41550-024-02370-0
Basin watershed: Dupuy, A. & Courtois, H. (2023). A&A, 678, A176. arXiv: 2305.02339
Ho'oleilana: Tully, R.B., Howlett, C. & Pomarède, D. (2023). ApJ, 954, 169. DOI: 10.3847/1538-4357/aceaf3
Voids and repellers
Dipole Repeller: Hoffman, Y., Pomarède, D., Tully, R.B. & Courtois, H. (2017). Nature Astronomy, 1, 0036. DOI: 10.1038/s41550-016-0036
Cold Spot Repeller: Courtois, H.M., Tully, R.B., Hoffman, Y., Pomarède, D., Graziani, R. & Dupuy, A. (2017). ApJ, 847, L6. DOI: 10.3847/2041-8213/aa88b2
Local Void: Tully, R.B., Pomarède, D., Graziani, R., Courtois, H.M., Hoffman, Y. & Shaya, E.J. (2019). ApJ, 880, 24. DOI: 10.3847/1538-4357/ab2597
NAM trajectories: Shaya, E.J., Tully, R.B., Pomarède, D. & Hoffman, Y. (2022). ApJ, 927, 168. DOI: 10.3847/1538-4357/ac4f66
2MRS local universe
2MRS: Huchra, J.P. et al. (2012). ApJS, 199, 26. DOI: 10.1088/0067-0049/199/2/26
2MRS Groups: Tully, R.B. (2015). AJ, 149, 171. DOI: 10.1088/0004-6256/149/5/171
Kourkchi-Tully Groups: Kourkchi, E. & Tully, R.B. (2017). ApJ, 843, 16. DOI: 10.3847/1538-4357/aa76db
NAM trajectories: Shaya, E.J., Tully, R.B., Pomarède, D. & Peel, A. (2022). ApJ, 927, 168. DOI: 10.3847/1538-4357/ac4f66
Structures and surveys
Hidden Vela: Hollinger, A.M. et al. (2026). A&A. arXiv: 2603.09339
Great Attractor: Stiskalek, R. et al. (2026). arXiv: 2502.13956
Local Group: Ciccolella, A. (2025). RNAAS, 9, 307.
SDSS DR18: Almeida, A. et al. (2023). ApJS, 267, 44. DOI: 10.3847/1538-4365/acdc4a
DESI DR1: DESI Collaboration (2025). AJ, 168, 58. DOI: 10.3847/1538-3881/ad5b4f
Background data
IllustrisTNG: Nelson, D. et al. (2019). Computational Astrophysics, 6, 2. DOI: 10.1186/s40668-019-0028-x
Planck CMB: Planck Collaboration (2020). A&A, 641, A1. DOI: 10.1051/0004-6361/201833880

Credits

Scientific advisors:
R. Brent Tully — University of Hawai'i, Institute for Astronomy
Daniel Pomarède — CEA Paris-Saclay / IP2I Lyon

GLTF data & streamlines:
Daniel Pomarède — SDvision · Cosmicflows · Ho'oleilana · pBoA probabilistic model
CF4 basins GLTF (CC BY 4.0) · 5-basin pBoA GLTF (CC BY 4.0)

CF4 data: Hélène Courtois, IP2I Lyon
projets.ip2i.in2p3.fr/cosmicflows

Visualization: GLOBAÏA · Three.js r163

Suggested citation

GLOBAÏA (2026). Atlas of the Cosmos: Gravitational Flows and Basins of Attraction [interactive visualization]. globaia.org/explorations/cosmicflows/. Accessed .

Drag — rotate· Scroll — zoom· Right-drag — pan·