How do the refractive indices of different media affect the direction in which light travels?

When light crosses a boundary into a medium with a high refractive index (eg. diamond = 2.42) there is a significant change in direction and speed.

When light crosses a boundary into a medium with a low refractive index (eg. water = 1.333) there is a less significant change in direction or speed.