/** * Words. * * The text() function is used for writing words to the screen. */ int x = 30; PFont fontA; void setup() { size(900, 700); background(102); // Load the font. Fonts must be placed within the data // directory of your sketch. Use Tools > Create Font // to create a distributable bitmap font. // For vector fonts, use the createFont() function. fontA = loadFont("Cursivestandard-48.vlw"); // Set the font and its size (in units of pixels) textFont(fontA, 32); // Only draw once noLoop(); } void draw() { // Use fill() to change the value or color of the text fill(0); text("Our father, who art in heaven", x, 60); fill(51); text("hallowed be thy name. thy kingdom come", x, 95); fill(204); text("thy will be done.", x, 130); fill(255); text("and you are not it", x, 165); }