I am trying to rotate text to shift a it a few degrees clockwise to that it protrudes from the middle section of each arc. However, any time I use the rotate function it throws it way off. Any tips on what to use. I know it's the 'rotate()' function but I'm not getting it right.
Thanks in advance :)
float delta = TWO_PI / childrenA.length;
float xPos = width/2+scaler/2*arrayDueTimes.get(i) * cos(i* delta);
float yPos = height/2+scaler/2*arrayDueTimes.get(i) * sin(i* delta);
pushMatrix();
translate(xPos, yPos);
rotate(delta * i);
fill(0);
text(i + "--------------------", 0, 0);
popMatrix();