← All animations

🌈 The Electromagnetic Spectrum

Radio waves, the warmth of sunlight, the colours of a rainbow, the X-ray of a broken bone, and the gamma rays from a dying star — they are all the same thing: electromagnetic radiation, a.k.a. light. The only difference between them is their wavelength. Drag, slide, and watch the single ribbon of light stretch from kilometre-long radio waves down to gamma rays smaller than an atomic nucleus.

1. Sweep the spectrum — one ribbon, radio to gamma

Drag the marker (or use the slider) along the bar below. As you move from left to right the wavelength gets shorter and the frequency gets higher. The wiggling wave above the bar shows the actual relative wavelength, and the visible slice is painted with the true colour your eye would see at that wavelength.

Visible light λ ≈ — f ≈ —

2. c = λ·f — speed stays the same, only the wiggle changes

Every electromagnetic wave travels at the speed of light, c ≈ 3×10⁸ m/s. So wavelength and frequency are locked together: crank the frequency up and the wavelength must shrink to keep their product equal to c. The two dots ride the wave at the same speed — count how many crests pass per second.

λ × f = c

3. It's all light — energy rises with frequency

There is no real boundary between "radio" and "gamma" — the names are just human labels we pin on different stretches of one continuous spectrum. What changes across it: