Module: Moon::Easing::SinusoidalOut

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

Class Method Summary collapse

Class Method Details

.call(k) ⇒ Object


105
106
107
# File 'lib/moon/packages/std/animation/easing.rb', line 105

def self.call(k)
  Math.sin(k * Math::PI / 2)
end