Quantcast
Channel: Adobe Community : Popular Discussions - After Effects Expressions
Viewing all articles
Browse latest Browse all 47983

Looping images really randomlyI

$
0
0

I need a constantly changing background for an animation. I use different drawings of the same background and loop them randomly, to avoid this looping look. Unfortunalety when I use random there are always two frames who show the same image. I try to solve this with valueAtTime but I always get an error-message with this expression.

 

temp0 = random();


temp1 = temp0.valueAtTime(time  - .1);


if (temp0 == temp1)

{ temp2 = temp0 + .1; }


else

{temp2 = temp0}


[temp2]


Viewing all articles
Browse latest Browse all 47983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>