// Words // by REAS // Modified 29 September 2005 by Catherine to say HELLO WORLD // The text() function is used for writing words to the screen. // Created 15 January 2003 size(200, 150); background(102); // Load the font. Fonts are located within the // main Processing directory/folder and they // must be placed within the data directory // of your sketch for them to load PFont fontA = loadFont("Arial-Black-32.vlw"); // Set the font and its size (in units of pixels) textFont(fontA, 32); int x = 30; // Use fill() to change the value or color of the text fill(204); text("hello", x, 60); fill(255); text("world", x, 95);