Home▸Colours & Light▸Prism Dispersion — 2D Ray Tracing of White Light and Minimum Deviation

🌈 Prism Dispersion — 2D Ray Tracing of White Light and Minimum Deviation

2D companion of the prism rainbow sim: exact Snell ray tracing through a triangular prism with Cauchy dispersion, live index and deviation-vs-incidence graphs, total internal reflection and a minimum-deviation check against the analytic formula.

Colours & Light2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
Prism Dispersion — 2D Ray Tracing of White Light and Minimum Deviation ↗ Open standalone
⚙ Under the hood

2D companion of the prism rainbow sim: exact Snell ray tracing through a triangular prism with Cauchy dispersion, live index and deviation-vs-incidence graphs, total internal reflection and a minimum-deviation check against the analytic formula.

PrismDispersionSnell LawMinimum Deviation

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)