OpenZhenZhen AI 提示词画廊 · Claude Opus 5.5 · video
纯代码生成的UI动效展示
UI Motion Effects Generated Purely with Code
作者用 Opus 5.5 完全用代码生成了一段 UI 动效视频,没有使用 After Effects,并公开了用于制作该作品的完整可复用提示词模板。 原作需要参考素材;请自行准备图片、视频、音频、文档或代码库等输入。

提示词 / Prompt
English prompt
<inputs> Ask me for: 8 to 12 UI states the shape should turn into (e.g. button, loader, player, slider, toggle, tabs, chart, command palette, toast), a pure black-and-white palette or one accent color, and a royalty-free track around 120 BPM (e.g. from Mixkit, free for commercial use). </inputs> <direction> Dribbble-level UI motion. One shape, no cuts: each state is the same element changing size, radius and color, while its content swaps with a quick blur. A cursor triggers every change through actual clicks and drags. Use a light warm-gray canvas, black-and-white components and one clean UI font (Geist). Springs throughout, with only a slight overshoot. Zoom the camera so each state fills the frame. Match the final frame to the first for a seamless loop. Banned: bouncy easing, particle bursts, glows, gradients on UI chrome, inconsistent icon strokes, dead time, anything that feels like a template. </direction> <structure> 120 BPM, 7 bars, with an action on every beat. Button → loader → check → dynamic island → music player with a play/pause morph → scrub the progress bar → it turns into a volume slider that stretches when dragged past max → a toggle switches on the beat → its knob becomes a liquid tab indicator → the tabs expand into a chart that draws itself, with a tooltip on hover → it folds into ⌘K → type to filter → enter → toast → back to the button. </structure> <build> 1. One HTML file, square 1440x1440. Compute every style from time inside seek(t): no CSS transitions, timers or state carried between frames. 2. Use closed-form step responses for springs. If a value changes target multiple times, add one spring for each change so it remains a pure function of time. 3. Give the tab indicator’s two edges separate springs, letting the leading edge stretch ahead of the trailing one. Use the same approach for the toggle knob. 4. Make drags direct: while the cursor is held down, calculate the value from its position. On release, spring back from that position. 5. Analyze the song with numpy to find the beat grid and begin on a downbeat. Position each UI sound using its measured peak. 6. Render with Playwright: 4 subframes per frame, blended with ffmpeg tmix for motion blur at 60fps. 7. Render one frame per beat before the full render. Fix anything off-grid, cramped or difficult to read. </build> <gotchas> Don’t use will-change on anything the camera scales, or the text will look blurry. Text swapping inside a morphing container needs separate enter and exit timing to avoid overlap. Make the final frame identical to the first including cursor position and speed or the loop will stutter. </gotchas> <start> Ask me for the inputs, then show me the state list on the beat grid before writing any code. </start>
主题与风格
探索更多图片和视频提示词 · 生成图片 · 生成视频 · 在 AI 画布中创作
相关作品
- 女孩真人感测试
**【参考图像锚定】** 图像 1 是 [年轻女性],保留参考图中的面部特征、精致妆容、浅金色长直发与空气刘海、简约白色上衣、脖颈细金链与小巧金坠吊坠,及整体外貌。人物仅锚人物本身,场景按下文文字重建,不得沿用图内任何构图或背景细节。 **【分镜】** **人物初始站位与空间关系**:夜晚路灯下,她站在街边一盏路灯正下方偏前的位置,手持手机以真实前置摄像头自拍视角拍摄,画面从胸以上的中近景开始,镜头随她的手持动作运动。头顶路灯洒下柔和的暖白光池,从上方偏正前照亮她的脸 —— 额头、鼻梁、颧骨受光,鼻下与眼窝投下朝下的柔影;浅金发顶和颊边碎发被灯光勾出一圈暖色轮廓光,发丝末梢泛一点暖亮的金;
- H3单采,7秒打斗测试
integrated_multimodal_description: (本段为极度硬核的高速CG兵器交锋。禁用2D动漫渲染。画面中只有加雷斯和洛恩两人。加雷斯在连续攻击中开口嘲讽,洛恩全程嘴唇紧闭死扛。) [Shot1] 0-2.5s, Unreal Engine 5 render, hyper-realistic, fast-paced sword fight, dynamic camera tracking. A muscular man in heavy red-black iron armor (Gareth) swings a massive greatsword downward
- H3爆裂冲击帧之【闪电箭】
输入邀请码:rh-v1631 领1000RH币,每天登录还有100币 H3满血无损!正面对标SD2.0 全网最干净方便的空间折叠工作流,去除繁复连线、虚空桥接+空间折叠; B站主页:https://space.bilibili.com/111985620/lists?sid=7895659&spm_id_from=333.788.0.0 youtube主页:https://www.youtube.com/@%E5%90%83%E7%8C%AA%E4%BE%A0233
- H3无损融合单采【官方画布级本地流】
输入邀请码:rh-v1631 领1000RH币,每天登录还有100币 H3满血无损!正面对标SD2.0 全网最干净方便的空间折叠工作流,去除繁复连线、虚空桥接+空间折叠; B站主页:https://space.bilibili.com/111985620/lists?sid=7895659&spm_id_from=333.788.0.0 youtube主页:https://www.youtube.com/@%E5%90%83%E7%8C%AA%E4%BE%A0233
- MiniMax H3满血无损加速1.0高清工作流
粉丝福利:点击右上角头像-邀请码-填入邀请码,领1000RH币,每天登录还有100币 邀请码:rh-v1631 B站主页:https://space.bilibili.com/111985620/lists?sid=7895659&spm_id_from=333.788.0.0 H3满血无损加速1.0高清工作流 31.7G模型
- 720P双时钟高质量加速 0.8
粉丝福利:点击右上角头像-邀请码-填入邀请码,领1000RH币,每天登录还有100币 邀请码:rh-v1631 B站主页:https://space.bilibili.com/111985620/lists?sid=7895659&spm_id_from=333.788.0.0 H3满血无损ref加速0.8高清工作流 31.7G模型