cleanup code

This commit is contained in:
leca 2023-07-31 16:48:16 +03:00
parent 7a1537ddfa
commit 1321af0bc1
1 changed files with 0 additions and 3 deletions

View File

@ -49,9 +49,6 @@
if (y == 0) if (y == 0)
pixelNumber = x pixelNumber = x
// for (let l = 0; l < 5; l ++)
// for (let i = 0; i < 4; i ++)
// imgData.data[pixelNumber+i] = 127
let rgbColor = hexToRgb(currentColor); let rgbColor = hexToRgb(currentColor);
for (let l = 0; l < 5; l ++){ for (let l = 0; l < 5; l ++){
imgData.data[pixelNumber + 0] = rgbColor.r; imgData.data[pixelNumber + 0] = rgbColor.r;