New course! Every coder should learn Generative AI!
Try a free lesson+ 1
To rotate canvas in HTML5 the value must be in
canvas
2 Answers
+ 7
It’s expressed in Radians, most probably.
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/rotate
+ 2
wow. thanks