PPolySim OS
For K-12 Students · Diffraction Grating

Diffraction Grating for a projector

Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a projector live below — adjust the inputs and watch it respond, right in your browser.

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.

or unlock everything with Pro →

More with Diffraction Grating

Frequently asked questions

Is this good for k-12 students?
Yes — this version of "Diffraction Grating for a projector" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.