返回提示词

Motion Prompt #091|无限滚动 · Infinite scroll

滚动到底部时自动加载更多条目

发布于 更新于 浏览 0

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

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

使用示例

提示词正文

请使用“Infinite scroll”(無限スクロール),它是“Landing page & web effects”中的一个名称。
Motion Prompt #091

定义:到达底部时自动加载更多项目。
示例展示:滚到列表尾部出现加载圈,随后新增三项,读者可继续阅读。
规格:
- 列表项331 × 44、圆角半径8、间隔52;最后一项下方有半径10的加载圈,每0.8 s转一圈。
- 滚动量在0.25–0.85 s从38→116 px,1.15–1.75 s从116→194 px,使用cubic ease-in-out,停下时列表末尾可见。
- 2.6 s添加三项;每项在0.35 s内从不透明度0→1,同时从下方10 px升起,使用cubic ease-out;加载圈移到新的末尾。
- 每个循环推进三项,即156 px;内容每三项重复,因此循环结尾与开头外观相同。
何时使用:供用户连续阅读、不必翻页的信息流或新闻列表。

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

使用示例

示例输入

请实现“无限滚动 · Infinite scroll”:滚动到底部时自动加载更多条目

示意结果

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

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