GMgKe586q6suSQnyqZLlGCooeWM
Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
Home
Me
Search
Sunday, March 27, 2011
HTML5 - Rotate
To make rotate transformation, use translate first, then rotate, then back to translate again:
ctx.translate(230,10)
ctx.rotate(45/57)
ctx.translate(-230,-10);
ctx.fillRect(230, 10, 100, 100)
HTML5 - Rotate
1 comment:
Fly with Anne
April 22, 2022 at 11:05 AM
Hi thaanks for posting this
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Hi thaanks for posting this
ReplyDelete