# Hey guys if I want my text to be in the middle what can I change?

**URL:** <https://discourse.processing.org/t/hey-guys-if-i-want-my-text-to-be-in-the-middle-what-can-i-change/10346>\
**Category:** Coding Questions\
**Created:** [April 16, 2019, 9:09am UTC](https://discourse.processing.org/t/hey-guys-if-i-want-my-text-to-be-in-the-middle-what-can-i-change/10346 "2019-04-16T09:09:50Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [April 18, 2019, 6:24pm UTC](https://discourse.processing.org/t/hey-guys-if-i-want-my-text-to-be-in-the-middle-what-can-i-change/10346/8 "2019-04-18T18:24:50Z")

</div>

continued other thread

> [@Hallo! Can you explain me why my text doesn't spinning?](https://discourse.processing.org/t/hallo-can-you-explain-me-why-my-text-doesnt-spinning/10288):
>
> PFont myFont; String s1= ("OBECALP PHARMACY "); float angleSpeed= TWO\_PI/s1.length(); float letterX,letterY; int i,cntX,cntY; int radius =260; float z=random(TWO\_PI); float x; float y; //float rotX,rotY,rotZ; float r = 100; float angVel = -TWO\_PI / 360; float ang; void setup() { size(800, 800, P3D); background(255); myFont = createFont("DrukTextWide-Heavy.ttf", 20); //textFont(myFont); frameRate(20); } void draw() { background(255); rotate(ang); ang += angVel; float a…

---

_[View the full topic](https://discourse.processing.org/t/hey-guys-if-i-want-my-text-to-be-in-the-middle-what-can-i-change/10346)._
