Generating Bézier curves from discrete point sets
November 9, 2006 1:56 PM
Subscribe
What is a good algorithm for generating smooth curves from discrete points?
For example, I have a set of time series data. I can easily draw a jagged line by plotting each point and connecting with straight lines. However, I'd like to make a pretty graph with smooth, interpolated lines using cubic or quadratic Bézier curves.
I’ve looked over the
Dojo Charting Engine, which does pretty much what I want, simply calculating the delta along the X-axis, and multiplying by a constant “tension” factor to determine the position of the control points.
Can you point me to any other, similar algorithms?
posted by ijoshua to science & nature (8 comments total)
2 users marked this as a favorite
posted by vacapinta at 2:05 PM on November 9, 2006