Cinematic PPT Animation Page
Transform a static PPT slide into a page that "tells a story" during a presentation: each click advances to a new scene, within a scene multiple beats auto-play sequentially, the visuals are photorealistic scenes with light that tells the story, and text keeps only keywords. The output is an editable .pptx file, with continuous motion delivered by looping GIFs, and transitions, text reveals, line draws, and one-time large actions delivered by native animations.
Dependencies: Windows + Microsoft PowerPoint (COM), Python (numpy, opencv-python-headless, python-pptx, Pillow, plus playwright for web page capture), ffmpeg, an image-to-image generation tool (tested with Codex CLI's built-in generation).
How to Use This Skill
It consists of three parts:
- Aesthetic and Collaboration Principles (
references/taste.md). Read before starting. Each principle corresponds to a past major rework; they are the default aesthetic baseline. The user's current spoken preferences always take precedence. - Techniques and Processes Used (
style-library.md,pipeline.md,pitfalls.md,scripts/). These are assets: they save effort, avoid pitfalls, and show what works well and what has been rejected. - Your Own Ideas. The technique library is a starting point and reference, not a template. For new requests, always start from the content and generate your own ideas (
references/ideation.md). Consider all possible cinematic, design, photography, and display references; the most worthy visuals are those not in the library.
| When | What to Read |
|---|---|
| Before starting, or unsure about a visual | references/taste.md |
| When generating creative directions or writing proposals | references/ideation.md |
| To see what techniques have been done and which were rejected | references/style-library.md |
| When starting image generation, compositing, or assembly | references/pipeline.md |
| Before writing scripts or encountering strange problems | references/pitfalls.md |
| To see a complete working example first | examples/lighthouse/ |
Aesthetic Baseline (Shortest Version)
- Content First. Animation must not detach from what this slide is about; if the slide only covers two points, build around those two points. Even the best shot should be cut if irrelevant. Keep only keywords as text.
- Be Real. The "AI look" of generated images is the most common reason for rework. Aim for a news-style photorealistic feel, with a touch of cinematic light and atmosphere. At least half of the visuals should be real scenes; abstract data spaces and tech aesthetics are not desired.
- Tell a Story. A scene should have several different types of motion and clear light. A single image with one looping action feels flat. But avoid vibrations, flashes, and impact blurs – those are cheap thrills.
- Highlight the Main Point. The screen, device, curve, or detail that carries the key point should be large and in a dominant position.
- Don't Add Unnecessary Elements. Do not add text, progress bars, or decorative elements that were not requested. Text must be clear, beautiful, and not cluttered.
- Don't Repeat. Do not use the same visual twice in the same document. Do not reuse assets between slides.
- PPT is for understanding and believing, not for providing evidence. Comparisons can be illustrative, but clearly state which parts are illustrative when delivering.
How to Collaborate
Reworks almost always come from understanding gaps, not technical issues. Therefore, the sequence is fixed unless the user explicitly says "just edit directly":
- Clarify. First, correct misunderstandings and restate the requirements. Number the questions, each with your suggestion, so the user can answer with a single sentence.
- Use Available Materials. Go through the existing PPT, interface screenshots, photos, and data. The most useful visuals are often hidden in the materials.
- Generate Ideas, Propose Directions. Provide three to four distinct creative directions, each with visual descriptions, references, and effort required, plus your recommendation. See
ideation.mdfor the format. - Describe Each Beat. After a direction is chosen, describe each scene in sequence: what happens, how many clicks, and duration. Wait for confirmation.
- Produce Samples First. For new visual styles or subject matter, first generate a few sample images to see the effect. Proceed to full production only after approval.
- Produce, Export, and Extract Frames for Review. Do not infer "it should be correct" from the script.
- Report Honestly. See the last section.
Save each version's assets and outputs separately to allow reverting to older versions or side-by-side comparison of multiple directions. See pipeline.md Section 7 for details.
Hard Constraint: GIFs Start Playing from the Moment the Slide Enters
GIFs in PowerPoint do not wait for clicks or "appear" events. The entire division of labor follows from this:
| Content | How to Implement |
|---|---|
| Continuous atmosphere (rain, snow, fog, lamp pulsation, car lights flowing, light beam sweeping) | Seamlessly looping short GIF; it doesn't matter which frame it starts from |
| The first scene's process upon slide entry | Can use a GIF; can also play once and stop at the last frame |
| Processes that happen only after a click, with a sequence | Each state as a separate transparent layer; use native fade-in or wipe in order to switch. Do not make a single long GIF |
| State transitions (dry to wet, on to off, night to morning) | Use native crossfade or fog transitions between several looping GIFs |
| One-time large actions (collapse, dust cloud, file sliding in, camera push) | Transparent layers + native motion paths, scaling, fade-out |
| Line drawing, text reveal line by line, gradual interface changes | Stack several images that differ only slightly at the same position; use wipe to reveal them sequentially |
| Cross-slide camera pushes (from wide shot to detail) | Morph transition; place identically named shapes on two slides (see pitfalls.md) |
| All text | Native text boxes for easy later rewriting |
Process Overview
- Extract the Target Slide. Use python-pptx to extract a single-slide small file as the draft. Do not use COM to open a multi-hundred-MB full file.
- Generate Images. Generate a full set of homogeneous visuals for one task: base image, its edited variants, segmentation masks, and blank screens/desktops. The prompt for realistic photos is in
prompts/real_photo_head.txt; examples are inprompts/real_photo_examples.md. - Composite.
scripts/render_tools.pyprovides utility functions for looping GIFs, transparent layers, line drawing, light beam and lighting reveals, screen compositing, and frame extraction. Custom compositing scripts should be written per scene based on content. For real interface HTML, usescripts/capture_page.pyto run it and capture frames. - Assemble.
scripts/ppt_tools.ps1contains COM utility functions.scripts/build_page_example.ps1is a minimal two-scene example (paired withscripts/demo_assets.pythat works without a generation tool).examples/lighthouse/is a complete example from generation to final output. - Review. Export the presentation video, extract frames to a contact sheet, and review the order, timing, occlusion, and text for each scene.
scripts/cap_show.pycan screenshot in the background during a real slide show.
What to Include in Delivery
- Where the final file is, number of slides, file size, and location of preview video.
- Number of clicks per slide and what happens with each click.
- A mapping of each comment from the previous round to the specific change made.
- How the review was done: which parts were seen from extracted frames of the exported video, and which were not clicked through in a real show.
- Which content is illustrative, drafted by you, and which is taken from the user's materials.
- Decisions needed from the user, numbered, with your suggestions.
- Fonts that need to be installed for playback on a different computer.