My model is a particle theory of light. You are right that the mesh idea seems to relate to diffraction. Indeed every object at least at the surface is a mesh, which determines its color. Change the mesh dimensions and the object will change its color. One way of changing the dimensions of the mesh is to heat it. This will cause the spacing between each atom to increase; the atoms also vibrate releasing pieces of screw material (light). Since the mesh dimensions are larger owing to heat, the color of the object changes. Sending this light into a prism will indeed yield a different spectrum. When the object cools, its dimensions get back to normal and we see its normal color again. This is how my model accounts for spectroscopy.
If light is particles and not waves, how does the mesh spacing determine the colour (i.e. the proportions of light and dark) in the emitted light?