✓ 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 implementation with correct physics (19.3 vs 13.0 g/cm³, same mass, proportional displacement), but crowns jump/teleport with the slider rather than animating a smooth fall, and the splash effect has a positional bug (particles are displaced from their origin coordinates each time it fires, causing drift).
Solid implementation with correct physics (19.3 vs 13.0 g/cm³, same mass, proportional displacement), but crowns jump/teleport with the slider rather than animating a smooth fall, and the splash effect has a positional bug (particles are displaced from their origin coordinates each time it fires, causing drift).