ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Creating a explosion effect with expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Bert BeltranCreating a explosion effect with expression
by on Sep 19, 2012 at 6:11:34 pm

Hello All,

I wanting to create an explosion effect or look by using expression rather than key frames. I have a comp with 12 different layers that make up a webpage. What Im wanting to do is have the layers in there starting position, then explode outwards or (seperate from each other) in different directions randomly through x,y,z space as well as the x,y rotation, plus having as much control over the whole animation. Hopefully I'm not asking for to much here. It would be something similar to the text explosion preset that comes with Ae Hopefully that makes sense...

Muchos Thank You's


Return to posts index

Dan EbbertsRe: Creating a explosion effect with expression
by on Sep 19, 2012 at 6:24:50 pm

I think this old tutorial of mine might be helpful:

http://library.creativecow.net/articles/ebberts_dan/particle_gen.php


Dan



Return to posts index

Bert BeltranRe: Creating a explosion effect with expression
by on Sep 19, 2012 at 7:38:48 pm

Yes! This is amazing. I have one question. The animation is prefect its just the timing, right now the animation starts at the first frame. is there any way to delay the animation so that it begins at 1 sec on the timeline? Thanks again Dan... your my hero and an inspiration to me.

Muchos Thank You's


Return to posts index


Dan EbbertsRe: Creating a explosion effect with expression
by on Sep 19, 2012 at 10:00:58 pm

Edit: oops--I forgot to use the "Code" tags. Updated below:

I think you just need to change the birth/life expression on the Point Control. This has everything start at the layer's in point:


lmin = 1.5; //minimum particle life
lmax = 2.5; //maximum particle life

i=1;
seed_random(i,true);
delay=random(lmax);
birth=delay;
death=delay;
t = time - inPoint;
if(t < delay){
[0,0]
}else{
while (t >= death){
i += 1;
seed_random(i,true);
birth=death;
life=random(lmin,lmax);
death += life;
}
[birth,life]
}


This one starts at a specific time (specified by tStart):


lmin = 1.5; //minimum particle life
lmax = 2.5; //maximum particle life
tStart = 1; // start at one second

i=1;
seed_random(i,true);
delay=random(lmax);
birth=delay;
death=delay;
t = time - tStart;
if(t<delay){
[0,0]
}else{
while (t >= death){
i += 1;
seed_random(i,true);
birth=death;
life=random(lmin,lmax);
death += life;
}
[birth,life]
}


Dan



Return to posts index

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