0
votes
1answer
30 views

Points interpolation for tracking

I have set of points for ex. $A_0 (0,0); A_1 (1,2); A_3 (3,3);$ I need an object to travel between these points during some period of time. I was able to construct this trajectory with Bezier curve ...
0
votes
1answer
52 views

Bezier curves, control points & reparameterization

Given a Bezier curve $\gamma$(t) defined by 3 control points P0 = (-1,4), P1 = (0, 0), P2 = (1, 0) such that the curve lies on the parabola $\ y = (x-1)^2 $. Reparameterize to $\alpha$(t) = ...
2
votes
1answer
83 views

Bézier curves and optimization

I have a very peculiar problem. Assuming that you know how B-Splines or Bézier Curves work, you may also know that if we assume the result of the function, let's say tri-dimmensional, as a position in ...
0
votes
0answers
38 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) ...
1
vote
2answers
148 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 ...
3
votes
1answer
214 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
597 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, ...
2
votes
3answers
303 views

How can I find out 2 unknowns in a cubic equation?

I need to give a bit of a background first, so please bare with me. I have a set of values that represent servo motor position values. By default I end up with a large set of values and I'd like to ...
0
votes
1answer
433 views

Function to represent curve between two 2D points

I need a (simplest) function that interpolates values in range from predefined point $A$ to $B$ with rules: it must be smooth curve direction near $B$ must be the same as predefined $D$ vector ...
0
votes
1answer
275 views

Reconstruct Control points in a Bézier Curve?

I have a curve that I know is a (non-periodic) Cubic Bézier Curve (because I constructed it as such). I stored each ordered pair in the curve, but not the control points. Is it mathematically ...
1
vote
0answers
76 views

How to approximate a trigonometric curve by Bezier curves?

Let me ask how to approximate a trigonometric curve by Bezier curves? Is there any known algorithm? Thank you in advance.
0
votes
0answers
314 views

How to use the cspline formula?

I learned here that cspline is possibly suitable for my problem. Using the formula bellow for a paticular curve I have a problem and let me ask it. $p(t)=(2t^3-3t^2+1)\cdot p(0)+(t^3-2t^2+t)\cdot ...
1
vote
1answer
270 views

How to draw a smooth curve between 2 points given the 2 tangents at them?

Let me ask a question , given 2 points on the XY plane and given the 2 tangents at them, how to compute an arbitrary chosen smooth curve passing the 2 given points. For details, traveling along the ...
6
votes
1answer
4k views

What is the difference between natural cubic spline, Hermite spline, Bézier spline and B-spline?

I am reading a book about computer graphics. It is confusing about the various splines and their algorithms. What is the difference between natural cubic spline, Hermite spline, Bézier spline and ...