chiro-canto/node_modules/lerp
2021-04-07 13:17:37 +02:00
..
.npmignore Added redish hot spectrogram colorMap 2021-04-07 13:17:37 +02:00
.travis.yml Added redish hot spectrogram colorMap 2021-04-07 13:17:37 +02:00
index.js Added redish hot spectrogram colorMap 2021-04-07 13:17:37 +02:00
LICENSE.md Added redish hot spectrogram colorMap 2021-04-07 13:17:37 +02:00
package.json Added redish hot spectrogram colorMap 2021-04-07 13:17:37 +02:00
README.md Added redish hot spectrogram colorMap 2021-04-07 13:17:37 +02:00

lerp

Build Status frozen

In the fashion of small modules and saving keystrokes; this is a bare-bones linear interpolation function. Same as mix in GLSL.

var lerp = require('lerp')

var res = lerp(a, b, t);

Usage

NPM

lerp(start, end, alpha)

Interpolates from start to end using the given alpha.

License

MIT, see LICENSE.md for details.