cubicBezierP0 function

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

Implementation

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