Function

evaluateTimelineCubicBezier

Evaluates one coordinate of a cubic Bezier without allocating intermediate points.

Signature

Type Definition
evaluateTimelineCubicBezier(start: number, control1: number, control2: number, end: number, t: number): number

Parameters

NameTypeDescription
startnumberCoordinate at the start of the curve.
control1numberCoordinate of the first control point.
control2numberCoordinate of the second control point.
endnumberCoordinate at the end of the curve.
tnumberCurve parameter, typically between 0 and 1.

Returns

number