(Also works for skis.)
If you'd like to know more about the math behind this, see Physics of a carved snowboard turn.