//text PFont bigFont, lightFont, boldFont, smallFont; ////keys char lastPressedKey; // void setupInterface() { lightFont = loadFont("CenturyGothic-16.vlw"); smallFont = loadFont("CenturyGothic-12.vlw"); boldFont = loadFont("CenturyGothic-Bold-18.vlw"); bigFont = loadFont("CenturyGothic-26.vlw"); } void drawInterface() { textMode(SCREEN); textAlign(LEFT); fill (0); textFont(smallFont); String n = "Cristen Chinea | 4.502 Design Scripting"; text(n,22,440,450,50); textFont(bigFont); String s = "MIT Undergraduates, " + yr; text(s,20,410,400,50); textFont(lightFont); String dir = "Travel through time by pressing [ or ] brackets"; text(dir,440,420,200,350); } //keypress void keyPressHandler(char key){ lastPressedKey = key; }