from schoginitoys import *
while True: # Main loop for the animation
for col in range(32): # Loop through all 32 columns (0-31)
value = random.randint(0, 7) # Generate a random 8-bit value for the column
for row in range(8):
value1=0
if value<=row:
value1=1
display.set_pixel(col, row, value1)
display.show()
time.sleep(0.07)