✓ 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 to "air" and max=100 to "water" but the writing-mode+direction:rtl styling flips it so the visual top of the slider corresponds to the water end), and the slider input listener is a no-op since the animation loop already polls slider.value continuously — but nearly every required feature is present and physically plausible.
Slider direction is inverted (min=0 at top maps to "air" and max=100 to "water" but the writing-mode+direction:rtl styling flips it so the visual top of the slider corresponds to the water end), and the slider input listener is a no-op since the animation loop already polls slider.value continuously — but nearly every required feature is present and physically plausible.