This project I wanted to create a slider that controls the LED and its brightness. With resistance running through the conductive yarn. I created the slider using metal tape that is covered on the inside of the slider, so its always making contact with the yarn. As you slide to the right closer to the 5 volts, you will get the LED at a brighter state. When you go to the left towards ground, the LED becomes dimmer.