So I know the coordinates of the tip of my image. Now, I want to rotate my image so that the tip is pointed towards some x and y coordinates. So how would I go about doing this? would I have to change the parameters in this drawImage
method? Or is there a method in javascript canvas to somehow rotate my image?
↧
How to draw image pointed towards specific x and y coordinates in Canvas HTML
↧