xxxxxxxxxx
20
function setup() {
createCanvas(320, 240);
noStroke();
textSize(24);
textFont('Futura');
frameRate(4); // default is 30
}
function draw() {
background(255, 230, 246);
fill(0, 125, 62);
text(frameCount, 100, 100);
if (frameCount > 8 && frameCount < 24) {
ellipse(120, 160, 30, 30);
} else {
rect(160, 160, 30, 30);
}
}