Type + Code: Processing For Designers

Page 64

Type + Code page >L< even {40} page Yeohyun Ahn. Viviana Cordova.

PFont myFont; void setup() { size(800, 800); background(255,255,255); translate(400,400); myFont = createFont(“Bodoni”,48); textFont(myFont,290); for(int i=0;i<800;i=i+200){ for(int j=0;j<800;j=j+400){ for(int k=0;k<6;k=k+1){ fill(0,0,0,150); pushMatrix(); textAlign(CENTER); rotate(PI*k/3); text(“I”, i, j); If you change the increment of j from 200 to 400, it decreases the complexity and density of this typographic pattern with the letter “I.” In text("I", i, j), j is the variable that determines the y coordinate position of the letter “I.”

popMatrix(); } } } }


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