var ctx,canvas,timer,isstart,count,step,bun,yrad,krad; window.onload=function(){ var a; canvas = document.getElementsByTagName('canvas')[0], ctx = canvas.getContext('2d'); canvas.width=canvas.height=400; ctx.fillRect(0,0,400,400); gime=ctx.getImageData(0,0,400,400); ctx.globalCompositeOperation = "lighter"; ctx.strokeStyle=a="hsla(222,70%,50%,0.5)"; ctx.fillStyle=a; bun=["正方形を回転させます", "時間を適当な値で割った