I see thank you
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
Probably because it accurately computes the angle I'm looking for. I'm not sure your code does. Edit: I see it now. I literally copied and pasted these sections of code and modified. That's why.
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix