PPolySim OS
For First Responders · Snell's Law

Snell's Law for a photonic crystal

Built for first responders planning or training for real incidents. Run fast what-if scenarios for response planning and training — no software to install in the field. Simulate a photonic crystal live below — adjust the inputs and watch it respond, right in your browser.

Snell's Law — RefractionLive

Controls

Light bends when it crosses between media. Going into a slower medium it bends toward the normal; going the other way past the critical angle it reflects entirely.

Presets

▶ Run in Python

Data Inspector

n₁ → n₂1 → 1.5
Critical anglen/a
Snelln₁sinθ₁ = n₂sinθ₂

Governing equation

Reading this result: Into a denser, slower medium: the ray bends toward the normal, so the refracted angle is smaller than the incidence angle.

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

or unlock everything with Pro →

More with Snell's Law

Frequently asked questions

Is this good for first responders?
Yes — this version of "Snell's Law for a photonic crystal" is framed for first responders planning or training for real incidents. Run fast what-if scenarios for response planning and training — no software to install in the field.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.