652aad4bly1g4gjxj3pr8j20u0140npe.jpg

Hi.

Welcome to my blog. This is Shinainai . I am a programmer . I live in California.I love art! I love STEM! Hope you have a nice stay!

HTML5 Canvas Tutorial9 - Curves

HTML5 Canvas Tutorial9 - Curves

Methods

Bezier and quadratic curves

quadraticCurveTo(cp1x, cp1y, x, y) :draws a quadratic Bézier curve from the current pen position to the end point specified by xand y, using the control point specified by cp1x and cp1y.

bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y) :draws a cubic Bézier curve from the current pen position to the end point specified by x and y, using the control points specified by (cp1x, cp1y) and (cp2x, cp2y).

Drawing + Coding = Christmas Tree

Drawing + Coding = Christmas Tree

HTML5 Canvas Tutorial8 - Eclipses

HTML5 Canvas Tutorial8 - Eclipses