This proof-of-concept visualizes refraction and dispersion using a single incoming beam and a triangular prism. It’s designed to make the “why” visible: light bends when it changes medium, and different wavelengths bend by different amounts, so white light splits into a spectrum.

What you’re looking at

What this POC proves

  1. Refraction is geometric and deterministic
    The beam bends at the entry surface according to the interface normal and refractive index.
  2. Dispersion produces the spectrum
    Each wavelength uses a slightly different refractive index (a simple dispersion model), so the exit angles diverge into a fan.
  3. Total internal reflection is real behavior, not a trick
    At certain angles/materials, rays can reflect internally instead of exiting immediately. The POC counts these “TIR bounces.”
  4. The projection screen makes the result measurable
    The rainbow bar is not decoration; it’s a direct visualization of where the wavelengths hit a fixed plane, allowing a simple “spread” measurement.

Controls and what they change

Readouts

This is intentionally a clean physics-first visualization: one beam in, prism interaction, measurable spectrum out.