Bézier curve: cubic spline

p(t) = (1 - t)³ a + 3(1 - t)²t c1 + 3(1 - t)t² c2 + t³ b,    0 ≤ t ≤ 1

Drag the points!