xxxxxxxxxx
17
//this group should their research about:
//loadImage()
//image()
let img; // Declare variable 'img'.
function setup() {
createCanvas(720, 400);
img = loadImage('assets/moonwalk.jpg');
}
function draw() {
image(img, 0, 0);
image(img, 0, height / 2, img.width / 2, img.height / 2);
}