test commit

This commit is contained in:
SallarShayegan
2025-02-07 17:47:30 +01:00
parent f9b57cd884
commit c940633eac

View File

@ -1,6 +1,6 @@
let img; let img;
// Load the image. // Load the image
function preload() { function preload() {
img = loadImage('/assets/mona-lisa.jpg'); img = loadImage('/assets/mona-lisa.jpg');
} }
@ -8,7 +8,7 @@ function preload() {
function setup() { function setup() {
createCanvas(400, 400); createCanvas(400, 400);
// Display the image. // Display the image
img.resize(0, 400); img.resize(0, 400);
image(img, 0, 0); image(img, 0, 0);