-
Fade up opacity on layer for first 20% of an interval, then repeat.
Simple Version:
I have a layer that I want to fade up in Opacity from 0%-100% for the first 2 seconds of a 10 second interval. I want this to then repeat, the layer would snap back to 0% on the next 10 second interval, and go up to 100% over the course of 2 seconds, etc etc.
Complex Version:
That said, what I *really* want is not a fixed 10 second interval. I would like the interval tied to when a digit changes on a text layer. I have a separate text layer with the source text tied to a simple slider/rounded expression:
Math.round(effect(“Slider Control”)(“Slider”));
What I would really love is that the interval length is determined every time the number changes. So, when the above sourcetext changes digits, I would like a new interval to start. And instead of a fixed 2 seconds of fading up, just the first 20% as the interval of fading up would be preferable. Does this make sense? Unfortunately this far beyond my expression understanding so I’m not even sure if it’s possible.
Math.round(effect("Slider Control")("Slider"));