CubicBezierP1 function

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

Implementation

CubicBezierP1(t, p) {
  var k = 1 - t;
  return 3 * k * k * t * p;
}