If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

## Pixar in a Box

### Course: Pixar in a Box>Unit 14

Lesson 2: Mathematics of rotation

# 3. Completing the proof

In this video we'll uncover the connection between the previous diagram and the rotation formulas. Repeat viewing suggested!

## Want to join the conversation?

• yo I don't get any of this
• How can you come up with the equation x'=x*cosθ - y*sinθ
from:
x'=sqrt(x^2 + y^2) * cos(θ + arccos(x/sqrt(x^2 + y^2))) ?
Thanks
• Is there a way to calculate coordinates for rotating around another point? not just the origin?
(1 vote)
• translate to the origin, rotate and translate back with the inverse of the original translation
• I'm taking the rigging class and I cannot figure out how to complete this problem

blank = x * cos( blank ) - y * sin( blank );
blank = x * sin( blank ) + y * cos( blank );
(1 vote)
• The blanks inside `cos()` and `sin()` will be the angle, in this case, `value`. The first line calculates the value for `coordinate.x`, the second for `coordinate.y`.