# Motion Graphics

> Generate motion graphics and animated videos using Python, FFmpeg, and Pillow. Use for: creating intro videos, data visualizations, animated diagrams, and text-based motion graphics.

- **Type:** Skill
- **Install:** `agentstack add skill-aryankumar06-claude-code-skills-claude-code-skills`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [aryankumar06](https://agentstack.voostack.com/s/aryankumar06)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [aryankumar06](https://github.com/aryankumar06)
- **Source:** https://github.com/aryankumar06/claude-code-skills

## Install

```sh
agentstack add skill-aryankumar06-claude-code-skills-claude-code-skills
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Motion Graphics

This skill enables the creation of programmatic motion graphics and animations within the Manus sandbox environment.

## Core Workflow

To create a motion graphics video, follow these steps:

1.  **Define Animation Parameters**: Determine the resolution (e.g., 1280x720), duration (e.g., 5 seconds), and framerate (e.g., 30 FPS).
2.  **Choose an Implementation Strategy**:
    *   **Frame-by-Frame (Recommended)**: Use Python with `Pillow` to draw each frame as an image, then assemble them with `FFmpeg`.
    *   **FFmpeg Filters**: Use complex filtergraphs for simpler animations like scrolls, zooms, and overlays.
    *   **Matplotlib Animation**: Best for mathematical or data-driven motion graphics.
3.  **Implement the Script**: Create a Python script (refer to `scripts/generate_motion.py` for a template) that:
    *   Calculates a `progress` variable (0.0 to 1.0) for each frame.
    *   Draws elements (shapes, text, images) based on the progress.
    *   Saves frames as numbered files (e.g., `frame_0001.png`).
4.  **Assemble and Encode**: Use `FFmpeg` to combine frames into a final video file (e.g., `.mp4`).
5.  **Clean Up**: Delete all temporary frame files after the video is generated.

## Bundled Resources

### Scripts
- `scripts/generate_motion.py`: A template script for frame-by-frame animation using Pillow and FFmpeg.

### References
- `references/techniques.md`: Detailed guide on animation techniques, FFmpeg filters, and best practices for high-quality output.

## Guidelines for Quality
- **Smoothness**: Use a consistent framerate (30 or 60 FPS).
- **Compatibility**: Always use `-pix_fmt yuv420p` in FFmpeg to ensure the output video plays correctly on all devices.
- **Resource Management**: The sandbox has limited storage; avoid generating thousands of high-resolution frames without cleanup.
- **Visuals**: Use `Pillow`'s `ImageDraw` for crisp vector-like shapes and `ImageFont` for professional typography.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [aryankumar06](https://github.com/aryankumar06)
- **Source:** [aryankumar06/claude-code-skills](https://github.com/aryankumar06/claude-code-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-aryankumar06-claude-code-skills-claude-code-skills
- Seller: https://agentstack.voostack.com/s/aryankumar06
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
