cubicBezierP2 function

dynamic cubicBezierP2(
  1. dynamic t,
  2. dynamic p
)

Implementation

cubicBezierP2(t, p) {
  return 3 * (1 - t) * t * t * p;
}