This Demonstration shows diffraction patterns at a detector in Young's double-slit experiment. It also shows a simplified representation of how a particle passes through both slits as a probability wave and then interferes with itself. You can vary the spacing and size of the slits and the wavelength of the particle to see the resulting interference pattern. The peaks of the graph represent points of high intensity, where particles are likely to be found. The spacing between the slits and the detector is not to scale.

Snapshot 1: an electron traveling at a speed of 0.139 m/s through the slits

Snapshot 2: an electron traveling at a speed of 0.199 m/s through the slits

Snapshot 3: an electron traveling at a speed of 0.171 m/s through the slits

For the snapshots, the author took de Broglie's formula for the wavelength, , and used that to solve for the velocity of each particle. With the changing velocities and different configuration of the slits, each diffraction pattern is determined by interference between the probability waves of the electron.