CubicBezierP0 function

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

Implementation

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