Prism Light

One white beam, one prism, real refraction. Drag the stage or use the sliders.

Prism

Readout

Deviation vs wavelength

Deviation vs incidence angle

Model checks

The science

Snell's law at each face: n1 sin t1 = n2 sin t2. The index of glass depends on wavelength (dispersion), modelled by the Sellmeier equation n²(λ) = 1 + Σ Biλ²/(λ² - Ci) with the published coefficients of Schott BK7 and SF11 and of fused silica. Blue light has the larger n, so it bends more.

The deviation of a ray through a prism of apex angle A: δ = t1 + t4 - A, where t2 = A - t2' inside and sin t4 = n sin t3 on exit. Its minimum is symmetric: n = sin((A + δmin)/2) / sin(A/2). The Abbe number V = (nd - 1)/(nF - nC) measures how strongly a glass disperses (BK7 64, SF11 26).

Past the critical incidence the ray cannot leave the second face (total internal reflection); the readout says so and the beam is reflected inside.

Simplifications

  • One thin chief ray per wavelength (400-700 nm, 5 nm steps drawn as a continuous fan); no beam width, no diffraction at the slit.
  • Only the refracted path is drawn: Fresnel reflection losses, absorption and secondary internal reflections are ignored (except full TIR).
  • Screen colours are an sRGB approximation of each wavelength, not true spectral colour. Lengths: the prism face is about 8 cm, so one bench grid step is about 2.5 cm.
  • Air n = 1. Prism is an isosceles triangle in a plane (a 2D section).

Checks (run on load)

(1) Sellmeier indices at the sodium d-line and the Abbe number against the catalogue values (BK7: 1.5168 / 64.2; SF11: 1.7847 / 25.7). (2) A vector ray-tracer through the real polygon against the closed-form deviation formula for several wavelengths. (3) A brute-force scan of the incidence angle finds the same minimum deviation and angle as the closed formula.

Prism, bench, lamp and screen artwork rendered with Blender (Cycles); the optics is computed live in the page.

Made with 🟠 Blender