Module: Moon::Easing::ExponentialIn

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

Class Method Summary collapse

Class Method Details

.call(k) ⇒ Object


117
118
119
# File 'lib/moon/packages/std/animation/easing.rb', line 117

def self.call(k)
  k == 0 ? 0 : 1024 ** (k - 1)
end