xxxxxxxxxx
18
let catImg;
let cat;
function preload() {
cat = loadImage('cat.jpg');
}
function setup() {
createCanvas(400, 400);
cat = loadImage('cat.jpg');
// createImg('cat.jpg');
}
function draw() {
background(220);
image(cat,0,0)
}