Dispersion Through a Prism Simulator — Spectrum Formation Interactive

Interactive ray-tracing laboratory showing white light dispersing into a visible spectrum through a glass prism, with adjustable incidence angle, prism apex angle and dispersion strength, and crown/flint glass presets.

← Optics Labs
About this tool — how it works & FAQOpen ▾Close ▴

About the Dispersion Through a Prism Simulator

This simulator sends white light — modeled as six representative wavelengths from red to violet — into a triangular glass prism and traces each color's own refraction path, showing how wavelength-dependent refractive index spreads a single beam into a visible spectrum.

What the simulator shows

• A full ray-tracing diagram of a triangular prism with a white-light beam entering one face and six individually colored rays (red through violet) exiting the second face at slightly different angles. • Three live controls: incidence angle, prism apex angle, and a dispersion-strength slider that exaggerates or reduces the spread for teaching clarity. • Live readouts comparing the refractive index calculated for red (650 nm) light against violet (400 nm) light. • Three preset glass types: typical crown glass, higher-dispersion flint glass, and an artificially low-dispersion case for comparison.

Why a prism splits white light into colors

Refractive index is not perfectly constant with wavelength — in most transparent materials it decreases slightly as wavelength increases (normal dispersion), meaning violet light refracts more than red light at the same boundary. A prism uses two refracting surfaces in sequence (entering and exiting the glass), which compounds this small per-surface difference into a clearly visible angular spread between colors by the time the light exits the second face.

Newton's prism experiment and the rainbow connection

Isaac Newton's 1666 prism experiments were the first clear demonstration that white light is a mixture of all visible colors, each bending by its own characteristic amount — not something the prism itself was adding to plain white light. The same wavelength-dependent refraction (combined with internal reflection inside spherical raindrops) is what produces a natural rainbow.

Frequently asked questions

Why does a prism separate white light into a spectrum?

Refractive index depends slightly on wavelength (normal dispersion) — violet light bends more than red light at the same surface. A prism's two sequential refracting faces compound that small difference into a visibly separated spectrum.

Which color bends the most through a prism?

Violet light bends the most (highest refractive index in normal dispersion), and red light bends the least, with the other spectral colors falling in between in the familiar ROYGBV order.

What did Newton prove with his prism experiments?

That white light is composed of a mixture of colors, each with its own fixed refractive behavior — the prism does not create color, it merely separates colors that were already present in the white light.

Why does flint glass disperse light more than crown glass?

Flint glass (historically containing lead oxide) has a refractive index that varies more strongly with wavelength than ordinary crown glass, producing a wider color spread for the same prism geometry — useful in some optical instruments and undesirable (chromatic aberration) in others.

Related tools & guides