PROCESSING [MOD. II]

2º exercício

Primeira experimentação:
«Nós (não) somos transitórios»

[ OP1 / / OP2 ]

size(200, 600);
background(0);

//String[] fontList = PFont.list();
//printArray(fontList);

//OP1
//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);

//OP2
PFont Main = loadFont("RobotoMonoBold-70.vlw");
fill(225);
textFont(Main);
textLeading(80);
text("NÓS\n SO\nMOS\nTRA\nNSI\nTÓR\nIOS", 35, 85);

//NÃO
PFont Nao = createFont("Oswald Stencil Bold", 75);
fill(255, 235);
textFont(Nao);
push();
rotate(radians(-30));
text("NÃO", -77, 190);
pop();

//save ("transitoriosOP1.png");
save ("transitoriosOP2.png");

Deixe um comentário