New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

interpolation

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interpolation

Linear and Hermite interpolation functions.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
164
-24.42%
Maintainers
1
Weekly downloads
 
Created
Source

browser support

interpolation

stable

Wraps two common interpolation functions: lerp (linear interpolation) and smoothstep (Hermite interpolation).

npm install interpolation

Use:

var lerp = require('interpolation').lerp;
var smoothstep = require('interpolation').smoothstep;

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

License

MIT.

Keywords

lerp

FAQs

Package last updated on 30 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts