Home▸Cosmology▸CMB Acoustic Oscillator: Baryon-Photon Plasma Waveform (2D)

CMB Acoustic Oscillator: Baryon-Photon Plasma Waveform (2D)

2D companion to the CMB power spectrum simulator: numerically animates the tight-coupling baryon-photon oscillator equation in conformal time for a chosen multipole, and builds the angular power spectrum live as you scrub through ℓ.

Cosmology2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-cmb ↗ Open standalone

The 3D version plots the finished CMB power spectrum from a static fitting formula. This 2D companion goes one level deeper: it numerically evolves the actual tight-coupling oscillator equation Θ(η)+Ψ = [Θ(0)+(1+R)Ψ]·cos(k·rs(η)) for one chosen multipole ℓ, animating a single acoustic mode ringing through conformal time from the Big Bang to recombination — a breathing plasma strip shows the photon-baryon fluid compressing (red) and rarefying (blue) in real time, the waveform panel traces Θ(η)+Ψ as it oscillates, and the spectrum panel on the right builds up point by point as you scrub or auto-sweep ℓ, so the connection between "one ringing mode" and "one point on the power spectrum" is visible instead of assumed. All four cosmological parameters drive the same underlying physics as the 3D original: baryon density Ωb shifts the oscillator's zero-point (visibly boosting compression over rarefaction), dark matter Ωc deepens the driving potential well, and H₀ rescales the angular-diameter distance that maps ℓ to physical wavenumber k — verified numerically against the same first/second-peak formula ℓn = nπDA/rs the 3D version reports.

⚙ Under the hood

2D acoustic-oscillator lab: a tight-coupling baryon-photon oscillator Θ(η)+Ψ integrated in conformal time per multipole, a breathing compression/rarefaction plasma strip, and a live angular power spectrum built by sweeping ℓ.

CMBacoustic oscillatortight couplingbaryon densitydark matterconformal timepower spectrum

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)