add potenciometer to my code

helo I am begginer of arduino, I mad lamp but I want add potenciometer to it. Can you help me with the code ? I want to use my potenciometer to changed the light intensity (low, high, in middle).

AllEffects_FastLED.ino (20.7 KB)

why didn't you do a search

https://www.arduino.cc/en/tutorial/potentiometer