Communitygithub.com

Cinematic PPT Animation

Transform static presentation slides (pitch decks, thesis defenses, competitions, classroom presentations) into cinematic animated pages: photorealistic background images + looping GIFs + native PowerPoint animations and smooth transitions, with editable text, all embedded within the slide. Includes aesthetic and collaboration principles distilled from real-world rework cycles, a library of animation techniques (including rejected ones), ideation methods, and the full pipeline from 'generate a set of homogeneous backgrounds → Python compositing → COM assembly → export video and extract frames for review' along with lessons learned.

What is Cinematic PPT Animation?

This skill transforms static PowerPoint slides into cinematic, story-driven animated pages suitable for high-stakes presentations like pitch decks, thesis defenses, and competitions. It outputs a fully editable `.pptx` file where the scene feels like a real filmed shot: photorealistic backgrounds, carefully timed looping GIFs for continuous atmosphere, and native PowerPoint animations for transitions, text reveals, and one-time actions. The core workflow is technical: generate a consistent set of backgrounds using an image-to-image AI tool, composite them with Python (numpy, opencv, Pillow), and assemble the final slide using PowerShell COM automation against Microsoft PowerPoint on Windows. The skill also emphasizes a strong creative and collaborative process – it includes a taste guide (`references/taste.md`) to avoid common pitfalls like 'AI-looking' images or cluttered layouts, an ideation method (`references/ideation.md`) for generating diverse creative directions, and a style library (`references/style-library.md`) of both successful and rejected animation ideas. It is designed for expanding static slides, not for building presentations from scratch or pure video editing. The user can trigger this skill by requesting animation, motion, cinematic feel, transitions, spotlights, grandeur, mechanism demonstrations, or simply by asking to 'beautify' a slide to have better movement and pacing during a live show.

Works with~Claude Code✓Codex CLI~Cursor
npx skills add Cennyk-learner/ppt-cinematic-animation

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

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:

  1. 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.
  2. 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.
  3. 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.
WhenWhat to Read
Before starting, or unsure about a visualreferences/taste.md
When generating creative directions or writing proposalsreferences/ideation.md
To see what techniques have been done and which were rejectedreferences/style-library.md
When starting image generation, compositing, or assemblyreferences/pipeline.md
Before writing scripts or encountering strange problemsreferences/pitfalls.md
To see a complete working example firstexamples/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":

  1. Clarify. First, correct misunderstandings and restate the requirements. Number the questions, each with your suggestion, so the user can answer with a single sentence.
  2. Use Available Materials. Go through the existing PPT, interface screenshots, photos, and data. The most useful visuals are often hidden in the materials.
  3. Generate Ideas, Propose Directions. Provide three to four distinct creative directions, each with visual descriptions, references, and effort required, plus your recommendation. See ideation.md for the format.
  4. Describe Each Beat. After a direction is chosen, describe each scene in sequence: what happens, how many clicks, and duration. Wait for confirmation.
  5. 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.
  6. Produce, Export, and Extract Frames for Review. Do not infer "it should be correct" from the script.
  7. 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:

ContentHow 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 entryCan use a GIF; can also play once and stop at the last frame
Processes that happen only after a click, with a sequenceEach 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 changesStack 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 textNative text boxes for easy later rewriting

Process Overview

  1. 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.
  2. 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 in prompts/real_photo_examples.md.
  3. Composite. scripts/render_tools.py provides 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, use scripts/capture_page.py to run it and capture frames.
  4. Assemble. scripts/ppt_tools.ps1 contains COM utility functions. scripts/build_page_example.ps1 is a minimal two-scene example (paired with scripts/demo_assets.py that works without a generation tool). examples/lighthouse/ is a complete example from generation to final output.
  5. 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.py can 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.

Related Skills