Forum Replies Created

  • Amstane Tindi

    December 10, 2019 at 11:03 am in reply to: 3D point to 2D position in 3D layer

    THANK YOU ! I’ve been searching for this for hours!

  • Amstane Tindi

    October 7, 2018 at 3:07 pm in reply to: Link typewriting with blinking animation

    Thanks Dan,
    By the way, I am using your code for the type writing animation, thank you for that. But, is there a way to obtain the time of the end of the animation with a variation of this code?
    I need to know when the animation of typewriting will end depending of the number of character to enter.
    For exemple 20 characters = 100 frames.

    I need this because I want to trigger another animation at the end of the typing. And since there is no “timeAtValue” option that I can use, I thought about extracting this value from the source code of the animation.

    PS: I’m working on a template. that’s why I need this value.

    Thanks again.

    minRate = 3; // frames per character
    maxRate = 6;

    charCount = 0;
    t = 0;
    seedRandom(index,true);
    while (t < time){
    charCount++;
    t += framesToTime(random(minRate,maxRate));
    }
    value.substr(0,charCount)

  • Amstane Tindi

    October 7, 2018 at 12:17 pm in reply to: Link typewriting with blinking animation

    Hi and thank you for your responses !
    I managed to do it with an idéa similar to yours with this code on the Opacity:
    s=thisComp.layer(“TITLE”).text.sourceText; //text
    L=s.length; //nomber of characters
    cf=thisComp.frameDuration;
    LX=(s.valueAtTime(time-cf)).length;// number of characters one image before.
    100* (L-LX)

    This way if the value is the same the opacity is 0, if it’s not which mean a new character was added the opacity is 100 and it goes back to 0 just after.

    But I’m wondering with your solution what is the ! after N0 ? in this line : if(n0 != n1) 100 else 0.

    Thanks again.

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