Canvas Rotation Based on Mouse Position | Getting something on the canvas to rotate based on where your mouse cursor is can be a bit tricky! This fully working example and linked
PHP/HTML/Javascript Canvas Rotation Tutorial | Robert James Metcalfe Blog
Rotating canvas for each frame - Help - Aseprite Community
javascript - Rotating canvas around a point and getting new x,y offest - Stack Overflow
JavaScript Canvas - rectangle spin around circle - Stack Overflow
HTML5 Canvas: Translation, scaling and rotation tutorial - w3resource