Beth - F

By Elizabeth
/*For this assignment I created an alphabet book of facial expressions. My roommate Tiffany JOH is the subject in all of the photographs, hence the title, "The Book of Joh." I tried to illustrate the expression of the words not only in the actual image but also through typography and the color of the type. I chose each color based on the expression and the feeling that I get I think about that expression. */ //press the letters A through E to reveal each face! PFont font; PFont fontII; PFont fontIII;b PImage cover; PImage anger; PImage bitter; PImage confused; PImage disgust; PImage excitment; void setup() { size(400,400); background(0); PImage cover = loadImage("cover.jpg"); image(cover, 0, 0); PFont font; font = loadFont("HelveticaNeue-48.vlw"); fontII= loadFont("Geneva-50.vlw"); fontIII= loadFont("Geneva-30.vlw"); anger = loadImage("anger.jpg"); bitter= loadImage("bitter.jpg"); confused = loadImage("confused.jpg"); disgust = loadImage("Disgust.jpg"); excitment = loadImage("excitment.jpg"); } void draw() { smooth(); //image(anger, 0, 0); if((key == 'a') || (key == 'A')) { image(anger, 0, 0); fill(254, 3, 3); textFont(fontII, 50); text("A", 338, 100); textSize(30); text("is", 348, 158); text("for", 338, 215); textSize(50); text("ANGER", 240, 307); } else if ((key == 'b') || (key == 'B')) { image (bitter, 0, 0); fill(248, 204, 53); textSize(30); text("B is for", 130, 256); textSize(50); text("Bitter",210, 292); } else if ((key == 'c') || (key == 'C')) { image (confused, 0, 0); fill(47, 169, 247); textFont(fontIII, 30); text("C is", 17, 68); text("for", 52, 102); text("Confused", 18, 135); } else if ((key == 'd') || (key == 'D')) { image (disgust, 0, 0); fill(129, 135, 59); textFont(fontII, 50); text("D is", 287, 280); text("for", 303, 330); text("Disgust", 195, 375); } else if ((key == 'e') || (key == 'E')) { image (excitment, 0, 0); fill(252, 24, 142); textSize(30); text("E is for", 147, 90); textSize(50); text("Excitement", 82, 152); } }

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*