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

learn more… | top users | synonyms

0
votes
1answer
99 views

Given a control polygon, how do you find a tangent vector at a given point (CAGD, Bezier Curve)?

I am having a hard time with my Computer Aided Graphic Design class. I am presented with the bezier control polygon (in a Mathematica statement): P = Table[{x^2, x^3, 0}, {x, 4,7}] And the ...
1
vote
1answer
136 views

Gradient of a rational Bezier curve

I'd appreciate help working out the gradient of a rational Bezier curve $C = (\,x(t) \,, \,C_y(t) \,)$. I know that the gradient $g$ of a the parametric curve is $$ g(t) = \left( \frac{dy(t)}{dt} ...
0
votes
0answers
236 views

How To Calculate Control Points of a Cubic Bezier Curve from Boundary Conditions

I need to calculate the control points $P_1$ and $P_2$ of a cubic bezier curve such that the enclosed area of the resulting curve equals zero (see picture). The points $P_1$ and $P_2$ must be located ...
0
votes
2answers
57 views

How to create a nice sky route

I'm trying to find a nice algorithm to trace a sky route between 2 points of a planet. Here is where I am : https://dl.dropboxusercontent.com/u/17657227/migrationGlobe/index.html (or here ...
2
votes
0answers
42 views

Is there anything interesting about this figure constructed from a set of points and their barycentre?

Playing with the TikZ package for (La)TeX, I made a nice figure. Well, I think it is nice, anyway. You can ignore the distracting colours and the concentric circles, they are not important for this ...
0
votes
1answer
24 views

Degree elevation of weighted Bezier curve to an arbitrary degree

Following on from a past question about degree elevation of a rational Bezier curve, of degree $n$ by one to $n + 1$, I am now looking to derive a single expression for degree elevation by an ...
0
votes
0answers
19 views

How to find new co-ordinates for points on a line dragged as a bezier curve.

I have a line with a set of points. I captured the start point and the end point of the line and found two control points for a bezier curve using the linear parametric equation. I construct the ...
0
votes
0answers
19 views

Draw a parallel bezier curve [duplicate]

This may be a duplicate of Control points of offset bezier curve but I am not quite able to say so. Also, the answers linked there are just one level more abstract than is helpful to my limited ...
1
vote
1answer
95 views

How to apply perspective transform to Bezier curve?

I found that both Bezier curves and B-splines are described with a formula $p(t)=\sum\limits_{i=0}^d B^i_m p_i$ but in the case of B-splines $B^i_m$ are B-spline blending functions, while for Bezier ...
0
votes
0answers
39 views

Spline interpolation problem akin to Bezier spline

Given three pairwise distinct points $p_1, p_2, p_3 \in \mathbb{R}^2$, I'd like to find a function $f: \mathbb{R} \to \mathbb{R}^2$ with at least $f \in C^1$ such that $f(0) = p_1, f(1) = p_3, f'(1) ...
2
votes
1answer
398 views

Find value of '$t$' at a point on a cubic Bezier curve

I have a cubic Bezier curve, and I need to divide it and create same curve between point on the original curve and the end point of the original curve. From my research, I found the DeCasteljau ...
0
votes
1answer
43 views

Showing that Bezier curve length is less than its control polygon

This is a homework and pardon me for the huge gap of my Mathematics knowledge. After thinking and referencing for a few days I came up with something like following, appreciate help to comment whether ...
0
votes
1answer
756 views

how to calculate the normal vector for a bezier curve

Say we have a cubic Bezier curve (so 4 control points) named Q. I understand how to calculate the tangent at by taking the derivative of Q and substituting but i'm not sure how to calculate the normal ...
0
votes
1answer
150 views

Degree elevation of weighted Bezier curve

I'm having difficulty understanding the derivation of the formula for degree elevation of a weighted Bezier curve given here. The only information that's given is to project a Bezier curve info affine ...
7
votes
5answers
252 views

Parabolas through three points

We can draw an infinite number of parabolas that pass through three given points $A$, $B$, $C$ (in that order). For each such parabola, we take the tangent lines at $A$ and $C$, and intersect them to ...
1
vote
3answers
484 views

Formula to get a control point closest for a given point what belongs to this quadratic curve

We have a quadratic bezier curve, with control point A (red start), control point B (red end), and yellow point X what belongs to the curve and what you actually "drag" - so it should be the closest ...
0
votes
1answer
266 views

Find angle at point on bezier curve

I have two end points and two control points. I am using these points and this link. i have found a point on bezier curve. Now i would like to find angle at this point on bezier curve. Is there any ...
0
votes
1answer
128 views

X-axis coordinates of outer control points (only) for a Quadratic Bézier curve through 3 points

I am interested in the distance between the 2 outer (left & right: P0 & P2) control-points of a quadratic Bézier curve that goes through 3 data points. The curve's non-equidistant control ...
0
votes
1answer
39 views

Subdividing a Bézier patch

I have a tensor-product Bézier patch and I want to subidivide this adding a curve inside the patch, which creates two rectangular subpatches. I found that the following statement holds: "if we ...
1
vote
1answer
112 views

How to calculate and curved line from given parameters.

Given the distance from the start to the end of an arc $d$, the maximum height of the arc $h$ and some control point to define the type of curve $c$ How might one calculate points on a curve? E.G. ...
2
votes
2answers
942 views

Control points of offset bezier curve

If I have a cubic Bezier segment specified by two endpoints and two control points, how can I find an offset curve which is "parallel" to the original at some given distance, after i have determined ...
0
votes
1answer
36 views

I have a function which depends on four parameters and a target value, how can I discover the value for the four parameters that hits my target value?

So I have an equation: $$F(s,t,u,v)=A$$ Where $A$ is some given value. Is there an iterative method to discover the four parameters that will obtain my given $A$? If it helps, my function $F$ is a ...
3
votes
4answers
2k views

Is it possible to build a circle with quadratic Bézier curves?

i'm searching for a curve type with a minimum of functionality and maximum of usability. I run into quadratic Bézier curves and i wonder, if its possible to draw a circle with it.
0
votes
1answer
52 views

algorithm for Bezier curve with eleven control points

I would like to know the algorithm/ polynomial equation for a Bezier curve with eleven control points. Thanks in advance.
0
votes
1answer
475 views

Intersection of cubic bezier curve and circle

Let $B$ be a cubic Bézier curve with control points $P_0,P_1,P_2,P_3 \in \mathbb{R}^2$, and $C$ be a circle with center $P_C$ and radius $r$. How can I find all intersections of $B$ and $C$? Is ...
1
vote
2answers
151 views

What's the best way to calculate all of the points for a curve given only a few points?

I've been reading up on curves, polynomials, splines, knots, etc., and I could definitely use some help. (I'm writing open source code, if that makes a difference.) Given two end points and any ...
0
votes
1answer
84 views

Link points on a bicubic bezier patch

A bicubic bezier patch is defined by 16 control points. Given two points both lying on the patch boundaries, I think that if you link the two points you will end up with a cubic bezier curve in 3D. Is ...
1
vote
0answers
31 views

Bézier curves as portions of algebraic curves

Can every Bézier curve of any degree be defined as the algebraic (polynomial) curve of which it is a part and it's endpoints? If some Bézier's (such as those of degree $n$ or greater) cannot be ...
1
vote
1answer
1k views

Convert a B-Spline into Bezier curves

I have a B-Spline curve. I have all the knots, and the x,y coordinates of the Control Points. I need to convert the B-Spline curve into Bezier curves. My end goal is to be able to draw the shape on ...
1
vote
1answer
211 views

What is the general formula for NURBS curves?

Give me the general mathematical formula for NURBS curves, with special cases (B-spline and Bézier curves)
0
votes
1answer
108 views

Solving a Cubic Function

Can someone help me find my solution(s) to this cubic equation? x = a(1-t)^3 + 3bt(1-t)^2 + 3c(1-t)t^2 + dt^3 Where: ...
1
vote
1answer
67 views

Bezier curve, X position of reference points outside [Xstart, Xend]

Not quite sure whether this belongs here or on stackoverflow, but considering it's about the formula itself and not the implementation I'm placing it here. I'm required to implement bezier curves in ...
1
vote
1answer
693 views

Finding a point on a bezier surface using De Casteljau's algorithm

Given $16$ control points $(x,y,z)$ of a bicubic bezier patch, how do I use De Casteljau's algorithm to generate a point $(s,t) = (0.5, 0.2)$ on the surface? As far as I understand, this kind of ...
3
votes
1answer
216 views

Curve through four points — simple algebra??

The motivation for this is Bezier curves. But, if you don't know what these are, you can skip down to the last paragraph, where the problem is described in purely algebraic terms. Suppose I want to ...
0
votes
2answers
676 views

Forcing Bezier Interpolation

I found this very informative site that discusses forcing bezier interpolation and the site gives formulae for calculating the control points so that the curve goes through a set of four points, y0, ...
1
vote
0answers
34 views

Equation for bezier curve [duplicate]

I have a cubic bezier curve ; whose 1st anchor-point is (a,b) 1st control-point is (c,d) , 2nd control point is (e,f) and 2nd anchor-point is ( g,h ); Now I want an equation in x and y format; so ...
0
votes
1answer
1k views

Is it possible to convert a B-Spline into a Bezier curve?

If so, do I lose any feature of the curve?
1
vote
0answers
337 views

Relation between Hermite interpolation and Bezier curve

I will really appreciate if someone can explain me the relation between Hermite interpolation and Bezier Curve. For example, $p(0)=1,p(3)=2,p'(0)=1,p'(3)=1$, how do we do the Hermite interpolation? ...
1
vote
0answers
61 views

I came across a paradoxical situation when applying Casteljau algorithm

The example is like this: Given 3 points $p(0)=2,p(1)=1,p(3)=1$.The question asks us to apply the Casteljau algorithm to evaluate the Bezier curve b(u) for the given Bezier polygon at $u=2$. I did the ...
1
vote
1answer
271 views

Relation between Bezier Curve, Bernstein polynomial and control polygon

I am currently learning numerical method and I am somehow confused about the Bezier Curve, Bernstein polynomial and control polygon. For example, if we have a curve $p(u)=-12u^2+12u+1$,and we want to ...
3
votes
1answer
297 views

Understanding the Spiro Spline

My name's Wray. This is my first time here. Firstly, I like curves. I've been keeping a pet project for a long time that would implement a delightful new curve-interpolation algorithm named the Spiro ...
2
votes
1answer
492 views

Intersect a line with a bicubic Bezier Surface Patch.

This question mentions Bezier surfaces, but doesn't go into any detail. How do you going about finding the intersection between a line, $E_{pos} + E_{dir}*t$ and a Bezier surface patch, $P = $ ...
1
vote
1answer
1k views

Length of bezier curve with Simpson's rule

I wish to approximate the length of a Bézier curve in a 2D plane. I could do this iteratively – and may – but I want to experiment using Simpson's rule. I am not sure how to set this up and could use ...
0
votes
1answer
848 views

Convert segment of parabola to quadratic bezier curve

How do I convert a segment of parabola to a cubic Bezier curve? The parabola segment is given as a polynomial with two x values for the edges. My target is to convert a quadratic piecewise ...
1
vote
1answer
105 views

How to combine bezier curves to a surface?

My aim is to smooth the terrain in a video game. Therefore I contrived an algorithm that makes use of bezier curves of different orders. But this algorithm is defined in a two dimensional space for ...
2
votes
2answers
102 views

Duplicate quadratic Bézier curve with new start point?

I have Bézier curve as shown by the wikipedia gif here: I would like to create a new curve that is a segment of the old one. For example, in this gif (from the same article): .. if I wanted B to ...
2
votes
1answer
1k views

Approximate arc length of cubic bezier curve?

I want to divide a cubic bezier curve, with 4 points, start, end and 2 control points, into segments that are not bigger then a certain distance. So, am looking for a computationally quick way to ...
1
vote
1answer
839 views

Find coordinates of equidistant points in Bezier curve

I have to find points (say 10 points) in Bezier curve with 2 control points such that they are at equidistant positions in the curve. Currently I am using the following formula which gives me points ...
1
vote
1answer
441 views

Bezier Curves and Acceleration

So I'm working on a program that graphs a bezier curve by manipulating the control points. This curve represents the velocity of something over time; I also want the option manipulate it all in terms ...
2
votes
1answer
174 views

Equation for subsection of Bezier curve

Say I have a cubic Bezier curve, with a starting point s, an ending point e and control points ...