https://squeezeboxradiologitechmusicplayer.blogspot.com/2024/02/javascript-canvas-rotate-image.html
Javascript Canvas Rotate Image