TypeCanvas (Processing)

typecanvas

size (500, 500);
background (0,0, 255);

float tamanho = 100;
fill (0, 255, 0);
stroke(255,0,0);
strokeWeight (2);
circle (width/2, height/2, tamanho * 4.25);
circle (width/2, height/2, tamanho * 4);
circle (width/2, height/2, tamanho * 3.75);
circle (width/2, height/2, tamanho * 3.5);
circle (width/2, height/2, tamanho * 3.25);
circle (width/2, height/2, tamanho * 3);
circle (width/2, height/2, tamanho * 2.75);
circle (width/2, height/2, tamanho * 2.5);
circle (width/2, height/2, tamanho * 2.25);
circle (width/2, height/2, tamanho * 2);
circle (width/2, height/2, tamanho * 1.75);
circle (width/2, height/2, tamanho * 1.5);
circle (width/2, height/2, tamanho * 1.25);
circle (width/2, height/2, tamanho);
circle (width/2, height/2, tamanho * 0.75);
circle (width/2, height/2, tamanho * 0.5);

fill (0);
PFont title_font = loadFont (“ComicSansMS-30.vlw”);
textFont(title_font);
textAlign (CENTER);
textSize (20);
text (“i’m not processing any of this”, width/2, height/2);

textAlign (LEFT);
textSize (15);
text (“ah ah ah ah”, width/2, height/2 + 100);

textAlign (RIGHT);
textSize (15);
text (“ah ah ah ah”, width/2, height/2 – 100);

textAlign (CENTER);
textSize (10);
text (“i’m screwed”, width/2, height/2 + 135);

save(“typecanvas.png”);

Deixe um comentário