Simulates the diffraction pattern of light from a reflective or transmissive grating.

Incident Beam Properties
Grating Properties

Hint: Click on a diffraction order (in monochromatic mode) to view its properties.

The sign of the diffraction orders and the sign of angles depends on your convention.