Motion Prompt #126|运动路径 · Motion path
沿设定的曲线移动
部分附加信息、来源说明或示例仍显示原文。
来源:import:liubai_public_20261104 · https://github.com/Shanvision-star/liubai-prompt-library/blob/25f0137e36a8fae46aebace86b18cdfeff624a99/bundled-library/entries/PRM-0368/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:
使用示例提示词正文
请使用“Motion path”(モーションパス),它是“Motion graphics moves, part 2”中的一个名称。 Motion Prompt #126 定义:沿自定义曲线移动 示例展示:纸飞机沿虚线路径前进并不断转向,途中完成一次翻环。 规格: - 每4.7 s走完一次,从屏幕左侧外进入、右侧外离开。路径为x = 270 + 112θ − 150·sinθ,y = 106 − 74·cosθ,θ = −π→π,在顶部中央形成一个环。 - θ与时间成正比推进,因此路径上的实际速度不恒定,环形部分看起来较慢。 - 飞机朝向路径切线,角度 = atan2(74·sinθ, 112 − 150·cosθ)。 - 提前显示路径虚线,线宽6,虚线间隔2/15;飞机身后有24段薄荷色轨迹,每段θ差0.03,越靠后越细、越淡。 何时使用:用于沿规定路线移动的对象,如飞行物、汽车或地图上的旅程。 参考实现(Canvas 2D,画面仅由时间决定的函数):https://showheyohtaki.github.io/motion-prompt/api/v1/en/e/126.txt 共享辅助代码:https://showheyohtaki.github.io/motion-prompt/api/v1/kit/motion2.js 请保持参考实现的形状、时间安排和缓动数值不变,只调整文字、颜色和素材,以适配我正在制作的项目。
使用示例
示例输入
请实现“运动路径 · Motion path”:沿设定的曲线移动
示意结果
下方是来源作者提供的静态画面和可播放动效参考,并非本站对该提示词调用模型生成的结果。
提示词仅供参考,请结合实际场景调整,并核实 AI 生成结果。