Motion Prompt #012|形状变形 · Shape morph
一种形状平滑变成另一种
部分附加信息、来源说明或示例仍显示原文。
来源:import:liubai_public_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0254/original.md · 授权:MIT License Copyright (c) 2026 Shohei Ohtaki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
使用示例提示词正文
请使用“Shape morph”(モーフィング),它是“Motion graphics moves”中的一个名称。 Motion Prompt #012 定义:一个形状平滑地变成另一个。 示例展示:图形及其颜色平滑地从圆变成方形、星形和心形。 规格: - 四种图形各占 1.175 s:圆 → 角部略圆的方形 → 星形 → 心形 → 回到圆;基准半径 64。 - 每段先停留,然后从该段 0.62 s 起到结束前 0.04 s 之间变为下一个图形,规格标注这一变形段为 0.58 s。 - 每个轮廓保存为 240 个点;将相同索引的点做线性插值。进度采用 backOut(s = 1.6),所以会有轻微过冲。 - 颜色按蓝 → 珊瑚 → 黄 → 薄荷绿变化,以二次 ease-in-out 混合。 - 变形期间,缩放膨胀为 1 + 0.07 × sin(π × progress)。 - 下方有四个圆点,当前图形对应的圆点更大且带颜色。 何时使用:用于不经剪切地把一个图标或标志变成另一个。 参考实现(Canvas 2D,画面仅由时间决定的函数):https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/012.txt 共享辅助代码:https://showheyohtaki.github.io/motion-prompt/api/v1/kit/motion.js 请保持参考实现的形状、时间安排和缓动数值不变,只调整文字、颜色和素材,以适配我正在制作的项目。
使用示例
示例输入
请实现“形状变形 · Shape morph”:一种形状平滑变成另一种
示意结果
下方是来源作者提供的静态画面和可播放动效参考,并非本站对该提示词调用模型生成的结果。
提示词仅供参考,请结合实际场景调整,并核实 AI 生成结果。