Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Diffraction & interference lab

See light through single slits, double slits and gratings in its own colour, watch two-source ripples interfere, and measure a wavelength from fringes.

633 nm

How to use

  1. Slits and gratings: choose the colour of the light, the number of slits, their spacing and width, and how far away the screen is. The strip shows the fringes as you would see them; the curve shows their brightness.
  2. Ripple tank: two dippers make waves in step. Watch the calm lines where crests meet troughs, and change the wavelength or the distance between the dippers to see the pattern change.
  3. Measure a wavelength: measure across several bright fringes on a real screen, count the gaps, and enter the slit spacing and distance to find the wavelength of your light.

Keyboard and touch

TabMove between tabs, sliders and boxes
Arrow keys on the wavelength sliderChange the wavelength 1 nm at a time
Enter in a boxRedraw or work out the current tab

Tips

  • Red light makes wider fringes than blue: the spacing is proportional to the wavelength.
  • Bring the slits closer together and the fringes spread out. That is why a CD's tracks, about 1.6 µm apart, spread light into strong colours.
  • More slits make the bright lines sharper and brighter, which is how a grating sorts colours precisely.
  • If the slit spacing is an exact multiple of the slit width, some bright orders vanish: they land on a dark band of the single-slit pattern.
  • Never look into a laser beam or shine one at anyone. A laser pointer for a class demonstration should be low power (class 2, under 1 mW).

About this lab

The brightness at angle θ for N slits of width w and spacing d is I = I0 [sin β ÷ β]² [sin Nα ÷ (N sin α)]², with β = π w sin θ ÷ λ and α = π d sin θ ÷ λ (Fraunhofer diffraction, far from the slits). Bright orders appear where d sin θ = m λ; the single slit's first dark band is at w sin θ = λ. On the screen, position = L tan θ, and the fringe spacing is close to λL ÷ d for small angles. The ripple tank adds two waves of equal size from sources in step and ignores the fading of waves with distance. The colours are an approximation of how each wavelength looks on a screen. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product