distraction/main.py

16 lines
352 B
Python
Raw Normal View History

2020-02-12 12:01:12 +01:00
# import shutil # shutil.get_terminal_size(fallback=(0, 0))
import os
import math
2020-02-12 13:11:57 +01:00
from pixel import Screen
2020-02-12 12:01:12 +01:00
2020-02-12 13:11:57 +01:00
from shaders import eyeblower
2020-02-12 12:01:12 +01:00
2020-02-12 13:11:57 +01:00
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
2020-02-12 12:01:12 +01:00
screen = Screen(WIDTH, HEIGHT, STD_HANDLE, [
2020-02-12 13:11:57 +01:00
eyeblower.main
2020-02-12 12:01:12 +01:00
])
screen.mainloop()