random on/off with shift register

arifs:
hi, i can feel you because i also recently got stuck (also new to arduino), I found my desired effects and method with arrays, here what i have done for my project where i want to able to change patterns easily. here is the code i used to lit leds one by one, although efficient and fancy codes exist for doing so, but as i said i may be changing this code easily in future. The Ones are led on and Zeros are led off. see how i lit them.

int Array [29] = {

0b00000001,
  0b00000011,
  0b00000111,
  0b00001111,
  0b00011111,
  0b00111111,
  0b01111111,
  0b11111111,
  0b01000000,
  0b00100000,
  0b00010000,
  0b00001000,
  0b00000010,
  0b00001000,
  0b00010000,
  0b00100000,
  0b10000000,
  0b01000000,
  0b00100000,
  0b00010000,
  0b00000000,
  0b11111111,
  0b00000000,
  0b11111111,
  0b00000000,
  0b11111111,
  0b00000000,
  0b11111111
};




with this i can call any one pattern or all.

I dont know if I am doing this right but I dont even have a basic code to start with I just copied the shitout code over but seem complicated to me