interpolator_
v1.0.2
Published
a intepolator for serval numbers
Downloads
2
Readme
interpolator
a interpolator for serval numbers
Installation
npm install interpolator.js
Usage
var interpolator = require('interpolator.js')
var result = intepolator([{ x: 3, y: 14 }, { x: 8, y: 22 }], 7, 1.5)
Parameters
- A list of two point with x and y values
- X value of the target value
- Interpolation base value