var images = ["Goose1.PNG","Goose2.PNG","Goose3.PNG","Goose4.PNG","Goose5.PNG","Goose6.PNG"];
var fonts = ["Viner Hand ITC", "Fjalla One","Dancing script","Staatliches"];
var captions = ["Geese, To arms!!",
"The Hjönkening is Beginning",
"Hjönk Hjönk am goose",
"Peace was NEVER an option!",
"Hjönk?"];
var pickImage;
var pickFont;
var pickCaption;
function preload(){
var loc = floor( random(images.length));
pickImage = loadImage(images[loc]);
}
function setup() {
createCanvas(600, 600);
loc = floor(random(captions.length));
pickCaption = captions[loc];
loc = floor(random(fonts.length));
pickFont = fonts[loc];
}
function draw() {
image(pickImage, 0, 0, width, height);
//Text
textAlign(CENTER)
textFont(pickFont);
textSize(40);
strokeWeight(4);
stroke(255,215,0);
fill(0, 143, 12);
text(pickCaption, 110, 15, 400, 400);
if (keyIsPressed === true) {
rect(100,200,300,200)
} }