3º exercício
Animação da experiências do módulo anterior.
Segunda experimentação:
«Nós (não) somos transitórios»
[ OP1 / / OP2 ]
void setup() {
size(200, 600);
background(0);
smooth();
}
void draw() {
background (0); //esta linha comentada altera o programa para a opção 2
PFont Main = loadFont("BebasNeueBold-80.vlw");
fill(225);
textFont(Main);
textLeading(85);
text("NÓS", 45, 80);
textAlign(RIGHT);
text("SO\nMOS", 170, 160);
textAlign(LEFT);
text("TRA\nNSI\nTÓR\nIOS", 45, 330);
//NÃO
PFont Nao = loadFont("OswaldStencil-Bold-75.vlw");
fill(255, 235);
textFont(Nao);
translate (mouseX, mouseY);
rotate(radians(-30));
text("NÃO", 0, 0);
}
void mouseMoved() {
}