This page simulates tens of thousands of particles on the GPU. It needs WebGPU: Chrome or Edge 113+, Safari 26+, or Firefox 141+ on Windows.
Two bodies made of equal-mass particles: an iron core and a rock mantle (and an ice shell for icy bodies), with their real masses. Smoothed particle hydrodynamics (SPH) moves them under their own gravity and pressure. Pressure comes from the Tillotson equation of state of iron, granite, basalt and ice.
The surface is drawn from the particles: each particle adds a smooth density kernel to a volume of cells round the bodies, and the surface is where that density reaches a set level. So the bodies, the neck between them and the splash are one liquid surface. The surface map moves with the rock it started on. Hot matter glows with the colour of a black body at its temperature. The melt flows, and its skin cools to a dark crust with glowing seams in the hours after the impact, first where it is coolest: that cooling and flow are drawn, not simulated; the colour comes from the particle temperature. Vapour is the part of the gas phase that Tillotson marks as expanded and hot. It is drawn as a cloud volume: sunlight scatters in it and it shades itself and the bodies, hot vapour glows, and below about 2400 K it condenses to grey and brown dust. Its billows follow the particle flow; their fine detail is noise, drawn, not simulated. Free debris is drawn as a spray of small molten drops with motion streaks.
Every few seconds the page reads all particles back. The largest body is the bound mass that stays on it or falls back. The disk is bound mass on orbits that miss the surface (Moon-forming material, in Moon masses). Escaping mass is not bound to the largest body, including a body that runs on after a hit-and-run. Peak temperature is the 99th percentile of the particles, not the single hottest one.
This page shows the kind of gravity Stella Nova simulates. Wishlist Stella Nova on Steam ↗