360 Secure SkillHub
360 安全技能中心

bs-launchmotion-data-corner-radius-drag

一个 HyperFrames 发布视频场景模板:替换卡角拖拽动画中的文案与图片,选择蓝、黑白、橙或品牌色主题,用 Node 脚本生成工程并由 HyperFrames 渲染成 7.7 秒、1080p 或 4K 的 MP4;可选从网站或参考视频采集品牌素材。

分类:创作
yihui-dev
yihui-dev
热度 13.52
最近更新 2026-11-29 00:21:42

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add yihui-dev/bs-launchmotion-data-corner-radius-drag
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
bs-launchmotion-data-corner-radius-drag
description
A handle drags a card corner round while a readout counts to 40 px, the camera pulls back to a photo release card, which then settles into the centre of a 3x3 feature grid as a cursor taps its button. Rewrite every line, drop in your own logo and pictures, pick a blue, black-and-white, orange or brand-color theme, and render a 7.7-second MP4 in 1080p or 4K on your own machine.

Corner Radius Drag

A handle drags a card corner round while a readout counts to 40 px, the camera pulls back to a photo release card, which then settles into the centre of a 3x3 feature grid as a cursor taps its button. One editable HyperFrames project, 7.7 s, 1920×1080 canvas, renders at 1080p (default) or 4K, 30 fps, dark scene.

1. Start from the user's own material

Before writing any text, collect what the user already has. Their real product always beats a default.

  • Website link. Open the site first, in a browser tool if you have one (otherwise fetch the HTML). Collect: the product name and one-line pitch; three to five features in the site's own words; real numbers (users, speed, price) only as stated; the logo (SVG or PNG, else apple-touch-icon or the favicon); the main brand color (primary buttons, links, logo); and screenshots of the hero and the key product sections at 1920 px wide (2x if you can). Save everything in ./brand/ with a short brand.json (name, pitch, features, numbers, colors, file list). Never invent numbers, customers or quotes.
  • Reference video. Extract one frame per shot (ffmpeg -i ref.mp4 -vf "select='gt(scene,0.3)'" -vsync vfr ref-%03d.png), transcribe any speech, and write down what each shot says, how long it holds and which words it uses. Match its message, order and pacing. If it shows the user's own product, cut short clips for footage slots.
  • Nothing given. Ask for the product name and one sentence about it, or keep the defaults.

Then fill the text slots from that material, put the user's logo and screenshots into the picture slots, and offer the brand color as the theme.

2. Theme and font

Ask which look the user wants unless they already said:

  • --theme blue (default), --theme mono (black and white), --theme orange, or
  • --accent "#RRGGBB" for the brand color (for example the one collected from their website).

Backgrounds stay white or clear glass in every theme; the accent only colors buttons, highlighted words, icons and selection rings. This is a dark scene: it stays black with a fine grid in every theme. Headlines use Smiley Sans (Deyi Hei) and small interface text uses Inter. --font inter keeps Inter everywhere; --font path/to/font.woff2 (or .ttf/.otf) uses the user's own headline font.

3. Text slots

All visible text is in named slots. Defaults live in references/defaults.json; keep each value within its character limit.

Slot Default Max chars
card-1-label Corner radius 17
card-1-value 40 px 9
card-2 New shape library 21
card-3-label Auto layout 15
card-4 Smarter guides 18
card-5-label Version 11
card-5-value 2.4 7
card-6 Private by default 22
card-7-label Snap to grid 16
card-8 Sharper exports 19
badge New release 15
title Spring release 16
subtitle Rounder, faster and calmer to use 41
readout-label Corner radius 17
readout-unit px 6
badge-small New 7
title-small Spring release 16
cta See what's new 18
radius 40 3

4. Picture slots

Pass --media name=path. For a slot with several items, pass a comma-separated list or a folder; files are used in order and repeat if there are fewer. Prefer the user's real screenshots for screenshot slots and their logo for logo slots. Match the aspect ratio or the picture is cropped to fill.

Slot Kind Aspect Shows
hero-photos photo ×3 1280:720 three photos that swap inside the hero card (lake, peak, sail)
grid-images photo ×4 520:292 image cells around the hero; crystal, compass and shield are blue illustrations shown grayscale in every theme (together they cover about a fifth of the frame), peak is a photo

5. Create and render

node scripts/create.mjs --out ./launch-scene --theme blue --set "card-1-label=Your line here"
npx hyperframes preview ./launch-scene
npx hyperframes render ./launch-scene --output ./launch-scene.mp4 --fps 30 --quality high --resolution 1080p
# 4K: --resolution 4k

--set key=value can repeat; wrap one phrase in [[ ]] to keep the slot's highlight style. --data content.json accepts an object of slot values. node scripts/create.mjs --help lists every slot.

Resolution

Before rendering, ask the user whether they want 1080p or 4K. If they do not say, render 1080p. For 4K add --resolution 4k (3840×2160): the scene and its timing stay the same, Chrome renders it at twice the pixel density, and the render takes longer.

Style rules

  • Never add large color areas: no full-screen color washes, colored panels or tinted backgrounds.
  • Cards follow a frosted-glass system: floating controls are glass, large content cards use a thicker material, and only the main button is tinted with the accent. Do not add more glass.
  • Third-party logos come from the LobeHub icon set in their original colors. Never recolor a logo. When the user features their own product, put their logo in the logo slot instead.
  • Keep the timeline intact: change words, pictures and the theme, not timings. Keep each value within its character limit.

Check

Inspect the frames at the start, the middle and the final hold. Fix any clipped or wrapping line by shortening the text, and any badly cropped picture by choosing a closer aspect ratio, then render again.


Part of Skillry · LaunchMotion

This skill is a free individual launch-video scene from LaunchMotion on Skillry.

  • Looking for the full LaunchMotion master library (end-to-end storyboard planning, multi-scene assembly, and beat-synced soundtrack)? Explore skillry.dev.
  • Connect Skillry MCP or browse all 87 free skills: npx --yes skillry-cli@latest mcp · github.com/yihui-dev/skillry-skills