feat(site): hero 胶片重剪为完整五镜头,预览图舞台化 - #2
Merged
Merged
Conversation
…view screenshots on the cinematic set The launch page filmstrip was an ad hoc 36-frame recut of only the master film's head and tail: ~40% near-static dark stage, a one-frame flash, then ~55% of a frozen near-white slide — and the rail/pinned screenshots were raw slide exports that read as blank white canvases on the dark page. - render_site_filmstrip.py: deterministically samples 72 frames across all five shots of assets/hero-concept-gate.mp4 into a 1.2MB WebP sprite (smaller than the old 1.5MB JPEG at twice the frames); first/last JPEGs regenerated; site JS updated to 72 frames and the WebP - sitestage.py + render_site_previews.py: raw slides move to assets/site-previews/ and are composited as lit floating screens (glow, bezel, floor shadow/reflection, signal-red halo on the chosen direction), idempotent - render_site_social_card.py: OG/Twitter card restaged with the launch headline and chosen screen - docs + README inventory updated
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.
问题
改动
Hero 胶片(内容换血)
scripts/render_site_filmstrip.py:用 ffmpeg 从已提交的主影片assets/hero-concept-gate.mp4跨全部五个镜头均匀采样 72 帧 →site/assets/hero-filmstrip.webp(1.2MB,比旧 36 帧 JPEG 的 1.5MB 更小、帧数翻倍);hero_first/last.jpg同步重生成;页面 JS 帧数 36→72、sprite 切 WebP。预览图舞台化
scripts/sitestage.py(共享)+scripts/render_site_previews.py:原始截图移至assets/site-previews/,幂等合成为深色舞台上的发光屏幕(环境光、发丝边、落地阴影、倒影;chosen 方向保留信号红光晕+红边)。幻灯片像素不做任何裁剪/改动。分享卡
scripts/render_site_social_card.py:1280×640,深色舞台 + 页面原标题「Clear ideas / before pixels.」+ chosen 屏幕。文档:storyboard 增补网站资产生成方式;README 脚本清单同步。
验证
node scripts/check_site.mjs✅(含新增 Pages 部署闸门)python scripts/check_launch_motion.py✅ 正常滚动拖动 + reduced-motion 静帧契约py_compile、DSH manifest 检查通过产物全部提交,CI 不负责构建(仅 ffmpeg / macOS SF Pro 为本地构建依赖,已写入文档)。