The sketches number delay times of 1000 make it so the LED like is turning on and off ever singular second due to the numbers being stored in a delay function.
The digital sketch of the LED light Video of LED working explanation
In the sketch changing the delay values from 1000 to 1 made it look like the light is not flashing at all because its going so fast to us it looks like its not in motion even though it is.
Sketch of the changes video of the changes explanation
The potentiometer makes the LED flashing speed faster or slower depending on how you turn the knob on it however its unable to make it so that its flashing fast to the point its just a solid light.
Sketch of the RBG code The Rbg in action
edited sketch