Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Looking for old script or something like it…

  • Dan Ebberts

    November 12, 2019 at 6:05 pm

    Actually, it’s possible now to wiggle a path. Something like this should work:


    freq = 1;
    amp = 20;

    p = thisProperty;
    pts = p.points();
    newPts = [];
    for (i = 0; i < pts.length; i++){
    seedRandom(i,true);
    w = position.wiggle(freq,amp) - position;
    newPts.push([pts[i][0] + w[0],pts[i][1] + w[1]]);
    }
    p.createPath(newPts,p.inTangents(),p.outTangents(),p.isClosed())

    Note that it doesn’t affect the tangents. If you wanted to keep those auto aligned, it would be considerably more work.

    Dan

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