Quotes help make search much faster. Example: "Practice Makes Perfect"
Sunday, December 30, 2012
Codecademy Sample Solution: Projects Drawing a Circle
var my_canvas=document.getElementById('canvas');
var context=my_canvas.getContext('2d');
context.beginPath();
//.arc(x, y, radius, startAngle, endAngle)
context.arc(100,100,50,0,2*Math.PI);
context.stroke();
No comments:
Post a Comment