Konva – rotate a shape around any point with simple math. – Coding for the long view
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