✓ 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 is inverted via CSS scaleY(-1) but the value mapping is not corrected in logic, and both crowns move identically so the gilded crown never visually displaces more water than the pure gold crown in the ASCII render.
Slider is inverted via CSS scaleY(-1) but the value mapping is not corrected in logic, and both crowns move identically so the gilded crown never visually displaces more water than the pure gold crown in the ASCII render.