-
Notifications
You must be signed in to change notification settings - Fork 84
Description
First, thank you for this project! This weather presentation is brilliant and a joy to watch every day!
I'm using a tablet with the MagicMirror project (https://github.com/MagicMirrorOrg/MagicMirror) and wanted to add some colors and animations. I did not write any code myself and just used mostly claude 3.7 asking to do some quick code changes. So, this is meant just as an idea or maybe some useful code examples. The code uses the original bitmaps and paints them on the fly as it generates the animated gif.
I only modified run_test.py and it has some additional command line args.
usage: run_test.py [-h] [--animated] [--white-bg] [--black-bg] [--dynamic-bg] [--moon]
dynamic background just uses the current time of run and makes the background darker if the image is generated at night so it's nicer on a dimly lit room.
Moon phase requires the ephem python package and will draw the moon at sunset with the current phase.
options:
-h, --help show this help message and exit
--animated, -a Generate an animated GIF
--white-bg, -w Use white background
--black-bg, -b Use black background
--dynamic-bg, -d Use dynamic background that changes with time of day (default)
--moon, -m Draw moon phase in the animated GIF


