Forum Replies Created

Page 2 of 2
  • Sami Bayley

    November 10, 2021 at 11:20 pm in reply to: Posterize Time effect messing with path animation

    THIS!!!! Absolute gold dust mate. Exactly what I’ve been looking for. Thanks a lot!

  • Sami Bayley

    November 6, 2021 at 12:38 pm in reply to: Jittery motion on a simple animation

    What frame rate is your composition? And have you exported at the same frame rate?

  • Sami Bayley

    October 11, 2021 at 3:59 pm in reply to: Using expression to loop layer and trim Work Area?

    Hey Scott, sorry this was a while ago. I’m having trouble.

    Should this work?

    var win = new Window (“palette”,”Comp Duration”,undefined);

    var title = win.add(‘statictext’,undefined,”Seconds”);

    var myTextSec = win.add(‘edittext’,[100,120,150,140],0);

    var title2 = win.add(‘statictext’,undefined,”frames”);

    var myTextFrames = win.add(‘edittext’,[100,120,150,140],0);

    var btn = win.add(‘button’,undefined,”Submit”);

    btn.onClick = function(){

    var myComp = app.project.activeItem;

    var myLayer = myComp.selectedLayers[0];

    myComp.duration = myLayer.outPoint;// set duration

    }

    win.show();

  • Sami Bayley

    September 30, 2021 at 12:37 pm in reply to: Exclude layers from preview for faster previews

    Gotcha, thanks Michael. Would be nice to see everything while working, but choose to only view certain parts in a ram preview.

  • Sami Bayley

    September 27, 2021 at 10:18 am in reply to: Animating wiggle effect problem

    Hey Dan, this is great. And defo working, I’ve just got a slight hiccup.

    This is what I’m working with:

    freq = thisComp.layer("WIGGLE").effect("Slider Control")("Slider");

    amp = 30;

    n = freq.numKeys;

    orig_xPos = transform.position[0];

    orig_yPos = transform.position[1];

    ground = effect("Ground")("Slider");

    if (n > 0 && freq.key(1).time < time){

    accum = freq.key(1).value*(freq.key(1).time - inPoint);

    for (i = 2; i <= n; i++){

    if (freq.key(i).time > time) break;

    k1 = freq.key(i-1);

    k2 = freq.key(i);

    accum += (k1.value + k2.value)*(k2.time - k1.time)/2;

    }

    accum += (freq.value + freq.key(i-1).value)*(time - freq.key(i-1).time)/2;

    if (orig_yPos < ground) {

    [orig_xPos, orig_yPos];

    } else if (orig_yPos > ground) {

    [orig_xPos, ground];

    }else{

    accum = freq.value*(time - inPoint);

    }

    wiggle(1,amp,1,.5,accum)

    }

    I can’t get things to work with the ground plane I’ve added. It throws the rest of the keyframes off.

    The “ground” slider is for a shadow rig that I put together that basically stops the main layer clipping with the shadow.

    Any idea’s? Again, I’m pretty crap at this so any help is seriously appreciated.

  • I also would love to add a delay to this, I’ve got a layer parented to another “leader” layer. Said leader layer has some position keyframes, the inertia effect is working great, however, I’d like the child layer to also have some delay. I’m pretty new to expressions so am still trying to figure it all out!

    What I’ve tried is using this expression:

    delay = .03;
    parent.fromWorld(toWorld(anchorPoint,time-delay))

     

    Along with adding this to yours:

     

    //inertial children bounce (apply on "position")
    n = 0;
    amp = 4;
    freq = 1;
    decay = 4;
    delay = .03;

     

    For some reason its just not doing what I want it to do!

     

  • Hey Eduardo! Does this not work with any easing?

Page 2 of 2

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