🌈 Rainbow & Optics - 2D Raindrop Ray Diagram and Rainbow Angles
Trace sunlight through a raindrop with Snell refraction and internal reflection, find the 42 degree primary and 51 degree secondary rainbow angles from Descartes ray theory, and see Airy-theory colour and brightness painted across the sky.
⚙ Under the hood
Trace sunlight through a raindrop with Snell refraction and internal reflection, find the 42 degree primary and 51 degree secondary rainbow angles from Descartes ray theory, and see Airy-theory colour and brightness painted across the sky.
RainbowOpticsDispersionRaindropRay tracing
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install