List of utility methods to do Bezier Curve
double | tangentCubicBezier(double t, double p0, double p1, double p2, double p3) This method calculates tangent of Cubic Bezier Curve. return -3.0 * p0 * (1.0 - t) * (1.0 - t) + 3.0 * p1 * (1.0 - t) * (1.0 - t) - 6.0 * t * p1 * (1.0 - t)
+ 6.0 * t * p2 * (1.0 - t) - 3.0 * t * t * p2 + 3.0 * t * t * p3;
|