Communitygithub.com

数据条-动效模板

用于Instagram Reels和轮播图的Remotion动效风格“数据条”(财经资讯信息图):奶油色背景,数字突出展示,弹簧动画的高耸条形图,单色百分比计数器,一个高亮“答案”条,无衬线标题搭配一个斜体衬线词汇,“样本数据”标签。适用于数据故事、分项对比、薪资/税收/财经类解说视频。触发词:“信息图短视频”、“条形图动画”、“数据可视化视频”、“财经短视频”。

数据条-动效模板 是什么?

该技能提供了一个名为“数据条”的完整Remotion动效模板,专为Instagram Reels、TikTok和Shorts等短视频平台设计。它能够快速生成具有财经资讯信息图风格的条形图动画,常用于薪资、税收、财务数据等主题的解说视频。模板包含详细的帧布局方案,如奶油色背景、使用品牌色调的条形图、一个高亮答案条、无衬线与衬线字体搭配的标题、以及单色百分比计数器。动画方面,条图采用弹簧效果逐条出现,数值单调递增,并内置至少2.5秒的阅读暂停时间。该技能还集成了Google Flow生成3D资产(可选)的规范,并包含严格的质量检查清单,如类型检查、渲染、联系表生成、响度标准化和字体字形验证,确保输出专业且一致。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bahodirbuxorov/claude-motion-skills/tree/HEAD/skills/motion-data-bars

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

数据条 — 适用于 Reels / TikTok / Shorts 的动效风格 (Remotion)

在线演示代码:starter/src/styles/DataBars.tsx,位于 claude-motion-skills 仓库。 请使用您自己的品牌令牌(starter/src/lib/tokens.ts)。如果您的项目有自己的风格指南(例如 STUDIO.md),则以该指南为准,本技能文档次之。

帧布局方案

  • 背景色:奶油色 #F5F1E8,文字色:墨色 #16201D。条形图使用品牌色的三种深浅色调,其中一条答案条使用强调色(石灰绿)。
  • 标题:无衬线字体,字重900,尺寸约100 px,最多两行;问题关键词使用衬线斜体,放置在强调色块上。标题与图表之间保持 >= 80 px 间距。
  • 每个条形上方显示数值(等宽字体,40 px),下方显示标签(28 px),基线间距3 px。支持3–6个条形。

动画 (BarChart)

条形弹簧效果 d15 s110,每5帧错开;第0帧时高度已为25%
数值22帧内从25%单调递增至100%
答案条最后出现;顶部添加一个电子表格单元格边框或箭头
  • 完成后的图表至少保持2.5秒(阅读时间),并进行缓慢推近。
  • 数字必须能汇总;显示数据来源或“样本数据”标签。

资产 — Google Flow (规则)

此风格: 可选 — 在封面图表旁边放置一个小型3D对象(硬币、钱包);图表本身由代码生成。

  1. 生成: flow.google.com -> 项目 -> 切换到图像模式(而非视频 — Veo会消耗积分),选择 Nano Banana,比例 1:1,放大倍数 x2。
  2. 提示模板: "3D render of a [对象] ... in [品牌主色] with [强调色] accents, soft contact shadow, centered with generous empty space, isolated on a plain seamless very light [背景色] background, soft studio lighting. Minimal premium 3D icon style. No text, no numbers, no letters, no faces, no logos." 半色调变体:"Black and white halftone photo cut-out of [对象], collage sticker style with a thick clean white paper border ... No text."
  3. 检查两种变体的全尺寸版本 — 拒绝任何包含文字、人脸、多余手部或形状破损的图片。
  4. 下载2K分辨率到 public/ 目录。测量渲染图的背景色(边框的中位色),并将其用作场景背景色,使对象自然融合。需要透明抠图?使用命令 starter/cutout.py in.jpg out.png [tol] [noshadow](不适用于玻璃/透明对象)。
  5. 重复使用资产禁止: 一个视频中使用过的资产(3D对象、图片、音乐轨道)不得在下一个视频中重复使用 — 观众会对重复感到厌倦。请在项目中维护一份资产清单(ASSETS.md),每次制作前检查,每次渲染后追加记录。例外情况:Logo、字体、颜色令牌、音效、图标。

质量检查清单

  • 运行 tsc + lint -> 导出关键帧静态图 -> 渲染 -> 生成整个视频的联系表(ffmpeg -vf "select='gte(n,12)*not(mod(n-12,25))',scale=216:-1,tile=7x4")-> 响度标准化至 -14 LUFS(两遍 loudnorm)。
  • 第0帧必须是完整的封面(不能是空白帧);没有任何元素静止超过2秒;文字无重叠。
  • 可读文字必须保持在 Reels 安全区域内 y 285–1248, x 80–910(1080x1920分辨率)— 底部35%和右侧170像素会被UI遮挡。
  • 字体必须包含您所用语言的字符形(例如乌兹别克语 ʻ U+02BB / ʼ U+02BC:Inter、Inter Tight、IBM Plex、Big Shoulders、Playfair Display 支持;Bricolage、Syne、Manrope、Instrument Serif 不支持)。不要用字形输入箭头、不等号、序号符号 — 请使用SVG图标。
  • 配音:一次TTS录制,然后仅在静音区域内缩短长停顿(使用 silencedetect)。字幕可选 — 当屏幕上已有的文字已经表达了该句内容时,可以跳过字幕。

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

motion-aura-type

Remotion motion style "Aura Type" (soft gradient aura + minimal kinetic typography): white ground, 2–3 huge blurred colour blobs drifting slowly, words resolving one by one from blur to sharp, one serif-italic word in colour. For hooks, quotes, relatable one-liners, statements. Triggers: "aura gradient", "blur text animation", "kinetic typography", "quote reel", "minimal text reel".

motion-bento

Remotion motion style "Bento" (bento-grid feature board) for Instagram Reels and carousels: light ground, rounded tiles of different sizes in a tight grid, one fact per tile (big number, icon, 3D object, short label), one hero tile in brand colour; tiles pop in on a stagger, numbers count up. For product features, "what''s inside", dashboards, results. Triggers: "bento grid", "feature grid animation", "app features reel", "dashboard reel".

motion-captions

Animated captions / subtitles for Instagram Reels, TikTok and YouTube Shorts in Remotion: 6 trending styles — Bold Pop (Hormozi-style uppercase, stroke, keyword colour, word pop), Karaoke (active word grows), Editorial Mix (small words + one giant serif quote), Serif Mix, Box Line (plate + highlighted word), Minimal (lowercase fade). Covers word timing (Whisper word timestamps or silence-based estimation for low-resource languages), pagination, safe zone and when NOT to caption. Triggers: "captions", "subtitles", "animated captions", "karaoke captions", "hormozi captions", "word by word subtitles".

motion-glass-object

Remotion motion style "Glass & Object" for Instagram Reels, TikTok and YouTube Shorts: one glossy/puffy 3D object hero (Google Flow / Nano Banana), light studio ground, frosted glass cards, floating pill tags, lime highlight box, spreadsheet-cell selection signature, spring animations. Use for product, fintech and SaaS reels, explainers and hooks. Triggers: "glass object", "3D object reel", "fintech reel", "glassmorphism motion", "puffy 3D".

motion-newsflash

Remotion motion style "News Flash" (newspaper headline + hand-drawn annotations) for Instagram Reels: newsprint ground, masthead rule, huge condensed headline, yellow brush highlight that paints in, red marker circle and arrow that draw on, faint text columns, source on screen. For tax news, law changes, deadlines, announcements. Triggers: "newspaper style", "news reel", "breaking news animation", "deadline reminder", "hand drawn annotation".

motion-swiss-grid

Remotion motion style "Swiss Grid" (International Typographic Style revival): paper ground, visible column grid that draws in, big circle + square primitives in brand colours, one giant grotesk word, narrow mono text columns, numbers as graphic elements. For series covers, rules, checklists, step-by-step reels. Triggers: "swiss design", "grid poster", "bauhaus motion", "minimal poster animation", "series cover".

相关技能