How alchaincyf/huashu-art-motion works
huashu-art-motion is a coding-agent skill and code toolkit for creating animated films. Its main workflow is to analyze a reference or choose a style and narration grammar, author timed scenes or a parameterized clip, render frames into a film, and optionally synthesize music. The README also documents long-scroll films and QA. Source excerpts show the gallery engine drawing era scenes and the clip renderer’s rendering model; unsampled integrations and several subsystem links are represented only where the README documents them.
Main entry points: scenes Style scenes · engine.js Gallery engine · render.py Render command · breakdown.py Reference breakdown
Components 17
Analysis and review
- Reference breakdown
scripts/analyze/breakdown.py - Animation QA
scripts/qa.py
Animation authoring
- Era timeline
scripts/engine/eras.js - Style scenes
scripts/engine/scenes - Grammar clips
scripts/engine/clips - Film examples
scripts/engine/reference_films/spacex - Transitions
scripts/engine/transitions.js - Character rig
scripts/engine/lib/rig.js
Rendering runtime
- Canvas rendering
scripts/engine/lib/render.js - Drawing toolkit
scripts/engine/lib/paint.js - Diagram toolkit
scripts/engine/lib/diagram.js - Gallery engine
scripts/engine/engine.js - Clip engine
scripts/engine/clip.js - Render command
scripts/engine/render.py
Media output
- Music synthesis
scripts/audio/synth_艺术史速通.py - Rendered animation
Other components
- Creator or agent
Connections 19
- Creator or agent → Reference breakdown: analyzes reference
README.md - Reference breakdown → Style scenes: guides recreation
README.md - Creator or agent → Style scenes: chooses style
README.md - Creator or agent → Grammar clips: supplies spec
README.md - Creator or agent → Film examples: authors long-scroll
README.md - Gallery engine → Era timeline: selects eras
scripts/engine/engine.js - Gallery engine → Style scenes: draws scenes
scripts/engine/engine.js - Gallery engine → Transitions: applies transitions
- Style scenes → Character rig: uses character poses
- Style scenes → Drawing toolkit: uses drawing tools
- Style scenes → Canvas rendering: uses renderer
- Film examples → Diagram toolkit: uses diagram tools
- Clip engine → Grammar clips: renders clips
- Render command → Gallery engine: renders gallery
README.md - Render command → Clip engine: renders spec
README.md - Render command → Rendered animation: produces film
README.md - Creator or agent → Music synthesis: synthesizes music
README.md - Creator or agent → Animation QA: checks output
README.md - Animation QA → Rendered animation: measures animation
scripts/qa.py