返回提示词

Motion Prompt #021|翻转 · Flip(中文译文)

像卡片翻面一样展示另一侧;中文译文,效果未实测。

发布于 更新于 浏览 0

来源:import:liubai_versions_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0263/translation-zh.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:

使用示例

提示词正文

请使用“Flip”(フリップ),它是“Motion graphics moves”中的一个名称。
Motion Prompt #021

定义:像卡片一样翻过来,展示另一面。
示例展示:卡片绕竖直轴翻转,展示另一面。
规格:
- 卡片为 300 × 156、圆角半径 22;正面是蓝色 Q,背面是黄色 A,两面每 2.35 s 交替。
- 0.45–1.5 s 内旋转 180°,历时 1.05 s;采用 backOut(s = 1.5),略微越过 180° 后回正。
- 卡片宽度 = 原宽 × |cos θ|;经过 90° 时替换卡面的内容。
- 透视:把卡片画成许多细竖条,从一侧到另一侧,条高最多变化 ±20% × sin θ,使远侧较矮、近侧较高。
- 翻转期间按正弦曲线放大 8%、上浮 6 px;在卡面叠加不透明度为 0.34 × |sin θ| 的暗色;地面有椭圆阴影。
何时使用:用于展示互为两面的事物,例如问题与答案、之前与之后。

参考实现(Canvas 2D,画面仅由时间决定的函数):https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/021.txt
共享辅助代码:https://showheyohtaki.github.io/motion-prompt/api/v1/kit/motion.js
请保持参考实现的形状、时间安排和缓动数值不变,只调整文字、颜色和素材,以适配我正在制作的项目。

使用示例

示例输入

请实现“翻转 · Flip”:像卡片翻面一样展示另一侧;中文译文,效果未实测。

示意结果

下方是来源作者提供的静态画面和可播放动效参考,并非本站对该提示词调用模型生成的结果。

提示词仅供参考,请结合实际场景调整,并核实 AI 生成结果。