I Finding the change in position and angle after moving the rectangle

AI Thread Summary
To determine the angle and position needed to return a moved rectangle to its original position, one can use vector mathematics. By drawing lines between corresponding points of the original and moved rectangles, the angle between these lines can be calculated. The change in position is influenced by the timing and method of rotation applied. The discussion highlights the simplicity of using vectors for this calculation. Ultimately, the problem was resolved effectively through this approach.
junseok Lee
Messages
3
Reaction score
1
TL;DR Summary
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.
 
Mathematics 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 mfb
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top