# Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Looping problems…

• # Looping problems…

Posted by on November 6, 2020 at 7:13 pm

Hey guys!
So, this one is a doozy.
But I’m guessing the solution might be quite simple, so here we go.

I’m trying to make a background animation for my twitch stream.
Because it’ll be a background, I need it to loop.
So the idea is, I have a grid of squares, like as if wall tiles.
And there’s several loops going on within this.
The way it’s constructed is:
There’s one “master” tile animation and every other tile is that tile, repeated. But NOT using the repeater because the tile has a wiggle opacity expression to simulate lighting changes.
The tile also has a wiggle Z position expression to simulate it moving back and forth in the wall.
The whole wall is one composition containing the tile duplicated several times over.
This has an adjustment layer on top with a gradient, to simulate it going “into infinity”
And the last comp is 3D and has a camera pointed upwards with the wall in an incline.
The idea is for the wall to keep sliding into infinity, while at the same time each tile moving back and forth and changing opacity.

Now for the problems:

– Looping the position of the tiles, is easy enough, I just set the first and last frames of the 2D animation, to begin and end looking exactly like it’s in the same position, but actually the end keyframe has it moved up and left one square over. As in, each square has a 150px side. So first frame is at position 0,0 and last is at 150,150. Makes sense, right.
BUT, because each tile is independently animated and changing opacity, when the loop happens, they reset so even if the position slide is perfect, it gives away the loop because obviously, the tiles go back to the initial position and since they’re changing opacity, this becomes evident. I tried to get around this by using a looped wiggle expression on the square, that allows setting how long the animation is, and setting the time to the same duration of the sliding loop. Didn’t work.

– Finally, because that’s happening, I can’t really loop the 3D comp either. I suspect when I fix the 2D one, the 3D one will follow suit because it’s just the 2D one at an angle…
I’m gonna link it for a quick watch.
https://bit.ly/32BNOwL
A render is also attached.
HELP!

2 Members · 2 Replies
• 2 Replies
• ### Graham Quince

November 8, 2020 at 9:33 am

Wow, that’s a complicated loop you’re trying to do. By using wiggle you’ve introduced too much randomness to return to a starting point for any time stamp. So, you could either take your comp and next it or render footage, then use a fade to blend the loop,… or you could render out a much longer version of the video, so that you don’t need to worry about loops.

• ### Rod Duarte

November 9, 2020 at 4:37 am

I know, it’s kinda nuts.

Right, so I can’t make it a lot longer, because that’ll make the filesize quite large, and since I’m using this for streaming live, it’d put unnecessary CPU/GPU stress on my system because it’d make OBS use more resources to play it.

Is there another way for me to make each tile loop independently, that doesn’t involve wiggle?

Every other way I tried, makes them all move together which kills the effect I’m going for…

We use anonymous cookies to give you the best experience we can.