Gh slider: -1<0>-1?

Hi all,

Can I make a slider go from -1 to 0 and then to -1 again? I’m trying to make an animation where this would be useful.

There’s probably some trigonometry function, but I really suck at math :wink:

tx,

dh

this might work

1 Like

you beat me to it @inno ! i had exactly the same solution :slight_smile:

1 Like

this also looks even easier

value slider is always in Range [-1.000 to 1.000]

2 Likes

You can use sin or cos

sin_cos.gh (3.8 KB)

2 Likes

Thanks all! Abs solution was perfect for my non-Trig brain (bless you, Seghier - I think I am allergic to Trig)