CMB Lab
A map of the temperature fluctuations of the cosmic microwave background and its mask on a HEALPix sphere. View it from outside, as an observer at the centre, or flattened as a Mollweide map.

The sky as the CMB experiments see it: equal-area pixels (HEALPix, from Nside 16 with 3,072 pixels to Nside 256 with 786,432), each coloured by how far its temperature is from the mean of 2.725 K, in microkelvin. The grey band is the mask, the part of the sky that is left out of the analysis.
01 The cosmic microwave background
What it is
The CMB is the oldest light we can see. About 380,000 years after the Big Bang the universe had cooled to roughly 3,000 K, cool enough for electrons and protons to join into neutral atoms. Until then light was scattered all the time by free electrons; from then on it travelled freely. Since that moment the expansion of the universe has stretched it by a factor of about 1,100, so it now arrives as microwaves from every direction, with a thermal spectrum at 2.725 K.
A short history
In 1948 Ralph Alpher and Robert Herman, building on George Gamow's hot Big Bang picture, predicted a relic radiation of a few kelvin. It was found by accident in 1964–65, when Arno Penzias and Robert Wilson could not get rid of a uniform noise in a horn antenna at Bell Labs. A group at Princeton around Robert Dicke, who had been preparing to look for exactly this, explained it as the afterglow of the Big Bang. Penzias and Wilson shared the 1978 Nobel Prize in Physics. The COBE satellite then showed in 1990 that the spectrum is a blackbody to high precision, and in 1992 found the tiny temperature differences across the sky, of about 1 part in 100,000. John Mather and George Smoot received the 2006 Nobel Prize in Physics for these results.
Why it matters
The CMB is a snapshot of the early universe. Its hot and cold spots, a few hundred microkelvin at most on the 2.725 K background, trace regions that were slightly denser or thinner than average: the seeds that gravity later grew into galaxies and clusters. Before the light was released, these variations drove sound waves in the hot plasma, and the size of the spots they left, about one degree on the sky, is a ruler that shows space is flat on large scales. The statistics of the spots give the amounts of ordinary matter, dark matter and dark energy, the age of the universe and how fast it expands, and they test inflation, the proposed burst of rapid expansion that would have made the seeds. The light is also slightly polarised, which carries a search for gravitational waves from inflation and, through gravitational lensing, a map of the matter the light crossed on its way. A few large-angle features, such as an asymmetry between the two hemispheres of the sky, are still debated.
How it is observed
The atmosphere absorbs and emits microwaves, so the best measurements come from space, from balloons and from very dry, high sites. The signal also has to be separated from the radio emission of our own galaxy, which is why the maps are masked: the grey band here is the galactic plane, and the small holes are bright sources.
- COBE · NASA · 1989–1993
The spectrum, and the first detection of the temperature differences, at a resolution of about 7°.
- BOOMERanG and MAXIMA · balloons · 1998–2000
The first sharp view of the main acoustic peak, which showed that the geometry of space is close to flat.
- WMAP · NASA · 2001–2010
Full-sky maps down to about 0.2°, which made cosmology a precision science.
- Planck · ESA · 2009–2013
Nine frequency bands and a resolution of a few arcminutes: the most precise full-sky temperature maps, with final results released in 2018.
- ACT, South Pole Telescope, BICEP/Keck, Simons Observatory · ground
Telescopes in Chile and at the South Pole that map parts of the sky at high resolution and measure its polarisation.
- LiteBIRD · JAXA and partners · planned
A space mission to search for the polarisation pattern of gravitational waves from inflation.
02 How it is built
A small mesh is loaded
The Nside=16 HEALPix sphere is 3,072 quads and under 1 MB. The Nside=128 sphere has 196,608 quads and is about 50 MB as a mesh file, and Nside=256 has four times as many: too much to send.
It is upgraded in the browser
Each coarse pixel is split into (Nside / 16)² children. Their corners come from the HEALPix formulas, so they sit exactly on the pixel edges of the chosen resolution, and each child is stored at its RING index. A web worker does this in well under a second.
The data go onto the faces
The temperature fluctuations and the mask are two small binary files per resolution, in the same ring order, so value i belongs to face i with no lookup. The shader colours each face and greys the pixels outside the mask. Pixel blend instead shades between the pixel corners, using the mean of the pixels that share each corner.
The same mesh gives three views
From outside, the sphere. As the observer, the camera sits at the centre and looks around, the way the sky is seen. For the Mollweide map the mesh is cut along l = 180°, where the sphere has a seam, and the shader flattens it with the Mollweide projection.
03 Why ring order
HEALPix pixels can be numbered along rings of constant latitude (RING) or in a nested hierarchy (NESTED). Spherical-harmonic tools and most CMB data files use RING order, so the mesh keeps it: face i is pixel i, and the nested numbering is used only to find the children of a coarse pixel.
04 The Mollweide cut
The seam at l = 180° follows pixel edges from the north pole down to the equatorial belt. In the one base face centred on that meridian it runs along the diagonal of the pixels instead, so those pixels are split in two triangles and each half goes to its own edge of the map. The Mollweide projection keeps areas equal: the flattened mesh has the same total area as the sphere.
05 Things to try
Open Tools to change the view, the resolution and the options. Turn the mask off to see the whole map, switch on the galactic grid to find your way around in each view, and try Pixel blend for smooth shading between pixels. Pick Nside 16 for a coarse look. Longitude l increases to the left in the observer and Mollweide views, as on the sky. The same mesh is the base for the next Lab tools.