quadraticBezierP1 function

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

Implementation

quadraticBezierP1(t, p) {
  return 2 * (1 - t) * t * p;
}