xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
// Replace font in index.html
// <link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet">
// https://fonts.google.com/specimen/Roboto+Mono
// Set font (without + )
textFont("Noto Serif");
fill(255);
frameRate(9);
}
function draw() {
background(50,225);
textAlign(CENTER);
fill(255,55);
textSize(400+sin(millis()*0.0009)*400);
textFont("Bebas Neue");
text("I want", random(width), random(height));
textSize(301+cos(PI+millis()*0.0002)*300);
textFont("Noto Sans");
text("Away", width/2, random(height));
textSize(100);
textFont("Secular One");
text("To go", width/2+sin(-1*12345678+millis()*0.0008)*width/2,random(height));
text("To go", width/2-sin(-1*12345678+millis()*0.0008)*width/2, random(height));
noStroke();
rectMode(CENTER);
fill(50,200);
rect(width/2, height/2,width/3,height/1.8);
fill(255);
textSize(30);
textFont("Noto Sans");
textWrap(WORD);
text("The enchantment of that sentence formed without him having to type a single word on the cell phone keyboard hit harder than the babbling of the small son in the first trains of desires. I want. To go. Away. All this after just an 'I' pressed on the screen. It was a text to his girlfriend on a sleepy afternoon at work. Just put the letter in the text box and the smartphone did all the rest, expressing exactly what he had in mind. From then on, it was nice to let the thing autocomplete life. First, almost reading his mind. Then, thinking better of it.", width/2, height*0.3,height/2);
}