Activity › Forums › Adobe After Effects Expressions › Is there a way to invert keyframes?
-
Is there a way to invert keyframes?
Posted by Daniel Haskett on May 29, 2005 at 2:39 amhi there
Basically I was just wondering say you have a series of 6 keyframes for opacity and they are 100, 75, 35, 93, 45 and 22, is it possible to invert their values so they would be 0, 25, 65, 7, 55 and 78 ? does that make sense?
thanks!
dan
Peter O’connell replied 20 years, 11 months ago 7 Members · 13 Replies -
13 Replies
-
Mylenium
May 29, 2005 at 10:17 am[Andrew Yoole] “Nope.”
Thats wrong. AE supports basic math operations so if you type in 100-value you get the inverted value for opacity. Problem is, it only works with one keyframe selected, but I think there is a script floating around somewhere, that will do the trick. Anyway, not really much point in this since it’s easy to calculate the values (as he already has)and it’s only 6 keyframes.
Mylenium
[Pour Myl
-
Steve Roberts
May 29, 2005 at 10:22 amHow about adding an expression to the keyframed property?
Maybe:
100-value
or
100-opacity
(if it’s opacity)(soory, I’m not at the AE station)
-
Mylenium
May 29, 2005 at 11:29 am[Steve Roberts] “How about adding an expression to the keyframed property?
Maybe:
100-value
or
100-opacity
(if it’s opacity)(soory, I’m not at the AE station)”
It would do the trick, but there’s still little sense to it – c’mon, it’s just 6 keyframes…
Mylenium
[Pour Myl
-
Steve Roberts
May 29, 2005 at 12:58 pm[Mylenium] “It would do the trick, but there’s still little sense to it – c’mon, it’s just 6 keyframes…”
Yeah, but I’m one of those guys who thinks expressions are fun, so I’ll stick one in even when it’s not necessary. 🙂
But you’re right, doing the math in the head is a no-brainer. Sometimes we jump to the software solutions too quickly.
I heard of an engineering student who couldn’t calculate his total course load: 9 courses at 8 units each. He had to pull out a calculator to do 9 times 8. Sad.Steve
-
Andrew Yoole
May 29, 2005 at 3:11 pm[Mylenium] “Thats wrong. AE supports basic math operations so if you type in 100-value you get the inverted value for opacity.”
Sure, but who except the tragically mathemetically challenged are gonna type “100-35” to set a keyframe of 65? As you say, “C’mon, it’s only 6 keyframes”. That also assumes the parameter has a percentage basis (between 0 to 100) – what if the keyframes belong to a parameter with a different range? My “Nope” was based on the assumption Daniel may not be ready for expressions just yet, and was almost certainly seeking a standard function like a keyframe assistant to calculate inversions. If that is what you were looking for, Daniel, the answer is nope.
-
Mylenium
May 29, 2005 at 5:29 pmYou won’t get an argument from me… I too love expressions and sometimes find myself creating expressions for things that could be solved otherwise but on the other hand I’m not one of the guys who try to automate the hell out of a program. It’s kind of funny how many scripts you can find on AEnhancers or other resource sites that are really redundant ‘cos the manual setup of the things they are supposed to do is just as fast and easy. That’s one of the reasons why I also never really was impressed with Useful Things or Useful Assistants – at least the scripts that come/came with the package were less than exciting in most cases. And for the same resons I often tend to be a bit opposed to Dan (Ebbert’s)more convoluted expression stuff. but hell, anybody should do what he thinks is the most fun.
Mylenium
[Pour Myl
-
Steve Roberts
May 29, 2005 at 6:32 pm[Mylenium] “…but hell, anybody should do what he thinks is the most fun.”
… and gets the job out the door faster. 😉
Steve
-
Daniel Haskett
May 29, 2005 at 8:36 pmThanks for all the replies, I appreciate the help, I guessed it would involve expressions, which is something I want to get into, but just dont have time at the moment. Thanks again 😉
Dan
-
Rich Rubasch
May 29, 2005 at 10:31 pmTime stretch -100 and copy the keyframes…hit undo and paste them.
That assumes they are equadistant apart.
Rich Rubasch
Tilt Media
Reply to this Discussion! Login or Sign Up