Forum Replies Created

  • Worked perfectly! Thank you Dan! You’re right, this is a tricky one. Wrapping my mind around it is harder than the expression itself. Thanks again.

  • Ah, good point about the point control, my idea was morphing as I typed the original message

    😅 Works flawlessly though. As always, great work Dan and thank you for the assist!

  • Shane Starnes

    March 21, 2024 at 3:19 pm in reply to: Straight line ease into Math.sin/cos

    Wow Dan. This is great, and works exactly as I need. Probably going to replace it with the handy expoOut function for a smoother animation. Either way, thank you Dan!

  • The text is jumping with descenders because (I imagine) you are using sourceRectAtTime to control scale and/or anchor point.

    To remedy this, if you’re working with multiple text layers (1 per line), you’ll want to add this expression to your sourceText property of each layer:

    str = text.sourceText;
    time < 0 ? str + "|" : str

    Then, for the sourceRectAtTime() values, you’ll want to use sourceRectAtTime(-1) for the .height and .top values. For example, if the Anchor Point is left aligned:

    rect = sourceRectAtTime()
    rect2 = sourceRectAtTime(-1)
    x = rect.left;
    y = rect2.top + rect2.height / 2;
    [x,y]

    If you’re using paragraph text and one single text layer, you’d set each of your sourceRectAtTime() values to a time later in the comp, when the text is fully typed out.

  • Hey Dan,

    Fixed the issue, wanted to fill you in.

    • Regular comp, tons of expressions: 14:51 render time
    • posterizeTime(0) in front of each expression: 9:16 render time
    • posterizeTime(0) + “Freeze Frame” on comps with one single active frame: 1:36 render time

    Thank you, as always, for the help 🙂

  • I started with posterizeTime(1), and noticed slight performance enhancement.. Is this the traditional method of handling these types of issues? I was considering pulling everything heavy with expressions into a pre-comp and set them as active for 1 frame, then using “Freeze Frame” on those pre-comps. posterizeTime(0) would be much simpler than an entire re-structuring of the project. Do you think it would accomplish the same goal as my idea?

  • Oh my god it works perfectly for my use. This is amazing. Thank you so much for this hack! Very creative!!

  • Interesting idea, Dan. I will try this out over the evening and get back to you tomorrow with results. Thank you for your input. Always appreciated!

  • Hi Dan,

    Thank you for your response, and I apologize for my late reply. This works perfectly for my use case. So happy to have received your input on this matter. You’re a legend! 😃

    Regards, Shane

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