Forum Replies Created

  • Thanks for looking into this Dan, I will find another workaround.

    Cheers

    Jamie

  • I would be using a precomp, the same size as the main comp with animated shape layers to control the scale of the objects in the main comp.

  • Hi Dan,

    Is it possible to use this but with a inertial bounce similar to this expression?

    Thanks

    Jamie

    // Inertial Easing (elastically reacts to the speed at which it was animated)
    amp = .1;
    freq = 2.0;
    decay = 2.0;
    n = 0;
    if (numKeys > 0){
    n = nearestKey(time).index;
    if (key(n).time > time){
    n--;
    }}
    if (n == 0){ t = 0;
    }else{
    t = time - key(n).time;
    }
    if (n > 0 && t < 1){
    v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
    value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
    }else{
    value
    }

  • Thanks for trying Dan, much appreciated.

    Jamie

  • Hi Dan,

    Thanks for this, it works a treat on rectangular shape layers but because Im re-creating a “patchwork of fields” effect I need to use bezier paths. Is there a way to adapt this expression for beziers?

    Thanks

    Jamie

  • Hi Dan,

    Thanks for the speedy post and sorry for not being clearer. I have a composition with about 130 individual shape layers that I want to get an average colour from an image for each of the shapes. I wanted to use an expression on the shapes colour or it could use it on a fill effect that applies the average colour to the shape based on the shapes area. I can’t use anchor points because if you use the images anchor point all the shapes will have the same colour and the shapes anchor point is the centre of the comp so thats no use either. It would be great if the expression automatically set the area based on the shape it was applied to so I didn’t have to manually change the expression for each shape.

    I hope this is clearer.

    Thanks

    Jamie

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