Skip to content

feat(web): the TV turns on and changes channel - #158

Merged
zyx1121 merged 1 commit into
mainfrom
feat/crt-power
Nov 2, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
feat/crt-power

Conversation

@zyx1121

@zyx1121 zyx1121 commented Nov 2, 2026

Copy link
Copy Markdown
Owner
  • Power on: on the first page of a tab, two black halves part from a bright line across the middle of the screen, and the line flares out (about 0.75 s). An inline script marks the root before the first paint, and session storage keeps it to once per tab.
  • Channel change: from page-decode:leave until 160 ms after the next page is in, coarse grey noise (160 x 90, pixelated, screen blend, 22% opacity) covers the screen.
  • Reduced motion and print skip both.
  • The CSS sits with the rest of the TV frame in packages/ui/src/styles/globals.css.

Checked on the sandbox build with Playwright: at load (animations at 0.1x) the screen is black with the line in the middle; 90 ms after clicking WORKS the static covers the scrambling page; after landing on /works the static is off; a reload in the same tab does not power on again.

🤖 Generated with Claude Code

On the first page of a tab the screen opens out from a bright line across
the middle, as a CRT set powers on. Between pages, coarse grey static
covers the screen while the page scrambles out and clears just after the
next one is in. Reduced motion skips both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 4c86267 into main Nov 2, 2026
12 checks passed
@zyx1121
zyx1121 deleted the feat/crt-power branch November 2, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant