Jump to content
Search Community

New: Advanced tutorial: CubeDial, a 3D Carousel made with GSAP

Carl test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Just want to bring your attention to a new post that we launched on creating a sweet 3D Carousel called the "CubeDial" which uses Draggable, ThrowProps and the wondrous null Object / proxy. 

 

http://greensock.com/cube-dial-tutorial

 

It was written by Chris Gannon, who is a friend of ours and diehard GSAP user.

It covers a lot of helpful topics / techniques and has some great demos that you can scrape some ideas from.

 

Check it out. 

 

Carl

 

 

 

 

  • Like 2
Link to comment
Share on other sites

Looks amazing!!

 

;-( i'm just a beginner...and one day, i will get it, hopefully..

 

Is it possible to copy the .js into adobe Edge and fill the objects with an image?

when i see the html, is empty and the css...is almost nothing...

 

I've tried to copy it into edge...but without changes it won't work...maybe i've to adjust little things?

Link to comment
Share on other sites

Hi Cartamundi,

 

Sorry, I really don't know how you would convert all that to Edge. The issue is that all the elements are created with JavaScript, so there really isn't anything that

you can interact with in Edge.

 

I would suggest you look at Chris' CodeCanyon files that are all all Edge projects. They will give you the perfect picture of how these things are set up.

These 2 are very similar to the CubeDial

 

http://codecanyon.net/item/edgerotater-a-3d-interface-for-edge-animate/full_screen_preview/9510545?ref=chrisgannon

http://codecanyon.net/item/edgedial-a-responsive-ui-dial-and-image-slider/full_screen_preview/7064421?ref=chrisgannon

 

And just so you know, he is planning on releasing a more feature-packed version of CubeDial (what you saw in the tutorial) on CodeCanyon as an Edge template (with pretty imagery and text animation effects).

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

Hi,

 

The cube looks amazing! Thanks for this tutorial!

 

But i noticed that when u spin the cube 2 times or so by dragging. (keep spinning the cube really fast until it happens) Some of the faces start to disappear. And they pop back up on complete of the tween. i've tested it in Chrome. I've console logged the faces opacity and zindex in the onCubeDrag(). At the point they disappear the values are negative. So i think that's the problem. Somehow i just don't understand the var destZIndex calculation enough to solve it. Is there any solution to this problem?

Thanks!

 

Result:

screendump.jpg

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.
×
×
  • Create New...