xxxxxxxxxx
16
let picture;
function preload() {
picture = loadImage("samoyed.png");
}
function setup() {
createCanvas(300, 300);
}
const pictureWidth = 300;
const pictureHeight = 300;
function draw() {
image(picture, 0, 0, pictureWidth, pictureHeight);
}