Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Glow to expression slider

  • Glow to expression slider

    Posted by Omnidecay on May 14, 2007 at 8:53 pm

    I have glow effecting (glow has random motion of different properties with wiggle effect) a text and was womdering how to hook up an expression slider to it. I want the slider to be able to control just the radius propertie.

    Omnidecay replied 18 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Lord Scales

    May 14, 2007 at 9:21 pm

    I could not get it so good, but try creating a Null Object (Layer > New > Null Object – we will call it Controller -) with a Slider (Effect > Expression Controls > Slider Control). So copy and paste the following expression in Glow Radius:

    freq = 2; //frequency of wiggle
    amp = 15; // amplitude of the wiggle
    slider = thisComp.layer(“Controller”).effect(“Slider Control”)(“Slider”); // creates a variable to catch the value of the slider
    maxRad = 25; // the maximum radius you want the glow to have
    minRad = 0.5; // minimum radius
    seedRandom (3, true)
    w = wiggle (freq, amp); // creates a variable to catch the wiggle value

    linear (slider, 0, 100, minRad, maxRad) + w // as the value of “slider” changes from 0 to 100, the Glow Radius will change from mixRad to maxRad value and this value will be add to “w”‘s value

    Now the Glow Radius will wiggle but the main value is going to be controlled by the Slider in the Null.
    If you prefer a simple expression just try this:

    freq = 2; // frequency of wiggle
    amp = 25 // amplitude of wiggle
    wiggle (freq, amp)

    It works like the bigger one, but the main value will we controlled by the Glow Radius itself.

    I tested the both here and worked fine.

    Lord Scales

  • Omnidecay

    May 15, 2007 at 1:09 am

    Thank you very much!

    Editor>God

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