✓ 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
Slider is inverted (value=0 is top/air but the vertical range input's visual top corresponds to max=100, so dragging up increases value meaning crowns go deeper — direction is wrong); displaced water calculation is physically ungrounded (depth parameter is arbitrary unit not tied to actual submerged volume geometry), buoyancy shown in gram-force rather than Newtons, and the animation loop calls updateVisualization on every frame but crowns move only when slider changes so there is no smooth fall animation.
Slider is inverted (value=0 is top/air but the vertical range input's visual top corresponds to max=100, so dragging up increases value meaning crowns go deeper — direction is wrong); displaced water calculation is physically ungrounded (depth parameter is arbitrary unit not tied to actual submerged volume geometry), buoyancy shown in gram-force rather than Newtons, and the animation loop calls updateVisualization on every frame but crowns move only when slider changes so there is no smooth fall animation.