//Assignment 4: Image + Text
//
// For this assignment I wanted to do something that is relevent to this class.
// I picked a quote from the 1949 issue of Popular Mecahnics talking about
// future of computers. The irony of the quote fits quite well with the class of
// which students are using the computers to create art through software.
// I want the composition to be simple and subtle. I used a small pixel font for its
// modern aesthetic quality. I found a picture of an anvil through Google Image.
// The picture was adjusted, cleaned up, cropped, and resized in Photoshop. I decided
// to use an anvil instead of an old computer as the picture because of its retro quality
// and the immediate associate that an anvil has with heavy weight.
size(400,400);
background(#ffffff);
PImage img_bg;
img_bg = loadImage("anvil.jpg");
image(img_bg, 15, 255);
fill(#000000);
PFont font;
font = loadFont("silk8.vlw");
textFont (font, 8);
text("Computers in the future may weigh no more than 1.5 tons.", 80, 110);
fill(#888888);
text("-Popular Mechanics, 1949", 245, 140);
Exercise 04: Use the text() function to draw a sentence to the screen and use the image() function to draw one or more image(s). Carefully select the image(s), sentence, and composition. Explain your concept as a comment at the top of the code.