#Calculations behind bezier animations

2 messages · Page 1 of 1 (latest)

lilac star
#

Hey, so I need to animate a value in my code given a percentage of the way though the animation. I need it to start slow, speed up, then slow down again at the end but need to use maths instead of predefined functions which would normally be available. Say I wanted to transition between 0 and 500 with ease in and out, how do I find the current value between 0-500 given I am X percent through the animation?