Function interpolator

Interpolate cubic or quadratic bezier

const i = interpolator(myBezier);

// Get point at 50%
i(0.5); // { x, y }