Module: Tween::Quad::Out
- Defined in:
- lib/tween.rb
Class Method Summary collapse
Class Method Details
.ease(t, st, ch, d) ⇒ Object
236 237 238 |
# File 'lib/tween.rb', line 236 def self.ease(t, st, ch, d) -ch * (t /= d.to_f) * (t - 2) + st end |