彩色沙画html效果随机色 if (isWebGL2) { formatRGBA = getSupportedFormat(gl, gl.RGBA16F, gl.RGBA, halfFloatTexType); formatRG = getSupportedFormat(gl, gl.RG16F, gl.RG
消失的小球鼠标按下随机弹出小球 Ball.prototype.move = function () { this.x = this.speedX; this.y = this.speedY; // 边界判断 if (this.x - this.r = cv.offsetWidth) {