Chanel Logo
Chanel Logo
//BezierCurve
ctx.beginPath();
ctx.moveTo(180, 180); //ctx.moveTo(x, y);
ctx.bezierCurveTo(350, 20, 650, 450, 180, 380); //ctx.bezierCurveTo(controlx1, controly1, controlx2, controly2, endx, endy);
ctx.stroke();
//BezierCurve
ctx.beginPath();
ctx.moveTo(580, 180); //ctx.moveTo(x, y);
ctx.bezierCurveTo(450, 20, 110, 450, 580, 380); //ctx.bezierCurveTo(controlx1, controly1, controlx2, controly2, endx, endy);
ctx.lineWidth=30;
ctx.stroke();
Comments
Post a Comment