Cubic Bezier Animation
Allows you to define custom animation curves by specifying 2 control points. The cubic bezier curve is normalized and then scaled based on the number to animate to, meaning the start point of the curve is always (0,0) and the end is always (number,number).
Cubic Bezier Animation
- Number
- Duration
- Path
- Number
The number to animate to.
- Duration
The duration of the animation.
- Input
The X position of the first control point.
- Input
The Y position of the first control point.
- Input
The X position of the second control point.
- Input
The Y position of the second control point.
- Output
The current value in the animation.
- Path
The X, Y position of the input progress on the curve. This can be used to plot the bezier curve.