animejs

Registers Anime.js animations as seek-driven instances inside HyperFrames compositions.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/gmolike/Claude-Template --skill animejs-gmolike
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: animejs
Source: https://github.com/gmolike/Claude-Template/tree/main/.agents/skills/animejs
Command: npx skills add https://github.com/gmolike/Claude-Template --skill animejs-gmolike

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires animejs.

What problem does it solve? Anime.js animations run on their own wall-clock timeline by default, which breaks deterministic frame rendering in HyperFrames. This Skill provides the adapter contract and patterns to make Anime.js animations seekable and render-safe inside HyperFrames compositions. ## Core Features & Use Cases - Seek-Driven Registration: Push Anime.js animations and timelines onto window.__hfAnime so HyperFrames controls the clock via instance.seek(timeMs). - Deterministic Patterns: Enforce autoplay: false, finite durations, and synchronous creation during composition initialization. - Use Case: You found an Anime.js example with a rotating, fading element. Use this Skill to translate it into a HyperFrames-safe composition that renders identically at every seek position. ## Quick Start Convert my Anime.js animation into a HyperFrames composition with autoplay disabled and the instance registered on window.__hfAnime.

Frequently Asked Questions about animejs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use Anime.js inside a HyperFrames composition?

Create the Anime.js animation synchronously during composition initialization with autoplay set to false, then push the returned instance onto window.__hfAnime. HyperFrames will drive it by calling instance.seek(timeMs) with its own clock.

Anime.js vs GSAP for HyperFrames animations?

GSAP is the primary HyperFrames authoring path and is preferred for complex scene sequencing. Use Anime.js for small SVG and DOM flourishes, compact syntax, or when translating existing Anime.js examples into seek-driven compositions.

Does HyperFrames support Anime.js ES module builds?

Yes, the adapter works with any build as long as the returned object exposes seek() and pause(), and preferably play(). You can import animate from the animejs ESM CDN and register the instance the same way.

Why is my Anime.js animation not rendering deterministically in HyperFrames?

The usual causes are leaving autoplay at its default, relying on anime.running auto-discovery instead of pushing to window.__hfAnime, or using infinite loops and wall-clock callbacks. Set autoplay false, register explicitly, and use finite durations.

Can Anime.js timelines be seeked by HyperFrames?

Yes, timelines built with anime.timeline work the same way as single animations. Set autoplay false on the timeline, add your keyframed segments, and push the timeline object onto window.__hfAnime for seeking.