Skip to content

Latest commit

 

History

History
executable file
·
15 lines (9 loc) · 287 Bytes

README.md

File metadata and controls

executable file
·
15 lines (9 loc) · 287 Bytes

catmull-rom-interpolator

Function for interpolating polygons and lines using Catmull-Rom splines.

Installation

npm install catmull-rom-interpolator

Usage

var cri = require('catmull-rom-interpolator');
cri(xyCoordinates, alpha, nPoints, isPolygon );

Tests

'npm test'