The first of two apps on Phase Difference allows for interaction to demonstrate the oscillation of two different particles along the same wave with a variable phase difference.
The second shows two waves also with a phase difference.
In both cases, the phase difference $\Delta\phi$ can be calculated with
$$\Delta\phi = \dfrac{\Delta x}{\lambda} \times 2\pi$$
where $\Delta x$ is the horizontal distance between the two particles or the horizontal distance between the two adjacent identical particles (one from each wave) and $\lambda$ is the wavelength of the waves.
WOW I love
this changed my life, thank you physics lens
This is crazy this is revolutionary thanks for opening my lens
You have brought upon quite a fantastic revelation and widened my lenses for a completely new world. Thank you so much, Mister Physics Lenser!