✓ 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
ASCII/text-based canvas renders both crowns with correct physics (same mass, gold 19.3 g/cm³ vs gilded 12.0 g/cm³) and live values, but the visual display is crude with no splash effects, the slider thumb update is hooked to a global mousemove rather than the drag handler causing slight desync, and the crown symbols disappear once depth reaches 30 (maxDepth) rather than remaining visibly submerged.
ASCII/text-based canvas renders both crowns with correct physics (same mass, gold 19.3 g/cm³ vs gilded 12.0 g/cm³) and live values, but the visual display is crude with no splash effects, the slider thumb update is hooked to a global mousemove rather than the drag handler causing slight desync, and the crown symbols disappear once depth reaches 30 (maxDepth) rather than remaining visibly submerged.