Need Help, Rotating a wheel with touch or using the mouse

I have a wheel that I’m trying to rotate with touch, but not just flicking or swiping it, it has to have a circular motion

e.g.

or

Since I’m still prototyping I’d like to know how I could do this with the mouse (as a place holder the finger)

This has been beating me for the past few weeks, I can’t seem to figure it out

Please help

One Finger Rotation Recognizer