All scenes › Chapter 1 Light meets water
A rainbow needs sunlight and raindrops
View in 3DAfter the rain stops, stand with the Sun behind you and a rainbow appears in the sky ahead. A rainbow needs two things. One is sunlight. The other is the countless raindrops floating in the sky. Let’s follow, step by step, the path sunlight takes through a raindrop to become a rainbow.
Why?A rainbow forms when raindrops send sunlight back toward you. That is why the Sun and the rainbow are always on opposite sides of the sky. You will never see a rainbow while looking toward the Sun.
Learn moreThe colors in this sky were not painted by hand. We calculated the angles of hundreds of thousands of light rays leaving raindrops, then painted the sky with how much light, and which colors, gather at each angle. The big number at the top is the key calculated value of each scene.
calculated from the refractive index of water (IAPWS, 20 °C) and the laws of refraction and reflection
View this scene in 3D →More in the series
The numbers come from the refractive index formula for water (IAPWS 1997) and the laws of refraction (Snell) and reflection (Fresnel). In the 3D view, the raindrop and the spreading of colors inside it are drawn larger so you can see them.