canvas.appendChild(svg);
还有这种写法? 不用document.getElementById ?
视频中的 canvas不是<canvas></canvas> 而是 <div id='canvas'></div>。