xxxxxxxxxx
24
let words = ['accountability', 'responsibility']
let i = 0;
function setup() {
createCanvas(windowWidth, windowHeight);
frameRate(15);
textAlign(RIGHT);
colorMode(HSB, 360, 100, 100, 100);
}
function draw() {
background(0, 10);
fill(100, 50, 100);
textSize(40)
textFont('Space Mono')
text(words[i], width-10, height/2);
if (frameCount%30==0){
i += 1;
if (i > 1){
i = 0;
}
}
}