bezier-interpolation

0.0.2-alpha • Public • Published

bezier curve interpolation

make it smooth

install

npm install bezier-interpolation

run


const convert = require('bezier-interpolation');
const points = [{ x: 70, y: 120 }, { x: 150, y: 180 }, { x: 270, y: 130 }, { x: 440, y: 170 }, { x: 400, y: 60 }];
const params = convert(points);
console.log(params);

demo

close_graph

open_graph

Package Sidebar

Install

npm i bezier-interpolation

Weekly Downloads

4

Version

0.0.2-alpha

License

ISC

Unpacked Size

106 kB

Total Files

8

Last publish

Collaborators

  • sankooc