You can study the relationship between period, amplitude and phase between two waves. Use the buttons to change the values -- you may press and hold a button to rapidly increase or decrease the values.
The magenta colored wave at the bottom is the sum of the red and blue waves.
Exercise: try to get the sum to be zero when the red and blue waves have some amplitude.