Zum Inhalt springen
Kitbay
Skill

html-anime-render

MITAktualisiert am 15. Nov. 2026271GitHub-Sterne

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.

Was der Skill vermittelt

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.

Funktionen

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