code leds strips

hi can anyone help me with a code so the leds are running down in white that can be speed controlled by 10k potentiometer using ws2811b led strips & mega 2560 all new to this please can someone help

+1 karma for a simple answer without any BS or scolding