Home▸Optics & Light▸How a rainbow forms

🔬 How a rainbow forms

Why does sunlight turn into a band of colours? White light contains many wavelengths.

Optics & Light3DModerate60 FPS📱 Mobile-adapted🤖 ChatGPT
How a rainbow forms ↗ Open standalone
⚙ Under the hood

Why does sunlight turn into a band of colours? White light contains many wavelengths.

rainbowrefractionSnell lawdispersion

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)