✓ 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 means crowns in air at slider bottom on most browsers with bt-lr writing-mode, and the crowns move from top to bottom as value increases, which is functionally inverted UX); no discrete fall animation — crowns just linearly interpolate position with slider rather than an autonomous drop sequence.
Slider direction is inverted (min=0 at top means crowns in air at slider bottom on most browsers with bt-lr writing-mode, and the crowns move from top to bottom as value increases, which is functionally inverted UX); no discrete fall animation — crowns just linearly interpolate position with slider rather than an autonomous drop sequence.