Interactive Optical Bench
Diffraction Grating Ray & Fringe Simulator
Adjust light mode, wavelength (λ), groove density (N), and screen distance (L) to observe real-time diffraction orders.
Grating Equation
d · sin(θm) = m · λ
Grating Spacing
d = 2.00 µm
532 nm
380 nm (UV/Violet)
550 nm
750 nm (Red)
Spectral Presets:
Polychromatic mode projects continuous visible wavelengths (380–750 nm). Notice how m = 0 remains pure white while m = ±1, ±2 disperse into rainbows with violet bent least and red bent most!
500 lines/mm
100 /mm
d = 2000 nm
1200 /mm
1.00 m
0.30 m
1.15 m
2.00 m
12 slits
Compare N=2 (Young's double-slit broad fringes) with high N (razor-sharp grating peaks).
Max Observable Order
mmax = ±3
⌊d / λ⌋
Resolving Power (m=1)
R = 2,500
(5 mm beam width)
Top-Down Optical Bench & Diffracted Orders
Angles drawn accurately to physical scaleObservation Screen Fringe Pattern & Intensity Profile I(θ)
-75° ≤ θ ≤ +75°Live Diffraction Order Readouts (d · sin θm = mλ)
λ = 532 nm| Order (m) | sin(θm) = mλ/d | Diffraction Angle (θm) | Screen Position ym = L·tan(θm) | Status |
|---|