# Get the vertical axis of object's array

**URL:** <https://discourse.processing.org/t/get-the-vertical-axis-of-objects-array/23319>\
**Category:** Coding Questions\
**Created:** [August 17, 2020, 10:18pm UTC](https://discourse.processing.org/t/get-the-vertical-axis-of-objects-array/23319 "2020-08-17T22:18:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![chanof](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@chanof](https://discourse.processing.org/u/chanof)\
**Post date:** [August 17, 2020, 11:41pm UTC](https://discourse.processing.org/t/get-the-vertical-axis-of-objects-array/23319/3 "2020-08-17T23:41:31Z")

</div>

Thank YOU!  
by adding ortho it start to be what i want:

```auto
howMany = howMany + 0.01;
ortho(-width/2, width/2, -height/2, height/2); // Same as ortho()
translate(width/2, height/2);
rotateY(-QUARTER_PI - howMany);
rotateX(-QUARTER_PI);
translate(-4*16, -4*16, -4*16);

```

The number 4, where it come from? i can’t understand the process,  
Thanks for suggestion, sure i will!  
Gian

---

_[View the full topic](https://discourse.processing.org/t/get-the-vertical-axis-of-objects-array/23319)._
