Skip to content
Kitbay
Skill

html-anime-render

MITUpdated on Nov 15, 2026271GitHub stars

A skill from the html-anime project on writing a short film's HTML file as a deterministic HyperFrames composition, so the same file always renders the same frames.

What the skill teaches

A skill from the html-anime project on writing a short film's HTML file as a deterministic HyperFrames composition, so the same file always renders the same frames. It sets up the root element with the runtime and frame size, places clips on tracks, lays out each shot's rest frame in CSS first, and registers a paused GSAP timeline synchronously. Animation is limited to transform, opacity, colour and stroke, with no random values, clock reads or endless repeats. Cuts use a short full-frame colour dip rather than fades, drawings change by opacity swaps on frame boundaries, a woff2 font is bundled, and the film counts as done after HyperFrames lint, validate and a preview.

Capabilities

  • Structure a HyperFrames composition file
  • Register a deterministic GSAP timeline
  • Cut between shots with colour dips
  • Lint, validate and preview the film