Baryon Acoustic Oscillations — 2D Sound Horizon
Interactive 2D simulation of Baryon Acoustic Oscillations: a real time-domain integration of the cosmological sound speed c_s(t) and comoving sound horizon r_s(t), animating a photon-baryon sound wave that freezes into a fixed ring at recombination, with live plots of c_s(t), R(t) and the running horizon integral.
This 2D companion simulation independently integrates the same real cosmology as the 3D Baryon Acoustic Oscillation model — the Friedmann equation for the scale factor a(t), the radiation-pressure sound speed c_s(a), and the comoving sound-horizon integral r_s(t) = ∫ c_s/a dt — but steps them forward directly in cosmic time rather than reading a precomputed table, so the running horizon value on screen is the literal partial integral at each instant. A circular wavefront grows outward from a point seed in the photon-baryon plasma, slowing as the baryon load R(t) grows, then freezes the moment recombination decouples photons from baryons at z ≈ 1090 — reproducing the ≈144 Mpc comoving Baryon Acoustic Oscillation scale. Live plots of c_s(t), R(t) and the running r_s(t) integral track the physics alongside the animation.
A real time-domain integration of the cosmological sound speed c_s(t) and comoving sound horizon r_s(t): watch a circular sound wave ring outward through the photon-baryon plasma of the early universe and freeze at recombination (z ≈ 1090), with live plots of c_s(t), the baryon load R(t), and the running horizon integral.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install