Rotate diffraction gratings to disperse white light into spectral lines. Align every line onto its target detector to solve each calibration puzzle.