VertGap = (thisComp.height - h*numCols)/(numCols + 1) HorizGap = (thisComp.width- w*numRows)/(numRows + 1) Only two minor modifications have been made to the original code: "minVal" has been changed to the layer's In Point, and "maxVal" has been changed to the layer's Out Point minus the segment duration (so we don't slide off the end of the footage.) So the effect will be time randomly sliding back and forth. The After Effects implementation of expressions has a wonderful built-in random motion generator - the wiggle() method. For a lot of applications, wiggle() provides all the randomness you will need. It's similar in concept to the wiggler keyframe assistant but you use wiggle() inside an expression. wiggle() takes five parameters, but for our purposes, we're only going to use the first two. The first parameter is frequency (in wiggles per second) and the second parameter is amplitude (in the units of the property being wiggled). If you're wiggling a Position property, for example, amplitude is in pixels.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |