✓ 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
Highly complete implementation with correct physics (same mass, ρ_gold=19.3, ρ_gilded=8.5), rising water level, splash particles, buoyancy/gravity force arrows, and a Heureka overlay — minor flaw: splash particles are updated twice per frame (once in updateSplashes and again inline in the draw loop), causing double-speed decay.
Highly complete implementation with correct physics (same mass, ρ_gold=19.3, ρ_gilded=8.5), rising water level, splash particles, buoyancy/gravity force arrows, and a Heureka overlay — minor flaw: splash particles are updated twice per frame (once in updateSplashes and again inline in the draw loop), causing double-speed decay.