animejs

Configure Anime.js animations for deterministic seeking in HyperFrames compositions.

248|32|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/boraoztunc/skills --skill animejs-boraoztunc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: animejs
Source: https://github.com/boraoztunc/skills/tree/main/animejs
Command: npx skills add https://github.com/boraoztunc/skills --skill animejs-boraoztunc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bridges Anime.js with HyperFrames by offering adapter patterns that let you write Anime.js animations or timelines inside HyperFrames compositions while keeping them seekable and deterministic. It also centralizes control by registering animations on window.__hfAnime and translates Anime.js examples into render-safe HyperFrames HTML.

Core Features & Use Cases

  • Adapter for wiring Anime.js animations and timelines to HyperFrames clock, enabling precise seeking via instance.seek(timeMs).
  • Register all created animations on window.__hfAnime for centralized control and playback management.
  • Ensure autoplay is disabled and durations/loop counts are finite to guarantee deterministic playback.
  • Translate Anime.js examples into render-safe HyperFrames HTML without side effects.

Quick Start

Create an Anime.js animation with autoplay: false and push it to window.__hfAnime so HyperFrames can drive and synchronize it.

Frequently Asked Questions about animejs

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

FAQPage Schema
How do I run Anime.js animations deterministically inside HyperFrames compositions?

You can run Anime.js animations deterministically inside HyperFrames by disabling autoplay, registering instances on window.__hfAnime, and driving playback via instance.seek(timeMs) to synchronize with the global clock.

Why do my Anime.js timelines skip frames when seeking in HyperFrames?

Anime.js timelines skip frames during seeking if autoplay is enabled or durations are infinite. Disable autoplay, ensure finite durations and loop counts, and use seek-based control via timeMs for deterministic playback.

Can I use standard Anime.js examples directly in HyperFrames HTML?

Standard Anime.js examples must be translated into render-safe HyperFrames HTML without side effects by disabling autoplay, registering instances on window.__hfAnime, and applying seek-based control via timeMs.

What's the best way to synchronize interactive motion effects with the HyperFrames global clock?

The best way to synchronize motion effects with the global clock is registering Anime.js animations on window.__hfAnime for centralized control and driving them via seek-based timeMs updates to ensure precise timing.

Do I need to disable autoplay for Anime.js timelines in HyperFrames?

Yes, disabling autoplay is required for Anime.js timelines in HyperFrames. You must also use finite durations and loop counts, then register animations on window.__hfAnime to guarantee deterministic and seekable playback.

What is window.__hfAnime used for when composing Anime.js timelines?

The window.__hfAnime registry is used for centralized control and playback management of Anime.js animations. Registering all created animations there allows HyperFrames to drive, synchronize, and seek timelines deterministically.