Module: Tween::Quart::In

Defined in:
lib/tween.rb

Class Method Summary collapse

Class Method Details

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



254
255
256
# File 'lib/tween.rb', line 254

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