Motion Prompt #016|视差 · Parallax(中文译文)
远近图层以不同速度移动形成纵深;中文译文,效果未实测。
来源:import:liubai_versions_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0258/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:
使用示例提示词正文
请使用“Parallax”(パララックス),它是“Motion graphics moves”中的一个名称。 Motion Prompt #016 定义:近层与远层以不同速度移动,以表现深度。 示例展示:风景横向平移,近处图层移动更多、远处图层移动更少,形成纵深。 规格: - 相机横移按正弦波在 ±108 px 之间变化,每 4.7 s 完成一次往返。 - 每层沿相反方向偏移 pan × factor。由后到前的系数依次为:星星 0.05、月亮 0.1、远山 0.28、中景山脊 0.6、前景山丘与树木 1.25、最近的暗色形体 2.1。 - 远层采用更暗、更接近背景的颜色,近层更明亮;最近层则是沿底边放置的大型深色剪影。 - 每层在画面左右两侧均至少多绘制 200 px,保证边缘不会露出来。 何时使用:用于为平面插画或照片增添深度,例如背景、风景和滚动场景。 参考实现(Canvas 2D,画面仅由时间决定的函数):https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/016.txt 共享辅助代码:https://showheyohtaki.github.io/motion-prompt/api/v1/kit/motion.js 请保持参考实现的形状、时间安排和缓动数值不变,只调整文字、颜色和素材,以适配我正在制作的项目。
使用示例
示例输入
请实现“视差 · Parallax”:远近图层以不同速度移动形成纵深;中文译文,效果未实测。
示意结果
下方是来源作者提供的静态画面和可播放动效参考,并非本站对该提示词调用模型生成的结果。
提示词仅供参考,请结合实际场景调整,并核实 AI 生成结果。