How to slowly grow a number?

How do I grow or shrink a number at a set speed. (milliseconds?) as long as x is true and y is false. If x is false and y is true it needs to shrink. If x is true and y is true x=x, if y is false and x is false x=x. I think that this is a python problem, and I cant find heads from tails in python lol. I cant figure out how to get this to work in anemone either.
Person movement.gh (29.1 KB)
Hopefully that makes sense. O and I wouldn’t recommend messing with this file to much its a mess and its untested. Just edit the group titled What I need Help with, If you want to stay safe. :wink: :biohazard:

I think this from @Tom_P might be a very good starting point

then it’s just a matter of handling the different cases, for instance:


counter_simple_00_Re.gh (5.9 KB)

right clicking on the Trigger lets you change the interval (which translates into the speed of the counter)

1 Like

Wow @inno! Thanks a ton! I will give it a shot here in a little while.

1 Like

Yup! Did the trick! Thanks again!

1 Like