Forum Replies Created

  • Dax Castro

    April 16, 2018 at 10:16 pm in reply to: Random population people icons on map

    No worries. The mask part is easy. I would just pre-comp that layer and apply a mask. Basically, I am looking for a script to fill the screen with a specific symbol of random sizes and random appearance times within a specific time range.

    “Fill up the screen in 5 seconds with X copies this specific image and vary the scale from 30-70% of actual.”

    Hey Dan, just wanted to thank you for being so responsive to everyone on the board. You really have helped me learn many new things.

    Thanks
    Dax

    Dax

  • Dax Castro

    April 16, 2018 at 8:00 pm in reply to: Random population people icons on map

    The goal would be to:

    1. Set 1 comp “person”
    2. Appy Script that
    – Randomly populates the entire page (I can apply mask to manipulate where it shows up)
    – Randomly sets delay so the appearances stagger.

    Sorry I am doing a terrible job at explaining the goal.
    Hopefully that helped.

    Thanks!
    Dax

    Dax

  • Dax Castro

    April 16, 2018 at 7:28 pm in reply to: Random population people icons on map

    I created the effect manually but figured there had to be a way to script it. This is what I did manually.

    https://youtu.be/_ROyrkIEbPM

    Dax

  • Dax Castro

    April 16, 2018 at 7:15 pm in reply to: Random population people icons on map

    Good to know I was on the right track. the second part of your script was one I was playing with but couldn’t get it to produce any animation. I put the expression in the position layer, right?

    Thanks for the quick reply!
    Dax

    Dax

  • It basically calculates the velocity (time spent going from one size to the other) to determine the bounce amount.

    Dax

  • You might try this. It is for inertial energy “bounce” based on velocity. I use it for a lot of my stuff when an object grows in a scene.

    // Inertial Bounce - Created by Animoplex: www.animoplex.com
    // Original Version: https://www.graymachine.com/top-5-effects-expressions/
    // Modified expression for a smoother bounce effect and easier editing. Use this on any property with two keyframes to get a nice bounce effect that is based on velocity of the value change. Perfect for a scale from 0 to 100 or a speedy rotation that needs some extra life. Adjust amp, freq and decay values to tweak the effect. Amp is intensity, freq is bounces per second, and decay is the speed of decay, slow to fast.
    // Full Tutorial: https://www.youtube.com/watch?v=653lxeVIyoo

    // Variation A

    amp = 5.0; freq = 2.0; decay = 4.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/100)*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
    }
    else { value; }

    Dax

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

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