Change direction of the leds

but i am trying to change the direction of the leds which i cant get to work.

Well done for using code tags. But if you want or help you need to be more precise. What do you mean by "change the direction"? Do you mean dimming/fading, or animating? What do you mean by "can't get it to work"? What happens and what did you expect to happen?