Text this: Simulation of the spatial distribution of scattered light under illumination of a resonant diffraction grating with structured light