2d-motion-graphics
Installation
SKILL.md
HTML Sequence Authoring
HTML sequences can be rendered frame-by-frame for video export. Strict rules regarding layout, CSS animations, and design should be followed for optimal results.
1. Core Architecture Contract
- CSS/WAAPI Only: Rely exclusively on CSS
@keyframesor native Web Animations API (element.animate). - No External Libraries: 🚫 No GSAP or JS animation libraries unless explicitly requested.
- No Infinite Loops: 🚫 No
infiniteanimations. They break duration calculations. Use fixed repeats or forwards fills. - No JS Timing: 🚫 No
requestAnimationFrameorsetInterval. - No Dynamic Runtime Layout: 🚫 Do not use
getBoundingClientRect(). Use deterministic CSS relative units (vw,vh,%). - No Heavy Assets: 🚫 No videos or unpredictably loading assets.