The glass acts as a prism from certain angles. Sunlight is white, meaning that it has all colors of the spectrum at once. At some angles, the glass separates these wavelengths so that each color shines at a slightly different angle, creating the rainbow effect.
Latest Answers