A quadratic Bézier curve is the path traced by the function B(t), given points P_0, P_1, and P_2.
Aryanna Fisher
Answered question
2022-11-19
Quadratic Bézier curve points A quadratic Bézier curve is the path traced by the function B(t), given points , , and .
What exactly is or or concerning this equation? Yes they are points. But in my understanding, a point is a pair of numbers (in 2D-space). Let , and . What values do you use (and where)? How do you calculate the Bezier Curve for these points?
Answer & Explanation
lavarcar2d2
Beginner2022-11-20Added 18 answers
Step 1 You can use standard operations on points in natural ways. Adding (or subtracting) two points: = Multiplying (or dividing) a point by a number: . The Bézier curve uses only the standard numerical operators and these two additional abilities. Step 2 an example, using your data.
Applying multiplication:
And addition:
then we can handle it by components by multiplying and adding some more:
Usually you won't see it shown this way, though: The operations described above are considered already natural and straightforward.
pighead73283r
Beginner2022-11-21Added 5 answers
Step 1 Generally, the formula should read (for your special case, the quadratic,
In a 2-dimensional environment, with control points ,
You would need TWO instances of the formula: one for each dimension. The first instance would utilize the x parts of your given control points in place of the Ps. The second instance would utilize the y parts. For each value of t, the two values yielded by these TWO instances would constitute the two coördinates for each point of your desired Bézier curve. Clear, I hope? Step 2 For your example we need two coördinates for each of your given points. I have assigned each coördinate a name, as follows:
For each value of t, the corresponding point of your desired curve is where