ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Contain Path Text to Path

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Matthew Ingram
Contain Path Text to Path
on Nov 29, 2018 at 7:31:41 am

Hi there!!!

I'm currently using the Path Text option and keyframing "Last Margin" to move the text along the path.

However, once the text reaches the end of the path itself it extends off of it.

I want to keep it moving but for the last (and in fact first) letter to disappear the moment it leaves the path. (A little like the way clones behave in C4D).

Currently I'm masking out the end of line but it looks messy.

Is there a way to do this? With an expression?

Thank you very much in advance.



Return to posts index

Arthur Hakhverdian
Re: Contain Path Text to Path
on Nov 29, 2018 at 10:56:14 pm

https://drive.google.com/file/d/1aZ8sInQJ7RJ2L997alUDA5iDnEaRLtL6/

100- linear(text.pathOption.lastMargin,312,1510,0,100)
Where 312 is the Left Margin value where text starts falling out of the path and 1510 is the value where the text completely falls out of the path. These values will vary for you.


Return to posts index

Arthur Hakhverdian
Re: Contain Path Text to Path
on Nov 29, 2018 at 10:57:19 pm

Please look into the attached project file to see where that expression was added.


Return to posts index


Matthew Ingram
Re: Contain Path Text to Path
on Nov 30, 2018 at 7:22:13 am

hi arthur

this is really great! and VERY CLOSE to exactly what i'm looking for. thank you very much indeed.

is there a way to

a) have this at the start of the path too? so text before the first point is switched off.

b) the fade out at the end of the line is very elegant - and i will use that in places - but is there a way to make the letters switch off abruptly without a fade?

thank you again for your help with this. fyi it's for a non-profit video about nutrition.

matthew



Return to posts index

Arthur Hakhverdian
Re: Contain Path Text to Path
on Nov 30, 2018 at 8:56:19 pm

Hi, Matthew.
Yes, there is a way to do all of those things, but I'm busy right now. If no one else posts the solution by the time I'm free, I'll provide you with an updated sample that does all of those things.


Return to posts index

Arthur Hakhverdian
Re: Contain Path Text to Path
on Dec 1, 2018 at 3:52:36 am

All right, Matthew, so here's an updated file, which more or less should do what you were looking for:
https://drive.google.com/file/d/1SVnFVIVVlsWllyCYivphkVekOopoIZJa/
I set up a controller for you to specify the min/max margin overflow points after editing text. However, there's an excess/shortage error that I couldn't resolve because I was unable to figure out what to attribute it to.
Maybe someone else can help with that one.
I'd encourage to dissect the expressioned attributes to see what's going on.
Sorry :-(


Return to posts index


Matthew Ingram
Re: Contain Path Text to Path
on Dec 1, 2018 at 8:14:17 am

Thank you very much indeed Arthur your time and expertise hugely appreciated.



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]