✓ 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 (min=0 at top maps crowns to air, which is correct, but the crown starts at top=-100px outside the crown-container and the slider range appears visually correct yet water-level scaling is ad-hoc pixel math rather than true volume conservation; volume and density values are hardcoded/static instead of live-updating, and the crown has no fall animation — it teleports.
Slider direction is inverted (min=0 at top maps crowns to air, which is correct, but the crown starts at top=-100px outside the crown-container and the slider range appears visually correct yet water-level scaling is ad-hoc pixel math rather than true volume conservation; volume and density values are hardcoded/static instead of live-updating, and the crown has no fall animation — it teleports.