# Having a hard time rotating image about a point

**URL:** <https://discourse.processing.org/t/having-a-hard-time-rotating-image-about-a-point/36083>\
**Category:** Libraries\
**Created:** [April 2, 2022, 4:44pm UTC](https://discourse.processing.org/t/having-a-hard-time-rotating-image-about-a-point/36083 "2022-04-02T16:44:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [April 2, 2022, 8:48pm UTC](https://discourse.processing.org/t/having-a-hard-time-rotating-image-about-a-point/36083/3 "2022-04-02T20:48:43Z")

</div>

Hello @Xwalt ,

Example here:

> [@Help in Rotate Image in JAVA2D](https://discourse.processing.org/t/help-in-rotate-image-in-java2d/33852/4):
>
> Hello, I used this image because it was offset: [https://www.pngall.com/wp-content/uploads/6/Vector-Tribal-Arrow-PNG-Image-HD.png](https://www.pngall.com/wp-content/uploads/6/Vector-Tribal-Arrow-PNG-Image-HD.png) Code to peruse: push(); rotate(frameCount\*TAU/360); noFill(); translate(0, -25); // Estimated (visually) that it was about 1/4 of height rect(0, 0, 200, 100); // To see image size image(img, 0, 0); pop(); [test.mov] slight_smile

`:)`

---

_[View the full topic](https://discourse.processing.org/t/having-a-hard-time-rotating-image-about-a-point/36083)._
