We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › Easy curve based Interpolation Class
Page Index Toggle Pages: 1
Easy curve based Interpolation Class (Read 1061 times)
Easy curve based Interpolation Class
Dec 12th, 2009, 11:46am
 
I'm working on smooth interpolation for my game engine's camera library and just finished a class to allow easy interpolation. I admit, the class code's not perfect, but if anyone has any tweaks or improvements, please let me know.

So far this class supports interpolating based on 13 different curves. You can see graphs of the interpolation curves, see the source and play with my advanced demo applet here: http://duodec.net/code/smoothMove/

A simpler demo can be found here: http://duodec.net/code/funkyClock/

What do you think?
Re: Easy curve based Interpolation Class
Reply #1 - Dec 13th, 2009, 6:20am
 
Nice.. I'll look at using sinOut in one of my projects that just uses a Linear.
Page Index Toggle Pages: 1