A wavefront modulating optical element device employs two or more materials lithographically
patterned with programmed thickness profiles. The spatially-varying thickness profiles
are chosen to yield arbitrary relative phase-shift and attenuation upon transmission.
The device can be designed to create arbitrary diffractive optical elements with
specific applications including diffusers, arbitrary holographic optical elements,
null-elements for wavefront compensation and control in interferometry.