Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Advanced Itunes type scroller/spinner

  • Advanced Itunes type scroller/spinner

    Posted by Dan Wiese on July 25, 2008 at 7:23 am

    All right, I’ve been racking my brain with this one all day and most of the night and I’m hoping some you geniuses can help me out. I’ve got the basic itunes-esque scroller down from the other posts using these two bad boys here, hooked to a slider. This is cool, but I’d like to do two other things with this. The first thing is make the opacity higher in center and lower on both edges. Some sort of range I’m assuming. Like 90% in the center lowering out to 20 on the edges. Salt to taste.
    The second thing I’d like to be able to change is instead of images just going right down left or right on the x axis, I’d like to have a more rounded approach, like being attached 360 degrees around in a circle more like a rolodex tipped on its side. The opacity on the back half would be very low, working back 90 to 100 percent on the front, in the middle when the solid opens up flat.
    Here’s what I’ve been working with. Any help is much appreciated. Thanks in advance.
    Position expression

    x=comp(“REFLECT_COMP”).layer(“Null 1”).effect(“Slider Control”)(“Slider”) + 500;
    range=300; //range when Z begins
    center=thisComp.width*0.5; //center of comp on X axis
    distance=x-center;
    Zdist=400;

    if (x <= center ){ Zpos=ease(center+distance,center-range,center,value[2],value[2]-Zdist); }else{ Zpos=ease(center+distance,center,center+range,value[2]-Zdist,value[2]); } [x,value[1],Zpos] ----------------------------------------- Y rotation exoression range=180; //range when rotation begins center=thisComp.width*0.5; //center of comp on X axis distance=position[0]-center; angle=ease(center+distance,center+range,center-range,-70,70); [angle]

    Scott Geersen replied 17 years, 8 months ago 4 Members · 4 Replies
  • 4 Replies
  • Lloyd Alvarez

    July 25, 2008 at 4:22 pm

    this opacity expression should do the opacity trick:

    centerOpacity = 90;
    edgeOpacity = 20;

    center=thisComp.width*0.5; //center of comp on X axis
    x=position[0];
    if (x<= center){ linear(x,0,center,edgeOpacity,centerOpacity) }else{ linear(x,center,thisComp.width,centerOpacity,edgeOpacity) } to make them move on a circle is going to take some trig which I'll leave the more math savvy contributors to tackle.. -Lloyd https://aescripts.com

  • Dan Wiese

    July 25, 2008 at 4:34 pm

    That’s brilliant Lloyd. Thanks so much, now I can only get the circle to work…

  • Alex Dinnin

    July 26, 2008 at 1:51 pm

    Hi Dan,

    for the rotation, could you not just put a 3d null back in z, and then parent the discs to it.. then all you would need to is put an expression from the null rotation in y, to the slider.

    hope this helps

    Alex

  • Scott Geersen

    September 11, 2008 at 5:16 am

    did anyone every work out how to apply circular position to this thing?
    i am working on something similar, but more like a rolodex. a lot of cards arranged like they are standing on the outside of a cylinder… turn the cylinder to reveal new cards. however, i want the cards to “stand up” when they are at the top of the rolodex, and lay down when they are, say, 30degrees from the top of the rolodex in either direction. so as you turn the rolodex the card you want is standing up straighter than the others.

    if i could have all the cards in a line and just apply some parenting and expressions similar to this, and have the expressions drive the diameter of the cylinder and their position (so that they are spread around the cylinder) it would make my life a lot easier.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy