✓ 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 covering all required features, but the vertical slider direction is inverted (dragging up/increasing value = crowns sink, which is physically backwards) and the ASCII rendering lacks visual polish compared to a canvas/SVG approach.
Solid ASCII-art implementation covering all required features, but the vertical slider direction is inverted (dragging up/increasing value = crowns sink, which is physically backwards) and the ASCII rendering lacks visual polish compared to a canvas/SVG approach.