PPolySim OS
For Engineers · Diffraction Grating

Diffraction Grating for a spectrometer

Built for engineers using it for real design work. Go from concept to a running model in the browser, then scale to the cloud when needed. Simulate a spectrometer 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 engineers?
Yes — this version of "Diffraction Grating for a spectrometer" is framed for engineers using it for real design work. Go from concept to a running model in the browser, then scale to the cloud when needed.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.