# Best way to emulate a rotary encoder wheel?

**URL:** <https://discourse.processing.org/t/best-way-to-emulate-a-rotary-encoder-wheel/21982>\
**Category:** Libraries\
**Created:** [June 18, 2020, 11:37pm UTC](https://discourse.processing.org/t/best-way-to-emulate-a-rotary-encoder-wheel/21982 "2020-06-18T23:37:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [June 19, 2020, 9:53pm UTC](https://discourse.processing.org/t/best-way-to-emulate-a-rotary-encoder-wheel/21982/4 "2020-06-19T21:53:12Z")

</div>

or something like this

> [@Creating sectors in a rotating circular image](https://discourse.processing.org/t/creating-sectors-in-a-rotating-circular-image/20781/):
>
> Hi, I have a circular image that rotates on mouseDragged and the image has various letters around the circle, when I drag the image to a certain position, one of the letters goes on top of a box indicating i want to write that letter, but I’m having problems coding this last part. I don’t know how to create and identify each sector of the image when in rotation. Any ideas?

---

_[View the full topic](https://discourse.processing.org/t/best-way-to-emulate-a-rotary-encoder-wheel/21982)._
