✓ 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
Solid implementation with correct physics (gold 19.3 g/cm³, alloy 13.0 g/cm³, same 1000g mass, proportional water rise), but fall_animation is absent — crowns teleport to position rather than animate continuously, and the splash trigger fires twice in succession due to a double-call bug.
Solid implementation with correct physics (gold 19.3 g/cm³, alloy 13.0 g/cm³, same 1000g mass, proportional water rise), but fall_animation is absent — crowns teleport to position rather than animate continuously, and the splash trigger fires twice in succession due to a double-call bug.