Skip to content

feat(slide): slide transitions, starting with Morph #724

Backlog

Description

@naohito2000

What problem would this solve?

A deck built by sdpm always cuts from one slide to the next. Two image techniques that
presentation designers publish need a transition, so neither can be authored:

  • Ken Burns — the same picture on two slides at a different scale, with Morph between them.
    Garr Reynolds, Presentation Zen
  • Morph cut-away — a small frame of the next picture slides across the full one.
    BrightCarbon

Both are ordinary PowerPoint, and a transition is a property of the slide part, so a generator
can write it.

Current state

Nothing writes one. Over sdpm/sdpm/ there is no hit for p:transition or for a transition
key, and deck-json-spec and slide-json-spec have no field for it. (design-vocabulary and
slide-html-spec do match the word, but for glassmorphism/neumorphism and for CSS
transitions in an HTML deck.)

So a deck that wants motion has one option today: a video element, which is a different thing
— it plays inside one slide and, on the branch where it landed, needs a click to start.

Proposed solution

A slide-level key, since a transition belongs to the slide it moves to:

{"transition": {"type": "morph", "duration": 0.8}}

written as p:transition in that slide's part — p:morph for Morph, and the ordinary
p:fade / p:push / p:wipe for the rest.

Two things to settle with it:

  • Morph pairs objects across the two slides, so how the builder assigns shape ids and names
    stops being an implementation detail and becomes part of this feature. Worth checking what the
    current ids do across a pair of slides before designing the key.
  • HTML decks have no equivalent, so either the key is PPTX-only (and check_specs says so)
    or it maps onto the CSS transitions slide-html-spec already allows.

A reasonable first cut is Morph plus fade, since those are the two the published techniques
use, and to leave the rest of PowerPoint's gallery out.

Activity

  1. added
    enhancement
    on Dec 3, 2026
  2. ShotaroKataoka commented on Dec 3, 2026

    @ShotaroKataoka
    Contributor

    🤖 KiroCrew automated comment (triage, not a maintainer decision)

    Thanks @naohito2000. The Ken Burns and cut-away references make the use case concrete.

    Confirmed missing on main (c43f773): no p:transition / p:morph and no transition key under sdpm/sdpm/.

    Not a good first issue: it depends on #595.

  3. ShotaroKataoka commented on Dec 3, 2026

    @ShotaroKataoka
    Contributor

    🤖 KiroCrew automated comment (on behalf of the maintainer)

    This overlaps with PR #595 (animations and slide transitions). To keep one design and one review thread, let's carry Morph and the transition work in #595 rather than a separate implementation. Keeping this Issue open as the tracking item for the transitions part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions