✓ 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 maps to air, max=100 maps to water, but a vertical range slider's thumb-at-top corresponds to max on most browsers, meaning top=water instead of top=air); all physics values are plausible and gilded crown correctly displaces more, but splash fires continuously during submersion range rather than only on water-entry impact.
Slider direction is inverted (min=0 maps to air, max=100 maps to water, but a vertical range slider's thumb-at-top corresponds to max on most browsers, meaning top=water instead of top=air); all physics values are plausible and gilded crown correctly displaces more, but splash fires continuously during submersion range rather than only on water-entry impact.