✓ 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 are correct (same mass, gold 19.3 g/cm³ vs gilded 6.96 g/cm³, volume and displacement scale properly), but the ASCII-art visualization is too coarse to clearly show that the gilded crown displaces more water than the pure gold crown, the slider is horizontal (not vertical as required), and the crown rendering logic makes both crowns appear nearly identical in the water.
Physics values are correct (same mass, gold 19.3 g/cm³ vs gilded 6.96 g/cm³, volume and displacement scale properly), but the ASCII-art visualization is too coarse to clearly show that the gilded crown displaces more water than the pure gold crown, the slider is horizontal (not vertical as required), and the crown rendering logic makes both crowns appear nearly identical in the water.