How can I rotate a shape in 2D space?

AI Thread Summary
To rotate a shape in 2D space, one must use a rotation matrix that involves the cosine and sine of the desired angle, theta. The transformation is expressed as [x'; y'] = [cos(theta) sin(theta); -sin(theta) cos(theta)][x; y]. Before applying this formula, it's essential to clarify how the shape is encoded and represented in terms of its position and angle. Understanding the unit circle concept can aid in visualizing the rotation process. Properly encoding the shape's information is crucial for accurate rotation.
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.
 
Hello everyone, Consider the problem in which a car is told to travel at 30 km/h for L kilometers and then at 60 km/h for another L kilometers. Next, you are asked to determine the average speed. My question is: although we know that the average speed in this case is the harmonic mean of the two speeds, is it also possible to state that the average speed over this 2L-kilometer stretch can be obtained as a weighted average of the two speeds? Best regards, DaTario
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Back
Top