So I was having lunch... and then I suddenly thought of a was to rotate pen objects. I have wanted to do this for a while now and have tried (and failed) many times. This is more of a tutorial project than anything actually useful. instructions: -drag with your mouse to rotate the image -press space to change the pivot point (the object must not be rotated and must be centered on 0,0 for this to work reliably) how it works: In the past, I have tried many different approaches to doing this. This is the first successful one. It uses a combination of finding the angle of a point to the pivot point and the distance from that point to the pivot point. It uses the angle as the original degree from the pivot point and the distance as the amplitude. then you can just plug it into the simple equation x=sin(d+r)*a and y = cos(d+r)*a where d is the original degree of the point, a is the amplitude and r is the degrees you are rotating it. Then all you have to do is repeat the equation for all the points in the image. This was far simpler than I originally thought it was and is surprisingly not too laggy. credits: - all code me - I scanned the image of the pie in the working camera I made