This is just an experiment trying to make an interactive resistor, where you can set the colors and see the corresponding resistor value.
A prototype, but might be useful if refactored and cleaned up.