A function for use with interpolator easing.
Apply an easing function to a parameter t in the range [0, 1].
[0, 1]