-1

I am trying to use Bezier curves to plot a path. After conducting some research, I decided to use Bezier curves. I have both the starting point and endpoint as a given. However, the endpoint is a corner point of a line. Thus, I am technically connecting a given starting point to a line that intersects it at the given endpoint. The problem I am facing is that the intersection between the Bezier curve and the line is not smooth.

Note: I am using a cubic polynomial.

1 Answers1

3

A bezier curve is tangent to the line between the control points and endpoints. In other words, if you put your control point on the extension of the horizontal line, the curve will be tangent to it at the endpoint and you'll have a smooth result.

Tangent: tangent

Not tangent: enter image description here

dominicm00
  • 1,490
  • 10
  • 22