var canvas; function windowResized(){ resizeCanvas(windowWidth, windowHeight); } function setup() { var canvas; canvas = createCanvas(windowWidth, windowHeight); canvas.position(0,0); canvas.style("z-index","-1"); background(255) textSize(10); frameRate(5) } let n = 0; function draw(){ if (n == 40) { noLoop(); } else { textSize(0); createP(x[n]); n += 1; } } // let words = x; // let word = random(words); // select random word // textSize(15); // text(word, random(windowWidth), random(windowHeight)) // textSize(32); // text(x[5], random(windowWidth), random(windowHeight)); // } // s // fill(0); // circle(50,50,5,50);