from kandinsky import draw_string from time import sleep from math import sin density = 'ABCxyz01N|+:. ' t, f = len(density), 0 while True: for y in range(16): v = '' for x in range(32): o = sin(y * 0.02 + x * 0.0025 * y + f) * 30 v += density[int(abs(x - y + o)) % t] draw_string(v, 0, 14 * y, (255, 255, 255),(0, 0, 0)) f += .17 sleep(.03)