Module: Tween::Back::In
- Defined in:
- lib/tween.rb
Class Method Summary collapse
Class Method Details
.ease(t, st, ch, d, s = 1.70158) ⇒ Object
146 147 148 |
# File 'lib/tween.rb', line 146 def self.ease(t, st, ch, d, s=1.70158) ch * (t/=d) * t * ((s+1) * t - s) + st end |