Diffractive optics: learning by computer experiments (Proceedings of SPIE, the international society for optical engineering)