PPolySim OS
Use case · powered by Snell's Law

Snell's Law for a laser beam

Simulate a laser beam live in your browser. This runs the real Snell's Law solver — adjust the inputs, watch it respond instantly, and export the result. No install, no account.

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 →

About this simulation

The full Snell's Law tool models a laser beam with the same numerics engineers and scientists use — running entirely client-side. Change any parameter and the result updates in real time, so you can build intuition, check a design, or teach the concept without spreadsheets or installs.

More you can do with Snell's Law

Other ways to simulate a laser beam

Frequently asked questions

How do I simulate a laser beam?
Open this page and use the live Snell's Law tool below — set your inputs and the simulation runs instantly in your browser using real numerics. No install, no account needed.
Is it free?
Yes. The simulation runs free in your browser. A one-time unlock or a Pro plan adds advanced parameters, saved presets, data import, and clean exports.
Can I use my own numbers?
Absolutely — every input is adjustable, and with data import you can drive a laser beam from your own measurements.