Update script.js
This commit is contained in:
parent
1c15057ddc
commit
fd8b60e84a
1 changed files with 2 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue