Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Zoom out to show hundreds of images or layers?

  • Zoom out to show hundreds of images or layers?

    Posted by Hawk Phil on August 17, 2012 at 7:36 am

    I want to make an effect like this:
    1. Show 4-5 images (or layer of whatever)
    2. Zoom out to see hundreds more images or layers around the first 4-5

    They don’t have to be random, just fit in nicely grid (like Google Images grid in search results). What is the best way to do this? Is it just multiple layers containing multiple images? Or just there a way to “programatically” organize this?

    Thanks.

    Adam Goddard replied 12 years, 8 months ago 3 Members · 3 Replies
  • 3 Replies
  • John Cuevas

    August 17, 2012 at 4:31 pm

    If you have trapcode Particular you could create put your photos in a precomp, use them as a custom sprite and set up a grid emitter.

    If not you could set up an expression to space your layers. I would make all layers the same size to start, then you could apply an expression like this the position of the layers. It will automatically space each layer an equal distance from the next layer.(Compliments of Marcus Geduld):

    var columns = 10;
    var spaceBetweenLayers = thisLayer.width + 10;
    var x = ((index-1) % columns) * spaceBetweenLayers;
    var y = Math.floor((index-1) / columns) * spaceBetweenLayers;
    var origin = [40,50];
    origin + [x,y]

    Johnny Cuevas, Editor
    Thinkck.com

    “I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work.”
    —THOMAS EDISON on inventing the light bulb.

  • Hawk Phil

    August 20, 2012 at 6:55 am

    I don’t have trapcode Particular so I used your expression. That is sweet because it works 😉

  • Adam Goddard

    September 21, 2013 at 6:30 am

    Hi, this is just the expression I am looking for, well, almost. I was hoping if you could help to modify it so that the images have no spaces between them (column or row) and sit next to each other, no gaps at all?

    Many thanks in advance.

    Adam.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy