Text this: Numerical simulation of light diffraction at an edge using geometric optics methods