Pinhole optics