摘要:
JS代码 var staticx; var img = new Image(); img.src = "";//图片资源填入此处 //定义樱花 function Sakura(x, y, s, r, fn) { this.x = x; this.y = y; this.s = s; this.r = 阅读全文
摘要:
var canvas = document.getElementById("cas"); var ctx = canvas.getContext("2d"); resize(); window.onresize = resize; //定义画布大小的函数 function resize() { ca 阅读全文