Module: Moon::Easing::CircularOut

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

Class Method Summary collapse

Class Method Details

.call(k) ⇒ Object


149
150
151
# File 'lib/moon/packages/std/animation/easing.rb', line 149

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