VirtualLab offers several optimization methods including local and global parametric optimization, the iterative Fourier transform algorithm and a design algorithm for grating cells arrays. These methods enable the design of diffractive beam splitters, diffusers and diffractive and refractive beam shapers, the design of elements for shaping LED light, the optimization of laser systems, and the design of gratings. Further diffractive diffusers can be used for the homogenization of LED light and Excimer laser beams.