xxxxxxxxxx
34
let fs;
function setup() {
createCanvas(displayWidth, displayHeight);
//noCursor();
}
function draw() {
background(0);
fs = fullscreen();
if (keyCode === 32) {
background(255);
}
if (frameCount/2 == round(frameCount/2)) {
cursor('progress');
} else {
cursor(CROSS);
}
text("Error code 404: Please manually restart your computer.", displayWidth/2, displayHeight/2);
if (keyCode === 106) {
background(255);
text("hehehe just kidding", 400, 400);
}
}
function mousePressed() {
fullscreen(true)//!fs);
}