dmnsgn / eerp

Logarithmic/exponential interpolation.

Home Page:https://dmnsgn.github.io/eerp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Logarithmic/exponential interpolation.

https://dmnsgn.github.io/eerp/

License:MIT License


Languages

Language:JavaScript 99.2%Language:HTML 0.8%