Here is an excellent animation that shows the effect dramatically. It was created by Gianni Sarcone and coded by Kris Hom. You can see the red and blue lines are growing and shrinking.