Agent Skills › dylantarre/animation-principles › universal-emotion

universal-emotion

GitHub

提供基于迪士尼动画原则的情感映射框架,将情绪目标转化为具体的运动参数(如节奏、形变、缓动),指导前端实现具有特定情感表达的动画效果。

skills/06-by-emotional-outcome/universal-emotion/SKILL.md dylantarre/animation-principles

Trigger Scenarios

需要为UI元素添加特定情感色彩的动画 设计品牌专属的交互动画风格 调整动画以符合无障碍或跨文化需求

Install

npx skills add dylantarre/animation-principles --skill universal-emotion -g -y
More Options

Non-standard path

npx skills add https://github.com/dylantarre/animation-principles/tree/main/skills/06-by-emotional-outcome/universal-emotion -g -y

Use without installing

npx skills use dylantarre/animation-principles@universal-emotion

指定 Agent (Claude Code)

npx skills add dylantarre/animation-principles --skill universal-emotion -a claude-code -g -y

安装 repo 全部 skill

npx skills add dylantarre/animation-principles --all -g -y

预览 repo 内 skill

npx skills add dylantarre/animation-principles --list

SKILL.md

Frontmatter
{
    "name": "universal-emotion",
    "description": "Use when you need to achieve any emotional outcome through animation—provides a framework for mapping Disney principles to any target emotion."
}

Universal Emotion Animation Framework

Map Disney's 12 principles to any emotional goal through systematic analysis.

Emotional Goal

Any emotion can be achieved through intentional application of animation principles. This framework helps translate emotional intent into specific motion parameters.

Emotion Mapping Framework

Step 1: Define the Emotion

Identify your target on these spectrums:

  • Energy: Low ←→ High
  • Valence: Negative ←→ Positive
  • Arousal: Calm ←→ Excited
  • Dominance: Submissive ←→ Powerful

Step 2: Map Principles to Emotion

Principle Low Energy High Energy
Squash & Stretch 0-10% 20-40%
Anticipation 50-100ms 150-300ms
Timing 400-800ms 100-250ms
Exaggeration 0-15% 25-50%
Follow Through Extended settle Quick bounce
Principle Serious Playful
Arc Direct/Linear Curved/Bouncy
Secondary Action Minimal Abundant
Straight Ahead Avoid Embrace
Appeal Clean/Geometric Round/Organic

Step 3: Select Easing

Emotion Type Easing Style Example
Calm Symmetric ease ease-in-out
Confident Strong ease-out cubic-bezier(0,0,0.2,1)
Playful Overshoot cubic-bezier(0.34,1.56,0.64,1)
Urgent Sharp ease-out cubic-bezier(0.0,0,0.2,1)
Elegant Extended ease cubic-bezier(0.4,0,0.6,1)

Quick Reference by Emotion

Positive Emotions

  • Joy: Fast timing, high squash/stretch, bouncy easing
  • Trust: Consistent timing, minimal deformation, smooth easing
  • Calm: Slow timing, subtle movement, symmetric easing
  • Excitement: Fast timing, high energy, dynamic easing

Functional Emotions

  • Urgency: Very fast, direct paths, attention-grabbing
  • Professional: Moderate timing, minimal decoration, standard easing
  • Friendly: Moderate timing, soft deformation, gentle easing

Premium Emotions

  • Elegant: Slower timing, no deformation, refined easing
  • Powerful: Deliberate timing, impact emphasis, strong easing

CSS Variables Template

:root {
  /* Adjust based on target emotion */
  --emotion-duration: 300ms;
  --emotion-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --emotion-squash: 1;
  --emotion-overshoot: 0;
}

Decision Tree

  1. Is the emotion high or low energy?
  2. Is the feeling positive, negative, or neutral?
  3. Should users feel in control or guided?
  4. Is this a moment or a state?
  5. What's the brand personality?

Combining Emotions

Real experiences blend emotions. Layer principles:

  • Primary emotion: 70% influence
  • Secondary emotion: 30% influence
  • Adjust timing/easing accordingly

When to Use

  • Novel emotional requirements
  • Brand-specific interpretations
  • Complex emotional journeys
  • A/B testing emotional impact
  • Cross-cultural considerations
  • Accessibility adaptations

Version History

  • 8359713 Current 2026-12-03 14:21

Same Skill Collection

skills/01-by-domain/3d-spatial/SKILL.md
skills/01-by-domain/accessible-motion/SKILL.md
skills/01-by-domain/brand-marketing/SKILL.md
skills/01-by-domain/data-visualization/SKILL.md
skills/01-by-domain/game-development/SKILL.md
skills/01-by-domain/micro-interactions/SKILL.md
skills/01-by-domain/mobile-touch/SKILL.md
skills/01-by-domain/page-transitions/SKILL.md
skills/01-by-domain/presentations/SKILL.md
skills/01-by-domain/universal-fallback/SKILL.md
skills/01-by-domain/video-motion-graphics/SKILL.md
skills/01-by-domain/web-motion-design/SKILL.md
skills/02-by-thinking-style/anticipation-payoff/SKILL.md
skills/02-by-thinking-style/attention-direction/SKILL.md
skills/02-by-thinking-style/character-appeal/SKILL.md
skills/02-by-thinking-style/emotional-narrative/SKILL.md
skills/02-by-thinking-style/exaggerated-clarity/SKILL.md
skills/02-by-thinking-style/naturalistic-motion/SKILL.md
skills/02-by-thinking-style/physics-intuition/SKILL.md
skills/02-by-thinking-style/problem-diagnosis/SKILL.md
skills/02-by-thinking-style/rhythm-pacing/SKILL.md
skills/02-by-thinking-style/spatial-thinking/SKILL.md
skills/02-by-thinking-style/timing-mastery/SKILL.md
skills/02-by-thinking-style/universal-mindset/SKILL.md
skills/03-by-role-persona/accessibility-advocate/SKILL.md
skills/03-by-role-persona/animator-traditional/SKILL.md
skills/03-by-role-persona/brand-strategist/SKILL.md
skills/03-by-role-persona/creative-director/SKILL.md
skills/03-by-role-persona/educator-teacher/SKILL.md
skills/03-by-role-persona/filmmaker/SKILL.md
skills/03-by-role-persona/frontend-developer/SKILL.md
skills/03-by-role-persona/game-designer/SKILL.md
skills/03-by-role-persona/motion-designer/SKILL.md
skills/03-by-role-persona/product-manager/SKILL.md
skills/03-by-role-persona/universal-practitioner/SKILL.md
skills/03-by-role-persona/ux-researcher/SKILL.md
skills/04-by-skill-level/absolute-beginner/SKILL.md
skills/04-by-skill-level/advanced/SKILL.md
skills/04-by-skill-level/deep-dive/SKILL.md
skills/04-by-skill-level/expert/SKILL.md
skills/04-by-skill-level/intermediate/SKILL.md
skills/04-by-skill-level/master/SKILL.md
skills/04-by-skill-level/novice/SKILL.md
skills/04-by-skill-level/quick-start/SKILL.md
skills/04-by-skill-level/refresher/SKILL.md
skills/04-by-skill-level/teaching-others/SKILL.md
skills/04-by-skill-level/troubleshooting/SKILL.md
skills/04-by-skill-level/universal-reference/SKILL.md
skills/05-by-animation-type/attention-grabbers/SKILL.md
skills/05-by-animation-type/continuous-loops/SKILL.md

Metadata

Files
0
Version
8359713
Hash
db992b31
Indexed
2026-12-03 14:21

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-12-03 23:19
浙ICP备14020137号-1