Frage von millenia:I would like to encourage a scaling and positioning a plane, but this is only every two frames to be animated. Just as a kind of trick stop. The length of the composition should not be changed. Someone an idea how I can do that without a keyframe every 2 frames to put up? Gibts da ne expression?
Schonmal Thanks for the answers.
Antwort von deformatik:
Sounds like a modulo operation. I know the exact code for AE but should not look like this.
if (time% 2 == 0)
(
thisComp. "deinEbenenname. transform.scale *= factor to which
to scale;
thisComp. "deinEbenenname. transform.position + = array to which x
and y value should be moved;
)
else
(
thisComp. "deinEbenenname. transform.scale = 100 (or the value of the
If you want not to scale);
thisComp. "deinEbenenname. transform.position = array with x and y
Value so that layer is centered;
)
As I said, I have the AE-specific code is not memorized in my head, therefore, perhaps because you have to take even the expression of AE guide to help.
Another variation would be the strobe effect (do not know exactly how the thing on German) means of AE. Duplicate the existing layer and scale to position / how you'd like him. Then put on the upper layer and the strobe effect and adjust the duration and interval so that each second Frame of the lower layer appears.
A third possibility would be the expression Loopout. First you create the animation with keyframes, then once you linksklickst old to the position and add the following expression loopOut ("cycle") or loopOut ("continue") (I'm not quite sure which). The same for the scale and finish is.
Greeting