PPolySim OS
For Students · Snell's Law

Snell's Law for a fiber sensor

Built for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition. Simulate a fiber sensor 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 students?
Yes — this version of "Snell's Law for a fiber sensor" is framed for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.