본문으로 건너뛰기
Skillpedia
일반 코딩48k · #3750

animejs-animation

하는 일

JavaScript 코드를 사용해 웹사이트에 복잡하고 자연스러운 애니메이션을 만듭니다. 시각 요소가 움직이거나, 크기가 바뀌거나, 정교한 방식으로 나타나도록 할 수 있습니다.

사용하는 경우

  • ✓여러 단계로 구성된 랜딩 페이지 애니메이션을 만들 때.
  • ✓요소들이 순서대로 나타나도록 할 때(스태거 효과).
  • ✓SVG 벡터 그래픽을 애니메이션으로 만들어 역동적인 도형이나 선을 만들 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/animejs-animation/SKILL.md

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

사용 방법

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

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

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

📦 이 스킬이 포함된 팩

AI에게 요청하는 예시

“페이지의 제목과 메인 이미지에 애니메이션을 만들어 주세요. 제목이 먼저 살짝 움직이며 나타나고, 그다음 이미지가 나타나게 해 주세요.”

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

작동 방식

애니메이션을 적용할 페이지 요소와 그 요소가 움직이는 방식을 지정합니다(예: 아래에서 위로, 줄어들기). 이 도구는 지시를 결합해 부드럽고 제어된 애니메이션 순서를 만듭니다.

기술 내용 (원본 SKILL.md)

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

Anime.js Animation Skill

Anime.js is a lightweight but extremely powerful JavaScript animation engine. It excels at complex timelines, staggering, and precise control over DOM, CSS, and SVGs.

Context

This skill is used for creating high-fidelity, jaw-dropping web animations that go far beyond simple CSS transitions. It's the tool of choice for awards-caliber interactive sites.

When to Use

Trigger this skill when:

  • Creating complex, multi-stage landing page orchestrations.
  • Implementing staggered animations for revealing grids, text, or data visualizations.
  • Animating SVG paths (morphing shapes, drawing dynamic lines).
  • Building highly interactive, kinetic UI elements that respond fluidly to user input.

Execution Workflow

  1. Identify Targets: Select the DOM elements or SVGs to be animated.

  2. Define Properties & Easing: Specify values to animate. Crucially, utilize advanced easing functions (e.g., custom cubicBezier, spring, or elastic) instead of basic linear or ease-in-out to make the motion feel expensive and natural.

  3. Orchestrate Timelines: Inspect the installed major version first. This example targets Anime.js v3; use anime.timeline() to sequence complex choreography. Master the use of timeline offsets (relative '-=200' vs absolute) to create seamless overlapping motion.

  4. Implement: For a bundler with Anime.js v3 installed, import anime from "animejs"; supplies the anime binding. The selectors must exist in the rendered DOM.

    const tl = anime.timeline({
      easing: "spring(1, 80, 10, 0)",
      duration: 1000,
    });
    tl.add({
      targets: ".hero-text",
      translateY: [50, 0],
      opacity: [0, 1],
      delay: anime.stagger(100),
    }).add(
      { targets: ".hero-image", scale: [0.9, 1], opacity: [0, 1] },
      "-=800",
    );
    

Motion and Compatibility

  • Scope: Use motion when it serves the product brief and user task. Respect the existing design system; simple transitions and static states are valid choices.
  • Staggering: Leverage anime.stagger() extensively to add organic rhythm to multiple elements.
  • Performance: Monitor main thread usage; use will-change: transform, opacity where appropriate for GPU acceleration.

Example

User request:

Create complex, multi-stage landing page orchestrations.

Limitations

  • The code above uses the v3 API. Anime.js v4 uses imported createTimeline() and a different target/parameter signature; do not mix major-version examples. Consult official timeline documentation for the installed version.
  • Respect prefers-reduced-motion: provide a static final state, avoid scroll hijacking, and keep focus/keyboard interactions immediately usable. Dispose animations when their component unmounts.
  • will-change is a temporary optimization hint, not a guarantee of GPU acceleration; measure real frames and avoid leaving it on every element.
  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

‘스태거(stagger)’란 무엇인가요?

여러 요소가 작은 간격을 두고 차례로 나타나거나 움직이게 하여 시각적 리듬을 만드는 효과입니다.

‘이징 함수(easing functions)’란 무엇인가요?

애니메이션의 속도가 시간에 따라 어떻게 변하는지 조절하는 함수입니다. 실제 세계의 움직임처럼 더 자연스럽고 덜 기계적으로 보이게 합니다.

모든 웹사이트에 사용할 수 있나요?

네, 하지만 디자인과 사용자 경험에 실제로 가치를 더하는 정교한 애니메이션에 가장 적합하며, 단순한 애니메이션에는 적합하지 않습니다.

상세 정보

작성자의 원본 설명

Advanced JavaScript animation library skill for creating complex, high-performance web animations.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#3750
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬