Bragg’s Law Applet
An oldie, but still good. The Bragg’s Law applet allows for an easy visualization of the law in action. The user can adjust the wavelength, d-spacing and the theta angle. The applet adjusts to reflect inputs as they are varied.

If you click on the details button, a small window will appear that shows how the parameters play a role in Bragg’s law. A green light (shown within the red circle) will appear if Bragg’s law is satisfied.

In this example, Bragg’s law is satisfied since the result produces (very close to) an integer (4=2*5*0.615/1.54). The background grid allows for an easier time in seeing if X ray1 and X ray2 (the blue waves in the small window) are in phase. Enjoy.