interpolation-arrays
This module will interpolate between many values in an Array.
Example:
var numberValuesToInterpolate = 0 1 2 ; var arrayPointValuesToInterpolate = 0 0 1 1 2 2 ; var objectPointValuesToInterpolate = x: 0 y: 0 x: 1 y: 1 x: 2 y: 2 ; var numberInterpolate = numberValuesToInterpolate ;var arrayPointInterpolate = arrayPointValuesToInterpolate ;var objectPointValuesToInterpolate = objectPointValuesToInterpolate ; console; // 1console; // 1.5 console; // [ 1, 1 ]console; // [ 1.5, 1.5 ] console; // { x: 1, y: 1 }console; // { x: 1.5, y: 1.5 }