Ocean Dynamics
Wind friction moves the sea surface, but Earth's rotation applies the Coriolis effect so water flows at a twisted angle, not straight with the wind. Deeper layers turn farther and weaken in the Ekman spiral; summed over depth that becomes Ekman transport at right angles to the wind, and a sea-surface slope balanced by Coriolis yields geostrophic flow. Coastal wind direction also drives upwelling and downwelling. Here you can change wind speed and latitude to watch current direction by depth in the Ekman spiral.