Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7061595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:29:36+00:00 2026-05-28T04:29:36+00:00

I have created the 3D effect I am after using RotateX in this fiddle:

  • 0

I have created the 3D effect I am after using RotateX in this fiddle:

http://jsfiddle.net/vEWEL/11/

However, I am unsure how to achieve the same effect on the red square in this Fiddle:

http://jsfiddle.net/paulsidebottom/jbfSj/

What Matrix3D transform do I need to apply to the marker to get it to stand up in the vertical plane?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:29:37+00:00Added an answer on May 28, 2026 at 4:29 am

    By inspecting the first example, then looking at the computed tab in Webkit’s inspector, you can see the matrix the first one used was:

    -webkit-transform: matrix3d(1, 0, 0, 0,
                                0, 0.5000000000000001, -0.8660254037844386, 0, 0,
                                0.8660254037844386, 0.5000000000000001, 0,
                                0, 0, 0, 1);
    

    Applying this as is doesn’t seem to work in your second example, but this maybe because of other differences in your code.

    The reason this is used is because a rotation matrix in the X axis looks like:

    [1,0,0,0],
    [0,cos(a), sin(-a), 0],
    [0,sin(a), cos( a), 0],
    [0,0,0,1]
    

    In your case, a is 60 degrees, which in radians is π/3. cos(π/3) = 0.5, and sin(π/3) = sqrt(3)/2 = 0.866025.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created something like this and this . In effect I have a
I have created a simple JQuery script with hovering effect on some links. The
So I have this menu separator http://screencast.com/t/ouOGu9Qf9p71 which in photoshop are two lines with
I am using CCK on a custom node type. I have created a field
I'm working with a few designers, each of whom have created 3D animations (using
I created a MSI installer by using Visual Studio 2008. I have some temp
I have some code dynamically created by Sigma, which looks like this: <div id=myGrid1_headDiv
I need to create some simple effects for the layers which I have created
I am looking to create the next effect for my next website: I have
I have this code, which creates an image, and then adds some effects to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.