The Secret to Creating Dynamic Bends in After Effects
33,668
Published 2024-03-27
Download the corresponding project files here: www.schoolofmotion.com/blog/dynamic-bends-in-after…
Expressions can be scary if you’ve never used them before. And even if you have, you may be avoiding them because who the heck wants to code?! But here’s the thing... After Effects expressions can make the impossible possible, the impractical practical, and the complicated simple. Sky will show you how to use a simple expression called if/else to help you animate things like color and anchor point position automatically so you don’t have to spend tons of time rigging and keyframing. The end result is a simple setup that gives you complex looking animation, with barely any work.
Sky used VideoCopilot’s free FX Console, which you can grab at: www.videocopilot.net/tutorials/fx_console_plugin/
Check out Sky's YouTube channel: / @skymography
SCHOOL OF MOTION COURSES
All Courses - som.bz/3SUg5Yb
Guided Courses - som.bz/3LYmJef
After Effects Courses - som.bz/42sBon6
2D Animation - som.bz/3VCBtme
Animation Bootcamp - som.bz/3Lsj7RP
Expression Session - som.bz/3JNeAbe
Intro 00:00:00
What is If/Else? 00:00:20
How It Works in After Effects 00:01:01
The Expression in a Practical Application 00:07:52
Let's Start Animating! 00:11:24
Finishing Touches 00:24:53
All Comments (21)
-
Was a pleasure to be hosted on the channel for this video, hope you all learn something from this :) And definitely share with us if you make something using these techniques!
-
As a distortion-obsessed animator, I fouind this tutorial to be EXCELLENT.
-
I clicked on the video to learn after effects tips and came out as a software developer. thank you :) this expression thing is crazy
-
hey your link doesnt show off to the email address
-
cant get the files throw mail the mail didn't sent to me
-
@Skymography hey bro, I still face an error on 'anchorpoint + value' , when I applied on position my layer is still teleporting when using rotation. How can I fix that?
-
Great tutorial! I'm lazy, so I found it annoying to have to manually enter in the Anchor Point values. I adjusted your Anchor Point expression to automatically find the bottom corners. Here it is: var layer = thisLayer; var xAdj = 1; //shift corner on X, <1 moves anchors toward center var bBox = layer.sourceRectAtTime(0); // Define the anchor point for bottom right corner var anchorA = [layer.anchorPoint[0] + (bBox.width / 2)*xAdj, layer.anchorPoint[1] + bBox.height / 2]; // Define the anchor point for bottom left corner var anchorB = [layer.anchorPoint[0] - (bBox.width / 2)*xAdj, layer.anchorPoint[1] + bBox.height / 2]; var r = layer.transform.rotation; if(r >= 0){ anchorA }else{ anchorB }
-
Awesome tutorial, although when I did this myself, the expression used for making sure layer stayed in the same spot after the anchor points switched, didn't work. It doesnt shift it the right amount... followed everything step by step too. Any pointers?
-
Working with expressions is all fun. Thanks
-
I click out of curiosity and I learned a LOT, bending was just an excuse to serve knowledge
-
one of the best video to learn the core animation of Aftereffects. Just Love It
-
Was so fun to follow along and feel like I levelled up in my skills, thank you so much.
-
I love seeing real-life objects animated in absurd ways, amazing video!
-
Skymography is a fantastic instructor. I loved this. Great collab!
-
Great video, thank you for sharing these techniques
-
Hi @schoolofmotion , I also didn't receive anything on my email. Is the site working as expected?
-
That was incredible!! learned so much so quick
-
Thanks man!!
-
Great tutorial and cool, simple animation! Besides being a smart rig, lots of other cool little workflow ideas in here - a couple of my favorites were 1) using Masks set to "none" with a Fill effect to add the bg shapes to the layers, and 2) using Adjustment layers w Transform fx for camera moves... Always great to be reminded of different/simpler ways of doing things! Thanks for sharing!
-
Thank you so much, I've been using two nulls to do the rotation animation in your case and I've never thought of using expressions to change the anchor points...Such an easy but helpful trick. Also for the flickering trick, I've been keyframing the value for wiggle....Life saver tricks, my knees down here😆😆