Bezier curves and equally distributed parametric points (easy ?)

AI Thread Summary
The discussion centers on using Bézier curves to control the motion of a robot, focusing on converting time parameter 't' into a speed parameter 's' for better velocity control. While this approach works well for linear Bézier paths, challenges arise with higher-degree Bézier curves, where parametric points become unevenly distributed, causing variable speeds along the path. The user seeks a method to compensate for this uneven distribution, possibly through an inverse function applied to 't'. A reference to a relevant PDF from a game programming forum is shared, which may provide insights into achieving consistent speed along the curve. The conversation highlights the need for a mathematical solution to ensure smooth motion across varying curve degrees.
Nikarasu M
Messages
17
Reaction score
0
Hello,

I am an amateur developing the math to describe the motion of a robot of sorts.

At this stage I'd like to use http://en.wikipedia.org/wiki/Bézier_curve" as user input to describe the motion path/s that it will make over time... (imagine it sitting flat on the cartesian 'floor')

I'd first convert the free parameter 't' (time) into another parameter say 's' (speed) via a function of t so the user can have control over the velocity/accel of the robot throughout its traversing of the Bezier curve.. ('t' would tick away as usual and the 's' would actually be the free parameter).

This will work nicely with linear Bezier paths as if you use equal increments of 't' then the parametric points on the linear path are also equally distributed - this means my new 's' should translate perfectly onto the path also.

Problem comes when I want to use Bezier curves of higher than degree two...

The points as you traverse along the path become distributed unequally, with more 'resolution' or bunching around the apex (in the case of a parabola/degree two quadratic Bezier), which will translate into slower motion around this area. :zzz:

I'd like to know how to compensate for this exactly, some sort of inverse function that needs to be applied to 't' ?? ... similar to what I wanted to do with it to convert it into 's', but before doing so in that there would now actually be a function upon a function ...

I imagine maybe if I gave it a crack something to do with the http://en.wikipedia.org/wiki/Arc_length" might help, but am guessing/hoping that this problem has already been solved or another way of thinking about it might help ...

any ideas ?

Hope I am making sense ! (?)

Nick
 
Last edited by a moderator:
Mathematics news on Phys.org
woah,

nice - looks good~!

thanks
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Replies
39
Views
4K
Replies
5
Views
4K
Replies
2
Views
2K
Replies
4
Views
22K
Replies
11
Views
4K
Replies
4
Views
4K
Replies
2
Views
2K
Replies
3
Views
2K
Back
Top