✓ Two crowns ✓ Same mass, different density ✓ Vertical slider ✓ Slider works ✓ Slider controls crowns — Slider direction correct ✓ Full slider range ✓ Fall animation ✓ Water displacement ✓ Rising water level ✓ Splash effects — Physics correct ✓ Live mass value ✓ Live volume value ✓ Live density value ✓ Live displaced water ✓ Gilded displaces more ✓ Heureka animation ✓ No external deps ✓ Light bg / dark text ✓ Self-contained HTML
Slider direction is inverted (value=0 top maps to crowns in air which is correct by CSS vertical flip, but the submerged-ratio calculation uses a fixed 4-row window regardless of crown volume, so the larger gilded crown does not actually displace proportionally more water — displaced values are derived from the same ratio formula, not from actual volume differences.
Slider direction is inverted (value=0 top maps to crowns in air which is correct by CSS vertical flip, but the submerged-ratio calculation uses a fixed 4-row window regardless of crown volume, so the larger gilded crown does not actually displace proportionally more water — displaced values are derived from the same ratio formula, not from actual volume differences.