Module: Tween::Cubic::In

Defined in:
lib/tween.rb

Class Method Summary collapse

Class Method Details

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



170
171
172
# File 'lib/tween.rb', line 170

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