1
$\begingroup$

This animation from Wikipedia shows basically what I want to accomplish, however - I'm hoping to have it flipped around, where it starts progressing more towards the destination and "up" (in this image), and then arcs more directly to the end point. However, I only have access to a starting point and ending point, what I am hoping to do is be able to determine the other points by specifying a "height" (or width, whatever you want to call it), to determine how high the arc actually goes.

Bézier from wikipedia

Help or direction would be appreciated.

  • 1
    Can you post a sketch of what you are trying to accomplish? Also, you could look into [quadratic Bézier curves](http://www.spaceroots.org/documents/ellipse/node11.html).2010-10-28
  • 0
    Well, a (cubic) Bézier requires four points, so as it stands, you still have two degrees of freedom for your problem. You might have to think about how to position those other two points to get what you want.2010-10-28
  • 0
    http://en.wikipedia.org/wiki/B%C3%A9zier_curve#Generalization In a parametric equation, $x=B(t)$, and $y=B(t)$2010-10-28
  • 0
    If I'm reading this correctly, he wants a cubic bezier identical to the one in the picture but reflected across the $y$ axis, and scaled vertically (fixed at the start and end points). He wants to be able to have the two other points in the bezier a function of the height (vertical scale) of the curve.2010-10-28

1 Answers 1

1

I had a related problem, where I knew the four points (start, end, two control points) and needed to generate the height (which it turns out is called the Sagitta). Here's my question:

Find sagitta of a cubic Bézier-described arc

My maths isn't strong enough to work it backwards, but you may be able to decode it from one of the very helpful answers there.

  • 0
    I suspect that in the past 7 months the OP has either solved his problem or moved on.2011-05-23