ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Zoom out to show hundreds of images or layers?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Hawk Phil
Zoom out to show hundreds of images or layers?
on Aug 17, 2012 at 7:36:37 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.


Return to posts index


John Cuevas
Re: Zoom out to show hundreds of images or layers?
on Aug 17, 2012 at 4:31:38 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.


Return to posts index

Hawk Phil
Re: Zoom out to show hundreds of images or layers?
on Aug 20, 2012 at 6:55:48 am

I don't have trapcode Particular so I used your expression. That is sweet because it works ;-)


Return to posts index


Adam Goddard
Re: Zoom out to show hundreds of images or layers?
on Sep 21, 2013 at 6:30:40 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.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]