xxxxxxxxxx
17
let blink = 0 //framecount
function setup() {
createCanvas(400, 400);
rectMode(CENTER)
}
function draw() {
background(220);
blink++;
fill (255);
if (blink < 30) {
rect (width/2, height /2 , 80,80 )
}
if (blink == 60) {
blink = 0;
}
}