✓ 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 (label says "Luft" at top / "Wasser" at bottom but writing-mode:vertical-lr with direction:rtl means value=0 renders at the bottom visually, so dragging down gives value=0=air, not water); otherwise a richly featured, physically accurate, and visually polished implementation.
Slider direction is inverted (label says "Luft" at top / "Wasser" at bottom but writing-mode:vertical-lr with direction:rtl means value=0 renders at the bottom visually, so dragging down gives value=0=air, not water); otherwise a richly featured, physically accurate, and visually polished implementation.