aninest root / module:Interp / getCubicBezier
getCubicBezier()
ts
function getCubicBezier(
duration,
c1,
c2): Interp
Returns a cubic bezier interpolation function.
Parameters
• duration: number
• c1: number
• c2: number