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(width/2,height/2); // Translate to the center rotate(theta); // Rotate by theta textAlign(CENTER); text(message,0,0); theta += 0.02; // Increase rotation }