Forum Replies Created

Page 1067 of 1081
  • Dan Ebberts

    July 21, 2005 at 5:26 pm in reply to: Need help remembering a shortcut

    Ctrl + Alt + R

    Dan

  • Dan Ebberts

    July 19, 2005 at 11:05 pm in reply to: Loopable Wiggle?

    This is kind of a hack, but it actually works quite well in most situations:

    freq = 1;
    amp = 100;

    end = thisComp.duration;
    delta = wiggle(freq,amp,1,0.5,0) – wiggle(freq,amp,1,0.5,end);
    wiggle(freq,amp) + delta*time/end

    Dan

  • Dan Ebberts

    July 19, 2005 at 11:05 pm in reply to: Loopable Wiggle?

    This is kind of a hack, but it actually works quite well in most situations:

    freq = 1;
    amp = 100;

    end = thisComp.duration;
    delta = wiggle(freq,amp,1,0.5,0) – wiggle(freq,amp,1,0.5,end);
    wiggle(freq,amp) + delta*time/end

    Dan

  • Dan Ebberts

    July 19, 2005 at 1:30 pm in reply to: how make object follow path

    It must be some mismatch in pixel aspect ratio between the comp and the layers. Does the path start out in the right place? What happens when you change the expression to this:

    percent = thisComp.layer(“Stroke Layer”).effect(“Stroke”)(“End”);
    valueAtTime(2*percent/100)/thisComp.pixelAspect

    What are the pixel aspect ratios of your layers?

    Dan

  • Dan Ebberts

    July 19, 2005 at 1:30 pm in reply to: how make object follow path

    It must be some mismatch in pixel aspect ratio between the comp and the layers. Does the path start out in the right place? What happens when you change the expression to this:

    percent = thisComp.layer(“Stroke Layer”).effect(“Stroke”)(“End”);
    valueAtTime(2*percent/100)/thisComp.pixelAspect

    What are the pixel aspect ratios of your layers?

    Dan

  • Dan Ebberts

    July 18, 2005 at 4:21 pm in reply to: how make object follow path

    Here’s one way. Let’s say your layer with the stroked path is called “Stroke Layer”. Copy the mask shape for the path and paste it into the position parameter of your follower layer. This should create keyframes that cause the follower to trace out the path over a 2-second period. Then just add this expression for position to sync it up with the animation of the “End” parameter of the stroke effect:

    percent = thisComp.layer(“Stroke Layer”).effect(“Stroke”)(“End”);
    valueAtTime(2*percent/100)

    Dan

  • Dan Ebberts

    July 18, 2005 at 4:21 pm in reply to: how make object follow path

    Here’s one way. Let’s say your layer with the stroked path is called “Stroke Layer”. Copy the mask shape for the path and paste it into the position parameter of your follower layer. This should create keyframes that cause the follower to trace out the path over a 2-second period. Then just add this expression for position to sync it up with the animation of the “End” parameter of the stroke effect:

    percent = thisComp.layer(“Stroke Layer”).effect(“Stroke”)(“End”);
    valueAtTime(2*percent/100)

    Dan

  • Dan Ebberts

    July 18, 2005 at 2:46 pm in reply to: yet another expression question, help please.

    If you calculate a new value for z you’d combine existing x and y with the new z this way:

    z = (whatever);
    [value[0],value[1],z]

    If you calculate a z offset, you’d add it in this way:

    z = (whatever);
    value + [0,0,z]

    Dan

  • Dan Ebberts

    July 18, 2005 at 2:46 pm in reply to: yet another expression question, help please.

    If you calculate a new value for z you’d combine existing x and y with the new z this way:

    z = (whatever);
    [value[0],value[1],z]

    If you calculate a z offset, you’d add it in this way:

    z = (whatever);
    value + [0,0,z]

    Dan

  • Dan Ebberts

    July 16, 2005 at 9:53 pm in reply to: Dan-Expression for Counting

    Oh, you want the comma. I get it now. 🙂

    This should do it:

    startValue = 7000;
    endValue = 13000;
    dur = 30; //seconds

    s = “” + Math.round(linear(time,0,dur,startValue,endValue));
    s.substr(0,s.length-3) + “,” + s.substr(-3,3)

    It will only work for values from 1,000 to 999,999

    The tricky part of the expession is just converting the number to a string and then manipulating the string (using the JavaScript substr() method) to split the string into two pieces an stick a comma in between. You may need to dig into a javaScript reference to really figure it out.

    Dan

Page 1067 of 1081

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