Module: Moon::Easing::BackOut

Defined in:
lib/moon/packages/std/animation/easing.rb

Class Method Summary collapse

Class Method Details

.call(k) ⇒ Object


238
239
240
241
# File 'lib/moon/packages/std/animation/easing.rb', line 238

def self.call(k)
  s = 1.70158
  (k-=1) * k * ((s + 1) * k + s) + 1;
end