diff --git a/animations/face_alert/face_alert_preview.gif b/animations/face_alert/face_alert_preview.gif deleted file mode 100644 index 26e1586..0000000 Binary files a/animations/face_alert/face_alert_preview.gif and /dev/null differ diff --git a/animations/face_following/face_following_preview.gif b/animations/face_following/face_following_preview.gif deleted file mode 100644 index f5983fb..0000000 Binary files a/animations/face_following/face_following_preview.gif and /dev/null differ diff --git a/animations/face_happy/face_happy_preview.gif b/animations/face_happy/face_happy_preview.gif deleted file mode 100644 index 1ef4937..0000000 Binary files a/animations/face_happy/face_happy_preview.gif and /dev/null differ diff --git a/animations/face_idle/face_idle_preview.gif b/animations/face_idle/face_idle_preview.gif deleted file mode 100644 index d926b3d..0000000 Binary files a/animations/face_idle/face_idle_preview.gif and /dev/null differ diff --git a/animations/status_boot/status_boot_preview.gif b/animations/status_boot/status_boot_preview.gif deleted file mode 100644 index 129048b..0000000 Binary files a/animations/status_boot/status_boot_preview.gif and /dev/null differ diff --git a/animations/status_low_battery/status_low_battery_preview.gif b/animations/status_low_battery/status_low_battery_preview.gif deleted file mode 100644 index 45a2a0f..0000000 Binary files a/animations/status_low_battery/status_low_battery_preview.gif and /dev/null differ diff --git a/animations/turn_left/turn_left_preview.gif b/animations/turn_left/turn_left_preview.gif deleted file mode 100644 index e897f5e..0000000 Binary files a/animations/turn_left/turn_left_preview.gif and /dev/null differ diff --git a/animations/turn_right/turn_right_preview.gif b/animations/turn_right/turn_right_preview.gif deleted file mode 100644 index a0ad5ce..0000000 Binary files a/animations/turn_right/turn_right_preview.gif and /dev/null differ diff --git a/scripts/generate_animations.py b/scripts/generate_animations.py index 01efc69..ea2ec9b 100644 --- a/scripts/generate_animations.py +++ b/scripts/generate_animations.py @@ -27,7 +27,7 @@ def ensure_dir(name): def save_anim(name, frames, fps=10): d = ensure_dir(name) - # Rotate 90° CW so portrait-assuming app displays correctly on landscape panel + # Rotate 90° CW: panel app assumes portrait, panel is mounted landscape rotated = [f.rotate(-90, expand=True) for f in frames] for i, f in enumerate(rotated): f.save(os.path.join(d, f"frame_{i+1:03d}.png")) @@ -39,16 +39,7 @@ def save_anim(name, frames, fps=10): loop=0, plugin="pillow", ) - # Also save a landscape preview GIF (un-rotated) for Gitea review - preview_path = os.path.join(d, f"{name}_preview.gif") - iio.imwrite( - preview_path, - [f.copy().convert("RGBA") for f in frames], - duration=int(1000 / fps), - loop=0, - plugin="pillow", - ) - print(f" {name}: {len(rotated)} frames ({rotated[0].size}), preview: {preview_path}") + print(f" {name}: {len(rotated)} frames ({rotated[0].size})") # ── TURN SIGNALS ──────────────────────────────────────────────