Module: Moon::Easing::CircularIn

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

Class Method Summary collapse

Class Method Details

.call(k) ⇒ Object


143
144
145
# File 'lib/moon/packages/std/animation/easing.rb', line 143

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