Skip to content

waapi

Native browser keyframe animations with deterministic seeking for HyperFrames compositions.

— (0 ratings) 68.7K downloads heygen-com
$ npx skills add https://github.com/heygen-com/hyperframes --skill waapi

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Native browser keyframe animations with deterministic seeking for HyperFrames compositions.

  • Create animations synchronously with element.animate() using finite durations and iterations, then pause them for adapter control
  • The adapter seeks all active animations via document.getAnimations() by setting currentTime to HyperFrames timeline position in milliseconds
  • Use fill: "both" to persist seeked states, and model clip timing with delay or visibility control rather than relying on clip-local start times
  • Supports staggered animations, keyframe offsets, and easing functions; avoid infinite iterations, animation.finished callbacks, and layout property animation

Web Animations API for HyperFrames

HyperFrames can seek Web Animations API animations through its waapi runtime adapter. WAAPI is useful when you want native browser keyframes with JavaScript-created timing and no GSAP dependency.

Contract

  • Create animations synchronously during composition initialization.
  • Use element.animate(...) with finite duration and iterations.
  • Use fill: "both" so seeked states persist.
  • Pause animations after creation or let the adapter pause them on first seek.
  • Avoid callbacks and promises for render-critical state.

The adapter calls document.getAnimations(), sets each animation's currentTime to HyperFrames time in milliseconds, then pauses it.

Basic Pattern

<div id="orb" class="clip orb" data-start="2" data-duration="3" data-track-index="2"></div>

Installs: 68.7K | GitHub stars: 92.0K | First seen: Apr 30, 2026

Related skills

New

Agent workflows

agent-browser

Fast, persistent browser automation with session continuity across sequential agent commands.

New • 1.8M
New

Coding & dev tools

hyperframes-cli

CLI toolkit for scaffolding, validating, previewing, and rendering HyperFrames video compositions.

New • 1.8M
New

Frontend

hyperframes

HTML-based video composition with animations, captions, audio-reactive visuals, and scene transitions.

New • 1.7M