轻量播放器交互动效

@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

Комментарии и работы

Делитесь вопросами, опытом и работами, созданными по этому шаблону.

Комментарии доступны для опубликованных шаблонов с подтверждённым авторством.