frame-liquid-bg-hero
WebGL-style fluid displacement background with a quote overlay, suited to video intros, landing heroes, or posters.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- od
- { "mode": "video", "preview": { "type": "html", "entry": "index.html", "reload": "debounce-100" }, "surface": "video", "scenario": "video", "upstream": "https://github.com/nexu-io/html-anything", "design_system": { "requires": false }, "example_prompt": "Use the Liquid Background Hero template to turn my content into a WebGL-style fluid displacement background with a quote overlay for a video intro, landing hero, or poster. Preserve the template's visual signature, use real content and data, and avoid lorem ipsum or placeholder images.", "example_prompt_i18n": { "zh-CN": "用「流体背景 Hero 帧」模板把我的内容做成一段「WebGL 风流体置换背景 + 顶部叠加金句, 适合视频片头 / landing hero / 海报」。保持模板的视觉签名,使用真实内容和数据,避免 lorem ipsum 和占位图片。" } }
- name
- frame-liquid-bg-hero
- tags
- [ "liquid", "fluid", "background", "hero", "html-in-canvas", "vfx" ]
- emoji
- 🌊
- en_name
- Liquid Background Hero
- zh_name
- 流体背景 Hero 帧
- category
- poster
- featured
- 39
- scenario
- video
- example_id
- sample-frame-liquid-bg-hero
- aspect_hint
- 1920×1080 (16:9) 或 1080×1920 (9:16)
- description
- WebGL-style fluid displacement background with a quote overlay, suited to video intros, landing heroes, or posters.
- example_desc
- 多层 radial-gradient 呼吸背景 + difference 文字
- example_name
- 流体背景 Hero · 金句
- en_description
- WebGL-style fluid displacement background with a quote overlay, suited to video intros, landing heroes, or posters.
- example_format
- markdown
- zh_description
- WebGL 风流体置换背景 + 顶部叠加金句, 适合视频片头 / landing hero / 海报
- example_tagline
- Aurora Violet 流体
- example_source_url
- https://hyperframes.heygen.com/catalog
- example_source_label
- hyperframes · vfx-liquid-background
02 资源文件 2
- 参考文档example.html3.6 KB
- 参考文档open-design.json5.8 KB
03 SKILL.md 正文
【模板: 流体背景 Hero】 【意图】可作为视频片头帧、SaaS landing 顶部 hero、海报底图。WebGL 流体感, 但用 CSS / canvas 退化绘制, 确保单文件可双击打开。Inspired by hyperframes vfx-liquid-background。
【画布】1920×1080 (横) 或 1080×1920 (竖), 二选一。背景占满。
【流体背景 — 3 种实现, 按用户偏好选】
- CSS 多层 radial-gradient 错位呼吸 (最稳, 默认推荐):
- 3-5 个大椭圆
radial-gradient(...), 颜色取自调色板。 - 每个椭圆套
@keyframes平移 + scale + hue-rotate, 周期 8-14s, 错峰; 整个画面叠mix-blend-mode: screen或overlay。 - 顶层加 1 层
backdrop-filter: blur(80px)让边缘更糊。
- 3-5 个大椭圆
- Canvas + simple perlin noise (中阶):
- 80 行 inline JS, 用
requestAnimationFrame画 metaballs 或 simplex noise field。 - 性能允许时启用,
prefers-reduced-motion时降回静态截图。
- 80 行 inline JS, 用
- WebGL fragment shader (高阶, 慎用):
- 用 jsdelivr CDN 引
regl或 inline plain WebGL。 - shader 写 domain-warp noise; 单个 quad, 一个 uniform
u_time。
- 用 jsdelivr CDN 引
【顶层文字层】
- 居中或左下: 一句巨型金句 (5-7vw, 衬线或粗 sans), 字体:
Source Serif Pro/Inter Tight/Manrope Black。 - 文字色用 paper white
#fafaf8或 ink, 取决于背景明暗; 加mix-blend-mode: difference让它在任何流体颜色上都可读。 - 副标 (小 sans, opacity 0.7) 一行。
- 底部可选 CTA chip 或 hairline + 元数据 row。
【调色 — 4 选 1, 不要彩虹】
- 🌅 Solar Peach —
#ffb18a+#f78b4c+#d97757, 暖橙桃。 - 🌊 Ocean Aqua —
#5ac8fa+#0a84ff+#1e3a8a, 海蓝。 - 🌌 Aurora Violet —
#a78bfa+#7c5cff+#1e1b4b, 极光紫。 - 🌿 Forest Mint —
#86efac+#34d399+#065f46, 苔森林。
【设计细节】
- 严禁: 多色彩虹 (>4 个色相)、PowerPoint 渐变、霓虹荧光叠加。
- 字体: 中文用
Noto Serif SC(display) /Noto Sans SC(副标)。 - 严禁外链图片; 全部 CSS + SVG + 可选 canvas。
- 必须用用户提供的金句 / 标题; 如果用户输入是数据 → 提炼一句 ≤ 18 字的金句。
- 单文件 HTML, 可被
prefers-reduced-motion关动效。
04 同仓库更多 Skills
vercel-sandbox
Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "microVM Chrome", "agent-browser in sandbox", "browser automation on Vercel", or any task requiring Chrome in a Vercel Sandbox.
slack
Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction.
electron
Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.
dogfood
Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.