Home▸Nature & Climate▸Rainbow & Optics - 2D Raindrop Ray Diagram and Rainbow Angles

🌈 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.

Nature & Climate2DModerate60 FPS📱 Mobile-adapted💧 Water💨 Air & Wind⇄ 3D version
Rainbow & Optics - 2D Raindrop Ray Diagram and Rainbow Angles ↗ Open standalone
⚙ 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

What did you find?

Add reproduction steps (optional)