Just move the mouse around to adjust the amplitude and the frequency of the sine wave.
This is only a slight modification of the original!