Themes as data: the settings and the rest of TikTok take a look (Stickers, Windows 95, or a theme a plugin brings with the right ui.theme); the DEBUG recovery mode (Clear cache in Android resets the look and puts the plugins in safe mode); new plugin functions (name.style, confetti and buzz on a tap); a few memory trims in the chat bubbles; the person list for bubbles no longer shows screen labels. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
1.0 KiB
Python
30 lines
1.0 KiB
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""Cards for the Telegram post about LihonT 2 Luna: the settled frames of the sticker-style promo video
|
|
(make_luna_promo2.py), 1080x1920, one per scene, no screenshots.
|
|
|
|
usage: py -X utf8 -B scripts/make_luna_cards.py # writes work/luna-cards/card_01.png ...
|
|
"""
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
sys.path.insert(0, str(Path(__file__).resolve().parent))
|
|
import make_luna_promo2 as V # noqa: E402
|
|
|
|
OUT = V.ROOT / "work" / "luna-cards"
|
|
# the moment of each scene when everything has landed and nothing is half-way
|
|
MOMENTS = [("intro", 2.9), ("flame", 7.4), ("keeper", 12.2), ("bubbles", 17.4), ("ghost", 21.8),
|
|
("photos", 26.4), ("plugins", 31.4), ("shapes", 35.4), ("settings", 40.0), ("outro", 44.2)]
|
|
|
|
|
|
def main() -> None:
|
|
OUT.mkdir(parents=True, exist_ok=True)
|
|
for n, (name, t) in enumerate(MOMENTS, 1):
|
|
path = OUT / ("card_%02d_%s.png" % (n, name))
|
|
V.frame_at(t).convert("RGB").save(path)
|
|
print(path.name)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|