본문으로 건너뛰기
Skillpedia
모션 및 애니메이션101k · #1034

motion-ui-morph

하는 일

UI 애니메이션 템플릿입니다. 하나의 도형이 버튼, 로더, 차트 같은 여러 인터페이스 요소로 변신하며, 음악에 맞춰 움직입니다.

사용하는 경우

  • ✓UI 전환을 보여 주는 시각 데모를 만들 때.
  • ✓웹사이트나 앱에 역동적인 애니메이션 효과를 더할 때.
  • ✓디자인 콘셉트를 창의적으로 보여 주는 경우.

스킬 링크

https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/motion-ui-morph/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/motion-ui-morph/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“버튼이 음악 비트에 맞춰 차트로 변하는 UI 애니메이션을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

하나의 도형이 시간에 따라 모양과 기능이 바뀌는 코드를 씁니다. 커서가 이 변신을 조절하며, 14초짜리 사운드 트랙과 동기화됩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

One-Shape UI Motion

A 14-second code-only UI motion piece, rebuilt from the viral original: one shape morphs from a button into a loader, player, slider, toggle, tabs, chart, command palette and toast, driven by a cursor at 120 BPM. example.html is the finished reference — start from it.

Source

A remake of a viral post by @twoclipping: https://x.com/twoclipping/status/2103273003555402193 (1.03M views · 12K likes · 20K bookmarks on X (as of 2026-10-05)). The composition is rebuilt in code from the published piece; the soundtrack is original.

Reference files

Copy example.html, assets/geist-OFL.txt, assets/geist-medium.ttf, assets/geist-regular.ttf, assets/geist-semibold.ttf, assets/gsap.min.js, assets/soundtrack.mp3 into the composition, preserving the assets/ path. Font licenses travel with their fonts. Use these frozen local bytes; no runtime script or font CDN is needed.

Art direction

  • Warm light-gray canvas #EDEDE8, black #0A0A0A and white components, toggle track #D0D1CA; one soft drop shadow.
  • Font (SIL OFL, bundled): Geist Regular, Medium and SemiBold.
  • The original is a 1440×1440 square; this reference keeps its scale on a 1920×1080 stage.

Beat map (14s)

  • 120 BPM, 7 bars: Generate button → loader → check → dynamic island → music player (play/pause morph, scrub) → volume slider that stretches past max → toggle → liquid tab indicator → chart that draws itself with a hover tooltip and a Week switch → ⌘K palette (type "frame", enter) → toast → Generate button.
  • The last frame matches the first, so it loops.

Adapting the template

  • Replace the UI states in SHAPE and their contents; keep one shape that never cuts, springs summed per change, and a cursor that causes every change.

How the reference is built

  • One composition root with canvas layers. A single render(t) draws the whole frame from the master timeline time t; constants at the top hold copy, palette and timing so the film can be re-themed in one place.
  • Every visible value is a pure function of t (eases, springs or keyframes evaluated from time). No state carries between frames.

Preview and video export

Keep the stage edge to edge in both gallery and MP4 capture. Playback controls are an overlay that stays transparent until hovered or focused; never reserve stage space for them or include them in the poster. Inside an Open Design project the motion source player fits the stage and owns the controls, so the preview shell yields its own fit and controls there.

The GSAP master timeline is the only clock. Render every visible layer from its current time in the per-frame loop: export seeks suppress timeline callbacks. Schedule the next animation frame before drawing so one failed frame cannot stop the loop. Backward seeks must reproduce identical frames. Await bundled fonts before playback and signal preview-ready at a legible hero frame. Preserve window.__timelines and the composition's timing attributes. Avoid large canvas gradients and per-pixel noise: they make every captured frame expensive and slow the MP4 export.

Sound

assets/soundtrack.mp3 is an original 14-second score made for this template and timed to its beats; no audio from the source video is used. The music is part of the look being remade. These rules replace the general sound guidance for this remake; apply the first one that matches the brief:

  1. The user asks for no music: remove the <audio> element, do not copy the file, and freeze motionDelivery.audio as silent.
  2. The user supplies an audio file and asks to use it: copy it into the film's assets/ and point <audio id="soundtrack"> at it.
  3. Otherwise keep this score, including when the brief asks for different music, a genre or a mood. This flow cannot generate music: never generate, download or synthesize audio, and do not add voiceover.

Under rules 2 and 3, freeze motionDelivery.audio as required.

Keep id="soundtrack", data-start="0" and a numeric data-volume. Set data-duration to the shorter of the music and the film (the film's length when the music's length is unknown); the export fades the music out there. Never use loop: in a film longer than the music, the music plays once and the rest is silent.

Do not add a music note to the final reply. Only when a music or voiceover request could not be met, say so in one short sentence.

The <audio> element stays inside the composition root; the desktop exporter

…

자주 묻는 질문

색과 글꼴을 바꿀 수 있나요?

네. 색을 조정하고 함께 제공된 글꼴을 사용해 모양을 바꿀 수 있습니다.

애니메이션이 너무 긴가요?

주요 애니메이션은 14초이며, 끊김 없이 반복되도록 설계되었습니다.

사용하려면 인터넷 연결이 필요한가요?

아니요. 필요한 파일(코드, 글꼴, 음악)이 모두 포함되어 있어 인터넷 연결 없이 실행할 수 있습니다.

상세 정보

작성자의 원본 설명

One-Shape UI Motion — motion design template. A 14-second code-only UI motion piece, rebuilt from the viral original: one shape morphs from a button into a loader, player, slider, toggle, tabs, chart, command palette and toast, driven by a cursor at 120 BPM.

repo: nexu-io/open-design

인기도

GitHub 스타
101k
순위
#1034
라이선스
Apache-2.0
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬