Type + Code: Processing For Designers

Page 57

Processing for Designers page >R< odd page {33} >Basic Functions<

PFont myFont; void setup(){ size(800, 800); background(255,255,255); // String[] fontList = PFont.list(); // println(fontList); myFont = createFont("Times-Roman",48); textFont(myFont,272); translate(400,400); for(int i=0;i<6;i=i+1) { fill(0,0,0,180); textAlign(CENTER); pushMatrix(); rotate(PI*i/3); text("Snow",0,0); popMatrix(); } } Explore changing the letter “S” (used in previous examples) to single words. Use words that create unique forms with attention to ascenders and descenders, as well as uppercase and lowercase combinations.

http://processing.org/reference/popMatrix_.html


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.