Konva - rotate a shape around any point with simple math
Shape rotation starts conceptually simple, but gets frustratingly hard quite quickly once you move away from very simple cases. This article discusses the basics and provides working code to rotate any shape around any arbitrary point on the stage. Handy stuff to have in your kit bag.