Thomas Piacentini
← Workshop

01 / 15 · 45–60 min

Change reference frames.

Where does a point end up after a rotation and a translation?

Choose a laboratory
Check my intuition

01 · Predict

Before changing the settings.

P = (2, 1) m. Rotate +90° around the origin, then add translation (3, 1) m. What are the final coordinates? Positive angles are counterclockwise.

A hint

At +90°, (x, y) becomes (−y, x). Then add the translation.

02 · Experiment and compare

Put the model to the test.

-6-6-4-4-2-2224466x (m)y (m)0P1P′
P: start · 1: intermediate · P′: end. The small disk marks the transformed frame origin.

P = (2.00 ; 1.00) → P′ = (3.23 ; 2.87) m.

x′
3.23 m
y′
2.87 m
Rotation
30.00 °
Compare A and B →

Read values as a table
Stepx (m)y (m)
Start P2.001.00
Intermediate1.231.87
End P′3.232.87
Understand the calculations

03 · Connect the diagram to calculations

The numbers behind motion.

For a column vector, rotating then translating gives p′ = R(θ)p + t. Translating then rotating gives p′ = R(θ)(p + t). The translation itself is therefore rotated in the second case.

R(θ) = [[cos θ, −sin θ],
        [sin θ,  cos θ]]
p = [x, y]ᵀ ; t = [tx, ty]ᵀ

The homogeneous matrix below matches the current settings. Lengths are in metres; θ is converted to radians for computation.

[ 0.87   -0.50   2.00 ]
[ 0.50   0.87   1.00 ]
[ 0.00   0.00   1.00 ]
A few lines to reconstruct
x2 = cos(theta) * x - sin(theta) * y + tx
y2 = sin(theta) * x + cos(theta) * y + ty

The notebook provides one function per laboratory, hand-calculated examples and tests. Exercises isolate components; these pages run the complete simulations.

Keep an observation

04 · Record

What changed?

Compare two settings. Record the effect, your explanation and a case where the model might fail. Saving keeps the current settings and seed, not a certification of competence.

Open my notebook →

atomsh / lab