Bézier curve control points P_0 through P_n, nonempty
function mapping input interpolation parameter ti, 0 <= ti <= 1, to an applied interpolation parameter, as constrained above
TODO: you determine the detailed precondition, including a weaker static type
TODO: you determine the detailed postcondition, but you may NOT add "throws" cases
Given a Bézier curve and an easing function, produce a sequence of points suitable for animating the eased movement along the curve. See https://en.wikipedia.org/wiki/Bézier_curve for an explanation of Bézier curves. The easing function must satisfy: