Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects infinity

  • Posted by Damani on January 8, 2007 at 4:58 pm

    Hello all< I wanted to know how I can use particular and draw a looping infinity symbol with expressions. I have particular drawing a infinity symbol using key frames, but I need to do it using expressions. Any ideas on the script my trig is very rusty. Thanks all

    Colin Braley replied 19 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Colin Braley

    January 8, 2007 at 6:57 pm

    All you need to do is add this expression to the XY Emitter Position property:

    //Begin Expression
    amp = 200; // change this to adjust overall size
    startPos = [360 , 270]; //adjust this to move infinity sign
    freq = 5; // adjust to make drawing of sign faster
    //–
    x = amp * Math.sin( time * freq);
    y = amp * Math.sin( time * 2 * freq);
    [x , y] + startPos
    //End expression

    It might be helpful to link things like startPos and freq to sliders so you can adjust them more easily.

    ~Colin

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