txt2.py

Created by schraf

Created on April 05, 2023

389 Bytes


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)

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.