Profile image

Quick Funky Tree question:

32.3k CRJ900Pilot  3.0 years ago

Is it possible to make a rotator that goes from max to min after a certain time? In other words it starts at max, 5 minutes pass, then it switches to min, 5 more minutes pass, goes back to max and on and on...

  • Log in to leave a comment
  • Profile image

    If you want some kind of toggle (e.g. jump from 1 to -1 after 5 minutes), this should work:
    ((floor(repeat(Time/Period,2))=0?-1:1)
    Replace "Period" with the cycle time in seconds; eg. 300 for 5 minutes

    3.0 years ago
  • Profile image
    32.3k CRJ900Pilot

    Lol don't blame you @asteroidbook345

    3.0 years ago
  • Profile image

    I think you could do something with a sine function but I'm too lazy to do the calculations right now lol.

    3.0 years ago