The following shows the method of using the third-order Bezier curve to find the mapping value of time and progress.
For example, we need to calculate the progress when the time is equal to 0.5 and the controls are equal to cubic-bezier(.26,.85,.79,.29).
- calculate the T value when x is equal to 0.5 using dichotomy.
- calculate the Y value when t is equal to T.