distraction/main.py
2020-02-12 13:11:57 +01:00

16 lines
352 B
Python

# import shutil # shutil.get_terminal_size(fallback=(0, 0))
import os
import math
from pixel import Screen
from shaders import eyeblower
WIDTH, HEIGHT = 100, 30 # Set to -1, -1 for dynamic resolution
STD_HANDLE = 1 # Would want this to be 0, but it can cause issues
screen = Screen(WIDTH, HEIGHT, STD_HANDLE, [
eyeblower.main
])
screen.mainloop()