In Part 4 and Part 5 of this tutorial you will learn how to apply effects and expressions to existing layers using Javascript. The result is designed to handle large numbers of pictures with a randomly created offset, so that they form a wall when the created slider is 0 and disperse in Z-space when increasing the slider value. The script will also have a user interface, so you can use it on any number of layers, without changing the source code.
Tutorial
Download Tutorial .mp4
File size 137.6MB