I am trying to get the lights in this image to alternate red - green - red - green, etc. Not sure what math I need to get that to occur in the shader. Currently I just have an object info node running Random into the Fac of the ColorRamp.
Lights are generated onto the wire via a geometry node setup.