✓ 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
Physics values (densities, volumes) are plausible but submersion logic is binary/linear over a single-character height rather than volumetrically correct, the water-rise formula is arbitrary, there is no smooth fall animation (crowns jump positions as slider moves), and splash is random noise rather than a true particle effect.
Physics values (densities, volumes) are plausible but submersion logic is binary/linear over a single-character height rather than volumetrically correct, the water-rise formula is arbitrary, there is no smooth fall animation (crowns jump positions as slider moves), and splash is random noise rather than a true particle effect.