/eerp

Logarithmic/exponential interpolation.

Primary LanguageJavaScriptMIT LicenseMIT

eerp

npm version stability-stable npm minzipped size dependencies types Conventional Commits styled with prettier linted with eslint license

Logarithmic/exponential interpolation.

paypal coinbase twitter

Based on Freya Holmér naming and Scott Lembcke' Logarithmic Interpolation.

Installation

npm install eerp

Usage

import eerp from "eerp";

const i = eerp(a, b, t);

API

eerp

eerp(a, b, t) ⇒ number

Logarithmic/exponential interpolation

Kind: Exported function

Param Type Description
a number Start
b number End
t number Interpolant

License

MIT. See license file.