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?
posted by ijoshua to science & nature (8 answers total) 2 users marked this as a favorite
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?