Document remaining transitions, deprecate fadefast and fadeslow.

It turns out that `fadefast` and `fadeslow` both take about twice as long as `fade` to do a job so similar there's no good reason to keep either in our accepted transitions list, especially when the former is so misleadingly named. (Amusingly, in my testing, `fadefast` was actually the slower of the two.)
pull/416/head
Thomas Chick 1 month ago committed by Mike Lang
parent 20ad8d3ec9
commit 0dfffc19c2

@ -56,38 +56,37 @@ KNOWN_XFADE_TRANSITIONS = {
"horzopen": "Wipe from center to top and bottom, with a cross-fading line.", "horzopen": "Wipe from center to top and bottom, with a cross-fading line.",
"horzclose": "Wipe from top and bottom to center, with a cross-fading line.", "horzclose": "Wipe from top and bottom to center, with a cross-fading line.",
"dissolve": "Similar to a fade, but each pixel changes instantly, more pixels change over time.", "dissolve": "Similar to a fade, but each pixel changes instantly, more pixels change over time.",
"pixelize": "Pixelates the image, switches to new video, then unpixelates.", "pixelize": "Pixelates the image, crossfades to the new video, then unpixelates.",
# TODO the rest later "diagtl": "Similar to circleopen, but from the bottom-right corner.",
"diagtl": "", "diagtr": "Similar to circleopen, but from the bottom-left corner.",
"diagtr": "", "diagbl": "Similar to circleopen, but from the top-right corner.",
"diagbl": "", "diagbr": "Similar to circleopen, but from the top-left corner.",
"diagbr": "", "hlslice": "Splits the video into several columns, and performs a wiperight on each, with staggered starts from right to left.",
"hlslice": "", "hrslice": "Splits the video into several columns, and performs a wipeleft on each, with staggered starts from left to right.",
"hrslice": "", "vuslice": "Splits the video into several rows, and performs a wipebottom on each, with staggered starts from bottom to top.",
"vuslice": "", "vdslice": "Splits the video into several rows, and performs a wipetop on each, with staggered starts from top to bottom.",
"vdslice": "", "hblur": "Smears the old video to the left, then crossfades into and unsmears the new video.",
"hblur": "", "wipetl": "Combines wipeleft and wipeup, creating a receding rectangle to the top-left corner.",
"wipetl": "", "wipetr": "Combines wiperight and wipeup, creating a receding rectangle to the top-right corner.",
"wipetr": "", "wipebl": "Combines wipeleft and wipedown, creating a receding rectangle to the bottom-left corner.",
"wipebl": "", "wipebr": "Combines wiperight and wipedown, creating a receding rectangle to the bottom-right corner.",
"wipebr": "", "squeezeh": "Squashes the old video from the left and right until it disappears, revealing the new video.",
"squeezeh": "", "squeezev": "Squashes the old video from the top and bottom until it disappears, revealing the new video.",
"squeezev": "", "zoomin": "The old video zooms towards the 'camera', preserving pixels, then crossfades to the new video.",
"zoomin": "", "hlwind": "Like wipeleft, but the edge is incredibly jagged, evoking speed lines.",
"hlwind": "", "hrwind": "Like wiperight, but the edge is incredibly jagged, evoking speed lines.",
"hrwind": "", "vuwind": "Like wipeup, but the edge is incredibly jagged, evoking speed lines.",
"vuwind": "", "vdwind": "Like wipedown, but the edge is incredibly jagged, evoking speed lines.",
"vdwind": "", "coverleft": "The new video slides in from the right, covering the old video.",
"coverleft": "", "coverright": "The new video slides in from the left, covering the old video.",
"coverright": "", "coverup": "The new video slides in from the bottom, covering the old video.",
"coverup": "", "coverdown": "The new video slides in from the top, covering the old video.",
"coverdown": "", "revealleft": "The old video slides out to the left, revealing the new video.",
"revealleft": "", "revealright": "The old video slides out to the right, revealing the new video.",
"revealright": "", "revealup": "The old video slides out to the top, revealing the new video.",
"revealup": "", "revealdown": "The old video slides out to the bottom, revealing the new video.",
"revealdown": "", # "fadefast": "is slightly slower than fadeslow...",
"fadefast": "???", # "fadeslow": "...which takes about twice the time normal fade does for no discernible benefit",
"fadeslow": "???",
} }
# These are custom transitions implemented using xfade's custom transition support. # These are custom transitions implemented using xfade's custom transition support.

Loading…
Cancel
Save