Update script.js

This commit is contained in:
Aldess 2023-11-25 18:47:52 +01:00 committed by GitHub
commit fd8b60e84a

View file

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