Jump to content


How Do I Space Objects Evenly Around A 3D Carousel And Rotate It?

Recommended Posts



I love your product and think it's intuitive and powerful. I am working with the CSS Transforms and I am working with the bottom example under the section:



example at:




with the code:


TweenMax.to(box2, 3, {css:{rotationY:360, transformOrigin:"left 50% -200"}})

It works fine for that one square, but I am trying to figure out how to space items evenly around the "imaginary sphere" that the cube is rotating around.I tried putting both a delay of like .15 on the second cube. That kinda-sorta worked. I also tried putting a little bit of a margin on the second cube, that quasi worked but seems to offset the rotation of the imaginary sphere.


Putting them both in one container div, just rotated them both the same instead of individually. Attached is a zip file of what I'm working with and if the attachment doesn't work, the live version is at:






Any help would be greatly appreciated:




Link to comment
Share on other sites

Thanks Carl. You never cease to amaze me. Ur a stone code, coding pimp :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.