Questions on Bézier curves, curves that are frequently used in computer graphics.

learn more… | top users | synonyms

1
vote
1answer
330 views

How do I restore implied on-curve points in TTF Fonts?

I'm trying to find the coordinates of the implied point p2 using the control points p1 and p3. See here: In the TTF spec they say: Connected quadratic curves have first degree continuity and ...
0
votes
1answer
175 views

Find whether n closed curves intersect

I have a number of closed curves (contours) which I want split into groups of mutually intersecting curves. The contours are made of straight lines and bezier curves. How could I do that? Thanks!
1
vote
1answer
802 views

Finding the parameter of a quadratic Bézier curve for which the tangent passes through a point

I am currently working on a program that requires me to deal with quadratic Bézier curves (basically, I have to take a curve and draw it with a specified thickness). In order to do so, I create two ...
17
votes
6answers
11k views

Is there an explicit form for cubic Bézier curves?

(See edits at the bottom) I'm trying to use Bézier curves as an animation tool. Here's an image of what I'm talking about: Basically, the value axis can represent anything that can be animated (...
1
vote
2answers
667 views

Finding a quadratic Bézier curve of length $l$ between two points

I have two points $P_1$ and $P_2$ in the plane. For each of the points, I have two vectors $v_1$ and $v_2$. I want to find a quadratic Bézier curve from $P_1$ to $P_2$ of length $l$ leaving $P_1$ in ...
7
votes
0answers
978 views

How can I tell when two cubic Bézier curves intersect?

I'm working a little program that converges on vector-based approximations of raster images, inspired by Roger Alsing's genetic Mona Lisa. (I started on this after his first blog post two years ago, ...
10
votes
1answer
3k views

Find points along a Bézier curve that are equal distance from one another

I'm trying to figure out a generic way of determining a series of points on a Bézier curve where all the points are the same distance from their neighboring points. By distance I mean direct distance ...
0
votes
1answer
604 views

getting angle between tangent of Bézier curve and an y axis

(sorry for the draw) I try to get the blue angle , i thought it was easy but... the curve is a Bézier curve. the black dot shows the tangent of D I know position of A B C D. I tried to get the angle ...
1
vote
1answer
171 views

Continuous curve interpolating a list of points

I need a function (a curve -- preferably a simple one) that, given $n$ points of a 2D space ($R^2$) passes (interpolates) through all points in a smooth/continuous way. Found out that what I need is ...
1
vote
1answer
787 views

Given a radius, calculate Bezier curve

For a given radius, theta, and position, can you calculate a Bezier curve?
10
votes
3answers
13k views

Arc Length of Bézier Curves

I posted this on gamedev.stackexchange.com earlier, but I didn't get any answers... and only a few views. EDIT: I've got two answers there (as of now), and I'm investigating them now. How can I find ...
2
votes
0answers
333 views

Can elliptic arc be represented by quadratic Bezier curve?

Can elliptic arc (defined as part of an ellipse, with extent not greater than $90˚$) be represented by quadratic Bezier curve?
6
votes
2answers
5k views

How elliptic arc can be represented by cubic Bézier curve?

If I have an arc (which comes as part of an ellipse), can I represent it (or at least closely approximate) by cubic Bézier curve? And if yes, how can I calculate control points for that Bézier curve?
1
vote
2answers
3k views

Moving along a bezier curve in time T, factoring in acceleration from X to Y

OK, so I got my ships moving along the bezier in time T, now I need to factor in acceleration, but I don't really know how to do it. I'm using the DeCasteljau Algorithm, that's what my code looks ...
1
vote
1answer
468 views

How to calculate a Bézier curve with only start and end points?

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 ...
1
vote
1answer
325 views

Parabola attributes - custom curve?

UPDATE: I feel like my original question was too vague and didn't provide enough information (as others have mentioned). So I'm going to restate it. Purpose: I want to find an equation in order to ...
2
votes
2answers
1k views

bézier to f(x) polynomial function

I've got a 2D quadratic Bézier curve which, by construction, is a f(x) function : no loops, a single solution for each defined x. Is there a common mean to convert this curve to a 3rd degree ...
6
votes
2answers
3k views

algorithm to calculate the control points of a cubic Bezier curve

I have all points where my curve pass through, but I need to get the coordinates of the control points to be able to draw the curve. How can I do to calculate this points?
1
vote
3answers
880 views

Bezier curves algorithm complex yet simple

I've got a path that is made up of multiple points - i.e. 0,0 0,50 50,50 70,20 If I just draw this line on the screen it looks quite harsh as it puts a sharp angle at the joining of each point. ...
6
votes
3answers
2k views

How to approximate/connect two continuous cubic Bézier curves with/to a single one?

I subdivide a cubic Bézier curve at a given t value using de Casteljau’s algorithm, which yields two cubic Bézier curves. Afterwards I “scale” the second curve (proportionally). I’d like to reconnect ...
1
vote
1answer
145 views

Generating bezier handles based on constraints [closed]

I want to try to emulate what this application can do: Given the red round dots (from the mouse) it is able to solve for the bezier handles given that the tension of the curve is set to $0.6$. How ...