makepad-2-0-animation
하는 일
이 도구는 Makepad 라이브러리를 사용해 사용자 인터페이스의 애니메이션을 만드는 데 도움을 줍니다. 시각 요소가 시간에 따라 모습을 바꾸도록 하여, 마우스 오버 상태, 전환 효과, 지속적인 애니메이션 같은 효과를 만들 수 있습니다.
사용하는 경우
- ✓클릭하면 색이 바뀌는 버튼을 만들고 싶을 때.
- ✓요소가 부드럽게 나타나도록(페이드 인) 하고 싶을 때.
- ✓애니메이션이 있는 로딩 효과를 만들 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/makepad-2-0-animation/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“마우스를 올리면 색이 바뀌는 버튼은 어떻게 만드나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
요소에 ‘애니메이터’를 정의합니다. 이 애니메이터는 시각 속성(색상, 크기 등)이 ‘일반’이나 ‘호버’ 같은 ‘상태’ 사이에서 어떻게 바뀌는지 정해진 시간과 효과로 제어합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
When to Use
- Use when this upstream workflow matches the user's stated goal.
- Use when the task requires the procedures documented in this skill.
Makepad 2.0 Animation Skill
Version: makepad-widgets (dev branch) | Last Updated: 2026-03-03
Overview
The Animator system drives instance() shader variables over time, enabling hover effects, transitions, and looping animations. It uses independent animation tracks called "groups" that run simultaneously.
Documentation
Refer to the local files for detailed documentation:
./references/animator-reference.md- Complete Animator API, play types, ease functions, examples
IMPORTANT: Documentation Completeness Check
Before answering questions, Claude MUST:
- Read the relevant reference file(s) listed above
- If file read fails or file is empty:
- Inform user: "Reference docs incomplete. Still answering based on SKILL.md patterns."
- Still answer based on SKILL.md patterns + built-in knowledge
- If reference file exists, incorporate its content into the answer
Critical: Widget Animator Support
NOT all widgets support animator! Adding animator: Animator{...} to an unsupported widget is silently ignored - no error, no animation, nothing happens.
Widgets that SUPPORT Animator
View, SolidView, RoundedView, ScrollXView, ScrollYView, ScrollXYView, Button, ButtonFlat, ButtonFlatter, CheckBox, Toggle, RadioButton, LinkLabel, TextInput
Widgets that DO NOT Support Animator
Label, H1-H4, P, TextBox, Image, Icon, Markdown, Html, Slider, DropDown, Splitter, Hr, Filler
To animate a Label: Wrap it in a View with the animator:
View{
width: Fit height: Fit
animator: Animator{
hover: {
default: @off
off: AnimatorState{ from: {all: Forward {duration: 0.15}} apply: {draw_bg: {hover: 0.0}} }
on: AnimatorState{ from: {all: Forward {duration: 0.15}} apply: {draw_bg: {hover: 1.0}} }
}
}
label := Label{text: "Animated via parent"}
}
Animator Structure
animator: Animator{
<group_name>: {
default: @<state_name>
<state_name>: AnimatorState{
from: { ... }
ease: <EaseFunction>
redraw: true
apply: { ... }
}
<state_name>: AnimatorState{ ... }
}
<group_name>: { ... }
}
Groups
Each group is an independent animation track. Common groups:
| Group | Purpose | Typical States |
|---|---|---|
hover |
Mouse hover in/out | off, on |
focus |
Keyboard focus | off, on |
active |
Toggled/checked state | off, on |
disabled |
Disabled state | off, on |
time |
Continuous looping | off, on |
Multiple groups animate simultaneously without interfering.
The from Block
Controls transition timing. Keys are states being transitioned FROM, or all as catch-all.
// From any state, animate over 0.2 seconds
from: {all: Forward {duration: 0.2}}
// Instant from any state
from: {all: Snap}
// Different timing depending on origin
from: {
all: Forward {duration: 0.1}
down: Forward {duration: 0.01}
}
Play Types
| Type | Description | Example |
|---|---|---|
Forward {duration: 0.2} |
One-shot forward | Hover transitions |
Snap |
Instant jump, no animation | Default state initialization |
Loop {duration: 1.0} |
Looping animation | Loading spinners |
ReverseLoop {duration: 1.0} |
Ping-pong loop | Pulsing effects |
BounceLoop {duration: 1.0} |
Bounce back and forth | Bouncing animations |
Ease Functions
| Function | Description |
|---|---|
Linear |
Constant speed |
InQuad / OutQuad / InOutQuad |
Quadratic easing |
InCubic / OutCubic / InOutCubic |
Cubic easing |
InQuart / OutQuart / InOutQuart |
Quartic easing |
InQuint / OutQuint / InOutQuint |
Quintic easing |
InSine / OutSine / InOutSine |
Sine easing |
InExp / OutExp / InOutExp |
Exponential easing |
InCirc / OutCirc / InOutCirc |
Circular easing |
InElastic / OutElastic / InOutElastic |
Elastic spring |
InBack / OutBack / InOutBack |
Overshoot |
InBounce / OutBounce / InOutBounce |
Bounce |
Usage: ease: OutCubic in the AnimatorState (optional, defaults to Linear).
The apply Block
…
자주 묻는 질문
모든 요소를 애니메이션으로 만들 수 있나요?
아니요. ‘View’나 ‘Button’처럼 애니메이션을 지원하는 요소가 있는 반면, ‘Label’이나 ‘Image’처럼 직접 지원하지 않는 것도 있습니다. ‘Label’을 애니메이션으로 만들려면 애니메이션이 가능한 ‘View’로 감싸야 합니다.
애니메이션 ‘그룹’이란 무엇인가요?
동시에 진행될 수 있는 독립적인 애니메이션 트랙과 같습니다. 대표적으로 ‘hover’(마우스 올림), ‘focus’(요소가 선택됨), ‘time’(지속적인 애니메이션)이 있습니다.
애니메이션을 더 빠르게 또는 느리게 하려면 어떻게 하나요?
전환의 ‘지속 시간(duration)’을 초 단위로 조정할 수 있습니다. 또한 애니메이션 속도를 지점마다 조절하는 ‘이즈 함수’를 고를 수 있습니다. 예를 들어 천천히 시작해 빨라지거나, 그 반대로 할 수 있습니다.
상세 정보
작성자의 원본 설명
Makepad 2.0 guidance for animation; use when building or debugging Makepad UI code.
인기도
- GitHub 스타
- 48k
- 순위
- #5139
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.