Click and drag to draw the sprite, set the center of rotation by moving the point, and then use the arrow or WASD keys to move and the mouse to rotate the drawn sprite. Enjoy!
I had made something like this before that was a lot less efficient, and I felt like making a 5-minute project, so why not? Feel free to use this if you want. You don't have to give credit to me since it's just basic trigonometry.