xxxxxxxxxx
26
let var1;
let img1, img2, img3;
let img;
let imgList;
let x;
function setup() {
createCanvas(600, 500);
img1 = loadImage('gucci1.png');
img2 = loadImage('gucci2.png');
noLoop();
}
function draw() {
// img = imgList[floor(random(3))]
// image(img, 200, 200);
x = 0;
print(x);
change(x);
print(x);
}
function change(x){
x += 1;
}