|
![](/i/fill.gif) |
Lars Rohwedder <rok### [at] gmx de> wrote:
> Now I want a formula f(t) that returns a "smooth path" going through all
> these points.
Then what you want is probably this:
http://en.wikipedia.org/wiki/Centripetal_Catmull%E2%80%93Rom_spline
(It links to some example implementations.)
You could also achieve it by drawing a bezier curve between each pair
of points, but in that case you need to generate the two control points
between them. (This, in fact, gives you more control over the curvature
of the spline, and even its tangent at each point.)
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |