summaryrefslogtreecommitdiff
path: root/site/images/gif.py
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-12-04 03:03:01 +0000
committerdavidovski <david@davidovski.xyz>2023-12-04 03:03:01 +0000
commitc8294e0aebef0c13507ad815ce773fdef00efcb7 (patch)
tree74369b1394e6d11df0e14435bef8ee416ebea2b1 /site/images/gif.py
parent8597ecec09127c21dcda6f853b34f99e2913fb70 (diff)
use new dotfile's theme for site
Diffstat (limited to 'site/images/gif.py')
-rwxr-xr-xsite/images/gif.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/images/gif.py b/site/images/gif.py
index 3baead5..e259525 100755
--- a/site/images/gif.py
+++ b/site/images/gif.py
@@ -55,13 +55,13 @@ def make(colors, inp=None):
frames.append(image.convert("P"))
- frames[0].save(sys.stdout, mode="P", format="GIF", append_images=frames[1:], save_all=True, duration=250, loop=0)
+ frames[0].save(sys.stdout, mode="P", format="GIF", append_images=frames[1:], save_all=True, duration=50, loop=0)
template = None
if len(sys.argv) > 1 and os.path.exists(sys.argv[1]):
template = sys.argv[1]
- colors = colors + [ color("#f58f44") ]
+ colors = colors + [ color("#fefefe") ]
sorted(colors, key=rgb_to_v)
make(colors, inp=template)