Files
OrbitTv/design/next/build-next.py
T
pauljdandClaude Opus 5.5 a7d135ec30 Character Shorts and Living Continuity proposal, The Chase storyboard, channel decisions, next designs
Documentation and prototype only, as Paul asked: character bible, five gag storyboards,
channel idents, placement and safety rules, engine assessment and a phased rollout. The
roadmap records the channel decisions from the Nostalgia TV comparison.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-06 11:20:01 +00:00

143 lines
9.8 KiB
Python

#!/usr/bin/env python3
"""Next designs (Paul, 6 November 2026): Multiroom beside Let's go on Welcome, Settings simplified to five plain sections,
and every Arcade game hosted by one of the cast. Uses the multiroom and first-run designs' drawing. For approval only."""
import math
exec(open(__import__('pathlib').Path(__file__).resolve().parent / 'preamble.py').read())
OUT = Path(__file__).resolve().parent
def save(name): ns['g']['im'].resize((W, H), Image.LANCZOS).save(OUT / name); print(name)
cast = {'ollie': lambda c, r: mascot(c, r * .5 / .55), 'blaze': lambda c, r: blaze(c, r, (255, 138, 61)), 'zip': lambda c, r: zip_(c, r, (255, 79, 163)),
'drift': lambda c, r: drift(c, r, (53, 214, 242)), 'luna': lambda c, r: luna(c, r, (167, 123, 255)), 'bumble': lambda c, r: bumble(c, r, None)}
def note(x, y, lines, w=520):
"""A designer's note in pink: never part of the screen."""
box(x, y, w, 40 + 34 * len(lines), fill=(60, 20, 60), r=12, outline=PINK, width=2)
for i, l in enumerate(lines): text((x + 18, y + 18 + i * 34), l, reg(24), (255, 200, 230))
# 1. Welcome: Let's go, with Join another room beside it.
screen(); steps(0)
avatar('ollie', (960, 330), 120)
text((960, 480), 'Welcome to Orbit', anton(72), WHITE, 'ma')
text((960, 590), 'Proper TV channels, made from your own films and series.', reg(32), MUTED, 'ma')
text((960, 636), "It takes about five minutes. I'm Ollie, and I'll show you round.", reg(28), MUTED, 'ma')
button(560, 720, 380, "Let's go"); button(980, 720, 380, 'Join another room', focus=False)
text((1170, 806), 'Already have Orbit on another TV?', reg(22), MUTED, 'ma'); text((1170, 836), 'Copy its channels and settings.', reg(22), MUTED, 'ma')
note(1380, 880, ['Join another room opens the Multiroom', 'flow already designed (design/multiroom).'], 500)
keys([('◄►', 'Choose'), ('OK', 'Select')])
save('next-1-welcome-multiroom.png')
def rail(at):
items = [('Channels', 'Turn on, make your own, suggestions'), ('On screen', 'Look, subtitles, the cast, motion'), ('Family', 'Profiles, PIN, Kids, Wind Down'),
('Rooms and phones', 'Other TVs and paired phones'), ('Account', 'Server, sign-in, storage')]
text((80, 110), 'Settings', anton(52), WHITE)
for i, (t, sub) in enumerate(items):
y = 200 + i * 118; f = i == at
box(80, y, 420, 100, fill=YELLOW if f else PANEL, r=14)
text((110, y + 14), t, semi(34), NAVY if f else WHITE); text((110, y + 58), sub, reg(22), INK if f else MUTED)
def toggle(x, y, w, title, line, on=True, focus=False):
box(x, y, w, 96, fill=NAVY if focus else PANEL, r=12, outline=YELLOW if focus else None, width=4)
text((x + 28, y + 14), title, semi(30), WHITE); text((x + 28, y + 56), line, reg(22), MUTED)
bx = x + w - 130; box(bx, y + 28, 92, 42, fill=GREEN if on else (40, 60, 100), r=21); circ((bx + (70 if on else 22), y + 49), 16, WHITE)
def heading(x, y, t): text((x, y), t.upper(), semi(24), MUTED)
# 2. Settings: On screen, one page with plain groups.
screen(); rail(1)
X, Wd = 560, 1280
heading(X, 120, 'Look')
for i, (name, bg, acc) in enumerate([(t[0], t[2], t[4]) for t in THEMES]):
x = X + i * 212; box(x, 156, 196, 110, fill=bg, r=12, outline=YELLOW if i == 0 else (60, 80, 120), width=4 if i == 0 else 2)
box(x + 16, 176, 90, 14, fill=acc, r=7); text((x + 16, 214), name, semi(22), (255, 255, 255) if sum(bg) < 400 else (14, 30, 60))
heading(X, 300, 'Watching')
toggle(X, 336, 630, 'Subtitles', 'When the programme has them', on=False, focus=True)
toggle(X + 650, 336, 630, 'Channel logo', 'Small, in the corner')
heading(X, 462, 'Orbit between programmes')
toggle(X, 498, 630, 'The cast', 'Ollie and friends in idents and promos')
toggle(X + 650, 498, 630, 'Promos', "What's coming up, between shows")
toggle(X, 610, 630, 'Ident sounds', 'Jingles, at most every 30 minutes')
toggle(X + 650, 610, 630, 'Drive-In curtains', 'Before each film')
heading(X, 736, 'Comfort')
toggle(X, 772, 630, 'Reduce motion', 'Everything still: no slides or bounces', on=False)
note(X + 650, 772, ['Was two sections, Watching and Look.', 'Every switch says what it does,', 'and none needs a second screen.'], 630)
keys([('▲▼◄►', 'Move'), ('OK', 'Switch'), ('Back', 'Sections')])
save('next-2-settings-on-screen.png')
# 3. Settings: Channels, with three cards on top.
screen(); rail(0)
cards = [('Create your own', 'Your own channel, on this TV or your phone', 'ollie'), ("Director's Chair", 'Suggestions for your channels, and events', 'luna'),
('New in your library', '12 titles this week, and where they went', 'drift')]
for i, (t, sub, who) in enumerate(cards):
x = X + i * 430; f = i == 0
box(x, 120, 410, 190, fill=NAVY if f else PANEL, r=16, outline=YELLOW if f else None, width=4)
avatar(who, (x + 70, 190), 44); text((x + 132, 150), t, semi(32), WHITE);
for k, l in enumerate(__import__('textwrap').wrap(sub, 26)): text((x + 132, 196 + k * 30), l, reg(22), MUTED)
heading(X, 350, 'Your channels: 12 of 30 on')
rows = [('101', 'Orbit 1', True), ('102', 'Orbit 2', False), ('103', 'Orbit Three', False), ('104', 'Orbit Gold', True), ('105', 'Orbit Riot', False), ('701', '90s Sci-Fi (yours)', True)]
for i, (n, name, on) in enumerate(rows):
y = 390 + i * 92
box(X, y, 1280, 80, fill=PANEL, r=10); text((X + 24, y + 22), n, semi(28), MUTED); text((X + 110, y + 22), name, semi(30), WHITE)
bx = X + 1280 - 130; box(bx, y + 19, 92, 42, fill=GREEN if on else (40, 60, 100), r=21); circ((bx + (70 if on else 22), y + 40), 16, WHITE)
note(X + 760, 940, ['Channels, Director\'s Chair and New arrivals', 'were three sections; now one page.'], 520)
keys([('▲▼', 'Move'), ('OK', 'Open or switch'), ('Back', 'Sections')])
save('next-3-settings-channels.png')
# 4. Settings: Family.
screen(); rail(2)
heading(X, 120, "Who's watching")
for i, (name, kind, sub) in enumerate([('Adult', 'sil:(69, 184, 245)', 'PIN on'), ('Kids', 'ollie', '14 channels, 4 games'), ('Add a profile', None, 'Up to five')]):
x = X + i * 300
if kind: avatar(kind, (x + 110, 240), 80)
else: circ((x + 110, 240), 80, PANEL); text((x + 110, 205), '+', anton(60), MUTED, 'ma')
text((x + 110, 340), name, semi(30), WHITE, 'ma'); text((x + 110, 380), sub, reg(22), MUTED, 'ma')
heading(X, 450, 'Keeping it right for the kids')
toggle(X, 486, 630, 'Adult PIN', 'For Adult, After Dark and The Late Show', focus=True)
toggle(X + 650, 486, 630, "Kids' channels and games", 'Choose what Kids can see', on=True)
heading(X, 612, 'Bedtime')
box(X, 648, 1280, 150, fill=PANEL, r=14); avatar('luna', (X + 90, 723), 56)
text((X + 180, 672), 'Wind Down on Tots', semi(32), WHITE); text((X + 180, 716), 'Calm shows on Tots now, with Luna. Tots\' usual schedule stays saved.', reg(24), MUTED)
box(X + 1000, 688, 240, 70, fill=BLUE, r=10); text((X + 1120, 704), 'Wind Down', semi(32), WHITE, 'ma')
keys([('▲▼◄►', 'Move'), ('OK', 'Choose'), ('Back', 'Sections')])
save('next-4-settings-family.png')
# 5. Arcade: every game hosted by one of the cast.
screen()
text((960, 70), 'Arcade', anton(64), WHITE, 'ma'); text((960, 160), 'Nine games, each with its own host from the cast', reg(28), MUTED, 'ma')
games = [('Star Chase', 'ollie', 'Ollie clears the stars'), ('Blast Off', 'zip', 'Zip cheers every line'), ('Skydoku', 'cast', 'Find each of the cast a spot'),
('BumbleHive', 'bumble', 'Bumble fires flowers'), ('Comet Trail', 'blaze', "Snake, as Blaze's tail"), ('Block Drop', 'drift', 'Drift drops cloud blocks'),
('Brick Break', 'luna', 'Luna is the ball'), ('Pairs', 'cast', 'Match the cast and channels'), ('Patience', 'ollie', 'Ollie on every card back')]
for i, (t, who, sub) in enumerate(games):
x = 150 + (i % 3) * 550; y = 230 + (i // 3) * 250; f = i == 4
box(x, y, 520, 220, fill=NAVY if f else PANEL, r=18, outline=YELLOW if f else None, width=4)
if who == 'cast':
for k, w in enumerate(('ollie', 'blaze', 'zip', 'luna')): avatar(w, (x + 60 + k * 52, y + 80), 34)
tx = x + 40
text((tx, y + 130), t, anton(40), WHITE); text((tx, y + 182), sub, reg(22), MUTED)
else:
avatar(who, (x + 100, y + 110), 70); text((x + 200, y + 60), t, anton(40), WHITE)
for k, l in enumerate(__import__('textwrap').wrap(sub, 20)): text((x + 200, y + 120 + k * 30), l, reg(24), MUTED)
note(150, 990, ['Snake becomes Comet Trail: Blaze eats stars and his tail grows. Other names stay.'], 1100)
save('next-5-arcade-hosts.png')
# 6. Comet Trail in play.
screen()
box(160, 120, 1160, 860, fill=(10, 27, 60), r=18)
cell = 58; ox, oy = 190, 150
for gx in range(20):
for gy in range(14): circ((ox + gx * cell + 29, oy + gy * cell + 29), 1.5, (40, 60, 100))
path = [(9, 7), (8, 7), (7, 7), (6, 7), (6, 8), (5, 8), (4, 8), (3, 8), (3, 9)]
for k, (gx, gy) in enumerate(reversed(path[1:])):
a = (k + 1) / len(path); col = tuple(int(PANEL[i] + ((255, 224, 102)[i] - PANEL[i]) * (0.35 + 0.65 * a)) for i in range(3))
circ((ox + gx * cell + 29, oy + gy * cell + 29), 14 + 10 * a, col)
blaze((ox + 9 * cell + 29, oy + 7 * cell + 29), 30, (255, 138, 61))
def star(c, r, col):
pts = []
for k in range(10):
a = -math.pi / 2 + k * math.pi / 5; rad = r if k % 2 == 0 else r * .45
pts.append((S(c[0] + rad * math.cos(a)), S(c[1] + rad * math.sin(a))))
D().polygon(pts, fill=col)
star((ox + 15 * cell + 29, oy + 4 * cell + 29), 24, YELLOW)
text((1380, 140), 'Comet Trail', anton(56), WHITE); text((1380, 230), 'Score', reg(28), MUTED); text((1380, 266), '240', anton(64), YELLOW)
text((1380, 380), 'Best', reg(28), MUTED); text((1380, 416), '610', anton(48), WHITE)
avatar('zip', (1440, 640), 50); avatar('ollie', (1560, 640), 50)
text((1380, 720), 'Zip and Ollie cheer', reg(24), MUTED); text((1380, 752), 'a new best', reg(24), MUTED)
note(1380, 830, ['Eat a star: the tail grows a puff.', 'Reduce motion: no flicker.'], 460)
keys([('▲▼◄►', 'Steer'), ('OK', 'Pause'), ('Back', 'Arcade')])
save('next-6-comet-trail.png')