diff --git a/pictures/casey_qr2.png b/pictures/casey_qr2.png new file mode 100644 index 0000000..c4cb7b0 Binary files /dev/null and b/pictures/casey_qr2.png differ diff --git a/swarm/settings.json b/swarm/settings.json index dd4d169..6d7cceb 100644 --- a/swarm/settings.json +++ b/swarm/settings.json @@ -34,31 +34,60 @@ ], "elements": [ { - "type": "image", - "path": "../pictures/casey.png", - "x": 0, - "y": 128 + "type": "text", + "font": "../ic8x8u.ttf", + "size": 8, + "x": 681, + "y": 881, + "text": "tailscale backbobn" }, { - "type": "image", - "path": "../pictures/casey_qr.png", - "x": 10, - "y": 240 + "type": "text", + "font": "/usr/share/fonts/TTF/TerminusTTF.ttf", + "size": 12, + "x": 256, + "y": 476, + "text": "https://hatkidchan.is-a.dev" }, { - "type": "animation", - "path": "../pictures/non-reflection.gif", - "x": 300, - "y": 40, - "spf": 5, - "offset": -467 + "type": "text", + "font": "../ic8x8u.ttf", + "size": 8, + "x": 40, + "y": 720, + "text": "https://vprw.ru/wtr" }, { - "type": "animation", - "path": "../pictures/neko.gif", - "spf": 30, - "x": 625, - "y": 496 + "type": "text", + "font": "../ic8x8u.ttf", + "size": 32, + "x": 170, + "y": 400, + "text": "catgirls.win/omcb" + }, + { + "type": "text", + "font": "../ic8x8u.ttf", + "size": 32, + "x": 530, + "y": 200, + "text": "LIVE" + }, + { + "type": "text", + "font": "../ic8x8u.ttf", + "size": 32, + "x": 530, + "y": 232, + "text": "LOVE" + }, + { + "type": "text", + "font": "../ic8x8u.ttf", + "size": 32, + "x": 530, + "y": 264, + "text": "LAIN" } ] } diff --git a/swarm/vprwruwtr.png b/swarm/vprwruwtr.png new file mode 100755 index 0000000..f3ae6bf Binary files /dev/null and b/swarm/vprwruwtr.png differ diff --git a/swarm/worker.py b/swarm/worker.py index 96baad4..6a2524b 100644 --- a/swarm/worker.py +++ b/swarm/worker.py @@ -54,9 +54,7 @@ class WorkerManager: if (self.shmem.buf[OFFSET_MASK + byte] & mask) == 0: continue - if (self.shmem.buf[OFFSET_CANVAS + byte] & mask) != ( - self.shmem.buf[OFFSET_STATE + byte] & mask - ): + if 0 != (self.shmem.buf[OFFSET_CANVAS + byte] & mask): await self.queue.put(index) await asyncio.sleep(0.01)