diff options
| author | Tim Keller <tjkeller.xyz> | 2025-05-10 11:52:02 -0500 |
|---|---|---|
| committer | Tim Keller <tjkeller.xyz> | 2025-05-10 11:52:02 -0500 |
| commit | 2bd4da7678b027843cac1a03a1b5f6cc70a7cc81 (patch) | |
| tree | ea6a10a1a4a7c6ba355982697918d6bc6a0d94a3 /pix.py | |
| parent | 568a87f44a674276e6e55f9302cc9e44a0929f71 (diff) | |
| download | immich-frame-2bd4da7678b027843cac1a03a1b5f6cc70a7cc81.tar.xz immich-frame-2bd4da7678b027843cac1a03a1b5f6cc70a7cc81.zip | |
requirements.txt added, significantly reduced cpu usage using timer func and vertex/fragment shader instead of drawing new quad etc every frame
Diffstat (limited to 'pix.py')
| -rw-r--r-- | pix.py | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -4,17 +4,9 @@ from threading import Thread from window import PixDisplay from immich import ImmichConnector -def load_textures(pd): - # Load two images for transition - tex = ImageTexture("image1.jpg") - pd.textures.append(tex) - tex = ImageTexture("image2.jpg") - pd.textures.append(tex) - if __name__ == "__main__": immichConnector = ImmichConnector("http://192.168.1.13", "m5nqOoBc4uhAba21gZdCP3z8D3JT4GPxDXL2psd52EA") pd = PixDisplay() - #t1 = Thread(target=load_textures, daemon=True, args=(pd,)) t1 = Thread(target=immichConnector.idle, daemon=True, args=(pd,)) t1.start() pd.main() |
