[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


a 60 degree rotation matrix

Posted on 2008-11-10
Medium Priority
Last Modified: 2012-06-27

I have a 3d system drawn on a piece of paper, the y axis is coming out of the paper towards me. I want to rotate an object by 60 degrees around the y axis, counter-clockwise. So if the object is looking at the top of the page, after the rotation it should be looking more towards the right side of the page. What's the matrix to do that?

Question by:DJ_AM_Juicebox
  • 2
LVL 25

Accepted Solution

InteractiveMind earned 2000 total points
ID: 22922085
You can find the necessary rotation matrices here:

In your case:

[cos 60   0   sin 60]
[    0        1        0   ]
[-sin 60   0   cos 60]

LVL 25

Expert Comment

ID: 22922096
'So if the object is looking at the top of the page, after the rotation it should be looking more towards the right side of the page.'

If your rotation is CCW (which the above transformation performs in a right-handed system), then the object will look more to the left side of the page.
If you wish to go in a CW direction, then replace 60 with -60.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Win a Jar of Candy Corn: A Scientific Approach! I love mathematics. If you love mathematics also, you may enjoy this tip on how to use math to win your own jar of candy corn and to impress your friends. As I said, I love math, but I gu…
Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question