Module: Tween::Quint::In

Defined in:
lib/tween.rb

Class Method Summary collapse

Class Method Details

.ease(t, st, ch, d) ⇒ Object



278
279
280
# File 'lib/tween.rb', line 278

def self.ease(t, st, ch, d)
  ch * (t /= d.to_f) * t * t * t * t + st
end