Skip to main content

Generating with Claude

Describe an animation in plain words — "show how a DNS lookup resolves www.example.com", "animate an AVL insertion that triggers a double rotation" — and let Claude write the spec. Three ways, from the quickest to the most integrated. All three rely on the same material, rebuilt from the JSON Schema and the demo gallery every time the site is published, so it never describes a field the engine no longer accepts.

From the playground: "Ask Claude"​

Nothing to install.

  1. Open the playground and click Ask Claude.
  2. Describe the animation. Tick Start from the spec currently in the editor to have Claude modify what you are working on instead of starting over.
  3. Click Copy the prompt, then Open claude.ai, paste (Ctrl+V / ⌘V) and send.
  4. Paste the JSON Claude returns into the playground editor: it validates as you paste and plays immediately.

The prompt carries the whole authoring context — the guide, the field reference, the circuit terminals and seven gallery examples — which is why it goes through the clipboard rather than a link.

The Claude skill​

For regular use, install the skill once: Claude then knows the format in every conversation, validates its own spec with a bundled script, and answers with a link that opens the animation in the playground.

Download the skill (a zip of a dataflow-animator/ folder).

  • claude.ai (and the Claude desktop app): Settings → Capabilities → Skills → upload the zip. Skills need Code execution and file creation to be enabled in the same settings page.
  • Claude Code: unzip it into your personal skills folder, or into a project's .claude/skills/ to share it with that project's team.
unzip dataflow-animator-skill.zip -d ~/.claude/skills/

Then simply ask: "Animate an OAuth 2.0 authorization code flow". Claude reads the guide, picks the closest examples, writes the spec, runs the validator until it is clean, and replies with the playground link and the JSON. Paste a playground link back into the conversation to have Claude modify that exact spec.

What the skill contains:

PathContent
SKILL.mdThe workflow Claude follows
reference/guide.mdHow to write a good animation, and the mistakes to avoid
reference/types.mdEvery field of the spec, generated from the JSON Schema
reference/pins.mdThe "node:pin" terminal names of every circuit component
examples/All gallery demos as JSON, with an index by layout and action
scripts/validate.mjsSchema, cross-reference and terminal checks, with "did you mean" hints
scripts/playground-link.mjsSpec → playground link, and back (--decode)

The scripts need Node.js 18 or later and nothing else — no install, no network.

For any assistant: llms.txt​

The site publishes the same material in the llms.txt format, for any assistant or tool that can read a URL:

  • /llms.txt — an index: the guide, the reference, the terminals, every example, the skill;
  • /llms-full.txt — everything in a single file.

The playground's Share button copies a link that carries the spec itself, in the URL fragment:

https://pierreolivierbrillant.github.io/dataflow-animator/playground/#spec=<token>

The token is the minified JSON, compressed with raw DEFLATE and encoded in base64url — about 1 KB for a typical animation. Being a fragment, it is never sent to the server: opening the link loads the spec entirely in your browser. The skill's playground-link.mjs produces exactly these links, which is how Claude can answer with an animation you open in one click.