✓ 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 at top means air, value=100 at bottom means water, but the vertical CSS uses writing-mode+direction:rtl which physically renders 0 at bottom and 100 at top, making the control feel backwards to the user); all physics, values, and visual features are otherwise well-implemented.
Slider direction is inverted (value=0 at top means air, value=100 at bottom means water, but the vertical CSS uses writing-mode+direction:rtl which physically renders 0 at bottom and 100 at top, making the control feel backwards to the user); all physics, values, and visual features are otherwise well-implemented.