smooth-path
Smothes a flat number array path using Chaikins Algorithm
smoothPath(path)
Usage
var smoothPath = ; var path = 0 0 20 20 15 15 60 50 ; var result = ; // result: [ 5, 5, 15, 15, 18.75, 18.75, 16.25, 16.25 ]
License
MIT, see LICENSE