Here are a few questions to solve your fears and questions about expressions.
What expression is 1? Ae?
2.2. What are the advantages of AE expression?
3. What's the difference between expression and script?
Just learning expressions, you can use expressions quickly without knowing the principle. For some common expressions, remember to use them when you use them.
1.wiggle (frequency, amplitude).
Frequency is the number of vibrations per unit time, and amplitude is the amplitude of vibration.
The wobble jitter expression can be used as follows:
2. Time *
Time and time expression is a sharp weapon of circular animation.
The usage method is as follows:
3. Time remapping *n frame extraction expression
Add a time remap to the layer/composition, and then add this expression to see the effect.
4.loopOut()- Create a loop animation expression
Advanced:
LoopOut () brackets can be filled with content, as shown below:
0 means to start the cycle from zero frame, and the cycle types are:
Cycle: Move back and forth repeatedly.
Offset: key frame cycle before superposition.
Continue: The last speed of attribute change.
If you don't understand the meaning of the text, open the software to try the effect. As shown in the figure, from frame 0 to frame 20, all key frames are K. Cycle keeps circulating, and offset keeps increasing at a constant speed after adding 20 degrees to the last key frame. Continue is a key frame of 0-30k, and the position of the last key frame continues to rotate at the previous speed.
5. Random (x, y) random number expression
Distinguish the meaning of wiggle (amplitude, frequency), two parameters in brackets, wiggle is two parameters that control different properties, and X in random represents the minimum value (min) and Y represents the maximum value (max), which means to randomly take a number between the minimum value and the maximum value.
6. Index layer expression
This expression is particularly useful. For some effects that change a little regularly with the increase of layers, you can use this expression to achieve the effect directly by copying.
7.Math.round () integer expression
Put the expressions that need to be rounded in brackets to achieve rounding.
Sometimes, after adding many decimal points to the text, you can use time expressions to clear the decimal points. In addition, for text layers, if there are multiple text layers with the same text, you can use the operation method shown in the figure below, and you can modify all of them directly by modifying one text layer.
8. Mathematics. sin expression
Math method can call mathematical functions in ae, and Math is equivalent to a "box" through which some mathematical expressions in ae can be called. Ae system can identify the functions you use when it sees you use mathematical expressions, such as sin, Cos and so on.
We don't need to know every expression in the picture for the time being. Let's learn a commonly used Math.sin () expression and call the sin () function.
According to the characteristics of sin function, the value range of sin () is between-1 and 1, regardless of the value of time*3 in brackets.
So sin()*60 is an extended range of-60,60.
For another example, adding Math.sin(time*8)*20 to the position x attribute can get the sliding effect;
The flexible use of expressions is combined with these basic expressions, so it is not enough to practice and recite more, just for understanding.
9.valueAtTime (time -n) delay expression
This expression can get the value of the current time layer effect, and the delay effect can be made by moving the time axis of the layer effect forward or backward through the parameters in parentheses.
Before use, give the moving object K key frames, and combine the expression of index layers learned above to make the following effects.
These expressions are the most basic and easy to understand. Remember more, take it out when necessary, accumulate it slowly, and learn the principle of expression by yourself.
Today, I will share these very common and simple expressions. Next time, through a case exercise, we can know and express together through the actual roots.
In fact, sharing is a summary of what I have learned in my life, and we grow together. I hope more people will not be confused, and more people will find their own mentors in the later stage.
I am a late hamster.
Me: Come on!
WeChat WeChat official account attention: Little Hamster loves the later period.
More resources will be put in WeChat official account for everyone to extract, and more jobs and partners will be waiting for you here.