Forum Replies Created

  • Steve Robinsons

    May 26, 2022 at 4:13 pm in reply to: Arrows rotating around object

    Wow, so simple. Thank you so much!!

  • Steve Robinsons

    March 18, 2021 at 9:29 am in reply to: if/else Diagonal

    Hi Robert,

    I need to draw the triangle path to check if an object is inside/outside the green one.

    I want to know how to establish this diagonal measures into ae js

    Thank you so much!

  • Steve Robinsons

    March 15, 2021 at 7:49 am in reply to: if/else Diagonal

    Hi Andrei,

    Doesn’t matter the final result, I just want to know how to set up the diagonal limit in js code.

    Thanks!

  • Steve Robinsons

    March 3, 2021 at 9:45 pm in reply to: Repeat After Effects expressions

    Hello again Dan,

    How can I simplify this code? It is similar to the one last sent.

    Thank you so much, I’m learning a lot!

    rot = transform.rotation;

    tsx = 360;

    // 1. 360

    if(rot>=-30 && rot<=30) ease(rot,-30,30,effect("Color Control 2")("Color"),effect("Color Control")("Color"))

    else if(rot>=60 && rot<=120) ease(rot,60,120,effect("Color Control")("Color"),effect("Color Control 2")("Color"))

    else if(rot>=120 && rot<=150) effect("Color Control 2")("Color")

    else if(rot>=150 && rot<=210) ease(rot,150,210,effect("Color Control 2")("Color"),effect("Color Control")("Color"))

    else if(rot>=240 && rot<=300) ease(rot,240,300,effect("Color Control")("Color"),effect("Color Control 2")("Color"))

    else if(rot>=300 && rot<=tsx-30) effect("Color Control 2")("Color")

    // 2. 360

    else if(rot>=tsx-30 && rot<=tsx+30) ease(rot,tsx-30,tsx+30,effect("Color Control 2")("Color"),effect("Color Control")("Color"))

    else if(rot>=tsx+60 && rot<=tsx+120) ease(rot,tsx+60,tsx+120,effect("Color Control")("Color"),effect("Color Control 2")("Color"))

    else if(rot>=tsx+120 && rot<=tsx+150) effect("Color Control 2")("Color")

    else if(rot>=tsx+150 && rot<=tsx+210) ease(rot,tsx+150,tsx+210,effect("Color Control 2")("Color"),effect("Color Control")("Color"))

    else if(rot>=tsx+240 && rot<=tsx+300) ease(rot,tsx+240,tsx+300,effect("Color Control")("Color"),effect("Color Control 2")("Color"))

    else if(rot>=tsx+300 && rot<=tsx*2-30) effect("Color Control 2")("Color")

    // 3. 360

    else if(rot>=tsx*2-30 && rot<=tsx*2+30) ease(rot,tsx*2-30,tsx*2+30,effect("Color Control 2")("Color"),effect("Color Control")("Color"))

    else if(rot>=tsx*2+60 && rot<=tsx*2+120) ease(rot,tsx*2+60,tsx*2+120,effect("Color Control")("Color"),effect("Color Control 2")("Color"))

    else if(rot>=tsx*2+120 && rot<=tsx*2+150) effect("Color Control 2")("Color")

    else if(rot>=tsx*2+150 && rot<=tsx*2+210) ease(rot,tsx*2+150,tsx*2+210,effect("Color Control 2")("Color"),effect("Color Control")("Color"))

    else if(rot>=tsx*2+240 && rot<=tsx*2+300) ease(rot,tsx*2+240,tsx*2+300,effect("Color Control")("Color"),effect("Color Control 2")("Color"))

    else if(rot>=tsx*2+300 && rot<=tsx*3-30) effect("Color Control 2")("Color")

    // 4. 360

    else if(rot>=tsx*3-30 && rot<=tsx*3+30) ease(rot,tsx*3-30,tsx*3+30,effect("Color Control 2")("Color"),effect("Color Control")("Color"))

    else if(rot>=tsx*3+60 && rot<=tsx*3+120) ease(rot,tsx*3+60,tsx*3+120,effect("Color Control")("Color"),effect("Color Control 2")("Color"))

    else if(rot>=tsx*3+120 && rot<=tsx*3+150) effect("Color Control 2")("Color")

    else if(rot>=tsx*3+150 && rot<=tsx*3+210) ease(rot,tsx*3+150,tsx*3+210,effect("Color Control 2")("Color"),effect("Color Control")("Color"))

    else if(rot>=tsx*3+240 && rot<=tsx*3+300) ease(rot,tsx*3+240,tsx*3+300,effect("Color Control")("Color"),effect("Color Control 2")("Color"))

    else if(rot>=tsx*3+300 && rot<=tsx*4-30) effect("Color Control 2")("Color")

    else if(rot>=tsx*4-30 && rot<=tsx*4+30) ease(rot,tsx*4-30,tsx*4+30,effect("Color Control 2")("Color"),effect("Color Control")("Color"))

  • Steve Robinsons

    March 3, 2021 at 5:20 pm in reply to: Repeat After Effects expressions

    Nice! Thank you so much 😉

  • Steve Robinsons

    March 3, 2021 at 7:53 am in reply to: Repeat After Effects expressions

    Thank you!! It works perfectly. Why did you write &90?

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