Module: Moon::Easing::BackIn

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

Class Method Summary collapse

Class Method Details

.call(k) ⇒ Object


231
232
233
234
# File 'lib/moon/packages/std/animation/easing.rb', line 231

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