It would be nice if the Slider Node could have a list of real numbers fed into it so the slider can snap to set user chosen increments within the set range for the slider. This would allow say for the slider to be easily positioned at exactly 50%, or at precise 10% increments etc.
I see this feature as having some behaviour options: 1. Snap to List - The slider snaps to only listed values 2. Weighted Snaps - The slider snaps to listed values only when within certain threshold of a listed value, otherwise it can be set freely to non-listed values. 3. Override Snaps Boolean (Default - True) - Allows the listed values to be ignored and frees the slider to be set at any value with its range. Kind of like how holding down in Photoshop temporally turns off snap to guides feature.
We propose using the Snap
We propose using the
Snap Valuenode to create snapping behavior for a slider. Here's a composition that shows how that would look, although it may not work well (or at all) in Vuo 2.4.0, due to an overwhelming amount of events from
Make Slider. We'll be fixing that in Vuo 2.4.1.
We'd like to modify your feature request to be usable in other scenarios besides
Make Slider— to give the
Snap Valuenode the option to only snap if the input value is within a certain tolerance of the Spacing, and by creating a new
Snap Value to Listnode (similar to
Snap Valuebut takes a list of specific values instead of automatically snapping to linearly-spaced values.) Does that sound OK to you?
Yes, that sounds like it
Yes, that sounds like it would do the job nicely!
Change of plan… On retesting
Change of plan… On retesting slider-snap.vuo with Vuo 2.4.1, we realized that using a
Snap Valuenode makes the slider movement too wobbly to be a solid solution. Instead, we propose adding a Snapping Behavior input port to
Make Sliderand some nodes that you can connect to it to specify snapping behavior (snap-to-list, etc.). This would be a more reliable way to provide the functionality that Chris requested. I've updated the title of the feature request accordingly.
That sound great! Looking
That sound great! Looking forward to it.