Noncollinear Perpendicular Microcrystalline
Miss any of our Open RFC calls?Watch the recordings here! »

intertween

0.0.26 • Public • Published

InterTween

A value interpolator between to any value with relative support

Minified&Gzipped ~2Kb, but it does almost anything related to interpolate values

size gzipsize CDNJS jsdelivr unpkg npmcdn NPM Version NPM Downloads
NPM

CDN

# unpkg 
https://unpkg.com/intertween
 
# npmcdn 
https://npmcdn.com/intertween
 
# jsDelivr 
https://cdn.jsdelivr.net/npm/intertween

Installing

$ npm install intertween
# or 
$ yarn add intertween

Usage

var InterTween = require('intertween');
var value = InterTween(AnyValue1, AnyValue2);
 
loop_frame(function (elapsed) {
    // elapsed should be between 0...1
    value(elapsed) // InterpolatingValue
});
 

Install

npm i intertween

DownloadsWeekly Downloads

28

Version

0.0.26

License

MIT

Last publish

Collaborators

  • avatar