返回提示词

Motion Prompt #152|滚动放大 · Zoom on scroll

图片随滚动放大至铺满屏幕

发布于 更新于 浏览 0

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

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

使用示例

提示词正文

请使用“Zoom on scroll”(スクロールで拡大),它是“Landing page & web effects, part 2”中的一个名称。
Motion Prompt #152

定义:图像随滚动放大,直到填满屏幕。
示例展示:页面滚动时,中央小照片扩大至填满窗口,周围文字淡出,照片上方出现标题。
规格:
- 视口511×168。滚动进度p在0.3–2.3 s内0→1,3.0–4.4 s内1→0,均为三次ease-in-out。单次4.7 s,在9.4 s包循环内播放两次。
- 照片框从中央155×90(x = 178、y = 58、圆角半径8)扩展为完整511×168窗口,圆角半径0;位置、宽度、高度和圆角均与p成比例变化。
- 周围标题与正文在p从0→0.45期间淡出,不透明度为1 − 2.2p。
- p从0.7→1时,白色标题以26 px字号、2 px字距在照片中央淡入;滚动条滑块跟随滚动。
何时使用:用于旅游、房地产或品牌网站,把访客的注意力带入照片。

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

使用示例

示例输入

请实现“滚动放大 · Zoom on scroll”:图片随滚动放大至铺满屏幕

示意结果

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

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