From 1321af0bc1c44ce468925d48df1d0bfbe136134f Mon Sep 17 00:00:00 2001 From: leca Date: Mon, 31 Jul 2023 16:48:16 +0300 Subject: [PATCH] cleanup code --- index.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.html b/index.html index 3a9d6e0..c27cae0 100644 --- a/index.html +++ b/index.html @@ -49,9 +49,6 @@ if (y == 0) 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); for (let l = 0; l < 5; l ++){ imgData.data[pixelNumber + 0] = rgbColor.r;