float sz; PGraphics img; PFont font; void setup() { size(3000, 3000); sz = 3000 * .4; font = createFont("GillSansUltraBold.ttf", sz); img = createGraphics(width, height); } void mouseMoved() { //sz = map(mouseX,0,width,20,300); } void draw() { img.beginDraw(); img.clear(); img.fill(0); img.stroke(0); img.textFont(font); img.textSize(sz/4.25); img.textAlign(CENTER, TOP); String s="THE NEW MAGNOLIA"; int l=s.length(); //the length of the string float r=sz + img.textAscent(); //the radius of the circle float f1 = map(mouseX, 0, width, -2, 2); float f2 = map(mouseY, 0, height, -2, 2); println("f1:"+f1+ " f2:"+f2); for (int i=0;i