236 237 238
# File 'lib/tween.rb', line 236 def self.ease(t, st, ch, d) -ch * (t /= d.to_f) * (t - 2) + st end