摘要: 1 var myCanvas = document.querySelector('canvas'); 2 var ctx = myCanvas.getContext('2d'); 3 4 let gridSize = 10; 5 let canvasWidth = ctx.canvas.width; 6 let canvasHeight = ctx.canvas.height; 7 8 let x 阅读全文
posted @ 2020-01-15 16:32 咖啡漩涡 阅读(1452) 评论(0) 推荐(1) 编辑