Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I asked this question at StackOverflow, maybe because it's all about math, I don't get a working solution.

I'm actually trying to get the image dimension after rotation using canvas with a certain angle in Javascript.

enter image description here

share|improve this question
add comment

1 Answer 1

$200 \cos(30^\circ) + 80 \sin (30^\circ) $ by $200 \sin(30^\circ) + 80 \cos (30^\circ) $ .

$\cos(30^\circ) = \frac{\sqrt{3}}{2}$ while $\sin(30^\circ) = \frac{1}{2}$.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.