✓ 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 ASCII-art implementation with correct Archimedes physics (same mass, different volumes/densities, proportional displacement), but crown movement is a discrete jump per render frame rather than a smooth fall animation, and splash detection is fragile (only triggers in a narrow subFrac window).
Solid ASCII-art implementation with correct Archimedes physics (same mass, different volumes/densities, proportional displacement), but crown movement is a discrete jump per render frame rather than a smooth fall animation, and splash detection is fragile (only triggers in a narrow subFrac window).