# Rotation Pivot?

**URL:** <https://discourse.processing.org/t/rotation-pivot/34384>\
**Category:** Processing\
**Created:** [December 30, 2021, 8:44pm UTC](https://discourse.processing.org/t/rotation-pivot/34384 "2021-12-30T20:44:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tibiscenas](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@Tibiscenas](https://discourse.processing.org/u/Tibiscenas)\
**Post date:** [December 30, 2021, 8:44pm UTC](https://discourse.processing.org/t/rotation-pivot/34384/1 "2021-12-30T20:44:17Z")

</div>

hi there ! , Any Comment, Suggestion or Idea on how to Change the Rotation Pivot of an Image or Basic Shape (img, primitive or vertex) ??

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [December 30, 2021, 8:50pm UTC](https://discourse.processing.org/t/rotation-pivot/34384/2 "2021-12-30T20:50:41Z")

</div>

Hello,

There are resources (tutorials, references and examples) here:  
_[https://processing.org/](https://processing.org/)_

Mode for shapes:  
[https://processing.org/reference/shapeMode\_.html](https://processing.org/reference/shapeMode_.html)

Mode for images:  
[https://processing.org/reference/imageMode\_.html](https://processing.org/reference/imageMode_.html)

Vertices will require some ingenuity.

`:)`

---

<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:** [December 31, 2021, 6:35am UTC](https://discourse.processing.org/t/rotation-pivot/34384/3 "2021-12-31T06:35:32Z")

</div>

General order is

translate  
rotate

and imageMode is important here

---

<div class="post-metadata">

**Author:** ![monkstone](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/monkstone/32/64_2.png) [@monkstone](https://discourse.processing.org/u/monkstone)\
**Post date:** [December 31, 2021, 8:21am UTC](https://discourse.processing.org/t/rotation-pivot/34384/4 "2021-12-31T08:21:02Z")

</div>

It may be worth looking at the excellent [nub library](https://github.com/VisualComputing/nub) by [Jean Pierre Charalambos](https://visualcomputing.github.io/) aka nakednous.
