We spend time researching ways to optimize the production process. One way we do this is by automating complex and repetitive production tasks. Doing so allows our designers to focus on creating rather than wasting energy on brain numbing tasks.
In this demo, we will be demonstrating how Photoshop and After Effects scripting can be used together to quickly create this rotating photo collage.
Download and unzip the project files. The first script we will run is called "collage-setup.js". This Javascript creates a collage of randomly placed images. When the script is run, the user is prompted to select a folder of images from their computer. The script then proceeds to create the collage by opening each individual image, and placing it in a random location within a Photoshop document. Once all of the images are processed and placed, the script prompts the user to save the resulting .psd file in a folder of their choosing.
In this second step, collage.psd is imported into an AfterEffects project as a composition. A second script is then run within AfterEffects to further process the PSD file. The script sets each layer as a 3d-layer, and then places each layer at a random position on the Z-axis.

You now have a 3d collage. Create a camera, and move and pan it as you wish. We created a camera and moved the camera in a 360 degree orbit around the collage.
Although this is a very simple example, is demonstrates the power of scripting within Adobe applications, and how it can be applied directly to produce stunning effects quickly. In future demos, we will be importing true 3d data from applications like Maya and Blender to further push the limits of what is possible.
blog comments powered by Disqus