I have this iPhone app that has an array containing around 50 to 100 points. How do I calculate the smoothest curve that will fit the points? It can be bezier, cubic, quadratic, whatever. It just have to look smooth and fit as much as possible all points (obviously, as I did in my drawing, to create a smooth curve, some points have to be created out of the original set... no problem).
Can you guys please point me to a code is Objective-C, C or C++?
See an image here, to know what I mean: http://i.stack.imgur.com/UoRQB.png