Class BezierCurve
Hierarchy
- BezierCurve
Index
Constructors
Methods
Constructors
constructor
Returns BezierCurve
Methods
Static InterpolateSearch playground for Interpolate
Returns the cubic Bezier interpolated value (float) at "t" (float) from the given x1, y1, x2, y2 floats
Parameters
t: number
defines the time
x1: number
defines the left coordinate on X axis
y1: number
defines the left coordinate on Y axis
x2: number
defines the right coordinate on X axis
y2: number
defines the right coordinate on Y axis
Returns number
the interpolated value
Class used to represent a Bezier curve