本文へスキップ
Kitbay
スキル

html-anime-render

MIT2026年11月15日 更新271GitHubスター

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.

スキルの内容

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.

できること

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