A mechanical analog of refraction is show in Figure 35.13. When the left end of the rolling barrel reaches the grass.it slows down, whereas the right end remains on the concrete and moves at its original speed. This difference in speeds causes the barrel to pivot, which changes the direction of travel.