A rock enters the atmosphere. Drag heats it, ablation strips its mass, and when air pressure beats its strength it breaks up. The glowing trail is the wake.
Press Launch (or Space).
The science
Equations integrated every step (RK-style small steps, dt = 2 ms of simulated time):
dv/dt = -Cd rho_air A v^2 / (2m) + g sin(theta)
dm/dt = -Ch rho_air A v^3 / (2Q)
rho_air = 1.225 exp(-h / 8 km)
ram pressure P = rho_air v^2
Cd = 1, heat-transfer coefficient Ch = 0.1, heat of ablation Q = 8 MJ/kg (stone, iron) or 2.5 MJ/kg (comet). When P exceeds the strength, the body fragments and (Chyba et al. 1993 "pancake" model) its radius grows as dr/dt = v sqrt(rho_air/rho_meteoroid), so the drag area explodes and it decelerates sharply: a bright flare near the breakup height. Brightness is proportional to the kinetic power lost to ablation, 0.5 v^2 |dm/dt|.
Check: the last tile compares the speed to the closed-form no-ablation solution v = v0 exp(-(Cd rho0 H A / (2 m sin theta)) exp(-h/H)). They agree while the body stays intact and loses little mass.
Simplifications: flat Earth, constant g, an exponential atmosphere, no rotation, no lift, no radiation or fragmentation cascade. The vertical axis is true to scale in km; the horizontal axis is stretched to fit the screen.