I am trying to understand the relationship between the diffraction pattern produced when shining light onto a 2D lattice and the reciprocal lattice of the direct lattice in question.
So suppose we have a 2D square lattice with lattice parameter $a$. All points in this lattice can be represented by a vector of the form $D_{n_x,n_y}= n_xa\hat{x}+n_ya\hat{y}$ where $n_x,n_y\in Z$. The reciprocal lattice of this direct lattice can then be represented by all points of the form $R_{n_x,n_y}= k_x\frac{2\pi}{a}\hat{x}+k_y\frac{2\pi}{a}\hat{y}$ where $k_x,k_y\in Z$. Now my question is: how is this reciprocal lattice related to the diffraction pattern produced when I shine a monochromatic plane wave with wavelength $\lambda \approx a$ onto the 2D square lattice from the perpendicular $\hat{z}$ direction? The webpage https://www.doitpoms.ac.uk/tlplib/diffraction/diffraction3.php indicates that they are analogous (as seen in the screenshot from the webpage in question below ) but I have some issues with this.
For starters, the diffraction pattern must surely depend on the incident wavelength $\lambda$, but the reciprocal lattice does not depend on the wavelength at all. So does the incident wavelength simply scale the reciprocal lattice so that it equals the diffraction pattern? Secondly, how are the amplitudes of the diffraction pattern peak points determined? My thinking is that they must be proportional to the square of the corresponding fourier components of the periodic electron density in the unit cell.
Finally, and perhaps most importantly, if we change the direction of the incoming light so that it is no longer perpendicular to the 2D lattice but at an angle to the perpendicular, we clearly change the diffraction pattern but we still do nothing to the reciprocal lattice. For example, if the incident beam is positioned so that it is parallel to the surface of the flat 2d square sheet, then I expect the diffraction pattern to look something like that of a 1D diffraction grating and not like a 2d square reciprocal lattice. So what is the exact relationship between the diffraction pattern of a 2D lattice and the reciprocal lattice of the 2D lattice in question? The same question can apply to 3D lattices as well however the 2D case alone should suffice. Any help on this issue would be greatly appreciated!