How Does Light Bend?

The Big Idea
The Five Scenes
The Science
Challenges

Light Bends, Bounces, Scatters and Gets Absorbed

Every time light crosses from one material into another — from air into glass, from glass back into air — it changes direction. That bending is called refraction. When light cannot leave a dense material, it bounces back inside: total internal reflection. When it bumps into tiny molecules, it gets scattered. And when a dark material catches it, it is absorbed.

White light is really ALL the colors traveling together. Each color is a wave with its own size: red has long waves (about 650 nm) and violet has short waves (about 410 nm). Because each wave size bends a slightly different amount, a prism can fan white light out into the seven lines of the rainbow.

And how do YOU see color? The back of your eye has only THREE kinds of cone cells: one for reddish light, one for greenish light, one for bluish light. Every color you have ever seen is just a mix of how strongly each team fires. There is no yellow cone — your brain invents yellow when R and G cheer at the same time!

The Five Scenes in This Lab

🌈 Rainbow Prism — One white line goes in, seven colored lines come out (red, orange, yellow, green, blue, indigo, violet). Drag the white light to change the angle, and click each colored line to see its wavelength and frequency in the table on the right.

💡 Fiber Optic Cable — Light refracts as it enters the glass core, then reflects off the walls thousands of times: total internal reflection. That is how your internet crosses the ocean. Pick the signal type (text, music, video) and switch it off with the ⏻ button — no light, no internet.

👁️ Eye Mode — Shine different colors of light into the eye and watch how strongly each cone is activated. Switch between the human eye, three colorblind eyes (each missing one cone) and a dog's two-cone eye, and open the cone response chart to see which wavelengths each cone can receive.

🌅 Sunset Sky — Sunlight crosses the atmosphere to an eye on the far side. The blue waves scatter away along the trip; the red, orange and yellow waves transmit all the way to the viewer. That is why sunsets are warm.

👓 Glasses — Try on nearsighted glasses, farsighted glasses, a magnifier and sunglasses. Compare how much light refracts, reflects, absorbs and transmits through each pair.

The Physics Behind Each Scene

Dispersion — The refractive index depends on wavelength: in glass, violet (short waves) bends more than red (long waves). Wavelength and frequency are connected: frequency = speed of light ÷ wavelength. Red at 650 nm vibrates at about 461 THz; violet at 410 nm, about 731 THz.

Total internal reflection — A fiber's core has n = 1.62 and its cladding n = 1.52. When light hits the wall at more than about 70 degrees from the normal, 100% of it reflects — not a drop leaks out. That is why one glass hair can carry your internet across an ocean.

Trichromatic vision — Your L, M and S cones respond most strongly near 564, 534 and 445 nm. The brain compares their three signals to build every color. Yellow light (580 nm) fires L and M together — and your brain says "yellow" even though no yellow sensor exists.

Rayleigh scattering — Scattering strength grows as 1/λ⁴: blue scatters about 10 times more than red. In daytime, that scattered blue arrives from every direction (blue sky); at sunset the path is so long that only the warm colors survive.

Refraction, reflection, absorption, transmission — At any lens: about 4-5% of the light reflects off the surface, a little is absorbed, and the rest transmits through, bending according to the lens shape. Sunglasses flip the story: they absorb about 70% and barely bend at all.

Try These Experiments!

Challenge 1: In the Rainbow Prism, click the red line and then the violet line. Which one has the longer wave? Which one has the higher frequency?

Challenge 2: Drag the white light up and down. Do all seven colored lines move together? Does the fan change shape?

Challenge 3: In the Fiber Optic Cable, press ⏻ to switch the signal off. What happens to the internet? Click a glowing bounce: how much of the light reflects there?

Challenge 4: In Eye Mode, shine yellow light. Which cones fire? Is there a yellow cone? Then switch to the dog's eye — what changes?

Challenge 5: In the Sunset Sky, follow one blue wave with your eyes. Does it reach the eye? What about an orange one?

Challenge 6: In Glasses, compare the magnifier with the sunglasses. Which one bends the light more? Which one absorbs more?