Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions expressions: Convert slider range into 0-360 degrees ?

  • expressions: Convert slider range into 0-360 degrees ?

  • Andy Stokes

    May 19, 2005 at 2:23 am

    Hi all,

    Can anyone tell me the string to convert from say 1-10 of a slider value into degrees of rotation (i.e : 0 – 360). 1 being one full rotation, 2 being 2 rotations etc…

    Thx,

    Andy

  • Colin Braley

    May 19, 2005 at 2:32 am

    I’m not sure if i’m understanding you’r question…So you are trying to convert the slider’s values so that 1 on the slider is 360 degrees? If so you should just pick whip the rotation value to the slider and then add * 360 on the end.
    ~Colin

  • Andy Stokes

    May 19, 2005 at 2:38 am

    Hi Colin,

    THanks for pointing out the obvious…. Sometimes I make things more complicated than they need be..

    Cheers,

    Andy

  • Steve Roberts

    May 19, 2005 at 2:44 am

    I guess you can’t use the “angle” expression control?

    Steve

  • Mike Clasby

    May 19, 2005 at 3:10 am

    Can’t you just right click the slider numbers (then select > edit Value, from the drop down)in the Effect Control Window (F3) and change the slider range to 0-360? Is that what you want?

  • Mike Clasby

    May 19, 2005 at 5:05 am

    My mistake. I’m with Steve Roberts, check out the “Angle Control” instead of slider.

Viewing 1 - 6 of 6 posts

Log in to reply.

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