Diffractive optics applications