cubicBezierP1 function

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

Implementation

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