Sorry for posting the code.
That is just a segment of my processing project. The aspect of the project that is giving me issue is what i posted.
What i need to do, create a meter (gauge) for flow rate using scaled image and needle pointer.
I have two images which have been loaded using (loadImage), i then use “image” to draw the image.
I have fair understanding of how to use “translate” function.
How rotate the needle about an edge has been the issue.
Most of the example utilises the centre of the image.
What i have achieved, the needle keeps jumping randomly.
Just look at the aspect of translation an advice.
I accept challenge but still will ask where it seem dark for understanding.
Thanks for your helping hand.