QuadraticBezierP0 function

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

Implementation

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