Module: Tween::Circ::In
- Defined in:
- lib/tween.rb
Class Method Summary collapse
Class Method Details
.ease(t, st, ch, d) ⇒ Object
89 90 91 |
# File 'lib/tween.rb', line 89 def self.ease(t, st, ch, d) -ch * (Math.sqrt(1 - (t/d) * t/d) - 1) + st end |