我的画布上应该有一个圆圈以及我的汽车和背景。
我的代码在 jsbin 上:
http://jsbin.com/hagavoyuwu/3/edit
不工作的圈子的代码是:
function drawcircle(){
context.beginPath();
context.arc(100,75,50,0,2*Math.PI);
context.stroke();
}
我的画布上应该有一个圆圈以及我的汽车和背景。
我的代码在 jsbin 上:
http://jsbin.com/hagavoyuwu/3/edit
不工作的圈子的代码是:
function drawcircle(){
context.beginPath();
context.arc(100,75,50,0,2*Math.PI);
context.stroke();
}