String headline = "Bryn Mawr"; float theta, delta; PFont f; float x, y; float w; float fs = 32; void setup() { size(800, 600, P3D); f = createFont("Arial", fs, true); textAlign(CENTER); x = width/2; y = height/2; theta = 0; delta = 0.05; } void draw() { background(255); translate(x, y); rotateY(theta); textFont(f, fs); w = textWidth(headline); fill(0); text(headline, 0, 0); theta = theta + delta; }