FORUMS: list search recent posts

Radial Menu

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Daniel Chang
Radial Menu
on Sep 12, 2016 at 3:27:53 am

I am trying to recreate this radial animation.

Here is my project file.

My current attempt is very clunky. I'm exporting from this file (orientobjectaroundcirclularpath.aep) and layering the (multiple) exports in another file (radial_menu.aep) to mimic the interaction design.

What is the most efficient method to execute this animation?

Thanks,
Daniel


Return to posts index

Kalleheikki Kannisto
Re: Radial Menu
on Sep 12, 2016 at 6:51:23 am

The animation in your project file is very different-looking from the example you give. Is your final goal to make it look like the linked example with just three icons showing at a given time, with two of them rotating around a larger circle and the center one scaling up and rotating in place?

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

Daniel Chang
Re: Radial Menu
on Sep 12, 2016 at 1:09:41 pm

Hi Kalleheikki,

Yes! My final goal is to make it look like the linked example with just three icons showing at a given time, with two of them rotating around a larger circle and the center one scaling up and rotating in place. Do you know of a better way to build such an animation?

Thanks,
Daniel


Return to posts index


Kalleheikki Kannisto
Re: Radial Menu
on Sep 12, 2016 at 2:04:15 pm

To get the initial carousel, you can pile all the assets in one location and add a null that is one radius length away from the objects and parent the first object to it, rotate the null a given amount (360/number of assets) and link the next one etc., until you have a circle.

Then you can use the pick whip the rotation value expression for the individual assets to rotate them back to upright position (add "value -" to the beginning of the pick-whipped rotation value expression).

Now you can rotate the whole thing with that central null as well as rotate the individual assets with their own rotation value if need be.

Then you need another set of the same icons in the location where they scale up as the active item. As far as I can tell, they don't move, they just scale up and rotate around their own center. This could be linked to the center null rotation value with an expression that checks if the current layer index value is within a certain range and do the scale animation as well as opacity if it is. When not in that range, the opacity would be 0 to make the rest of the icons invisible.

The lot would then need to be precomped and masked or track matted for the final.

If you want to try how far you get with that, we can take a closer look at the expressions.

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

Daniel Chang
Re: Radial Menu
on Sep 16, 2016 at 3:35:13 am

Hi Kalleheikki,

I was able to successfully build the initial carousel. Your instructions are very helpful! Now, I'm trying to experiment with having the selected (centered) icon scale up gradually.

This is the expression:

sourceLayer = thisComp.layer("Control Layer");

sampleSize = [1,1];

samplePoint = transform.position;

colour = sourceLayer.sampleImage(sampleSize,samplePoint);

x=colour[0]*125;

[x,x]

Expected Behavior: Assets scale up when directly on top of white areas. The animation is symmetrical. Refer to this animation.
Reality: The asset with the sampleImage expression does not scale up.

Here is the project file. Can you help identify the issue?

Thanks,
Daniel


Return to posts index

Kalleheikki Kannisto
Re: Radial Menu
on Sep 16, 2016 at 7:09:01 am

Hi Daniel,

Parented layers require a different expression to get their location. Their position value does not change. Change the line
samplePoint = transform.position;
to
samplePoint = toWorld(transform.anchorPoint);
which retrieves their position in the world coordinate system.

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index


Daniel Chang
Re: Radial Menu
on Nov 7, 2016 at 5:24:15 pm

Hi Kalleheikki,

Thanks!

Daniel


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]