待认领/flxrnc-251921

轻量播放器交互动效

@flxrnc 的代码动画作品,原作者待认领。

分享
作者待认领

@flxrnc,你的优秀作品已经准备好成为 .motion 了,只差你的认领确认。认领后它会出现在你的名下,你可以决定是否发布为可复用的模板。

我是作者,去认领
PREVIEW · 4s@flxrncClaude Opus 5.5

4 秒预览片段,作品归原作者 @flxrnc 所有。查看原帖 ↗

PROMPT作者公开的提示词

这条视频是怎么做出来的

<inputs>
Give me:

* canvas color
* shape color
* accent color
* shape radius
* fonts
* the states the shape should morph through

Use hex codes, seconds, damping ratios and pixel sizes instead of adjectives.
</inputs>

<direction>
Make a 14 second, 1440x1440, 60fps seamless UI motion loop.

One shape, zero cuts.

The shape morphs from state to state and is never replaced.

Each state fills 50% of the frame.

The camera starts on the beat and settles slower than the shape.

Use closed-form springs.

Shape damping 0.72, settle time 0.35s.
Camera damping 1.0, settle time 0.6s.

Content swaps use 12px blur and fade over 0.15s.

The cursor tip stays locked to whatever it drags.
</direction>

<structure>
Use a 0.5s beat grid.

0.0 - pixel mascot idles
1.0 - mascot squashes into play button
1.5 - loader
2.0 - check draws
2.5 - timeline scrub
4.0 - keyframe stretches past the end and snaps back
5.0 - bezier editor
7.0 - counter rolls F 000 to F 840
8.5 - render bar fills
10.0 - command palette types "export mp4"
11.0 - toast says "840 frames rendered"
12.0 - toast shrinks back into the mascot

The last frame must be the first frame.
</structure>

<build>
Write one HTML file with Canvas 2D.

window.renderAt(t) must be a pure function of time.

No Math.random.
No clock.
No carried state.

?t= must freeze the exact moment.

Render every frame from renderAt(frame / 60).

Use 4 subframes for motion blur.

Encode to H.264 at 60fps.
</build>

<gotchas>
Fix the cursor jump at the loop wrap with:

t - 14*floor(t/14)

Do not cross-fade orange into ink.

Use a ripple from the center at 1.5s and from the click point at 12.0s.

Roll word swaps vertically.

Start draw-on after blur-in.

Aim the cursor at where the target will be when it lands.

Keep cursor speed under 65 px/frame.
</gotchas>

<start>
First show me the storyboard.

Then write the code.

After the first render, check 5 frames around every beat and fix the issues before the final render.
</start>

你也可以把这段提示词交给 Claude,做一条属于自己的版本。认领后,原作者可以把工程打包成可复用的 .motion 模板。

更多待认领作品

COMMUNITY

评论与制作效果

交流使用心得、提出问题,也欢迎分享你用这个模板做出的作品。

已发布并完成认领的模板才开放评论。