Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions wiggle expression question

  • wiggle expression question

    Posted by Brandon on July 20, 2005 at 7:39 pm

    I want to wiggle just between 0% and 100%. I want the layer either on or all the way off. I don’t want it to wiggle in between 0 and 100, just either 0 or 100. Whats the way to do this? Thanks

    Filip Vandueren replied 20 years, 9 months ago 2 Members · 1 Reply
  • 1 Reply
  • Filip Vandueren

    July 20, 2005 at 11:14 pm

    set your property (opacity ?) to 50%
    then add this expression:

    o=wiggle(1, 50, octaves = 1, amp_mult = .5, t = time); // this is just a basic wiggle, amp set to 50
    o<50?0:100;

    the last cryptic line is shorthand for [if o is less than 50, give 0, else give 100]

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