返回提示词

Motion Prompt #165|动态形状分隔线 · Animated shape divider

持续摆动的波浪形区块分隔线

发布于 更新于 浏览 0

部分附加信息、来源说明或示例仍显示原文。

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

使用示例

提示词正文

请使用“Animated shape divider”(シェイプディバイダー),它是“Landing page & web effects, part 2”中的一个名称。
Motion Prompt #165

定义:持续运动的波浪形章节分隔线。
示例展示:蓝色区块与白色区块交界处,两层波浪形状缓慢摆动。
规格:
- 视口511×168,上方蓝色渐变区块#3B64E8→#8FA9F7,下方白色区块,边界叠加两层波浪。每4.7 s循环一次,在9.4 s包循环内两次。
- 后层波浪为不透明度0.45的白色,以y = 100为中心,由波长260 px、振幅8 px的正弦波和波长130 px、振幅4 px的正弦波相加。
- 前层波浪为白色,以y = 110为中心,叠加波长300 px/振幅9 px与波长110 px/振幅3.5 px,向下与白色区块相接。
- 令相位a = 2π·t/4.7,后层两波使用a + 1和−2a,前层使用−a和2a + 0.5;每层内两个正弦沿反方向移动,所以形状持续变化,并每4.7 s返回起始状态。
何时使用:用于希望章节边界柔和而非笔直的页面,例如海洋、夏日或儿童主题网站。

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

使用示例

示例输入

请实现“动态形状分隔线 · Animated shape divider”:持续摆动的波浪形区块分隔线

示意结果

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

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