使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/nphu0811/pmg-skills --skill pmg-kinetic-typography开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
PMG Kinetic Typography (pmg-kinetic-typography)
Specialized motion intelligence for headlines, titles, body paragraphs, and keywords in PowerPoint presentations.
Core Mental Model
Typography motion must guide reading cadence, not create visual noise. - Titles command the slide with authoritative, steady unveiling. - Keywords punch forward with subtle scale pops (1.12x - 1.15x) to anchor memory. - Word-by-word cascades respect human reading speed (40ms - 80ms micro-delays). - Cross-slide headers morph smoothly preserving the persistent !! anchor. - Monospaced code blocks unveil with crisp typewriter rhythm.Supported Patterns
| Pattern | Shared Primitive | Native PPTX Effect | Semantic Application |
|---|---|---|---|
| `title_unveiling` | REVEAL | wipe / fade | Authoritative headline establishing narrative topic. |
| `word_stagger` | STAGGER | appear (staggered delay) | Rhythmic word-level reveal following reading order. |
| `keyword_punch` | EMPHASIZE | scale (1.14x) | High-contrast visual pop commanding focal attention. |
| `typewriter` | REVEAL | stepped appear | Terminal code / computational data sequence. |
| `subtitle_glide` | REVEAL | fade / fly_in (up) | Secondary context settling beneath the title. |
| `kinetic_morph` | MORPH | <p159:morph> | Cross-slide traveling headline transition (!!). |
Python API Usage
from pmg.motion_planners import KineticTypographyPlanner
planner = KineticTypographyPlanner()
intents = planner.plan_motion({
"style": "keyword_punch",
"target_id": "headline_phrase",
"keyword_ids": ["kw_autonomous", "kw_realtime"],
})
for intent in intents:
print(f"[{intent.target_id}] -> {intent.primitive.value} ({intent.semantic_purpose})")
