Finding the change in position and angle after moving the rectangle

Click For Summary

Discussion Overview

The discussion revolves around calculating the change in position and angle of a rectangle after it has moved. Participants explore mathematical approaches to determine the new angle and position required for the rectangle to return to its original state, with a focus on the geometric relationships between points on the rectangle.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification

Main Points Raised

  • One participant expresses curiosity about the mathematical approach to determine the changed angle and position of a rectangle after it has moved.
  • Another participant asks for context regarding the application of the problem, suggesting it may relate to video game or web page image transformations.
  • A third participant also seeks clarification on the context, indicating a specific interest in correcting the position using camera input.
  • A suggestion is made to draw lines between specific points on the rectangle before and after movement to find the angle between them, indicating that this can be done using vectors.
  • The same suggestion is reiterated, emphasizing the simplicity of the vector approach and noting that the change in position is dependent on the timing and method of rotation.
  • A participant expresses gratitude for the assistance received, stating that they were able to solve the problem simply based on the provided guidance.

Areas of Agreement / Disagreement

There is no consensus on a single method or solution, as participants offer different perspectives and approaches to the problem. The discussion includes multiple viewpoints and remains open-ended regarding the best approach.

Contextual Notes

Some assumptions about the initial and final positions of the rectangle, as well as the definitions of the angles and points, are not explicitly stated, which may affect the clarity of the proposed solutions.

junseok Lee
Messages
3
Reaction score
1
TL;DR
Finding the change in position and angle after moving the rectangle
image.PNG

I am curious about how to approach the problem mathematically, so I write.

There are 4 dots on the square and I know the location.

The rectangle moves and the positions and angles of the four points change.

I also know the location of the four points that have changed.

I don't know the changed angle.

How can I find the angle and value to move to the initial position?

I would like to know the calculation of the angle and position values required for the rectangle to return to its original position.

Please advise.
 
Physics news on Phys.org
Can you provide some context for this question?

Is this for a video game or web page image transformation?
 
jedishrfu said:
Can you provide some context for this question?

Is this for a video game or web page image transformation?
I want to correct the position by checking the position of the tray with the camera.
 
Draw a line between X1,Y1 and X2,Y2. Draw the line between the same points of the moved rectangle. Find the angle between the two lines. This is very simple with vectors.

The change in position depends on how and when you do the rotation.
 
mfb said:
Draw a line between X1,Y1 and X2,Y2. Draw the line between the same points of the moved rectangle. Find the angle between the two lines. This is very simple with vectors.

The change in position depends on how and when you do the rotation.
Thanks for your help.
Thanks to you, I was able to solve it simply.
 
  • Like
Likes   Reactions: mfb

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K