Skip to content

Instantly share code, notes, and snippets.

Sakyaer sakyaer

Block or report user

Report or block sakyaer

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sakyaer
sakyaer / bezier.js
Created May 16, 2016 — forked from LiuJi-Jim/bezier.js
De Casteljau Bezier
View bezier.js
function DeCasteljauBezier(points, density, step){
//if (points.length < 3) return null;
console.time('bezier');
var ps = points.map(function(p){
return {
x: p.x,
y: p.y
};
}),
results = [],
You can’t perform that action at this time.