No video

interpolating expressions are game changing - after effects expression tutorial

Interpolating expressions are really useful ways to convert ( or map ) one range of values to another, and once you learn about them / start using them more you start to understand that there are tons of applications for expressions like this to either solve problems for you or just speed up your workflow!
The interpolating expressions are linear(), ease(), easeIn(), and easeOut(). The only difference between them is how your values get interpolated (converted). Do you want them to interpolate 1:1? Then your best bet is linear(). Want them to interpolate more smoothly by accelerating and decelerating in and out of your output values? Then go with ease().
All of them take the same arguments: linear(input, min, max, value1, value2)
- input is the number the expression will look at and use to interpolate to your new value
- min and max are the minimum and maximum value of your input
- lastly value1 and value2 are the output values
The expression will output value1 while the input is less than or equal to min, and output value2 while it's greater than or equal to max, any input value between the min and max will be interpolated based on which interpolation expression you chose!
for example if the expression was linear(slider, 0, 100, 0, 10) - where slider is a linked slider controller, if the slider was at 0 the output would be 0, if it was at 100 the output would be 10 and if it was at 50 the output would be 5!
Now the power of these expressions really come from the fact that while the input, min, and max need to be numbers, the value1 and value2 outputs can be almost anything! You can rig up a slider to control the colors of layers in your projects, use the distance between objects to change a layer's size, or have a layer's Y value control the rotation of another layer!.. just to name a few. And all this is done without a single keyframe!
my microphone
amzn.to/3BllGfV (affiliate link)
socials
/ academyofedits
/ theacademyofedits
timestamps
0:00 - how the expression works
2:07 - variable parenting (trademark) example
4:03 - stabilizing zoom example
5:00 - creating reusable assets / templates
tags
adobe after effects, after effects, adobe, after, effects, mograph, motion graphics, motion, graphics, vfx, visual effects, tutorial, tut, how to, how, help, tips, after effects tutorial, motion graphics tutorial, vfx tutorial, linear, ease, easeIn, easeOut, expression, expressions, rigging,coding, link, parent, pick whip, lesson, interpolate, interpolation, map range, linear expression, ease expression, scripting, templates, template

Пікірлер: 31

  • @BanditRants
    @BanditRants4 жыл бұрын

    Quality is unreal! Hopefully the KZread algorithm will get it's shit together and start promoting this to AE artists.

  • @AcademyOfEdits

    @AcademyOfEdits

    4 жыл бұрын

    Thanks! And hey KZread Algorithm if you’re listening - Bandit believes in me, why don’t you?

  • @suraiya21
    @suraiya218 ай бұрын

    I never love expreeions more. this is soo cool. Thank you so much for this 'to the point' explanation and no irritating time wasting intro .

  • @shixxor
    @shixxor3 жыл бұрын

    Please never stop making videos. Can't believe it took me so long to discover this channel.

  • @vanya377

    @vanya377

    3 жыл бұрын

    It almost nerves me to see those trashy long videos that get way more views and credit, whereas AoE videos are probably worth a dozen of those, combined. Fr, there are so many things going on but AoE never skips anything. So, beginners and more advanced users can follow the video with ease.

  • @shixxor

    @shixxor

    3 жыл бұрын

    @@vanya377 wise words

  • @coolkabe
    @coolkabe4 жыл бұрын

    God damn, I love being a nerd.

  • @joaorzc
    @joaorzc4 жыл бұрын

    top stuff, as always. congrats!

  • @LuizGustavoCasagrande
    @LuizGustavoCasagrande3 жыл бұрын

    Your channel has changed my life. Thank you! Tutorials on your text animation (that sort of Harry Potter-ish vibe) and screen transitions would be very welcomed!

  • @michaelmcmahon7274
    @michaelmcmahon72745 ай бұрын

    Also, thank you for this example.

  • @yudhapratama2322
    @yudhapratama23224 жыл бұрын

    how I just know this channel NOW

  • @garebizarre4446

    @garebizarre4446

    3 жыл бұрын

    Bang buat tutorial juga dong, film abang keren²

  • @yudhapratama2322

    @yudhapratama2322

    3 жыл бұрын

    @@garebizarre4446 film mana tu

  • @SinsAndSmokeOfficial
    @SinsAndSmokeOfficial3 жыл бұрын

    yo been watching through the videos on this channel and thank you so so much for this video!! been doing my best to learn more expression work and this is helpful af, love the tutorials!!

  • @nitromusik9275
    @nitromusik92752 жыл бұрын

    Beatiful tutorial

  • @user-qn3yq6sn5b
    @user-qn3yq6sn5b3 жыл бұрын

    kinda confusing at first, but after making a little project with variable parenting tm I got the hang of it. thank you!

  • @leahpy
    @leahpy4 жыл бұрын

    Awesome video! I really need to get into expressions, and your channel is helping me a lot! You really deserve more views! Do you also have an Instagram account for this channel?

  • @AcademyOfEdits

    @AcademyOfEdits

    4 жыл бұрын

    Thanks Leon! Glad I’m able to help! :) I DO technically have an Instagram but at this point I’m just parking the username because I haven’t really posted anything other than little video teasers on there so far. But for future reference to people who might see this comment in the future It’s theacademyofedits !

  • @g0gool_
    @g0gool_3 жыл бұрын

    love your content

  • @edisonalpforp5325
    @edisonalpforp53253 жыл бұрын

    Nice video !

  • @Rdigav
    @Rdigav3 жыл бұрын

    OMG I love this! Thank you so much! :D

  • @michaelmcmahon7274
    @michaelmcmahon72745 ай бұрын

    Is there a way to (using the star accross screen example) leave a trail of stars aligned equally on screen as the star goes across?

  • @francofx
    @francofx3 жыл бұрын

    linear() is epic

  • @GGarnier37
    @GGarnier373 жыл бұрын

    Thank you for this video, helps a ton! I have one question i hope someone can answer, i'm basically trying to recreate the first example you use, where the circle scales up when it gets close to the other one. linear(dist,1000,0,100,200); The thing is i don't understand how you define the variable dist that is if i understood right defined by the distance between the two circles ?

  • @AcademyOfEdits

    @AcademyOfEdits

    3 жыл бұрын

    Thanks! dist was just a variable i used to simplify what was going on, the real function is "length(pos1, pos2)" and then you can just pickwhip the positions of each layer to fill pos1 and pos2. Length just gives you the distance essentially so the offscreen code for that example was something like "dist = length(pos1, pos2);"

  • @clintdvo
    @clintdvo Жыл бұрын

    How did you not add variable parenting to your tags? It's not a trademark if you didn't.

  • @LivingTech
    @LivingTech3 жыл бұрын

    So, at the end, when you said, "I know that might have sounded cocky, but all I want is...", I thought, "Dude, great video, but now you have to go and ruin it by saying some BS thing like all you wanted was "world peace"! Then you said what you did, and I was so relieved to not have to unsubscribe (kidding)! Haha ! (My previous text notwithsstanding, world peace would obvs. be a good thing...)

  • @user-bm3rc3os6d
    @user-bm3rc3os6d3 жыл бұрын

    Hey man, love the way you teach. You're confident but you don't come across as a total dick lol. Anyway... I'm kind of stuck here and i'm on the verge of giving up. I'm trying to use SourceRecAtTime to create an auto resizing box that changes its size smoothly as text animates in from below the shape (hidden with a mask) and animates out upward back out the mask. The text then resets and the animation repeats. I can't seem to figure out how to set up the ease expression with SourceRecAtTime so as the text changes and animates back from below the shape into the center, the shape/textbox scales smoothly instead of suddenly. I can't find an answer anywhere and my brain breaks when it comes to expressions. If any of that made sense, please send help...

  • @AcademyOfEdits

    @AcademyOfEdits

    3 жыл бұрын

    Hey Ben! It's a little difficult to visualize so I might not be fully grasping what you're asking but this is what I'd try: Add a slider to the Text Box that you want to resize smoothly, then in the shape's size expression box create variables for what the x and y size should be using interpolating expressions. So for example something like "x = ease(slider, 0, 100, defaultBoxWidth, SourceRectAtTime().width);" So that when the slider is at 0 the box size x value (the width) will be whatever you want it's default width to be, and when the slider is at 100 it uses the SourceRectAtTime width value. You'll also have to do the same for the Y value which would be something like: "y = ease(slider, 0, 100, defaultBoxHeight, SourceRectAtTime().height);" and then make sure to actually tell the size to use the x and y variables we just made with "[x,y]" on the last line! Hope I understood the question correctly and that helps at least get you on the right track!

  • @user-bm3rc3os6d

    @user-bm3rc3os6d

    3 жыл бұрын

    @@AcademyOfEdits Hey! Thank you so much for replying. The issue i'm having with this is when I use the ease expression with SourceRecAtTime() as you demonstrated, I get a "SourceRecAtTime() is not a function error message. Am I missing something super simple here?

  • @AcademyOfEdits

    @AcademyOfEdits

    3 жыл бұрын

    @@user-bm3rc3os6d Try with a lowercase “s” haha, sourceRectAtTime()