This commit is contained in:
桜華 2023-07-23 14:32:58 +08:00
parent 17f7d36842
commit 42bf38a863

View File

@ -76,7 +76,6 @@ image.onload = function () {
// 将图像展示到矩阵中
for (var i = 0; i < imgData.data.length && i < 4096; i += 4) {
console.log(i)
matrix.setItem(i / 4, 0, imgData.data[i])
}