PPolySim OS
For Students · Optics Bench

Optics Bench for a see-saw balance

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 see-saw balance live below — adjust the inputs and watch it respond, right in your browser.

Ray Optics / Lens StudioLive

Controls

Presets

Trace principal rays through a thin lens to locate the image. Move the object inside the focal point to flip from a real to a virtual image.

▶ Run in Python

Data Inspector

Lensconverging
Focal length120px
Magnification-1.00×
Equation1/v − 1/u = 1/f

Governing equation

Reading this result: The object sits near 2f, so the image is real, inverted and roughly the same size (1:1).

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

2

Diffraction Grating

open full solver →
Diffraction GratingLive

Controls

More slits make the bright maxima sharper and brighter — the principle behind spectrometers that split light into precise spectral lines.

Presets

▶ Run in Python

Data Inspector

Slits5
Resolution∝ N
Maxima atd·sinθ = mλ

Governing equation

Reading this result: The bright maxima stay locked where d·sinθ = mλ — fixed by spacing and wavelength, not slit count — but with 5 slits each principal peak is about 5× narrower and far more intense, which is how a grating resolves fine spectral lines.

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

3

Wave Interference

open full solver →
Wave Interference StudioLive

Controls

Two point sources emit circular waves — where they meet, you see constructive and destructive interference fringes. Drag either source on the canvas to reposition it and watch the pattern update live.

Presets

▶ Run in Python

Data Inspector

Sources2
Grid220×220
Wavelength15.7 px
Separation100 px
Patterninterference fringes

Governing equation

Reading this result: Wavelength is about 15.7 px and the two sources sit 100 px apart. Bright fringes appear where the path difference to the two sources equals a whole number of wavelengths (constructive interference); dark fringes fall halfway between, where the difference is a half-wavelength (destructive interference). Shrinking the wavelength or widening the separation would pack more fringes into the same space.

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

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 →

More with Optics Bench

Frequently asked questions

Is this good for students?
Yes — this version of "Optics Bench for a see-saw balance" 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.