💥 Neutron Star Merger & Kilonova Simulation
Interactive neutron star merger simulation: watch a binary inspiral shrink under gravitational-wave emission, collide, and unleash a kilonova with expanding spacetime ripples.
This interactive neutron star merger simulation shows a tight binary of ultra-dense stellar remnants losing orbital energy to gravitational waves, spiraling inward faster and faster, and finally colliding to unleash a kilonova explosion rich in heavy elements.
🔬 What It Demonstrates
Orbiting masses radiate gravitational waves, draining orbital energy so the separation a shrinks over time — the inspiral. As a decreases, Kepler's third law demands the orbital frequency rises, producing the characteristic gravitational-wave "chirp." At contact, the stars merge and eject neutron-rich matter that undergoes rapid neutron-capture (r-process) nucleosynthesis, forming gold, platinum and other heavy elements in a kilonova afterglow.
🎮 How to Use
Set the initial separation and each star's mass, then adjust the inspiral speed multiplier to fast-forward the process. Watch the orbit shrink and speed up on its own, or press "Trigger Merger Now" to force collision immediately and see the kilonova burst and expanding gravitational-wave ripples. Use "Reset Binary" to start a fresh inspiral.
💡 Did You Know?
The 2017 event GW170817, detected by LIGO/Virgo, was the first neutron star merger observed in both gravitational waves and light. Its kilonova afterglow provided direct evidence that mergers like this one produce a significant fraction of the universe's gold and platinum.
About the Neutron Star Merger Simulation
Neutron stars are the collapsed cores of massive stars, packing more mass than the Sun into a sphere roughly 20 kilometres across. When two form a close binary, Einstein's general relativity predicts they continuously emit gravitational waves — ripples in spacetime — carrying away orbital energy. This simulation models that inspiral: the orbital separation shrinks according to a rate proportional to the combined mass cubed and inversely proportional to the separation to the fourth power, closely tracking the real quadrupole formula for gravitational radiation, simplified for real-time animation.
As the stars spiral together, their orbital frequency climbs — the same "chirp" signal that LIGO and Virgo detectors listen for. On contact, the simulation switches to a kilonova phase: an expanding cloud of ejecta coloured to suggest both blue, lanthanide-poor early ejecta and red, lanthanide-rich later ejecta, alongside a burst of concentric, distorted rings representing the gravitational-wave signal radiating outward at the moment of coalescence.
🔬 The physics
Gravitational-wave inspiral rate scales as da/dt ∝ −m₁m₂(m₁+m₂)/a³, so heavier, closer binaries merge faster. Kepler's third law sets the orbital angular velocity from the total mass and separation.
🎮 Controls
Initial separation and both masses shape the inspiral; inspiral speed fast-forwards time. Trigger the merger on demand, or let physics take its course and watch the chirp build.
💡 Kilonovae
Merger ejecta undergoes rapid neutron capture (the r-process), synthesising heavy elements like gold and platinum — an event first confirmed observationally by GW170817 in 2017.
Frequently Asked Questions
What is a neutron star merger?
It is the collision of two neutron stars — the ultra-dense collapsed remnants of massive stars — after their mutual orbit decays due to gravitational-wave emission. The merger produces a burst of gravitational waves, gamma rays, and a kilonova explosion.
Why does the orbit shrink over time?
Orbiting massive bodies emit gravitational waves that carry away orbital energy and angular momentum. As energy is lost, the stars fall closer together, which in turn increases their orbital speed, creating a runaway "inspiral" that ends in collision.
What is a kilonova?
A kilonova is the glowing debris cloud ejected during a neutron star merger. Neutron-rich material undergoes rapid neutron capture (r-process) nucleosynthesis, producing heavy elements such as gold, platinum and uranium, and radioactive decay of these elements powers the glow.
What are the rippling rings in the simulation?
They represent gravitational waves — distortions of spacetime itself — spreading outward from the orbiting and merging stars. In reality these are invisible curvature ripples detected by instruments like LIGO, not light, but the animation visualises their expanding wavefronts.
How was this confirmed by real observations?
On 17 August 2017, LIGO and Virgo detected gravitational waves from a neutron star merger (GW170817), and telescopes worldwide observed the accompanying kilonova within hours — the first event ever seen in both gravitational waves and electromagnetic light.
Watch two neutron stars spiral together under gravitational-wave loss, merge, and blast out a kilonova with rippling gravitational waves.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install