Grating diffraction pattern