Draw a quadratic Bézier curve through three given points
Let P0, P1, P2 be the control points, and Pc be your fixed point you want the curve to pass through. Then the Bezier curve is defined by P(t) = P0*t^2 + P1*2*t*(1-t) + P2*(1-t)^2 …where t goes from zero to 1. There are an infinite number of answers to your question, since it might … Read more