✓ 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
Horizontal slider (not vertical as required) drives an ASCII-art scene with correct physics values (same mass, different density/volume, buoyancy computed from displaced volume), but the crown characters barely move visibly, there is no true fall animation, and the Heureka message only fires after 50+ animation frames at depth=100 rather than reliably at slider end.
Horizontal slider (not vertical as required) drives an ASCII-art scene with correct physics values (same mass, different density/volume, buoyancy computed from displaced volume), but the crown characters barely move visibly, there is no true fall animation, and the Heureka message only fires after 50+ animation frames at depth=100 rather than reliably at slider end.