Skip to content
This repository was archived by the owner on Sep 27, 2026. It is now read-only.
waselyPublic archive

Repository files navigation

html-anime

An anime, written as HTML. You write a scene. The site turns it into a shot sheet: holds, one expensive shot, a closed color script. Paste that sheet into Claude, Codex, Cursor, or Grok. The agent draws the frames.

The pictures are HTML, timed for HyperFrames. Nothing here calls a video model.

Start

git clone https://github.com/wasely/html-anime.git
cd html-anime

Open the folder in the agent you already use and paste a sheet as the first message. The site builds the sheet in the browser. harness/compile.js builds the same sheet in Node.

Serve the site from this folder, then open the address it prints:

python -m http.server

Opening index.html as a file shows that same instruction. The sheet will not run until the folder is served.

Agent What it reads Open
Claude Code CLAUDE.md claude
Codex AGENTS.md codex
Cursor .cursor/rules/html-anime.mdc cursor .
Grok AGENTS.md grok

What is in the repo

  • index.html — the site
  • skills/html-anime-direct/SKILL.md — which shots exist
  • skills/html-anime-cel/SKILL.md — how a frame is painted
  • skills/html-anime-timing/SKILL.md — twos, holds, the smear
  • skills/html-anime-camera/SKILL.md — the cut and the frame
  • skills/html-anime-render/SKILL.md — the HyperFrames file
  • harness/compile.js — logline to sheet
  • films/roof/ — an 8 second reference. File shape and the color-dip cut, not a film to remix
  • AGENTS.md — the contract

Render the reference

cd films/roof
npx hyperframes preview

Lint before you trust a new film:

npx hyperframes lint
npx hyperframes validate

Sheet rules the agent is not allowed to break

  • Shot times sum to 8, 12, or 20 seconds
  • One sakuga shot. The others stay on three drawings
  • Acting on twos. Rain and a blade on ones
  • Only the hexes printed on the sheet
  • The line you wrote, verbatim, or no dialogue at all

Releases

Packages

Contributors

Languages