The easiest and most flexible way to do that is to design a FSM, in which each state defines which are the LEDs to turn on and which to turn off. In this way you can create any desired pattern just by changing the next-state logic. Be aware of the frequency of states change, since human eye would not see any change if this frequency is too high.