Distribute 2D Grid
With this iExpression you can distribute layers on a 2D grid. Just specify the first layer and all other layers that you apply the iExpression to, will be placed next to this layer in the given distance. You can still move layers away from their grid position using their keyframe values or the wiggle parameters.
First Layer
First Layer (Name or Index)
is the name or index of the first layer. This layer is the upper left corner of the grid and its position determines the position of the grid.
Position
is the position of the first layer in the grid.
Distance
is the distance between neighouring layers in the grid.
Grid Size
denotes how many layers should be placed in one row and one column.
Use Keyframe Value as Offset
allows to move each layer away from its position in the grid using keyframes. In order to be exactly placed at its position in the grid, a layer then must have exactly the same keyframed position as the first layer of the grid. If the position is different, the difference is used as an offset to the grid position.
Wiggle
Frequency
makes the layer wiggle around its position in the grid with the given frequency. If you don't want it to move at all, set the frequency to 0.
Amplitude
denotes up to how much the layer may move away from its grid position. To create a little less regular but still not moving grid, set the frequency to 0 and the amplitude to some value greater 0.
Layer Offset
Offset
allows to delete the first rows or columns of the grid and insert them again behind the last rows or columns. A value of (3,2), for example, moves the first three columns behind the last one and the two topmost rows below the bottommost one.
Download at aescripts.com