[Sharing is so easy] Easing functions
Hi all,
I ported the easing function made by Gregory Taylor from Gen to js, to be able to use them outside the audio world.
Quite useful to augment the line capabilies and/or map parameters usin sin, logarithmic, exponential, and many other.
Input and output are between 0. and 1. to make it easier to use. (Help file is provided).
Guillaume
PS : (Audio versions made by Gregory Taylor are available here : https://cycling74.com/forums/easing-and-tweening-how-to-make-a-tulip/)
EDIT : Download the js + expr version. The other one contain two bugs : "BackEaseOut" and "BackEaseInOut".
Hi Guillaume,
Thanks again !
It's really useful
mathieu
these are calm and relaxing..
life should be easing...
Fab! Thanks for this Guillaume - it's going to save me some processor cycles!
javascript will save yau tons of cycles compared to plain max ... not.
More than the audio versions? I started using those, but found they tipped my patch over the edge AFA processor load goes.
probably not more than audio, no. but still some 20 times more than [expr].
The first post of this thread now has a new zip file, containing expr versions of every easing.
And I corrected two bugs in "BackEaseOut" and "BackEaseInOut".
NOW it can save you tons of processor cycles ! ;-)
Fantastic. Thanks very much Guillaume!