画不出来啊啊啊啊啊 哪个宝宝能帮我看下
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<script>
window.onload=function(){
var canvas=document.getElementById("canvas")
canvas.width=800;
canvas.height=600;
var context=canvas.getContext("2d");
context.beginPath();
for(var i= 0;i<5;i++){
context.lineTo(Math.cos((18+i*72)/180*Math.PI)*300+400,
-Math.sin((18+i*72)/180*Math.PI)*300+400);
context.lineTo(Math.cos((54+i*72)/180*Math.PI)*150+400,
-Math.sin((54+i*72)/180*Math.PI)*150+400);
}
context.closePath();
}
</script>
</body>
</html>