Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cubicbezier

MrRaindrop160.1.2

function to generate cubicbezier lines.

lib, cubicbezier

readme

cubicbezier

function to generate cubicbezier lines.

usage

var bezier = new lib.cubicbezier(
    .25, // x1
    .1,  // y1
    .25, // x2
    1    // y2
);

bezier(0.5) // 0.8024033876954125