Module: Moon::Easing::ExponentialOut

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

Class Method Summary collapse

Class Method Details

.call(k) ⇒ Object


123
124
125
# File 'lib/moon/packages/std/animation/easing.rb', line 123

def self.call(k)
  k == 1 ? 1 : 1 - 2 ** (-10 * k)
end