cubic_ease library

Classes

Cubic
CubicEase
LinearCubicEase

Constants

NewtonIterations → const int
4
NewtonMinSlope → const double
0.001
SampleStepSize → const double
1.0 / (SplineTableSize - 1.0)
SplineTableSize → const int
11
SubdivisionMaxIterations → const int
10
SubdivisionPrecision → const double
0.0000001

Functions

calcBezier(double aT, double aA1, double aA2) → double
getSlope(double aT, double aA1, double aA2) → double
newtonRaphsonIterate(dynamic aX, dynamic aGuessT, dynamic mX1, dynamic mX2) → double