An introduction to programming in After Effects
HTML-код
- Опубликовано: 22 май 2024
- A video on starting to code in After Effects. I assume that you have no prior experience coding so I will go through things slowly and cover every tiny detail.
Project files:
github.com/clear-code-project...
Timestamps:
0:00:00 Intro
0:00:00 Intro
0:00:35 Intro to coding in Ae
0:14:27 Easy projects
0:14:27 Linked movement
0:21:12 Colors and the 'if' statement
0:34:56 Custom expression controls
0:49:32 Special Keywords (time & index)
1:02:21 Functions
1:07:48 Medium projects
1:07:48 More complex expressions
1:24:43 Animations with code
1:36:17 Influencing keyframes with expressions
1:46:13 Creating a sliding list
1:56:04 Working with time
2:09:15 Advanced projects
2:09:15 Creating a box around text
2:18:54 Creating custom functions
2:28:18 Creating an animated sine curve
2:53:00 Creating an arrow that always points in the right direction
3:02:11 Animate by sampling colors
Great respect for you man! I've been looking for something like this and you are always there for me to learn awesome programming. Thanks for all the tutorials!
thank you for this! love your teaching style and the little exercises you include
I appreciate a lot your time, your dedication, your knoledge and your willing to share this amazing content to us! Thank you so much!
His explanations are the easiest out there!!
Thank you so much !!
This is an excellent course. Well explained throughout and the exercises really work to reinforce learning. Superb. Love to see a follow up course. Thank you.
Terrific introduction to expressions. Am halfway through. Much appreciated!
Amazed. Keep it up. Thanks for creating quality content.
one of the best channels I discovered ever, thank you for your time, great teacher!💯👌🙏🙏🙏🙏
I greatly appreciate for dedicating your time and effort to create this video.
Amazing stuff! Thank you very much for sharing!
I love your Videos man! Keep up the good work ;)
this SIR , is a miracle, thank you very much.
Thank you for a fantastic tutorial!
This kind of tutorial is really cool!
Looks cool!
awesome and simple ... continue
This is amazing. Thanks a lot
Thank you sir for this tutorial
2:35:09 - To draw a sine wave, it might be a better approach to first create a shape layer using the Pen tool.
Then, you can write the following expression in the properties under content > shape > path > path.
var positions = [];
var amplitude = 200;
var numPoints = 250;
var xSpacing = 20;
for (var i = 0; i < numPoints; i++) {
var xCoord = i * xSpacing;
var yCoord = Math.sin(i / (amplitude / xSpacing)) * amplitude;
positions.push([xCoord, yCoord]);
}
createPath(positions, [], [], false);
How are you guys writing and explain this complex coding are you humans?
Indeed, the equation for a sine curve appears and is used extensively in physics, mathematics, and many other areas. If you're interested, you can familiarize yourself with this type of coding through visual design coding using tools like p5.js. And yes, I am much more human than you might think👾
wow!!!!! Thank you so much sir.
Thankful man💪
best video I ever saw
Great videos!!
Thank you! so clrear explanation!
Also, you should magnify the coding area, to follow the code.
Due the conection becomes blury and difficult to follow!!
You got a trully follower!!
Your the best! Thanks
million thanks sir
THANKS!!!
wow what a legend
got my eyes to black but, its worth studying the expressions thank you so much.
thank you very mush
Thanks!
Thank you so much! :)
@@ClearCodedoes the === also work on after effects scripting?
Thanks many many much more ,,,, ....
At 2:28 it says Command Click on Mac, it's actually Option Click on Mac
For a beginner, learning the coding is difficult, how is the user suppose to know what coding they should use and when to apply it to the right key frame? Their are many codes the user would have to memorize, including understand the functionality behind it.
the secrete is that you do not have to memorize anything, try to make the code self explanatory for you, add comments, name variables with meaning and then forget it.
Hi,
When doing 48:28 "Custom expression controls" my syntax is correct but AE throws the error "property or method named [object Property] in Class 'Array' is missing or does not exist." It's the code to do with toggling on/off the drop shadow opacity (between values 80 and 0). How do I fixt this? Thanks.
came across the same problem you did. What I understand is that the "0" or "1" returned from the checkbox is not the same as a number 0 or 1. Maybe the line has to be converted somehow. My work around was to just literally put a 0 inside the index instead of referencing the variable returning the 0 or 1 from the checkbox.
It's just weird because if you did something like if (checkbox == 0). It does check it correctly.. So if statements can be another work around. Might be something the old after effects versions were able to do and maybe an update made the syntax different.
Hello mate !
Try using
If (controllervalue==1) {100}
else (0)
PLS CAN U MAKE EXTENTIONS
how DO I access code that I have already done?
Make a tut for Fusion and Nuke.
I tried to changing color depend on shape moving (x,Y) but not working ;(
I did it only in X position
>
var Black = [0,0,0,255]/255;
var CloudyGray = [109,105,104,255]/255;
var SmokeyGray = [114,110,109,255]/255;
var White = [255,255,255,255]/255;
if(thisComp.layer("Select Color").transform.xPosition
you should compare from the higher to the lower using > instead of
Now I gotta get the app
Not that easy, AE is like $300 a year
@@isaacparker3593 crack
@@madeinhvn Isn't that wrong!!!
What kind of code is this called ? JavaScript ?
exactly, after effects uses javascript in its coding, with some custom functions/objects in it.
@@ighao6032 so after this video , i can do coding in java script ?
@@doityourselfpakistan6535 not necessarily. its just a similar structure.
what laungauge is that??
javascript
Hello there
I started editing, because I had free time and didn't want to learn code.
Instant karma
Not every hero wears cape
Is there a function that returns the total number of ‘and’ you say in this video?
Thank you, video was great, more AE content please
Thanks!
thank you so much