mirror of
https://github.com/calesthio/OpenMontage.git
synced 2026-09-09 04:56:28 +08:00
feat: discoverability + cross-agent slash commands for Ink Theater / Animated Drawing
Makes the doodle-animation capability findable instead of hidden. Routing (OpenMontage-internal): - AGENT_GUIDE: Style Playbooks gets an ink-sketch row + a 'hand-drawn doodle' routing note (it's a style + engine on the animation / character-animation pipelines, NOT a new pipeline). - animation/idea-director + character-animation/character-design-director point to the Ink Theater / Ink Puppet skills for hand-drawn character briefs. Cross-agent slash commands (/ink-art, /animated-drawing) for Claude Code, Copilot, Cursor, and Codex — thin pointers to the canonical skills so they stay in sync. /ink-art = create a vector doodle from scratch (Ink Theater + Ink Puppet mocap); /animated-drawing = animate a SUPPLIED drawing via Meta AnimatedDrawings (raster). New skills/creative/animated-drawing.md documents the Path A setup/run/limits. Codex prompts are user-home only — .codex/prompts/README explains the copy/symlink step. .claude/commands/*.md (Claude Code) .github/prompts/*.prompt.md (Copilot) .cursor/commands/*.md (Cursor) .codex/prompts/*.md + README (Codex; copy to ~/.codex/prompts)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
---
|
||||
description: Animate a SUPPLIED drawing/photo of a character with real motion capture (Meta AnimatedDrawings) → raster GIF/MP4 of that drawing moving. To CREATE a vector doodle from scratch, use /ink-art.
|
||||
argument-hint: [path to drawing] [motion: dance|walk|jump|wave]
|
||||
---
|
||||
|
||||
Read `skills/creative/animated-drawing.md`, then set up and run Meta's open-source **AnimatedDrawings** to animate the supplied drawing with the requested motion.
|
||||
|
||||
- Use this only when the user *has* a humanoid drawing/photo to animate. To create a vector doodle from scratch that draws itself → use `/ink-art` instead.
|
||||
- Output is **raster** (the original drawing warped) — no vector, no draw-on reveal. Confirm the input is a single humanoid on a plain light background.
|
||||
- Prefer the turnkey bundled-character path first; the auto-rig path needs Docker + ~670 MB models.
|
||||
|
||||
Drawing + motion: $ARGUMENTS
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
description: Hand-drawn ink-on-white doodle animation — a character that draws itself then walks/dances/waves, or a deadpan contraption explainer. Vector, deterministic, rendered via HyperFrames to MP4.
|
||||
argument-hint: [what to animate]
|
||||
---
|
||||
|
||||
Read `skills/creative/ink-theater.md` (the metaphor method, color grammar, mined archetypes) and `ink-theater/README.md` (engine API, determinism, the SVG-text font gotcha), then build the piece described below.
|
||||
|
||||
- Use the **Ink Theater** engine (`ink-theater/ink-theater.js`): variable-width ink strokes, seek-safe boil, closed-form spring eases, FABRIK IK, the contraption grammar.
|
||||
- For a **character that walks / dances / waves / jumps**, use the **Ink Puppet** mocap system: `InkPuppet.create(...)` → `p.drawIn(tl, ...)` for the self-drawing reveal → `InkPuppet.choreograph(tl, p, [{clip:'wave_hello'},{clip:'dab'},{clip:'jumping'},...])`. **Never hand-tune motion** — add moves by converting a BVH with `ink-theater/mocap/bvh2clip.mjs` (free CMU mocap has walk/run/dance/…).
|
||||
- Captions = **HTML overlay `<div>`s** (HyperFrames does not apply webfonts to SVG `<text>`).
|
||||
- Validate with `npx hyperframes lint` + `snapshot` (eyeball the contact sheet), then render.
|
||||
|
||||
In OpenMontage this runs on the `animation` pipeline (illustration) or `character-animation` pipeline (mocap puppet) — it is a style + engine, not a separate pipeline.
|
||||
|
||||
Request: $ARGUMENTS
|
||||
Reference in New Issue
Block a user