So I am comparing a spread of numbers to a single number seeing if it is bigger than or not. Using that result I want to switch to either input 1 or input 2, but for each slice individually.
As far as I can tell the switch(value) only accepts a single switch value and not one for each slice of the inputs.
What I need is a way to pass a slice from either input 1 or input 2.
In the end I just want to cap numbers at a certain value (but not remapping). There might be a different node for this as well, but it would be great to find a solution to spreaded switching as well.
then: i don’t really understand the role of Scroll (Spreads) in your patch but if you’re actually only looking for a way to clamp (as we call it) values to a certain range, then try Map (Value) with its “Mapping” input set to Clamp and both source/destination min and source/destination max set to the same values (so you don’t get any mapping).
Thank you Joreg, I just realized now that I am an idiot and didnt look properly (it was getting late). I simply should be using a > and not <. Doh!
But if there is a clamp mode in Map, that IS good to know and will serve much better in this case!
The scroll was there to have spreads of equal size, but I guess that is not needed here. I have been using too many other visual programming tools, I get mixed up where data needs to match and where not after not using a tool for a while.