According to the tutorial, you're supposed to wrap your ctx.drawImage() inside img.onload like so function draw() { var ctx = document.
確定! 回上一頁