PFont f; String message = "this text is spinning"; float theta; void setup() { size(400, 400); f = createFont("Arial",48,true); } void draw() { background(255); fill(0); textFont(f); // Set the font translate(100,100); rotate(theta); // Rotate by theta textAlign(RIGHT); text(message,0,0); theta += 0.02; // Increase rotation }