Reveal Text using ease(), inPoint, outPoint
Hi expression folks,
I'm trying to create a preset that reveals and hides lines of text - trying to approximate the manual masking effect, or "shape reveal" text effect you see frequently.
Using a combination of Fast Box Blur, Curves, and CCcomposite (creates a box to use as an alpha), plus two different Transform effects (moving the text in and out of the alpha box) I was able to get a single text layer that reveals and hides itself based on the In and Out points... However, when saved as a preset and applied in a new Comp, it does not work anymore.
I must've made a mistake. If anyone can help me spot it, I'd really appreciate it!
p.s. if there's an existing preset for this, that's good too ☺
If I understand your desired effect correctly (a simple Wipe down ?)
I would do it with two linear Wipes like this:
Wipe In efect: Wipe Angle = 0°, expression for Transition Completeness:
WipeOut: Wipe Angle = 180° and expression for Transition completeness=
I used ease(), but you can use linear, easeIn() etc.
Thanks Filip, your code helped me get this working!\
If anyone wants to know, the mistake I made originally was to use this.position inside of the transform effect:
I realize now the transform effect position values are constant at [960,540] for a 1080p composition.
Besides that, Filip's linear wipe approach is better than the "alpha box" I had before. I just added a transform effect to his code so the text slides up and down while it's being revealed.