Module: Tween::Linear
- Defined in:
- lib/tween.rb
Overview
I know, these are quite messy. I don’t know 100% what’s going on in many of them, but they’re translated from Penner’s ActionScript code which was uncommented and rather indecipherable.
Class Method Summary collapse
Class Method Details
.ease(t, st, ch, d) ⇒ Object
62 63 64 |
# File 'lib/tween.rb', line 62 def self.ease(t, st, ch, d) ch * t / d + st end |