On Friday, August 5, 2011 12:03:40 PM UTC-4, niko20 wrote:
>
> You could increase the number of points just before actually drawing 
> by first doing a cubic interpolation. A "lineTo" is a linear 
> interpolation which is not what you want. A cubic interpolation will 
> give you more of a curve shape. So take your ten points, and 
> interpolate extra points between each of those, and then once you have 
> enough points, then pass that to lineTo(). It will still draw straight 
> lines but they will be smoothed out from having more data points to 
> work with. 
>
>
Hello Niko, I too am interested in implementing something like this down the 
road.  Do any known Android APIs provide this interpolation, or are there 
any good resources you can refer us to as far as how to interpolate 
efficiently the extra points? Is this basically catmull-rom splines?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to