How can I rotate a shape in 2D space?

  • Context: High School 
  • Thread starter Thread starter fcs04001
  • Start date Start date
  • Tags Tags
    Rotating Shape Space
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
fcs04001
Messages
3
Reaction score
0
How do I rotate some shape in 2d space? That is, what factor do I multiply the x and y components to rotate my shape?

Thanks.
 
Physics news on Phys.org
fcs04001 said:
How do I rotate some shape in 2d space? That is, what factor do I multiply the x and y components to rotate my shape?

Thanks.

Sin of (y) and Cos of (x)

Think of a unit circle ( a cicle of Radius 1 around the origin)
 
Before we can answer that unambiguously, you must first of all explain how you "encode" your shape, that is: how you store the information about your shape and how you "draw" it, or specify its position and angle.

--------
Assaf
http://www.physicallyincorrect.com/"
 
Last edited by a moderator:
I got it:
[x'; y'] = [cos(theta) sin(theta); -sin(theta) cos(theta)][x; y]

Thanks.