Module: Tween::Quad::In

Defined in:
lib/tween.rb

Class Method Summary collapse

Class Method Details

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



230
231
232
# File 'lib/tween.rb', line 230

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