Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects How to create this?

  • How to create this?

    Posted by Rick Andes on June 6, 2019 at 7:44 pm

    Hi all,

    I’m struggling for a couple of days now how to create this. I created a path, a simple line. The line has to transform to some kind of audio spectrum wave. See the example below. However, I don’t want to use Audio Spectrum effect for several reasons. I’m looking for a way to create this kind of path. It doesn’t have to be exactly this one. But it should be symmetric/precise and not a sketch with the pencil tool. So maybe I have to use an expression or a script to create the path?

    Anyone?

    Rick Andes replied 6 years, 11 months ago 4 Members · 5 Replies
  • 5 Replies
  • Sergio Cabrera

    June 7, 2019 at 1:06 am

    You could do it in Photoshop, make the left half of the spectrum with a line and curves, and then mirror the right side by copying/paste/flip horizontally so it’s perfectly symmetric, then import to AE.

  • Rick Andes

    June 7, 2019 at 5:58 am

    Thanks Sergio. Do you mean importing a PNG/JPG file from Photoshop and create a Mask with Auto Trace? I tried this workflow but there are two main problems:
    2) This function creates an outline mask (contour). I need a single line path instead of a contour.
    1) It loses functionality. For example: I can’t change colors afterwards

    Maybe a different workflow?

  • Garrett Appleton

    June 7, 2019 at 1:41 pm

    Pen tool the shape in AE then “trim path” animate the shape. This might be your best option. There are also ae plugins on https://aescripts.com/ if you want a faster method. But trim paths is my favorite way to animate a path change. You can manipulate the start and end to make it look like the straight line is disappearing as the waveform is being drawn. Just a heads up, where you start to draw your path is where the “Trim Path” property choses as the start of the animation.

    Garrett Appleton
    Motion Design | Compositor | Dev
    Apetown Art

  • Oleg Pirogov

    June 7, 2019 at 3:01 pm

    My shot:
    1) Create a null
    2) Add this code to position expression:
    X=linear(time, 0, 60,-(6+0.5)*Math.PI, (6+0.5)*Math.PI);
    Y=linear(time, 0, 60,0,Math.PI);
    f=100*Math.cos(X)*Math.sin(-Y);
    [value[0]+10*X, value[1]+f];

    – this creates something close to the wavy thing from your post and applies it to the motion path
    3) Convert expression to keyframes
    4) Add one key at the start and one at the end of the sequence and manually reposition null at those keys to make flat tails
    5) Create a shape layer with some path and copypaste null’s motion path keyframes to the path property

    Gets you this:

  • Rick Andes

    June 7, 2019 at 7:08 pm

    Thanks a lot Oleg!

    One problem remaining. I copied the keyframes to a path as you suggested, including the two extra keypoints (see screenshot #1). The wave must emerge from a flat line, so I added two extra path keyframes with a flat line.

    The wave emerges from the left instead of the center. How can I fix this?

    Screenshot 1

    Screenshot 2

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