xxxxxxxxxx
16
const HEIGHT = 800;
const WIDTH = 600;
function setup() {
createCanvas(WIDTH, HEIGHT);
}
function draw() {
background(220);
rect(0, 0, 1 * WIDTH, 0.1*HEIGHT)
rect(0.2 * WIDTH, 0.2 * HEIGHT, 0.6 * WIDTH, 0.6 * HEIGHT)
// try to create buttons
rect(0.3 * WIDTH, 0.3 * HEIGHT, 0.1*WIDTH, 0.1*HEIGHT)
}