返回提示词

Motion Prompt #133|文字遮罩 · Text mask

镂空成文字形状,透出内部画面

发布于 更新于 浏览 0

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

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

使用示例

提示词正文

请使用“Text mask”(テキストマスク),它是“Motion graphics moves, part 2”中的一个名称。
Motion Prompt #133

定义:将字母镂空,在内部显示图像
示例展示:粗重字母被做成镂空遮罩,运动的海景只显露在字内;周期接近结束时整幅海景显现。
规格:
- “OCEAN”字重900,system-ui字体,字距2 px。字号从172 px开始,每次减少2 px,直到单词宽度不超过500 px。
- 字内场景持续运动:珊瑚色天空、上下摆动±6 px的黄色太阳、y = 116以下的蓝色海面;四条白色波浪线每4.7 s分别沿交替方向漂移240 px;帆船每4.7 s横穿一次,云漂移60 px。
- 方法:先在离屏Canvas绘制文字,再用source-in把场景合成进去,使场景只保留在字母内;字母外围有4 px白色描边。
- 字母外的场景以12%不透明度显示;3.45–3.85 s升至100%,4.25–4.65 s回到12%,均用smoothstep。
何时使用:将照片或视频放进标题、品牌名内部,把文字与画面结合。

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

使用示例

示例输入

请实现“文字遮罩 · Text mask”:镂空成文字形状,透出内部画面

示意结果

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

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