I have a set of math nodes linked to value nodes which act as thresholds for other things in my node group. Things get messed up when the values aren’t in order from low to high. Sure, I could be careful, but where’s the fun in that? With a few thresholds it isn’t a big deal. For many it can be troublesome.
Color ramps have color stops with three attributes: index, position, and color value. A cool thing happens when you move a stop past another: the index changes. Drag the stop with index one to the left of the stop with index zero, and the index changes. The left most stop is ALWAYS index zero.
In this example, the color stop position would be the driver for the value nodes.
Any idea for how to code a driver to reference these values?