PPolySim OS

Prism Dispersion

A prism turns white light into a rainbow. Because glass bends violet more than red, each color emerges at a slightly different angle — Newton's classic experiment.

Prism DispersionLive

Controls

A prism bends violet light more than red because the refractive index depends on wavelength — splitting white light into a rainbow, exactly as Newton showed.

Presets

▶ Run in Python

Data Inspector

Colors7 (ROYGBIV)
Causen(λ) dispersion
Most bentviolet

Snell's law of refraction

Reading this result: At 1× dispersion and a 35° exit angle, each wavelength refracts by a slightly different amount, splitting white light into an ordered ROYGBIV band.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

Dispersion arises because a material's refractive index varies with wavelength, so shorter (violet) wavelengths refract more than longer (red) ones. This splits white light into its spectrum and explains rainbows, chromatic aberration, and spectroscopy.

✦

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Optics simulations

Frequently asked questions

Is this prism dispersion tool really free?▾
Yes. Prism Dispersion runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?▾
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?▾
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?▾
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.