Files
planar-EL512.256-H/tools/yourname_sprites.py
mangavalkandClaude Opus 5.5 f46f7ab6c5 Add Interstellar and Your Name pages
Interstellar: Gargantua with a time dilation clock (Earth today vs.
Miller's planet), TARS with his settings and remarks about the house,
the Endurance spinning at a solar-driven RPM while a Ranger docks, and
the tesseract's bookshelf with the time in binary dust and the Message's
first word in Morse on a watch.

Your Name: comet Tiamat splitting over Itomori's lake, and
kataware-doki, a countdown to sunset from sun.sun where two silhouettes
stand on the crater rim during the twilight hour.

HomeData gains sunset, sunrise and sun elevation (with an ISO time
parser); wrap() and typed() move to el512_pages.h. Share Tech Mono 22
gets the full Latin set. All pages are in the renderer, checked with
normal, busy and empty data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 18:59:00 +02:00

74 lines
1.8 KiB
Python

#!/usr/bin/env python3
"""Pixel art for the Your Name pages (components/el512/yourname.cpp).
Original 1-bit fan art: '#' is a lit pixel. Writes
components/el512/yourname_sprites.h and, with --preview, a magnified PNG.
python tools/yourname_sprites.py
python tools/yourname_sprites.py --preview sprites.png
"""
from konosuba_sprites import main, padded
SPRITES = {
# Shrine gate on the hill above the lake.
"TORII": [
"####################",
".##################.",
"...##..........##...",
"..################..",
"...##..........##...",
"...##..........##...",
"...##..........##...",
"...##..........##...",
"...##..........##...",
"..####........####..",
],
# Two silhouettes on the crater rim at twilight: him facing right...
"TAKI": [
"...####...",
"..######..",
"..######..",
"..#####...",
"...###....",
"..#####...",
".#######..",
".#######..",
".##.###...",
".##.###...",
"....###...",
"...####...",
"...#..#...",
"...#..#...",
"...#..#...",
"...#..#...",
"..##..##..",
],
# ... and her facing left, the cord tied in her hair, a skirt.
"MITSUHA": [
"...####...",
"..######..",
"..######..",
"...#####..",
"....###.##",
"...#####.#",
"..#######.",
"..#######.",
"...###.##.",
"..#####...",
".#######..",
".#######..",
"...#..#...",
"...#..#...",
"...#..#...",
"...#..#...",
"..##..##..",
],
}
for _name in SPRITES:
SPRITES[_name] = padded(SPRITES[_name])
if __name__ == "__main__":
main(SPRITES, "Your Name", "yourname_sprites.py", "yourname", __doc__)