✓ 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 direction is inverted (value=0 at top means crowns in air is correct conceptually, but vertical range inputs with bt-lr writing-mode on most browsers render min at bottom, meaning top position = max = water, so effective direction is backward); ASCII-art rendering is creative but the crown drawing logic has redundant/dead code paths and splash detection is duplicated with conflicting triggers.
Slider direction is inverted (value=0 at top means crowns in air is correct conceptually, but vertical range inputs with bt-lr writing-mode on most browsers render min at bottom, meaning top position = max = water, so effective direction is backward); ASCII-art rendering is creative but the crown drawing logic has redundant/dead code paths and splash detection is duplicated with conflicting triggers.