xxxxxxxxxx
30
// http://genuary.art/prompts
// 1/1/22 Draw 10,000 of something.
function preload() {
font = loadFont('Overpass-VariableFont_wght.ttf');
}
function setup() {
createCanvas(windowWidth,windowHeight);
// createCanvas(900,900);
}
function draw() {
// frameRate(2);
background(255);
for (let i=0; i<10000; i++) {
fill(map(i,0,10000,10,230),map(i,0,10000,10,215),random(50,150),random(25,150));
push();
textAlign(CENTER);
textFont(font);
textSize(map(i,0,10000,width/100,width/50));
translate(width / 2, height / 2);
rotate(random(PI*2));
text(i,random(width/3),random(height/3));
pop();
}
// saveCanvas('Genuary 1_1_22', 'jpg');
}