Update script.js

This commit is contained in:
Aldess 2023-11-24 12:07:14 +01:00 committed by GitHub
commit 192cc73c9d

View file

@ -49,8 +49,8 @@ function placePixel(index, color) {
// Create the canvas
const canvasDiv = document.getElementById('canvas');
const canvasWidth = 50;
const canvasHeight = 50;
const canvasWidth = 100;
const canvasHeight = 100;
function createCanvas() {
for (let i = 0; i < canvasWidth * canvasHeight; i++) {