xxxxxxxxxx
143
let r;
let x;
let y;
function setup() {
createCanvas(400, 400);
r = round(random(1, 15))
x = 0
y = 0
}
function draw() {
background(172, 242, 220);
noStroke();
textSize(32);
textAlign(CENTER, BASELINE);
textStyle(BOLD);
ellipse(x, 50, 100, 100);
fill(205, 255, 156, 100);
ellipse(x, x, 200, 200);
fill(250, 216, 182, 255);
ellipse(x, 400, 90, 90);
fill(206, 205, 250, 255);
ellipse(300, x, 80, 70);
fill(250, 192, 247, 255);
ellipse(200, x, 20, 20);
fill(250, 192, 202, 255);
ellipse(390, x, 20, 20);
fill(192, 245, 250);
ellipse(90, x, 90, 90);
fill(255, 242, 184, 150);
ellipse(x, 300, 50, 50);
fill(194, 182, 252);
ellipse(x, x, 20, 20);
fill(255, 255, 255, 255);
if (x < width) {
x = x + 1;
} else if (x == width) {
x = 0;
}
if (r == 1) {
text("i love this", height / 2, width / 2);
}
if (r == 2) {
text("😍😍", width / 2, height / 2);
}
if (r == 3) {
text("the 8 reservation is gone", width / 2, height / 2);
}
if (r == 4) {
text("omg", width / 2, height / 2);
}
if (r == 5) {
text("LMAOO", width / 2, height / 2);
}
if (r == 6) {
text("berkeley on friday?", width / 2, height / 2);
}
if (r == 7) {
text("cute", width / 2, height / 2);
}
if (r == 8) {
text("wtf why", width / 2, height / 2);
}
if (r == 9) {
text("omfg not that", width / 2, height / 2);
}
if (r == 10) {
text("I’m down", width / 2, height / 2);
}
if (r == 11) {
text("sure", width / 2, height / 2);
}
if (r == 12) {
text("call me", width / 2, height / 2);
}
if (r == 13) {
text("It’s fine. It’s fiiiine", width / 2, height / 2);
}
if (r == 14) {
text("uhhh", width / 2, height / 2);
}
if (r == 15)
text("OMG AHAHHA", width / 2, height / 2);
}
function mousePressed() {
r = round(random(1, 15));
}