A Bézier curve is defined by a set of control points P0 through Pn, where n is called the order of the curve (n = 1 for linear, 2 for quadratic, 3 for cubic, etc.). The first and last control points are always the endpoints of the curve; however, the intermediate control points generally do not lie on the curve. Bi = ith control point of the bezier curve. n = degree of the curve. Jn,i(t) = Blending function = C(n,i)ti(1-t)n-i where C(n,i) = n! / i!( n-i)!
Thanks to Freya Holmer for this video: https://www.youtube.com/watch?v=aVwxzDHniEw