Forum Replies Created

  • I think the problem is, that every “window” get the same seed during your calculation. Same seed means same intervall. Try to add a number to your seed that is unique but did not change during time. So lets add “+index” in this line seedRandom(seed+index,true);

    This means that the index number of this layer will be added to your seed. Duplicating the layer means, that the next layer have a different number added to the seed. You can put “+1” or “+2” here manually of course. I’ll hopes that is a solution.

    seedRandom(Math.floor(time/200), timeless = true);
    holdTime = random(100,200);
    seed = Math.floor(time/holdTime);
    seedRandom(seed+index,true);
    Math.round (random())*100

  • Matthias Weiner

    March 12, 2018 at 1:21 pm in reply to: Trim paths trigger’s on inPoint of layer

    This may help you?

    //get relative time
    t = time-inPoint;

    //get comp fps
    fps = 1.0 / thisComp.frameDuration;

    //set some user var
    start_val = 0;
    end_val = 100;
    end_animation = 15 //set end of animation in frames after inPoint

    //trim path depending on relative time
    linear(t, 0, end_animation/fps, start_val, end_val);

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