Skip to main content
1 of 2
Joseph O'Rourke
  • 150.9k
  • 36
  • 358
  • 958

You could connect the two endpoints with a cubic Bézier curve, which achieves 1st- and 2nd-derivative continuity at the endpoints ($P_0$ and $P_3$ in the illustration below).


      [![Bezier][1]][1]
      (Image from [CartouCHe](http://www.e-cartouche.ch/content_reg/cartouche/graphics/en/html/Curves_learningObject2.htmlrl).)
Joseph O'Rourke
  • 150.9k
  • 36
  • 358
  • 958