Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Creating a explosion effect with expression

  • Creating a explosion effect with expression

    Posted by Bert Beltran on September 19, 2012 at 6:11 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

    Dan Ebberts replied 13 years, 7 months ago 2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    September 19, 2012 at 6:24 pm

    I think this old tutorial of mine might be helpful:

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

    Dan

  • Bert Beltran

    September 19, 2012 at 7:38 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

  • Dan Ebberts

    September 19, 2012 at 10:00 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= death){
    i += 1;
    seed_random(i,true);
    birth=death;
    life=random(lmin,lmax);
    death += life;
    }
    [birth,life]
    }

    Dan

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