Forum Replies Created

Page 6 of 7

  • minLife = 30
    peak = 6
    minFreq = minLife/(minLife*(24/peak));

    this seems to be working somewhat – but why 24? 😀
    and what would be truly accurate?

    I’ll then create a maxPeak and minPeak to add to the code for easier control.

  • Thanks again Dan, I dropped a little thank you tip in your jar! 🙂

    I got this to work the way I wanted it to. Even though I had a little bit of trouble getting the frequency correct, because I wanted a max amount of 2 curves per path and therefore it needed to be linked to the life span / speed of the bubbles.

    Through trial and error I got that timing to work with the following, doing the same thing for the min and max values.

    (minLife is at 30 at the moment)
    minFreq = (minLife/720)

    I was trying something along the lines of
    minFreq = (minLife/(minLife*60));

    which didn’t work exactly how I want it

    Maybe you can unravel for me how frequency in connection to time could be calculated, so that a variable can be set to the amount of peaks the bubble is doing per path and not the amount per sec as freq. is doing it now.

    Best,
    Patrick

  • You’re the best! Thanks a ton. This looks like I might get it to work the way I want. I’ll take some time to test it out and will report back.

    You’re amazing! Thank you 🙂

  • Oh man, I guess I’m just totally overworked. I can’t see the simplest things today….

    Yes that’s it and the script works like a charm like that.

    Thanks a million!

  • I tried it in a clean comp with a simple circle and it jumps at

    00:12:24

    00:24:24

    it always switches 24 frames after the given second.

    If I use 11 seconds as hold time it jumps at

    00:11:24
    00:22:24

    so it’s as if I’m missing something in the overall comp settings or preferences then?

    holdTime = 12; //time to hold each position (seconds)
    seed = Math.floor(time/holdTime);
    seedRandom(seed,true);
    random([thisComp.width, thisComp.height])

  • Thank you Dan for helping me out!

    There’s no time remapping in there.
    I’ve randomised an ellipse with turbulent displace and rotation.
    Scale has looping keyframes from 00:00:00 to 00:12:00 (also tried 00:11:59)
    and the repositioning always happens after 12sec and it’s multiples.

  • Oh man, life can be so easy… damn! 🙂

    Thank you both!

  • Ok this was ages ago, but I’d need a hint on how to do the best possible software upres.
    You used compressor. Do you remember how you used it? Which settings….

    Thanks a ton!

  • Ah ok, that clarifies it! Thank you a ton!

  • Dan, you’re the man! It looks spot on (no pun intended 😉 ).
    Thank you so much.

    Just that I understand how this works:
    When I grab the info from the layer, it always refers to it’s actual position on the comp?
    Because I would’ve guess that width and height are static values.

Page 6 of 7

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