Using a handful of inexpensive components — including an off-the-shelf computer webcam and a small diffraction grating, a device for splitting and diffracting light into several beams — researchers have built a diffraction spectrometer that can tune lasers with better than one part-per-million accuracy.