Module: Moon::Easing::QuarticOut

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

Class Method Summary collapse

Class Method Details

.call(k) ⇒ Object


61
62
63
# File 'lib/moon/packages/std/animation/easing.rb', line 61

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