matrix.py

Created by valmontechno

Created on September 18, 2023

379 Bytes


from kandinsky import *
from time import sleep
from random import choice

width = 320
height = 222
bgColor = '#0c0c0c'
textColor = '#13a10e'

fill_rect(0, 0, width, height, bgColor)

while True:
    for i in range(15):
        chaine = ''.join(choice('01') for _ in range(32))
        draw_string(chaine,0,i*15-2,textColor,bgColor)
    sleep(0.1)

# by Valmontechno