diff --git a/sketch.js b/sketch.js index 329f5ce..0ae83e7 100644 --- a/sketch.js +++ b/sketch.js @@ -1,6 +1,6 @@ let img; -// Load the image. +// Load the image function preload() { img = loadImage('/assets/mona-lisa.jpg'); } @@ -8,7 +8,7 @@ function preload() { function setup() { createCanvas(400, 400); - // Display the image. + // Display the image img.resize(0, 400); image(img, 0, 0);