Repository navigation
Add a promotional film, played by the material itself - #47
Closed
WaylandYang wants to merge 1 commit into
Closed
WaylandYang wants to merge 1 commit into
WaylandYang wants to merge 1 commit into
Conversation
/dev/promo (development only) is a 31-second film of Solid Glass made of its own components: the panes, their edges, the one state, an agent at work, tuning the accent, and the install command. Every frame is a function of one clock, so scripts/record.mjs can step it and record the film frame by frame with ffmpeg. The headless browser that shot.mjs started is now in browser.mjs, shared by both scripts. The banner's wordmark and its pane backing are exported for the film to use. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: WaylandYang <145302500+WaylandYang@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
/dev/promo(development only, like/dev/banner): a 31.5-second 1920×1080 film made of the components themselves — panes by thickness, edges, the one state, an agent at work, tuning the accent, dark and light, and the install command. Every frame is a function of one clock;?t=<ms>holds a moment.scripts/record.mjs <out.mp4> [url] [fps]: steps that clock frame by frame (standing in forrequestAnimationFrame,performance.now,Date.nowand CSS animations) and pipes the frames to ffmpeg.scripts/browser.mjs: the headless Chromium launcher thatshot.mjshad inline, now shared by both scripts.dev-banner.tsxexportsGlassWordmark(with ascale) andoverfor the film.Checked
npm run typecheck,npm run build,npm run docs(registry unchanged)/dev/promo?t=21800renders,window.__promoDurationis 31500;shot.mjsstill works on top ofbrowser.mjs🤖 Generated with Claude Code