cubic-interp
Cubic interpolation function as implemented by Jason Bevins in libnoise.
Installation
$ npm install --save cubic-interp
Usage
var cubicInterp = ; var values = n0: 1 n1: 5 n2: 8 n3: 10; var alpha = 05; ;
Project Setup
This project uses typescript as its build system.
- Install dependencies:
$ npm i && npm run typings
- Build:
$ npm run build
Testing
This project is using mocha for unit testing.
- Compile and run tests:
$ npm run build+test
- Watch:
$npm run watch
License
LGPL v2.1