Agent skill Web motion
Dimensional Drawing Motion
Design, implement or review motion on the web.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add enesozturk/dimensional-drawing --skill dimensional-drawing-motion --agent claude-code --yesCheck this file in your project.claude/skills/dimensional-drawing-motion/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add enesozturk/dimensional-drawing --skill dimensional-drawing-motionSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. An original SVG drawing outline, the installed template and headless adapter, Node 18+, Chromium, and FFmpeg for MP4 encoding.
View operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Publisher
- enesozturk
- Control points
- init · render(t) · at() · DW_CAM · render.mjs --still
- Result
- A deterministic SVG scene with inspectable stills and a render path for the finished film.
- Skill name
dimensional-drawing-motion- Repository
enesozturk/dimensional-drawing
Common pitfall
Avoid this prompt
Append lines during each tick and let a large white fill appear before their outlines.
Frame history makes arbitrary seeks inconsistent, and the early fill can cover the detail being explained.
Use these steps
- Inspect source and behavior
- Apply the documented technique
- Verify the original interaction
Project walkthrough
Animate an original drawing sheet into a short, seekable dimension and layer study.
Animate an original drawing sheet into a short, seekable dimension and layer study.
Inspect source and behavior
Inspect source and behavior
Prompt · Step 1Use Dimensional Drawing Motion on [my original notebook hinge sheet]. Read templates/scene-dialog.js, templates/base.css, and adapters/headless/README.md. Mark the close-up detail, plan view, separated layers, and final sheet framing. Establish an order where the geometry draws before its dimensions.Apply the documented technique
Apply the documented technique
Prompt · Step 2Adapt the supplied scene to your original geometry. Create SVG nodes once in init; in render(t), derive dash offset, fill opacity, and DW_CAM framing from time only. Use the template’s at() registration and draw outlines before fills. Install the adapter dependencies in a working copy and run node render.mjs --scene <scene> --css <css> --still 6.6 --out frame.png from adapters/headless.Verify the original interaction
The second render of the same timestamp matches and labels appear after the referenced geometry.
- The second render of the same timestamp matches and labels appear after the referenced geometry.
Prompt · Step 3Inspect stills before layer lift, during the lift, and at the final sheet. Re-render one still after a later timestamp and compare the image. When an MP4 is requested, use --duration and --fps with --out film.mp4, then use ffprobe and a decoded frame to confirm file duration and final framing.
Implementation lookup
Find the documented inputs and verification target for this walkthrough.
Check the control pointsInputs
- Command or reference
init · render(t) · at() · DW_CAM · render.mjs --still- Examples
- The second render of the same timestamp matches and labels appear after the referenced geometry.
FAQ
Can I verify one frame before encoding an MP4?
Yes. The headless adapter’s --still option writes a PNG at the specified time.
Where are the instructions?
Open the installed SKILL.md and following references for the selected technique. The publisher link points to the revision verified for this handbook.