xxxxxxxxxx
16
function setup() {
createCanvas(windowWidth, windowHeight);
noStroke();
table = loadImage("tableplease.jpg");
}
function draw() {
image(table, 0, height - (table.height * (windowWidth / table.width)), windowWidth, table.height * (windowWidth / table.width));
}
function windowResized() {
resizeCanvas(windowWidth, windowHeight);
}