xxxxxxxxxx
28
//let glitch = 'Time is glitchy';
let phrase = ['Time' ,'is' , 'glitchy'];
let i;
function setup() {
createCanvas(windowWidth, windowHeight);
colorMode(HSB, 360, 100, 100, 100);
//phrase.push(glitch);
i = 0;
frameRate(10);
background(random(360), 100, 100);
}
function draw() {
background(random(360), 100, 100, 5);
textSize(random(10, 100))
noStroke()
fill(random(255))
textFont('VT323');
text(phrase[i], random(width), random(height));
// i += 1;
// if (i >= 3){
// i = 0;
i = floor(random(3));
// }
}