dsh-pptx-animation
IdentifiedNative PowerPoint animation studio: compile a declarative DSL into editable p:timing OOXML, with physical motion curves carrying real inertial overshoot (seven shapes, including acceleration from rest
PPTX native animation studio
Author native PowerPoint animations from a declarative DSL — not video, not presets.
Compiles straight into editable <p:timing> OOXML that you can keep editing in PowerPoint.
Tools
pptx_anim_inspect— list every shape's id / name / text per slide, to pick animation targets.pptx_anim_compile— compile the animation DSL into native animations, written to a new pptx (source untouched).pptx_anim_read— read the animations already present in a pptx, for iteration.pptx_anim_verify— open in real PowerPoint and check each slide's transition and animation count, catching silent failures.
DSL
{
"defaults": { "durationMs": 500, "direction": "bottom" },
"slides": {
"1": {
"transition": "morph",
"animations": [
{ "target": "title", "effect": "zoom", "trigger": "afterPrev",
"durationMs": 1000, "overshoot": 0.9, "curve": "back" }
]
}
}
}
target: shape id (int), name (string), or{"text": "..."}. Name matching prefers exact; an ambiguous fuzzy match raisesAmbiguousTargetinstead of silently taking the first hit.effect: appear / fade / flyIn / wipe / splitIn / bounce / flipIn / zoom / pulse / spin / grow / teeter / disappear / fadeOut / flyOut / wipeOut / shrink / zoomOut / motionPath.trigger: onClick / withPrev / afterPrev.- Timing:
durationMs,delayMs,accelerate,decelerate(0–100). - Other:
direction,repeatCount,repeatDelayMs,degrees,motionPath,paragraph,triggerShape. transition: either a string ("morph") or an object. Effects: fade / wheel(spokes) / morph(option) / wipe / push and more; plusspeed,durationMs,advanceAfterMs.
Physical motion curves (overshoot)
accelerate / decelerate produce monotonic curves only: speed varies, displacement never
goes backwards. Real objects overshoot and settle back. overshoot emits custom keyframes:
curve | Start | Overshoot | Feel |
|---|---|---|---|
back (default) | fast (34% in first 10%) | yes (+3%) | fast start → decelerate → settle |
inBack | back-swing (−0.1%) | no | anticipate, then accelerate out |
inOutBack | back-swing (−1.8%) | yes (+3.4%) | overshoot at both ends, elastic |
inCubic | ~zero (0.1%) | no | pure acceleration, free fall |
quint | fastest (41%) | no | hard deceleration, crisp |
cubic | slow (0.4%) | no | slow-fast-slow |
bounce | slow (7.6%) | no (bounces) | landing bounce |
The distinction that matters: back is fastest from the first frame; inCubic / inBack
accelerate from rest. Use the former for "being pushed", the latter for "starting itself".
Tuning knobs:
overshoot— intensity; 0 disables overshoot (degrades to hard deceleration), 0.9 is moderate, 1.5+ is exaggerated. Applies toback/inBack/inOutBack.curveSamples— keyframe count, default 18, range 4–120. Raise it for complex curves (bounce,inOutBack) or long durations, or the piecewise-linear result looks steppy.curveEasing— extra time remapt' = t^easingon top of any curve;<1faster overall,>1slower.overshootDistance— entry travel distance, default 0.18 (fraction of shape size).overshootScaleFrom— starting scale for zoom, default 0.86.
Supported on flyIn / fade / zoom / appear; other effects print a WARN and ignore it.
Validation
compile performs two checks:
- OOXML element order —
p:sldchildren must becSld → clrMapOvr → transition → timing. Out of order, PowerPoint silently ignores the transition and Morph never runs. - Problem summary — missing targets, unknown effects, unreliable
charRange,byWordmorph fallback; all collected into aPROBLEMS:block on stderr. Quiet mode returnsOK_WITH_PROBLEMSinstead ofOKwhen anything would not play.
pptx_anim_verify opens the file in real PowerPoint via pywin32:
{"1": {"transition": "morph", "animations": 3}}
Mismatches are reported per slide and the call exits with code 2.
Important: EntryEffect reflects structure only. All of these still report 3954 (Morph)
while looking completely different on screen:
- transition element in the wrong place → node ignored, hard cut
- element reset by an entrance animation → plain fade
Visual cross-slide morphing must be confirmed by capturing slideshow frames. See PITFALLS.md.
Known limits
charRangeneeds character-levelbldP; onlybuild="p"is emitted, so PowerPoint usually will not play it. Useparagraphinstead.morph option="byWord"/"byChar"silently degrades to a fade on most versions; compile warns.p14:duris honoured by some versions only;spdis the portable knob, both are written.- Morph itself needs PowerPoint 2019 / Microsoft 365; WPS degrades it to a fade.
Requirements
Python 3 with python-pptx (py -3 -m pip install python-pptx). verify additionally needs
pywin32 and a local PowerPoint install. The compiler ships with the plugin.
Pitfalls
PITFALLS.md documents 9 real OOXML silent-failure cases, each with why it went unnoticed.
Comments
Loading…
Similar plugins
A photo-real desk pet for the DSH window: four personas with five expression sprites each, whose dance, hair-flip and walk actions play as 24 fps VP9 alpha video clips; proactive lines with an optiona
★ 2
MIT
JavaScript
dsh plugin --profile web add dsh-pet-pluginby Fantety
DSH plugin for native in-chat pixel art & animation: oy-pixel-style procedural shader, grids/templates, interactive canvas, PNG/GIF/spritesheet/OYPX export.
★ 3
MIT
JavaScript
Oct 22, 2026
dsh plugin --profile web add dsh-pixel-studioby hg1048596-pixel
Element-level PowerPoint canvas that edits the opened .pptx in place: click, marquee-select or pick a whole slide, describe the change, and the AI writes byte-preserving OOXML patches with undo and re
★ 4
↓ 606/wk
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-ppt-canvasPreview and edit attached PowerPoint presentations in the DSH sidebar through conversation or manual controls, with shared undo/redo and PPTX download.
★ 0
dsh plugin --profile web add dsh-pptx-editorby SuperstructureJH
Generates editable PPTX decks in DSH with a bundled authoring Skill, deterministic PPTD scene checks, native PowerPoint objects, and local PPTD source-project delivery.
★ 3
MIT
JavaScript
Aug 28, 2026
dsh plugin --profile web add dsh-workbuddy-pptby z953218350
原生 DSH (DeepSeek Harness) 插件:PPT 演示文稿专家,内置 PPTD DSL 引擎、55173 所见即所得可视化编辑器、Python-PPTX 高保真离线编译内核与一键导出 PPTX。 | Native DSH plugin: PPT presentation expert with PPTD DSL engine, 55173 WYSIWYG editor, Pytho
★ 4
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-np-ppt