Forum Replies Created

Page 1075 of 1081
  • Dan Ebberts

    May 6, 2005 at 8:50 pm in reply to: some expressions help?

    Something like this might be what you’re looking for:

    
    initialAmp = 15;
    decay = 3;
    freq = 7;
    decayStartTime = 2;
    
    if (time < decayStartTime){
      amp = initialAmp;
    }else{
      amp = initialAmp/Math.exp(decay*(time - decayStartTime));
    } 
    
    wiggle(freq,amp) 
    
    

    Dan

  • Dan Ebberts

    May 6, 2005 at 8:50 pm in reply to: some expressions help?

    Something like this might be what you’re looking for:

    
    initialAmp = 15;
    decay = 3;
    freq = 7;
    decayStartTime = 2;
    
    if (time < decayStartTime){
      amp = initialAmp;
    }else{
      amp = initialAmp/Math.exp(decay*(time - decayStartTime));
    } 
    
    wiggle(freq,amp) 
    
    

    Dan

  • Dan Ebberts

    May 6, 2005 at 6:11 pm in reply to: Bake keyframes in After Effects

    You should be able to do it with an expression, then using Animation > Keyframe Assistant > Convert Expression to Keyframes.

    If all you want to do is convert your existing animation to a keyframe at every frame, you just need to use this expression:

    value

    and then use the method above.

    Dan

  • Dan Ebberts

    May 6, 2005 at 6:11 pm in reply to: Bake keyframes in After Effects

    You should be able to do it with an expression, then using Animation > Keyframe Assistant > Convert Expression to Keyframes.

    If all you want to do is convert your existing animation to a keyframe at every frame, you just need to use this expression:

    value

    and then use the method above.

    Dan

  • If you wanted to show the x position value with a slider applied to the same layer, you could use:

    position[0]

    If you wanted to display it with a text layer you’d use this expression for the source text:

    thisComp.layer(“your layer”).position[0]

    Dan

  • If you wanted to show the x position value with a slider applied to the same layer, you could use:

    position[0]

    If you wanted to display it with a text layer you’d use this expression for the source text:

    thisComp.layer(“your layer”).position[0]

    Dan

  • Here’s a rough attempt, based on the info you’ve provided:

    lightNumber = index;
    range = 30;

    center = 72 – (lightNumber – 1)*36
    angle = thisComp.layer(“Null for Camera”).rotationY;
    on = ease(angle,center + range,center,0,100);
    off = ease(angle,center,center – range,100,0);
    Math.min(on,off);

    The first line is where you need to establish a relationship between the light number and it’s layer index. As written, it will work if Light 1 is Layer 1 (top of the layer stack). If not, you’ll have to do a different calculation. Since you didn’t specify, I set the range of turn on/turn off to be +/- 30 degrees. I simplified by using 36 degrees as the angle between lights.

    Dan

  • Here’s a rough attempt, based on the info you’ve provided:

    lightNumber = index;
    range = 30;

    center = 72 – (lightNumber – 1)*36
    angle = thisComp.layer(“Null for Camera”).rotationY;
    on = ease(angle,center + range,center,0,100);
    off = ease(angle,center,center – range,100,0);
    Math.min(on,off);

    The first line is where you need to establish a relationship between the light number and it’s layer index. As written, it will work if Light 1 is Layer 1 (top of the layer stack). If not, you’ll have to do a different calculation. Since you didn’t specify, I set the range of turn on/turn off to be +/- 30 degrees. I simplified by using 36 degrees as the angle between lights.

    Dan

  • Have you considered just parenting an arc of lights to the camera, with the outside ones dimmer than the ones nearer the camera?

    Dan

  • Have you considered just parenting an arc of lights to the camera, with the outside ones dimmer than the ones nearer the camera?

    Dan

Page 1075 of 1081

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