motion-sickness

GitHub

提供消除动画眩晕的指导,涵盖危险模式识别、迪士尼原则诊断、快速修复方案及无障碍代码实现。

skills/12-by-problem-type/motion-sickness/SKILL.md dylantarre/animation-principles

Trigger Scenarios

用户反馈动画导致头晕或恶心 导航中产生方向感混乱

Install

npx skills add dylantarre/animation-principles --skill motion-sickness -g -y
More Options

Non-standard path

npx skills add https://github.com/dylantarre/animation-principles/tree/main/skills/12-by-problem-type/motion-sickness -g -y

Use without installing

npx skills use dylantarre/animation-principles@motion-sickness

指定 Agent (Claude Code)

npx skills add dylantarre/animation-principles --skill motion-sickness -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": "motion-sickness",
    "description": "Use when animation causes dizziness, nausea, disorientation, or vestibular discomfort"
}

Motion Sickness Prevention

Eliminate vestibular triggers using Disney's principles safely.

Problem Indicators

  • Users report dizziness or nausea
  • Disorientation during navigation
  • Users avoid certain features
  • Complaints increase with larger screens
  • Parallax or zoom effects cause issues

Dangerous Patterns

These trigger vestibular responses:

  • Large-scale zoom animations
  • Parallax scrolling (especially multi-layer)
  • Full-screen rotations
  • Rapid direction changes
  • Continuous/looping background motion
  • Scroll-jacking

Diagnosis by Principle

Exaggeration

Issue: Over-dramatic motion Fix: Reduce scale of transforms. Max 10-20% size change. Avoid full-screen zooms.

Arcs

Issue: Curved paths cause tracking strain Fix: Use linear motion for functional UI. Save arcs for small, optional elements only.

Follow Through

Issue: Overshooting creates whiplash effect Fix: Remove bounce/overshoot from navigation. Use critically damped springs or ease-out.

Secondary Action

Issue: Multiple moving elements cause confusion Fix: Limit to one primary motion. Remove parallax layers.

Slow In and Slow Out

Issue: Acceleration patterns cause disorientation Fix: Use consistent, predictable easing. Avoid sudden speed changes.

Quick Fixes

  1. Respect prefers-reduced-motion - Non-negotiable
  2. Remove parallax effects - Common trigger
  3. Avoid zoom transitions - Use fades instead
  4. Keep motion small - Under 100px movement
  5. No scroll-jacking - Let scroll be scroll

Troubleshooting Checklist

  • Does animation respect prefers-reduced-motion?
  • Is any element moving more than 100px?
  • Are there any zoom effects?
  • Is parallax present? Remove it.
  • Are there continuous/looping animations?
  • Can users pause or disable motion?
  • Test on large display (motion amplified)
  • Test for 5+ minutes continuously

Safe Alternatives

Triggering Safe Alternative
Zoom transition Fade + slight scale (max 5%)
Parallax scroll Static or single-layer
Rotation Fade or slide
Bounce/spring Ease-out (no overshoot)
Full-page slide Crossfade

Code Pattern

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .parallax {
    transform: none !important;
  }
}

/* Safe default motion */
.safe-transition {
  transition: opacity 200ms ease-out;
  /* Avoid: transform with large values */
}

Version History

  • 8359713 Current 2026-12-03 14:24

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
99f8788e
Indexed
2026-12-03 14:24

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-12-04 05:07
浙ICP备14020137号-1