gl-transitions 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/compatibility.json +400 -0
- package/gl-transitions.js +1 -1
- package/gl-transitions.json +1 -1
- package/glsl3/Accordion.glsl +85 -0
- package/glsl3/Ascii.glsl +124 -0
- package/glsl3/BlockCover.glsl +87 -0
- package/glsl3/BloomDissolve.glsl +110 -0
- package/glsl3/BokehDissolve.glsl +123 -0
- package/glsl3/BrushWipe.glsl +100 -0
- package/glsl3/CameraShake.glsl +98 -0
- package/glsl3/CardSwipe.glsl +81 -0
- package/glsl3/CurvedWipe.glsl +52 -0
- package/glsl3/Disintegrate.glsl +112 -0
- package/glsl3/FilmDissolve.glsl +49 -0
- package/glsl3/FilmStrip.glsl +105 -0
- package/glsl3/FlameWipe.glsl +154 -0
- package/glsl3/GooeyWipe.glsl +97 -0
- package/glsl3/InkBleed.glsl +96 -0
- package/glsl3/LensFlare.glsl +125 -0
- package/glsl3/LightRays.glsl +106 -0
- package/glsl3/LightWipe.glsl +89 -0
- package/glsl3/PhotoDevelop.glsl +59 -0
- package/glsl3/PlusWipe.glsl +38 -0
- package/glsl3/PopIn.glsl +57 -0
- package/glsl3/SmokeDissolve.glsl +102 -0
- package/glsl3/SplatterWipe.glsl +154 -0
- package/glsl3/StretchSlide.glsl +62 -0
- package/glsl3/WedgeWipe.glsl +35 -0
- package/index.js +1 -1
- package/layouts.json +945 -40
- package/llms-full.txt +705 -304
- package/llms.txt +185 -160
- package/msl/Accordion.metal +421 -0
- package/msl/Ascii.metal +567 -0
- package/msl/BlockCover.metal +403 -0
- package/msl/BloomDissolve.metal +416 -0
- package/msl/BokehDissolve.metal +447 -0
- package/msl/BrushWipe.metal +488 -0
- package/msl/CameraShake.metal +393 -0
- package/msl/CardSwipe.metal +342 -0
- package/msl/CurvedWipe.metal +229 -0
- package/msl/Disintegrate.metal +468 -0
- package/msl/FilmDissolve.metal +199 -0
- package/msl/FilmStrip.metal +429 -0
- package/msl/FlameWipe.metal +575 -0
- package/msl/GooeyWipe.metal +398 -0
- package/msl/InkBleed.metal +409 -0
- package/msl/LensFlare.metal +455 -0
- package/msl/LightRays.metal +427 -0
- package/msl/LightWipe.metal +321 -0
- package/msl/PhotoDevelop.metal +245 -0
- package/msl/PlusWipe.metal +199 -0
- package/msl/PopIn.metal +245 -0
- package/msl/SmokeDissolve.metal +400 -0
- package/msl/SplatterWipe.metal +677 -0
- package/msl/StretchSlide.metal +243 -0
- package/msl/WedgeWipe.metal +154 -0
- package/package.json +1 -1
- package/skills/gl-transitions/references/catalog.md +100 -36
- package/sksl/Accordion.sksl +94 -0
- package/sksl/Ascii.sksl +131 -0
- package/sksl/BlockCover.sksl +96 -0
- package/sksl/BloomDissolve.sksl +119 -0
- package/sksl/BokehDissolve.sksl +132 -0
- package/sksl/BrushWipe.sksl +109 -0
- package/sksl/CameraShake.sksl +108 -0
- package/sksl/CardSwipe.sksl +93 -0
- package/sksl/CurvedWipe.sksl +64 -0
- package/sksl/Disintegrate.sksl +117 -0
- package/sksl/FilmDissolve.sksl +60 -0
- package/sksl/FilmStrip.sksl +114 -0
- package/sksl/FlameWipe.sksl +162 -0
- package/sksl/GooeyWipe.sksl +109 -0
- package/sksl/InkBleed.sksl +109 -0
- package/sksl/LensFlare.sksl +135 -0
- package/sksl/LightRays.sksl +115 -0
- package/sksl/LightWipe.sksl +97 -0
- package/sksl/PhotoDevelop.sksl +72 -0
- package/sksl/PlusWipe.sksl +50 -0
- package/sksl/PopIn.sksl +69 -0
- package/sksl/SmokeDissolve.sksl +115 -0
- package/sksl/SplatterWipe.sksl +161 -0
- package/sksl/StretchSlide.sksl +74 -0
- package/sksl/WedgeWipe.sksl +46 -0
- package/sksl/index.js +1 -1
- package/transitions/Accordion.glsl +84 -0
- package/transitions/Ascii.glsl +123 -0
- package/transitions/BlockCover.glsl +86 -0
- package/transitions/BloomDissolve.glsl +109 -0
- package/transitions/BokehDissolve.glsl +122 -0
- package/transitions/BrushWipe.glsl +99 -0
- package/transitions/CameraShake.glsl +97 -0
- package/transitions/CardSwipe.glsl +80 -0
- package/transitions/CurvedWipe.glsl +51 -0
- package/transitions/Disintegrate.glsl +111 -0
- package/transitions/FilmDissolve.glsl +48 -0
- package/transitions/FilmStrip.glsl +104 -0
- package/transitions/FlameWipe.glsl +153 -0
- package/transitions/GooeyWipe.glsl +96 -0
- package/transitions/InkBleed.glsl +95 -0
- package/transitions/LensFlare.glsl +124 -0
- package/transitions/LightRays.glsl +105 -0
- package/transitions/LightWipe.glsl +88 -0
- package/transitions/PhotoDevelop.glsl +58 -0
- package/transitions/PlusWipe.glsl +37 -0
- package/transitions/PopIn.glsl +56 -0
- package/transitions/SmokeDissolve.glsl +101 -0
- package/transitions/SplatterWipe.glsl +153 -0
- package/transitions/StretchSlide.glsl +61 -0
- package/transitions/WedgeWipe.glsl +34 -0
- package/wgsl/Accordion.wgsl +376 -0
- package/wgsl/Ascii.wgsl +519 -0
- package/wgsl/BlockCover.wgsl +352 -0
- package/wgsl/BloomDissolve.wgsl +372 -0
- package/wgsl/BokehDissolve.wgsl +409 -0
- package/wgsl/BrushWipe.wgsl +443 -0
- package/wgsl/CameraShake.wgsl +348 -0
- package/wgsl/CardSwipe.wgsl +308 -0
- package/wgsl/CurvedWipe.wgsl +198 -0
- package/wgsl/Disintegrate.wgsl +426 -0
- package/wgsl/FilmDissolve.wgsl +169 -0
- package/wgsl/FilmStrip.wgsl +381 -0
- package/wgsl/FlameWipe.wgsl +531 -0
- package/wgsl/GooeyWipe.wgsl +353 -0
- package/wgsl/InkBleed.wgsl +366 -0
- package/wgsl/LensFlare.wgsl +406 -0
- package/wgsl/LightRays.wgsl +380 -0
- package/wgsl/LightWipe.wgsl +277 -0
- package/wgsl/PhotoDevelop.wgsl +213 -0
- package/wgsl/PlusWipe.wgsl +165 -0
- package/wgsl/PopIn.wgsl +213 -0
- package/wgsl/SmokeDissolve.wgsl +363 -0
- package/wgsl/SplatterWipe.wgsl +613 -0
- package/wgsl/StretchSlide.wgsl +213 -0
- package/wgsl/WedgeWipe.wgsl +126 -0
|
@@ -1,119 +1,166 @@
|
|
|
1
|
-
# Catalog (gl-transitions@2.
|
|
1
|
+
# Catalog (gl-transitions@2.3.0)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
174 transitions. Generated from gl-transitions.json; full details (parameter hints, authors, source links) in https://cdn.jsdelivr.net/npm/gl-transitions@2.3.0/llms-full.txt.
|
|
4
4
|
|
|
5
5
|
## By tag
|
|
6
6
|
|
|
7
|
-
- **wipe**: ApertureWipe, BowTie, BowTieHorizontal, BowTieVertical, CircleOpen, ClockWipe, DiamondWipe, DirectionalWarp, DirectionalWipe, FlowerWipe, HeartWipe, HorizontalClose, HorizontalOpen, LeafWipe, LumaWipe, RadialWipe, SpiralWipe, SquaresWipe, StarWipe, StaticWipe, TilesWave, UndulatingBurnOut, VerticalClose, VerticalOpen, Wind, WindowSlices, WipeDown, WipeLeft, WipeRight, WipeUp, ZoomWipeLeft, ZoomWipeRight
|
|
8
|
-
- **blend**: ColorCoords, ColorDistance, CrossZoom, DefocusBlur, DisplacementMap, Dreamy, Fade, Fisheye, GlitchBands, GlitchMemories, Hexagonalize, Kaleidoscope, LinearBlur, Morph, MosaicBlend, MosaicFade, MultiplyBlend, Pixelize, Ripple, RotateFade, SlideAwayRight, Swirl, WaterDrop, WindowBlinds
|
|
9
|
-
- **zoom**: Box, CrossWarp, CrossZoom, DirectionalScaled, DreamyZoom, Fisheye, LeftRight, Mosaic, RectangleIris, Revolve, RotateScaleFade, RotateScaleVanish, ScaleIn, SimpleZoom, SimpleZoomOut, StereoViewer, TopBottom, Tunnel, ZoomInCircles, ZoomInOut, ZoomWipeLeft, ZoomWipeRight
|
|
10
|
-
- **slide**: Bounce, Comb, Directional, DirectionalEased, DirectionalScaled, Fold, LeftRight, SlideAwayRight, Slides, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutHorizontal, SplitSlideOutVertical, TangentMotionBlur, TopBottom, WhipPan
|
|
7
|
+
- **wipe**: ApertureWipe, BowTie, BowTieHorizontal, BowTieVertical, BrushWipe, CircleOpen, ClockWipe, CurvedWipe, DiamondWipe, DirectionalWarp, DirectionalWipe, FlameWipe, FlowerWipe, HeartWipe, HorizontalClose, HorizontalOpen, LeafWipe, LightWipe, LumaWipe, PlusWipe, RadialWipe, SpiralWipe, SquaresWipe, StarWipe, StaticWipe, TilesWave, UndulatingBurnOut, VerticalClose, VerticalOpen, WedgeWipe, Wind, WindowSlices, WipeDown, WipeLeft, WipeRight, WipeUp, ZoomWipeLeft, ZoomWipeRight
|
|
8
|
+
- **blend**: ColorCoords, ColorDistance, CrossZoom, DefocusBlur, DisplacementMap, Dreamy, Fade, FilmDissolve, Fisheye, GlitchBands, GlitchMemories, Hexagonalize, Kaleidoscope, LinearBlur, Morph, MosaicBlend, MosaicFade, MultiplyBlend, Pixelize, Ripple, RotateFade, SlideAwayRight, Swirl, WaterDrop, WindowBlinds
|
|
9
|
+
- **zoom**: Box, CrossWarp, CrossZoom, DirectionalScaled, DreamyZoom, Fisheye, LeftRight, Mosaic, PopIn, RectangleIris, Revolve, RotateScaleFade, RotateScaleVanish, ScaleIn, SimpleZoom, SimpleZoomOut, StereoViewer, TopBottom, Tunnel, ZoomInCircles, ZoomInOut, ZoomWipeLeft, ZoomWipeRight
|
|
10
|
+
- **slide**: Accordion, Bounce, CardSwipe, Comb, Directional, DirectionalEased, DirectionalScaled, Fold, LeftRight, SlideAwayRight, Slides, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutHorizontal, SplitSlideOutVertical, StretchSlide, TangentMotionBlur, TopBottom, WhipPan
|
|
11
|
+
- **rotate**: ApertureWipe, CardSwipe, Cube, DreamyZoom, FallOver, Honeycomb, Pinwheel, Prisms, Puzzle, Revolve, Rolls, RotateFade, RotateScaleFade, RotateScaleVanish, Swirl, TangentMotionBlur, WhipSpin, WhipTilt
|
|
11
12
|
- **horizontal**: BowTieHorizontal, Comb, CrossWarp, Curtains, Fold, LeftRight, PaperTear, SimpleFlip, SlideAwayRight, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideOutHorizontal, Wind, WipeLeft, WipeRight, ZoomWipeLeft, ZoomWipeRight
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
15
|
-
- **shape**: ApertureWipe, BowTie, BowTieHorizontal, BowTieVertical, Box, CircleIris, DiamondWipe, FlowerWipe, HeartWipe, LeafWipe, RectangleCover, SpiralWipe, StarWipe
|
|
13
|
+
- **vertical**: Bounce, BowTieVertical, CylinderRoll, FallOver, FilmStrip, Shred, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutVertical, Squeeze, StaticWipe, TopBottom, TvRoll, TvTurnOff, WhipTilt, WipeDown, WipeUp
|
|
14
|
+
- **fade**: ColorPhase, ColorWrap, EdgeGlow, Fade, FadeColor, FadeGrayscale, FilmDissolve, FlashFade, HsvFade, MultiplyBlend, Overexposure, PhotoDevelop, RotateScaleFade, ScaleIn, SimpleZoom, SimpleZoomOut
|
|
15
|
+
- **directional**: CardSwipe, CurvedWipe, Directional, DirectionalEased, DirectionalScaled, DirectionalWarp, DirectionalWipe, Disintegrate, FlameWipe, PixelStretch, Slides, SquaresWipe, StretchSlide, WhipPan
|
|
16
|
+
- **shape**: ApertureWipe, BowTie, BowTieHorizontal, BowTieVertical, Box, CircleIris, DiamondWipe, FlowerWipe, HeartWipe, LeafWipe, PlusWipe, RectangleCover, SpiralWipe, StarWipe
|
|
17
|
+
- **retro**: Ascii, DitherDissolve, DoomMelt, FilmStrip, Halftone, LissajousTiles, PhotoDevelop, StaticFade, StereoViewer, TvLostSignal, TvRoll, TvStatic, TvTurnOff
|
|
18
|
+
- **3d**: Accordion, BookFlip, Cube, Curtains, CylinderRoll, Doorway, FallOver, InvertedPageCurl, Prisms, Swap, Tunnel, WhipTilt
|
|
19
|
+
- **noise**: BlockDissolve, BurnThrough, Crosshatch, InkBleed, LuminanceMelt, NoiseDissolve, PerlinDissolve, SmokeDissolve, StaticFade, StaticWipe, TvStatic, Wind
|
|
16
20
|
- **split**: Curtains, HorizontalClose, HorizontalOpen, PaperTear, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutHorizontal, SplitSlideOutVertical, VerticalClose, VerticalOpen
|
|
17
|
-
- **
|
|
18
|
-
- **
|
|
19
|
-
- **
|
|
20
|
-
- **directional**: Directional, DirectionalEased, DirectionalScaled, DirectionalWarp, DirectionalWipe, PixelStretch, Slides, SquaresWipe, WhipPan
|
|
21
|
+
- **chromatic**: ButterflyWaveScrawler, CameraShake, CylinderRoll, FlyEye, GlitchFlicker, GlitchMemories, PixelStretch, Squeeze, StripDatamoshGlitch
|
|
22
|
+
- **color**: BlockCover, ColorDistance, ColorPhase, ColorWrap, FadeColor, FadeGrayscale, FlashFade, HsvFade, PhotoDevelop
|
|
23
|
+
- **dissolve**: BlockDissolve, BloomDissolve, BokehDissolve, DitherDissolve, FilmDissolve, GlowDissolve, NoiseDissolve, PerlinDissolve, RandomSquares
|
|
21
24
|
- **distort**: ButterflyWaveScrawler, ColorCoords, CrazyParametricFun, DisplacementMap, Fisheye, FlyEye, Kaleidoscope, Morph, PowerKaleido
|
|
22
|
-
- **
|
|
23
|
-
- **
|
|
25
|
+
- **light**: BloomDissolve, BokehDissolve, FilmDissolve, LensFlare, LightRays, LightStreaks, LightWipe, Overexposure
|
|
26
|
+
- **motion-blur**: CameraShake, CylinderRoll, FilmStrip, LightStreaks, TangentMotionBlur, WhipPan, WhipSpin, WhipTilt
|
|
27
|
+
- **radial**: ClockWipe, Honeycomb, LightRays, Pinwheel, RadialWipe, SpiralWipe, Tunnel, WedgeWipe
|
|
24
28
|
- **glitch**: ColorWrap, GlitchBands, GlitchDisplace, GlitchFlicker, GlitchMemories, StripDatamoshGlitch, TvLostSignal
|
|
25
|
-
- **
|
|
29
|
+
- **glow**: BloomDissolve, GlowDissolve, LensFlare, LightRays, LightStreaks, LightWipe, Refraction
|
|
30
|
+
- **blur**: BokehDissolve, CrossZoom, DefocusBlur, LinearBlur, Revolve, ZoomInOut
|
|
31
|
+
- **grid**: BlockCover, Chessboard, GridFlip, LissajousTiles, RandomSquares, SquaresWipe
|
|
26
32
|
- **iris**: ApertureWipe, CircleIris, CircleOpen, DiamondWipe, RectangleCover, RectangleIris
|
|
27
|
-
- **
|
|
28
|
-
- **
|
|
33
|
+
- **pattern**: Ascii, Chessboard, Crosshatch, DitherDissolve, Halftone, PolkaDotsCurtain
|
|
34
|
+
- **shadow**: Bounce, CurvedWipe, PaperTear, PopIn, Puzzle, Shred
|
|
35
|
+
- **stripes**: Accordion, Comb, Prisms, Shred, WindowBlinds, WindowSlices
|
|
29
36
|
- **tiles**: GridFlip, Honeycomb, LissajousTiles, Mosaic, Puzzle, TilesWave
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
- **pattern**: Chessboard, Crosshatch, DitherDissolve, Halftone, PolkaDotsCurtain
|
|
37
|
+
- **burn**: BurnThrough, FilmBurn, FlameWipe, GlowDissolve, UndulatingBurnOut
|
|
38
|
+
- **organic**: BrushWipe, GooeyWipe, InkBleed, SmokeDissolve, SplatterWipe
|
|
33
39
|
- **pixelate**: DitherDissolve, Hexagonalize, MosaicBlend, MosaicFade, Pixelize
|
|
34
|
-
- **stripes**: Comb, Prisms, Shred, WindowBlinds, WindowSlices
|
|
35
|
-
- **burn**: BurnThrough, FilmBurn, GlowDissolve, UndulatingBurnOut
|
|
36
40
|
- **circle**: CircleIris, CircleOpen, UndulatingBurnOut, ZoomInCircles
|
|
37
41
|
- **flash**: DreamyZoom, FlashFade, Overexposure, TvTurnOff
|
|
38
42
|
- **push**: Comb, Directional, DirectionalEased, DirectionalScaled
|
|
39
|
-
- **
|
|
43
|
+
- **squares**: BlockCover, Chessboard, RandomSquares, SquaresWipe
|
|
40
44
|
- **wave**: ButterflyWaveScrawler, Dreamy, Ripple, TilesWave
|
|
45
|
+
- **bounce**: Bounce, PopIn, StretchSlide
|
|
41
46
|
- **box**: Box, RectangleCover, RectangleIris
|
|
47
|
+
- **clock**: ClockWipe, RadialWipe, WedgeWipe
|
|
42
48
|
- **displace**: ColorCoords, DisplacementMap, GlitchDisplace
|
|
43
49
|
- **flip**: BookFlip, GridFlip, SimpleFlip
|
|
44
|
-
- **
|
|
50
|
+
- **fold**: Accordion, Curtains, Fold
|
|
51
|
+
- **lens**: BokehDissolve, Fisheye, FlyEye
|
|
45
52
|
- **mosaic**: Mosaic, MosaicBlend, MosaicFade
|
|
46
53
|
- **reflection**: Cube, Doorway, Swap
|
|
47
54
|
- **scanlines**: GlitchFlicker, TvLostSignal, TvRoll
|
|
48
55
|
- **spin**: RotateFade, RotateScaleVanish, WhipSpin
|
|
49
|
-
- **squares**: Chessboard, RandomSquares, SquaresWipe
|
|
50
56
|
- **static**: StaticFade, StaticWipe, TvStatic
|
|
51
57
|
- **warp**: CrossWarp, DirectionalWarp, Tunnel
|
|
52
|
-
- **
|
|
58
|
+
- **blocks**: BlockCover, BlockDissolve
|
|
59
|
+
- **cover**: BlockCover, SmokeDissolve
|
|
53
60
|
- **dots**: Halftone, PolkaDotsCurtain
|
|
54
|
-
- **
|
|
61
|
+
- **elastic**: PopIn, StretchSlide
|
|
62
|
+
- **film**: FilmBurn, FilmStrip
|
|
63
|
+
- **fire**: BurnThrough, FlameWipe
|
|
64
|
+
- **flare**: LensFlare, LightStreaks
|
|
55
65
|
- **fragments**: Puzzle, Shatter
|
|
56
66
|
- **hexagon**: Hexagonalize, Honeycomb
|
|
57
67
|
- **kaleidoscope**: Kaleidoscope, PowerKaleido
|
|
58
|
-
- **lens**: Fisheye, FlyEye
|
|
59
|
-
- **light**: LightStreaks, Overexposure
|
|
60
68
|
- **luma**: LumaWipe, LuminanceMelt
|
|
61
69
|
- **melt**: DoomMelt, LuminanceMelt
|
|
62
70
|
- **page**: BookFlip, InvertedPageCurl
|
|
71
|
+
- **paint**: BrushWipe, SplatterWipe
|
|
63
72
|
- **psychedelic**: ColorWrap, CrazyParametricFun
|
|
73
|
+
- **reveal**: GooeyWipe, SplatterWipe
|
|
64
74
|
- **ripple**: Ripple, WaterDrop
|
|
65
75
|
- **roll**: CylinderRoll, Rolls
|
|
66
76
|
- **slices**: Shred, WindowSlices
|
|
67
77
|
- **swirl**: Revolve, Swirl
|
|
68
78
|
- **blinds**: WindowBlinds
|
|
69
|
-
- **
|
|
70
|
-
- **
|
|
79
|
+
- **blob**: GooeyWipe
|
|
80
|
+
- **bloom**: BloomDissolve
|
|
81
|
+
- **bokeh**: BokehDissolve
|
|
82
|
+
- **brush**: BrushWipe
|
|
83
|
+
- **camera**: CameraShake
|
|
84
|
+
- **card**: CardSwipe
|
|
71
85
|
- **cards**: StereoViewer
|
|
72
86
|
- **chromatic-aberration**: Refraction
|
|
73
87
|
- **columns**: DoomMelt
|
|
88
|
+
- **cross**: PlusWipe
|
|
74
89
|
- **cube**: Cube
|
|
75
90
|
- **curl**: InvertedPageCurl
|
|
91
|
+
- **curve**: CurvedWipe
|
|
76
92
|
- **datamosh**: StripDatamoshGlitch
|
|
93
|
+
- **digital**: Ascii
|
|
77
94
|
- **distortion**: Refraction
|
|
78
95
|
- **doors**: Doorway
|
|
96
|
+
- **dust**: Disintegrate
|
|
79
97
|
- **edges**: EdgeGlow
|
|
80
|
-
- **
|
|
81
|
-
- **fire**: BurnThrough
|
|
82
|
-
- **flare**: LightStreaks
|
|
98
|
+
- **flame**: FlameWipe
|
|
83
99
|
- **flicker**: GlitchFlicker
|
|
100
|
+
- **fluid**: InkBleed
|
|
101
|
+
- **fog**: SmokeDissolve
|
|
102
|
+
- **glint**: LightWipe
|
|
84
103
|
- **grayscale**: FadeGrayscale
|
|
85
104
|
- **heart**: HeartWipe
|
|
86
105
|
- **hue**: HsvFade
|
|
106
|
+
- **impact**: CameraShake
|
|
107
|
+
- **ink**: InkBleed
|
|
87
108
|
- **light-leak**: FilmBurn
|
|
88
109
|
- **lines**: Crosshatch
|
|
110
|
+
- **liquid**: GooeyWipe
|
|
89
111
|
- **mask**: LumaWipe
|
|
90
112
|
- **morph**: Morph
|
|
91
113
|
- **motion**: LissajousTiles
|
|
114
|
+
- **particles**: Disintegrate
|
|
115
|
+
- **photo**: PhotoDevelop
|
|
92
116
|
- **pinwheel**: Pinwheel
|
|
117
|
+
- **plus**: PlusWipe
|
|
93
118
|
- **polar**: FlowerWipe
|
|
119
|
+
- **pop**: PopIn
|
|
120
|
+
- **rays**: LightRays
|
|
94
121
|
- **refraction**: Refraction
|
|
122
|
+
- **scale**: PopIn
|
|
123
|
+
- **shake**: CameraShake
|
|
95
124
|
- **shatter**: Shatter
|
|
96
125
|
- **smear**: PixelStretch
|
|
126
|
+
- **smoke**: SmokeDissolve
|
|
127
|
+
- **splash**: SplatterWipe
|
|
128
|
+
- **squash**: StretchSlide
|
|
97
129
|
- **squeeze**: Squeeze
|
|
130
|
+
- **stack**: CardSwipe
|
|
98
131
|
- **star**: StarWipe
|
|
132
|
+
- **streak**: LensFlare
|
|
99
133
|
- **streaks**: PixelStretch
|
|
134
|
+
- **stretch**: StretchSlide
|
|
100
135
|
- **swap**: Swap
|
|
136
|
+
- **swipe**: CardSwipe
|
|
137
|
+
- **text**: Ascii
|
|
101
138
|
- **water**: WaterDrop
|
|
139
|
+
- **wedge**: WedgeWipe
|
|
140
|
+
- **wind**: Disintegrate
|
|
102
141
|
|
|
103
142
|
## Transitions
|
|
104
143
|
|
|
105
144
|
`name`: description. Parameters as name (type = default). Extra textures are flagged: the host must provide them.
|
|
106
145
|
|
|
146
|
+
- `Accordion`: The outgoing image folds up like a pleated paper toward one side while the incoming one unfolds out of the other, both in 3D with lit and shadowed pleats. Params: pleats (int = 4), direction (vec2 = vec2(-1, 0)), shading (float = 0.7), perspective (float = 1.5), backColor (vec4 = vec4(0, 0, 0, 1))
|
|
107
147
|
- `ApertureWipe`: A camera aperture opens its turning blades to reveal the incoming image. Params: blades (int = 6), rotation (float = 60), shadow (float = 0.5)
|
|
148
|
+
- `Ascii`: The image turns into text-mode characters, denser where it is brighter, the characters scramble into those of the incoming image, then resolve back into it. Params: cellSize (float = 0.04), colored (bool = true), ink (vec4 = vec4(0.3, 1, 0.45, 1)), background (vec4 = vec4(0, 0, 0, 1))
|
|
149
|
+
- `BlockCover`: Blocks of a solid color pop in at random over the outgoing image until they cover the frame, then pop out in another random order to show the incoming image. Params: blocks (int = 16), color (vec4 = vec4(0.95, 0.32, 0.26, 1)), pop (float = 0.5), smoothness (float = 0.03)
|
|
108
150
|
- `BlockDissolve`: The incoming image appears in small random blocks. Params: blocksize (float = 0.02)
|
|
151
|
+
- `BloomDissolve`: The highlights of the outgoing image blow out into a soft, wide glow that floods the frame; under it the incoming image takes over, then the glow subsides back into its highlights while the image stays sharp. Params: spread (float = 0.25), threshold (float = 0.6), intensity (float = 1.5), tint (vec3 = vec3(1, 0.9, 0.75))
|
|
152
|
+
- `BokehDissolve`: The image falls out of focus like a camera lens, its highlights swelling into large bright bokeh discs, and the incoming image sharpens back out of its own bokeh. Params: radius (float = 0.05), blades (int = 0), threshold (float = 0.7), intensity (float = 1)
|
|
109
153
|
- `BookFlip`: The outgoing image turns like a book page from right to left, revealing the incoming one
|
|
110
154
|
- `Bounce`: The outgoing image drops out of the frame with a few bounces, revealing the incoming one. Params: shadow_colour (vec4 = vec4(0, 0, 0, 0.6)), shadow_height (float = 0.075), bounces (float = 3)
|
|
111
155
|
- `BowTie`: A bow-tie wipe with an adjustable shape that can run in reverse. Params: adjust (float = 0.5), reverse (bool = false)
|
|
112
156
|
- `BowTieHorizontal`: Two triangles grow from the left and right edges into a bow tie that reveals the incoming image
|
|
113
157
|
- `BowTieVertical`: Two triangles grow from the top and bottom edges into a bow tie that reveals the incoming image
|
|
114
158
|
- `Box`: The outgoing image shrinks into a box, toward the center or a corner, revealing the incoming one. Params: rectIn (int = 1), location (int = 0)
|
|
159
|
+
- `BrushWipe`: A few broad brush strokes sweep across the frame in turn, back and forth, painting in the incoming image with streaky bristle edges and dry, ragged ends. Params: strokes (float = 4), angle (float = -7), roughness (float = 0.6), waviness (float = 0.5)
|
|
115
160
|
- `BurnThrough`: The outgoing image burns away in noisy, glowing patches. Params: burnColor (vec3 = vec3(1, 0.5, 0))
|
|
116
161
|
- `ButterflyWaveScrawler`: Wavy, color-separated ripples scramble the outgoing image into the incoming one. Params: amplitude (float = 1), waves (float = 30), colorSeparation (float = 0.3)
|
|
162
|
+
- `CameraShake`: The camera jolts violently in random directions, with motion blur and color fringes along each jolt; the cut happens at the peak of the shake, which then settles on the incoming image. Params: strength (float = 0.5), jolts (float = 12), blur (float = 0.5), split (float = 0.5)
|
|
163
|
+
- `CardSwipe`: The outgoing image is flicked off like the top card of a stack, swinging around a point below it as it flies out, while the incoming card behind it grows to fill the frame. Params: direction (vec2 = vec2(1, 0.25)), rotation (float = 0.5), depth (float = 0.15), backColor (vec4 = vec4(0.06, 0.06, 0.07, 1))
|
|
117
164
|
- `Chessboard`: A chessboard pattern of squares reveals the incoming image. Params: grid_num (float = 10)
|
|
118
165
|
- `CircleIris`: The outgoing image closes into a circle over a background color, then the incoming one opens from it. Params: center (vec2 = vec2(0.5, 0.5)), backColor (vec4 = vec4(0.1, 0.1, 0.1, 1))
|
|
119
166
|
- `CircleOpen`: A soft-edged circle opens from the center to reveal the incoming image. Params: smoothness (float = 0.3), opening (bool = true)
|
|
@@ -129,6 +176,7 @@
|
|
|
129
176
|
- `Crosshatch`: The incoming image appears through a crosshatch of lines spreading from the center. Params: center (vec2 = vec2(0.5, 0.5)), threshold (float = 3), fadeEdge (float = 0.1)
|
|
130
177
|
- `Cube`: The two images are faces of a rotating 3D cube, with a floor reflection. Params: persp (float = 0.7), unzoom (float = 0.3), reflection (float = 0.4), floating (float = 3)
|
|
131
178
|
- `Curtains`: The outgoing image parts in the middle like stage curtains, gathering into shaded folds as it is pulled to the sides. Params: folds (float = 7), shading (float = 0.7), bunch (float = 0.12), sway (float = 0.4)
|
|
179
|
+
- `CurvedWipe`: The outgoing image is pulled away by its middle: the wipe edge bulges into a smooth curve that leads the way, then flattens as it reaches the far side. Params: direction (vec2 = vec2(0, 1)), curvature (float = 0.6), smoothness (float = 0.02), shadow (vec4 = vec4(0, 0, 0, 0.4))
|
|
132
180
|
- `CylinderRoll`: The frame wraps around a drum that rolls up, the outgoing image turning away over its top in a motion blur and the incoming one coming around from below and unrolling flat. Params: curvature (float = 0.8), blur (float = 0.5), shading (float = 0.6), chroma (float = 0.5), downward (bool = false)
|
|
133
181
|
- `DefocusBlur`: A crossfade through an out-of-focus blur. Params: blurSize (float = 0.02)
|
|
134
182
|
- `DiamondWipe`: A soft-edged diamond grows from the center to reveal the incoming image. Params: center (vec2 = vec2(0.5, 0.5)), smoothness (float = 0.03)
|
|
@@ -137,6 +185,7 @@
|
|
|
137
185
|
- `DirectionalScaled`: Like Directional, with both images scaled down while they slide. Params: direction (vec2 = vec2(0, 1)), scale (float = 0.7)
|
|
138
186
|
- `DirectionalWarp`: A diagonal wipe with a warped, smeared edge. Params: smoothness (float = 0.1), direction (vec2 = vec2(-1, 1))
|
|
139
187
|
- `DirectionalWipe`: A soft-edged diagonal wipe. Params: direction (vec2 = vec2(1, -1)), smoothness (float = 0.5)
|
|
188
|
+
- `Disintegrate`: The outgoing image crumbles into fine dust from one side, its grains blown away by the wind and fading out, revealing the incoming image underneath. Params: particleSize (float = 0.008), direction (vec2 = vec2(1, -0.15)), spread (float = 0.75)
|
|
140
189
|
- `DisplacementMap`: A crossfade in which a displacement map (an extra grayscale texture) warps both images. Params: strength (float = 0.5). Extra textures: displacementMap
|
|
141
190
|
- `DitherDissolve`: The incoming image appears through a regular 8x8 ordered dither pattern, like a retro computer screen. Params: dotSize (float = 0.02)
|
|
142
191
|
- `DoomMelt`: The outgoing image melts down in uneven columns, like the Doom screen wipe. Params: bars (int = 30), amplitude (float = 2), noise (float = 0.1), frequency (float = 0.5), dripScale (float = 0.5)
|
|
@@ -149,7 +198,10 @@
|
|
|
149
198
|
- `FadeGrayscale`: A crossfade through grayscale. Params: intensity (float = 0.3)
|
|
150
199
|
- `FallOver`: The outgoing image falls over backward, hinged on its bottom edge, revealing the incoming one behind it. Params: perspective (float = 0.8), shading (float = 0.7)
|
|
151
200
|
- `FilmBurn`: Glowing film-burn light leaks wash over the image and reveal the incoming one. Params: Seed (float = 2.31)
|
|
201
|
+
- `FilmDissolve`: A cross-dissolve blended in linear light, as light adds up on film: the frame keeps its brightness all the way through and the highlights of each image shine through the other. Params: overlap (float = 0.25), smoothness (float = 0.5)
|
|
202
|
+
- `FilmStrip`: The picture slips like film in a projector gate: it shrinks to show the sprocket holes, the strip runs down with motion blur and a slight weave, then the incoming frame lands in place. Params: frames (int = 2), shrink (float = 0.2), blur (float = 0.5), weave (float = 0.5), filmColor (vec4 = vec4(0.06, 0.05, 0.05, 1)), holeColor (vec4 = vec4(0.96, 0.93, 0.85, 1))
|
|
152
203
|
- `Fisheye`: The outgoing image bulges toward the viewer through a strong fisheye lens, then the incoming one flattens back into place. Params: strength (float = 0.8)
|
|
204
|
+
- `FlameWipe`: A wall of flames sweeps across the frame, scorching the outgoing image ahead of it and leaving the incoming image under a fading warm glow. Params: direction (vec2 = vec2(0, 1)), height (float = 0.4), scorch (float = 0.7), glow (float = 0.6), color (vec3 = vec3(1, 0.4, 0.08))
|
|
153
205
|
- `FlashFade`: A crossfade that brightens toward a color in the middle. Params: color (vec3 = vec3(0.9, 0.4, 0.2))
|
|
154
206
|
- `FlowerWipe`: A flower shape with several petals grows to reveal the incoming image. Params: segments (int = 5)
|
|
155
207
|
- `FlyEye`: The image breaks into a fly's-eye grid of lenses with color separation. Params: size (float = 0.04), zoom (float = 50), colorSeparation (float = 0.3)
|
|
@@ -159,6 +211,7 @@
|
|
|
159
211
|
- `GlitchFlicker`: A flickering glitch with RGB offset, ghosting and scanlines that flashes back to the outgoing image. Params: frameRate (float = 24), rgbOffset (float = 0.014), blockAmount (float = 0.72), ghostAmount (float = 0.62), redCyan (float = 0.58), scanline (float = 0.075)
|
|
160
212
|
- `GlitchMemories`: A crossfade with glitchy, color-shifted blocks
|
|
161
213
|
- `GlowDissolve`: The incoming image spreads over the outgoing one with a hot, glowing edge. Params: uLineWidth (float = 0.1), uSpreadClr (vec3 = vec3(1, 0, 0)), uHotClr (vec3 = vec3(0.9, 0.9, 0.2)), uPow (float = 5), uIntensity (float = 1)
|
|
214
|
+
- `GooeyWipe`: Soft, glossy blobs of liquid pop up over the outgoing image, swell and melt into each other, revealing the incoming image until they cover the whole frame. Params: blobs (float = 5), smoothness (float = 0.5), highlight (vec4 = vec4(1, 1, 1, 0.7)), shadow (vec4 = vec4(0, 0, 0, 0.3))
|
|
162
215
|
- `GridFlip`: The image splits into a grid of tiles that flip one by one to the incoming image. Params: size (ivec2 = ivec2(4, 4)), pause (float = 0.1), dividerWidth (float = 0.05), bgcolor (vec4 = vec4(0, 0, 0, 1)), randomness (float = 0.1)
|
|
163
216
|
- `Halftone`: The image breaks into printed halftone dots whose size follows its shades, the dots reshape into the incoming image, then merge back into it. Params: dots (float = 28), angle (float = 45), paper (vec4 = vec4(1, 1, 1, 1))
|
|
164
217
|
- `HeartWipe`: A heart shape grows from the center to reveal the incoming image
|
|
@@ -167,11 +220,15 @@
|
|
|
167
220
|
- `HorizontalClose`: The incoming image closes in from the top and bottom edges toward the middle
|
|
168
221
|
- `HorizontalOpen`: The incoming image opens from a line in the middle toward the top and bottom edges
|
|
169
222
|
- `HsvFade`: A crossfade through the HSV color space that cycles through hues
|
|
223
|
+
- `InkBleed`: The incoming image spreads over the outgoing one like drops of ink in water, blooming from a few points with curling, wispy edges and a darker rim, until it fills the frame. Params: drops (float = 4), tendrils (float = 0.7), rim (float = 0.5), seed (float = 3)
|
|
170
224
|
- `InvertedPageCurl`: The outgoing image curls away like a page, revealing the incoming one
|
|
171
225
|
- `Kaleidoscope`: A crossfade through a spinning kaleidoscope. Params: speed (float = 1), angle (float = 1), power (float = 1.5)
|
|
172
226
|
- `LeafWipe`: A leaf shape grows from the center to reveal the incoming image
|
|
173
227
|
- `LeftRight`: The outgoing image shrinks away to the left while the incoming one slides in from the right
|
|
228
|
+
- `LensFlare`: A bright light sweeps across the frame and flares the lens: a long thin horizontal streak, a glowing core and a trail of colored ghost reflections; at its peak the incoming image spreads out from the light under its glare. Params: angle (float = -12), height (float = 0.18), intensity (float = 1), color (vec3 = vec3(0.35, 0.6, 1))
|
|
229
|
+
- `LightRays`: Shafts of light burst from the highlights of the outgoing image and stream outward from a slowly drifting center; at their peak the incoming image takes over and its own rays shrink back into its highlights. Params: center (vec2 = vec2(0.5, 0.6)), drift (float = 0.15), reach (float = 0.6), threshold (float = 0.65), intensity (float = 1.5), tint (vec3 = vec3(1, 0.82, 0.55))
|
|
174
230
|
- `LightStreaks`: The highlights of the outgoing image flare into long horizontal (or vertical) lens streaks while it smears with motion blur; at the peak the incoming image takes over and its streaks shrink back into its highlights as it sharpens. Params: reach (float = 0.6), threshold (float = 0.7), intensity (float = 1.5), tint (vec3 = vec3(0.45, 0.7, 1)), blur (float = 0.1), vertical (bool = false)
|
|
231
|
+
- `LightWipe`: A band of intense light sweeps across the frame like a glint on glass, blooming the highlights of both images, and leaves the incoming image behind it. Params: direction (vec2 = vec2(1, -0.35)), width (float = 0.04), intensity (float = 1.2), color (vec3 = vec3(1, 0.86, 0.66))
|
|
175
232
|
- `LinearBlur`: A crossfade through a blur. Params: intensity (float = 0.1)
|
|
176
233
|
- `LissajousTiles`: The image breaks into a grid of tiles that swirl along Lissajous curves, in a Scanimate style, and flip one by one to the incoming image before settling back. Params: speed (float = 0.5), freq (vec2 = vec2(2, 3)), offset (float = 2), zoom (float = 0.8), fade (float = 3)
|
|
177
234
|
- `LumaWipe`: A wipe that follows the brightness of a grayscale mask (the luma texture). Extra textures: luma
|
|
@@ -185,10 +242,13 @@
|
|
|
185
242
|
- `Overexposure`: A crossfade through a washed-out, overexposed white. Params: strength (float = 0.6)
|
|
186
243
|
- `PaperTear`: The outgoing image tears in two along a ragged line, and the halves are pulled apart to reveal the incoming one. Params: roughness (float = 0.12), tilt (float = 0.1), rim (float = 0.012), paper (vec4 = vec4(1, 0.98, 0.94, 1)), shadow (vec4 = vec4(0, 0, 0, 0.35))
|
|
187
244
|
- `PerlinDissolve`: The incoming image appears through blobs of Perlin noise. Params: scale (float = 4), smoothness (float = 0.01), seed (float = 12.9898)
|
|
245
|
+
- `PhotoDevelop`: The outgoing image washes out to a blank cream card, then the incoming image develops on it like an instant photo: shadows first, faint and tinted, then its contrast and colors come up and it settles. Params: card (vec4 = vec4(0.93, 0.91, 0.85, 1)), wash (float = 0.35), tint (float = 0.8)
|
|
188
246
|
- `Pinwheel`: A spinning pinwheel reveals the incoming image. Params: speed (float = 2)
|
|
189
247
|
- `PixelStretch`: A line sweeps across the frame and drags the outgoing image's pixels behind it as long streaks, which shorten as it goes and reveal the incoming image. Params: direction (vec2 = vec2(1, 0)), stretch (float = 0.45), chroma (float = 0.5), softness (float = 0.03), jitter (float = 0.5)
|
|
190
248
|
- `Pixelize`: Both images pixelate, crossfade, then sharpen again. Params: squaresMin (ivec2 = ivec2(20, 20)), steps (int = 50)
|
|
249
|
+
- `PlusWipe`: A plus-shaped cross grows from the center and widens its arms until the incoming image fills the frame. Params: smoothness (float = 0.01), reverse (bool = false)
|
|
191
250
|
- `PolkaDotsCurtain`: The incoming image appears through growing polka dots. Params: dots (float = 20), center (vec2 = vec2(0, 0))
|
|
251
|
+
- `PopIn`: The incoming image pops in as a rounded card over the outgoing one, with an elastic overshoot: too big, a bit small, then it settles into the full frame as its corners square off. Params: center (vec2 = vec2(0.5, 0.5)), bounce (float = 1), corner (float = 0.12), shadow (float = 0.5)
|
|
192
252
|
- `PowerKaleido`: The image folds into an animated kaleidoscope before revealing the incoming one. Params: scale (float = 2), z (float = 1.5), speed (float = 5)
|
|
193
253
|
- `Prisms`: The frame is cut into 3D prisms that turn in a cascade, like a rotating billboard, from the outgoing image on one face to the incoming one on the next. Params: slats (int = 8), stagger (float = 0.45), perspective (float = 1), shading (float = 0.6), horizontal (bool = false), backColor (vec4 = vec4(0, 0, 0, 1))
|
|
194
254
|
- `Puzzle`: The image is cut into jigsaw puzzle pieces that lift one after another and fall away, revealing the incoming image. Params: pieces (float = 5), shadow (float = 0.6)
|
|
@@ -211,7 +271,9 @@
|
|
|
211
271
|
- `SimpleZoomOut`: The incoming image zooms out into place while fading in. Params: zoom_quickness (float = 0.8), fade (bool = true)
|
|
212
272
|
- `SlideAwayRight`: The outgoing image slides to the right, uncovering a crossfade to the incoming one
|
|
213
273
|
- `Slides`: The outgoing image slides out, or the incoming one slides in, toward an edge, a corner or the center. Params: type (int = 0), In (bool = false)
|
|
274
|
+
- `SmokeDissolve`: Billowing smoke drifts in across the outgoing image, with lit tops, darker folds and wispy edges, and thickens until it covers the frame; as it thins out and drifts away, the incoming image shows through. Params: direction (vec2 = vec2(0.5, 0.1)), scale (float = 2.5), spread (float = 0.4), softness (float = 0.5), color (vec4 = vec4(0.86, 0.86, 0.88, 1))
|
|
214
275
|
- `SpiralWipe`: A spiral arm winds out from the center and widens to reveal the incoming image. Params: turns (float = 3), smoothness (float = 0.05), clockwise (bool = true)
|
|
276
|
+
- `SplatterWipe`: Splats of paint land one after another, each popping in with a spiky outline, flung droplets and a few drips running down, revealing the incoming image until they cover the frame. Params: splats (float = 4), spikiness (float = 0.6), droplets (float = 0.6), drips (float = 0.5), rim (float = 0.5), seed (float = 3)
|
|
215
277
|
- `SplitSlideInHorizontal`: The incoming image slides in as two halves moving horizontally in opposite directions. Params: reverse (bool = false)
|
|
216
278
|
- `SplitSlideInOutHorizontal`: The halves of both images slide horizontally in opposite directions, out and in at once. Params: reverse (bool = false)
|
|
217
279
|
- `SplitSlideInOutVertical`: The halves of both images slide vertically in opposite directions, out and in at once. Params: reverse (bool = false)
|
|
@@ -224,6 +286,7 @@
|
|
|
224
286
|
- `StaticFade`: Cuts to the incoming image halfway, hidden behind a burst of TV static. Params: n_noise_pixels (float = 200), static_luminosity (float = 0.8)
|
|
225
287
|
- `StaticWipe`: A wipe from top to bottom with a band of TV static at its edge. Params: u_transitionUpToDown (bool = true), u_max_static_span (float = 0.5)
|
|
226
288
|
- `StereoViewer`: Both images shrink into rounded cards that swap, like a stereo viewer toy. Params: zoom (float = 0.88), corner_radius (float = 0.22)
|
|
289
|
+
- `StretchSlide`: The outgoing image stretches out long as it shoots away to one side, pulling in the incoming one squashed behind it, which overshoots and springs back to its shape. Params: direction (vec2 = vec2(-1, 0)), stretch (float = 0.6), bounce (float = 0.6)
|
|
227
290
|
- `StripDatamoshGlitch`: A datamosh glitch: torn strips, chroma shifts and scan noise drag the outgoing image into the incoming one. Params: strength (float = 1), horizontalBars (float = 42), verticalSlits (float = 18), tear (float = 0.18), chroma (float = 0.032), residue (float = 0.62), noiseAmount (float = 0.16), scanAmount (float = 0.13), flashAmount (float = 0.2)
|
|
228
291
|
- `Swap`: The two images swap places in 3D, with a floor reflection. Params: reflection (float = 0.4), perspective (float = 0.2), depth (float = 3)
|
|
229
292
|
- `Swirl`: Both images swirl around the center while crossfading
|
|
@@ -239,6 +302,7 @@
|
|
|
239
302
|
- `VerticalClose`: The incoming image closes in from the left and right edges toward the middle
|
|
240
303
|
- `VerticalOpen`: The incoming image opens from a line in the middle toward the left and right edges
|
|
241
304
|
- `WaterDrop`: Ripples spread from the center like a drop falling into water, crossfading to the incoming image. Params: amplitude (float = 30), speed (float = 30)
|
|
305
|
+
- `WedgeWipe`: Two hands sweep away from each other around the center, opening a widening wedge that reveals the incoming image. Params: angle (float = 0), smoothness (float = 0.01), center (vec2 = vec2(0.5, 0.5))
|
|
242
306
|
- `WhipPan`: A fast camera pan that streaks both images with motion blur, the incoming one arriving from the opposite side. Params: direction (vec2 = vec2(-1, 0)), blur (float = 0.4)
|
|
243
307
|
- `WhipSpin`: The camera rolls faster and faster around the center of the frame, streaking the outgoing image in a spin blur, then the incoming one takes over mid-spin and slows to a stop. Params: turns (float = 1), blur (float = 0.5), chroma (float = 0.6), zoom (float = 0.25)
|
|
244
308
|
- `WhipTilt`: The camera tilts fast from the outgoing image to the incoming one, set edge to edge at an angle above it, streaking both in perspective with a vertical motion blur. Params: down (bool = false), blur (float = 0.5), chroma (float = 0.5), perspective (float = 0.7)
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// Accordion — generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/Accordion.glsl
|
|
2
|
+
// Author: gre
|
|
3
|
+
// License: MIT
|
|
4
|
+
// Description: The outgoing image folds up like a pleated paper toward one side while the incoming one unfolds out of the other, both in 3D with lit and shadowed pleats
|
|
5
|
+
|
|
6
|
+
uniform shader _from;
|
|
7
|
+
uniform shader _to;
|
|
8
|
+
uniform float2 _resolution;
|
|
9
|
+
uniform float progress;
|
|
10
|
+
uniform float ratio;
|
|
11
|
+
|
|
12
|
+
vec4 getFromColor(vec2 uv) { return vec4(unpremul(_from.eval(vec2(uv.x, 1.0 - uv.y) * _resolution))); }
|
|
13
|
+
vec4 getToColor(vec2 uv) { return vec4(unpremul(_to.eval(vec2(uv.x, 1.0 - uv.y) * _resolution))); }
|
|
14
|
+
|
|
15
|
+
uniform int pleats;
|
|
16
|
+
|
|
17
|
+
uniform vec2 direction;
|
|
18
|
+
|
|
19
|
+
uniform float shading;
|
|
20
|
+
|
|
21
|
+
uniform float perspective;
|
|
22
|
+
|
|
23
|
+
uniform vec4 backColor;
|
|
24
|
+
|
|
25
|
+
const float LIGHT_SIDE = 0.55;
|
|
26
|
+
const float LIGHT_FRONT = 0.835;
|
|
27
|
+
|
|
28
|
+
const float EDGE = 0.0015;
|
|
29
|
+
|
|
30
|
+
float panelLight(float c, float s, float facing) {
|
|
31
|
+
float lambert = (c * LIGHT_FRONT + facing * s * LIGHT_SIDE) / LIGHT_FRONT;
|
|
32
|
+
return mix(1.0, clamp(lambert, 0.08, 1.25), shading);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
vec4 pleated(float f, float c, float len, float b, float bLen, bool incoming, bool flipA, bool vertical) {
|
|
36
|
+
float m = 2.0 * float(pleats > 1 ? pleats : 1);
|
|
37
|
+
float s = sqrt(max(1.0 - c * c, 0.0));
|
|
38
|
+
float u = f * m;
|
|
39
|
+
|
|
40
|
+
float panel = min(floor(u), m - 1.0);
|
|
41
|
+
float fu = u - panel;
|
|
42
|
+
|
|
43
|
+
float tri = 1.0 - abs(mod(u, 2.0) - 1.0);
|
|
44
|
+
float panelLen = len / m;
|
|
45
|
+
float z = panelLen * s * (1.0 - tri);
|
|
46
|
+
|
|
47
|
+
float scale = 1.0 / (1.0 + perspective * z);
|
|
48
|
+
float bb = (b - 0.5 * bLen) / scale / bLen + 0.5;
|
|
49
|
+
|
|
50
|
+
float edge = EDGE * min(1.0, 20.0 * s * c) + 1e-6;
|
|
51
|
+
float cover = clamp(min(bb, 1.0 - bb) * bLen * scale / edge, 0.0, 1.0);
|
|
52
|
+
float a = flipA ? 1.0 - f : f;
|
|
53
|
+
vec2 st = clamp(vertical ? vec2(bb, a) : vec2(a, bb), 0.0, 1.0);
|
|
54
|
+
vec4 img = incoming ? getToColor(st) : getFromColor(st);
|
|
55
|
+
|
|
56
|
+
float facing = mod(panel, 2.0) < 0.5 ? 1.0 : -1.0;
|
|
57
|
+
float toEdge = min(fu, 1.0 - fu) * panelLen * c;
|
|
58
|
+
float k = 0.5 + 0.5 * clamp(toEdge / EDGE, 0.0, 1.0);
|
|
59
|
+
float light = mix(panelLight(c, s, -facing), panelLight(c, s, facing), k);
|
|
60
|
+
|
|
61
|
+
float valley = 1.0 - tri;
|
|
62
|
+
light *= 1.0 - 0.4 * shading * s * valley * valley;
|
|
63
|
+
return mix(backColor, vec4(img.rgb * light, img.a), cover);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
vec4 transition(vec2 uv) {
|
|
67
|
+
bool vertical = abs(direction.y) > abs(direction.x);
|
|
68
|
+
bool positive = vertical ? direction.y > 0.0 : direction.x > 0.0;
|
|
69
|
+
|
|
70
|
+
float a = vertical ? uv.y : uv.x;
|
|
71
|
+
if (positive) a = 1.0 - a;
|
|
72
|
+
float b = vertical ? uv.x : uv.y;
|
|
73
|
+
float len = vertical ? 1.0 : ratio;
|
|
74
|
+
float bLen = vertical ? ratio : 1.0;
|
|
75
|
+
|
|
76
|
+
float p = progress;
|
|
77
|
+
float e = p * p * (3.0 - 2.0 * p);
|
|
78
|
+
e = mix(p, e, 0.8);
|
|
79
|
+
|
|
80
|
+
float cFrom = 1.0 - e;
|
|
81
|
+
float cTo = e;
|
|
82
|
+
if (a < cFrom || cTo <= 0.0) {
|
|
83
|
+
|
|
84
|
+
return pleated(a / cFrom, cFrom, len, b * bLen, bLen, false, positive, vertical);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return pleated(1.0 - (1.0 - a) / cTo, cTo, len, b * bLen, bLen, true, positive, vertical);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
half4 main(float2 _coord) {
|
|
91
|
+
vec2 _uv = _coord / _resolution;
|
|
92
|
+
vec4 _c = clamp(transition(vec2(_uv.x, 1.0 - _uv.y)), 0.0, 1.0);
|
|
93
|
+
return half4(_c.rgb * _c.a, _c.a);
|
|
94
|
+
}
|
package/sksl/Ascii.sksl
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// Ascii — generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/Ascii.glsl
|
|
2
|
+
// Author: gre
|
|
3
|
+
// License: MIT
|
|
4
|
+
// Description: The image turns into text-mode characters, denser where it is brighter, the characters scramble into those of the incoming image, then resolve back into it
|
|
5
|
+
|
|
6
|
+
uniform shader _from;
|
|
7
|
+
uniform shader _to;
|
|
8
|
+
uniform float2 _resolution;
|
|
9
|
+
uniform float progress;
|
|
10
|
+
uniform float ratio;
|
|
11
|
+
|
|
12
|
+
vec4 getFromColor(vec2 uv) { return vec4(unpremul(_from.eval(vec2(uv.x, 1.0 - uv.y) * _resolution))); }
|
|
13
|
+
vec4 getToColor(vec2 uv) { return vec4(unpremul(_to.eval(vec2(uv.x, 1.0 - uv.y) * _resolution))); }
|
|
14
|
+
|
|
15
|
+
uniform float cellSize;
|
|
16
|
+
|
|
17
|
+
uniform int colored;
|
|
18
|
+
|
|
19
|
+
uniform vec4 ink;
|
|
20
|
+
|
|
21
|
+
uniform vec4 background;
|
|
22
|
+
|
|
23
|
+
const float ASPECT = 0.6;
|
|
24
|
+
|
|
25
|
+
const float STROKE = 0.05;
|
|
26
|
+
|
|
27
|
+
float hash12(vec2 p) {
|
|
28
|
+
vec3 p3 = fract(vec3(p.xyx) * 0.1031);
|
|
29
|
+
p3 += dot(p3, p3.yzx + 33.33);
|
|
30
|
+
return fract((p3.x + p3.y) * p3.z);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
float segment(vec2 q, vec2 a, vec2 b) {
|
|
34
|
+
vec2 pa = q - a;
|
|
35
|
+
vec2 ba = b - a;
|
|
36
|
+
return length(pa - ba * clamp(dot(pa, ba) / dot(ba, ba), 0.0, 1.0));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
float glyph(float g, vec2 q) {
|
|
40
|
+
if (g < 0.5) return 1.0;
|
|
41
|
+
if (g < 1.5) return length(q - vec2(0.0, -0.27)) - 0.035;
|
|
42
|
+
if (g < 2.5) return min(length(q - vec2(0.0, -0.25)), length(q - vec2(0.0, 0.1))) - 0.035;
|
|
43
|
+
if (g < 3.5) return segment(q, vec2(-0.17, 0.0), vec2(0.17, 0.0)) - STROKE;
|
|
44
|
+
if (g < 4.5) {
|
|
45
|
+
return min(segment(q, vec2(-0.18, 0.1), vec2(0.18, 0.1)), segment(q, vec2(-0.18, -0.1), vec2(0.18, -0.1))) - STROKE;
|
|
46
|
+
}
|
|
47
|
+
if (g < 5.5) {
|
|
48
|
+
return min(segment(q, vec2(-0.19, 0.0), vec2(0.19, 0.0)), segment(q, vec2(0.0, -0.19), vec2(0.0, 0.19))) - STROKE;
|
|
49
|
+
}
|
|
50
|
+
if (g < 6.5) {
|
|
51
|
+
float d = segment(q, vec2(0.0, -0.2), vec2(0.0, 0.2));
|
|
52
|
+
d = min(d, segment(q, vec2(-0.18, -0.11), vec2(0.18, 0.11)));
|
|
53
|
+
d = min(d, segment(q, vec2(-0.18, 0.11), vec2(0.18, -0.11)));
|
|
54
|
+
return d - STROKE;
|
|
55
|
+
}
|
|
56
|
+
if (g < 7.5) {
|
|
57
|
+
float d = min(segment(q, vec2(-0.06, -0.3), vec2(-0.1, 0.3)), segment(q, vec2(0.12, -0.3), vec2(0.08, 0.3)));
|
|
58
|
+
d = min(d, min(segment(q, vec2(-0.24, 0.11), vec2(0.24, 0.11)), segment(q, vec2(-0.24, -0.11), vec2(0.24, -0.11))));
|
|
59
|
+
return d - STROKE;
|
|
60
|
+
}
|
|
61
|
+
if (g < 8.5) {
|
|
62
|
+
float d = segment(q, vec2(-0.2, -0.3), vec2(0.2, 0.3));
|
|
63
|
+
d = min(d, abs(length(q - vec2(-0.13, 0.19)) - 0.08));
|
|
64
|
+
d = min(d, abs(length(q - vec2(0.13, -0.19)) - 0.08));
|
|
65
|
+
return d - STROKE;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
float d = abs(length(q) - 0.25);
|
|
69
|
+
d = min(d, abs(length(q - vec2(-0.02, 0.0)) - 0.1));
|
|
70
|
+
d = min(d, segment(q, vec2(0.08, 0.1), vec2(0.08, -0.12)));
|
|
71
|
+
return d - 0.8 * STROKE;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
float density(vec4 c) {
|
|
75
|
+
return floor(pow(clamp(dot(c.rgb, vec3(0.299, 0.587, 0.114)) * c.a, 0.0, 1.0), 0.75) * 9.99);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
vec4 cellColor(vec2 center, vec2 dims, bool incoming) {
|
|
79
|
+
vec4 c = vec4(0.0);
|
|
80
|
+
for (int i = 0; i < 4; i++) {
|
|
81
|
+
vec2 o = (vec2(mod(float(i), 2.0), floor(float(i) / 2.0)) - 0.5) * 0.5 * dims;
|
|
82
|
+
vec2 st = clamp((center + o) / vec2(ratio, 1.0) + 0.5, 0.0, 1.0);
|
|
83
|
+
c += incoming ? getToColor(st) : getFromColor(st);
|
|
84
|
+
}
|
|
85
|
+
return c * 0.25;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
vec4 transition(vec2 uv) {
|
|
89
|
+
float p = progress;
|
|
90
|
+
float h = cellSize;
|
|
91
|
+
vec2 fp = (uv - 0.5) * vec2(ratio, 1.0);
|
|
92
|
+
vec2 dims = vec2(ASPECT * h, h);
|
|
93
|
+
vec2 cell = floor(fp / dims);
|
|
94
|
+
vec2 center = (cell + 0.5) * dims;
|
|
95
|
+
vec2 q = (fp - center) / h;
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
float r = hash12(cell + 100.0);
|
|
100
|
+
float at = 0.4 + 0.2 * r;
|
|
101
|
+
bool incoming = p > at;
|
|
102
|
+
vec4 c = cellColor(center, dims, incoming);
|
|
103
|
+
float g = density(c);
|
|
104
|
+
float scramble = 1.0 - smoothstep(0.02, 0.045, abs(p - at));
|
|
105
|
+
if (hash12(cell + floor(p * 40.0) * vec2(17.0, 31.0)) < scramble) {
|
|
106
|
+
g = 1.0 + floor(9.0 * hash12(cell * 1.7 + floor(p * 40.0) * vec2(5.0, 11.0)));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
float cover = 1.0 - smoothstep(-0.02, 0.02, glyph(g, q));
|
|
110
|
+
vec3 tint = (colored != 0) ? mix(c.rgb, c.rgb / max(max(c.r, max(c.g, c.b)), 0.05), 0.7) : ink.rgb;
|
|
111
|
+
float alpha = (colored != 0) ? c.a : ink.a * c.a;
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
vec3 behind = (colored != 0) ? mix(background.rgb, c.rgb, 0.3) : background.rgb;
|
|
115
|
+
vec4 back = vec4(behind, background.a * c.a);
|
|
116
|
+
vec4 text = mix(back, vec4(clamp(tint, 0.0, 1.0), alpha), cover);
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
float into = 0.05 + 0.22 * hash12(cell + 200.0);
|
|
121
|
+
float outof = 0.95 - 0.22 * hash12(cell + 300.0);
|
|
122
|
+
float show = smoothstep(into, into + 0.08, p) * (1.0 - smoothstep(outof - 0.08, outof, p));
|
|
123
|
+
vec4 image = p < 0.5 ? getFromColor(uv) : getToColor(uv);
|
|
124
|
+
return mix(image, text, show);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
half4 main(float2 _coord) {
|
|
128
|
+
vec2 _uv = _coord / _resolution;
|
|
129
|
+
vec4 _c = clamp(transition(vec2(_uv.x, 1.0 - _uv.y)), 0.0, 1.0);
|
|
130
|
+
return half4(_c.rgb * _c.a, _c.a);
|
|
131
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// BlockCover — generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/BlockCover.glsl
|
|
2
|
+
// Author: gre
|
|
3
|
+
// License: MIT
|
|
4
|
+
// Description: Blocks of a solid color pop in at random over the outgoing image until they cover the frame, then pop out in another random order to show the incoming image
|
|
5
|
+
|
|
6
|
+
uniform shader _from;
|
|
7
|
+
uniform shader _to;
|
|
8
|
+
uniform float2 _resolution;
|
|
9
|
+
uniform float progress;
|
|
10
|
+
uniform float ratio;
|
|
11
|
+
|
|
12
|
+
vec4 getFromColor(vec2 uv) { return vec4(unpremul(_from.eval(vec2(uv.x, 1.0 - uv.y) * _resolution))); }
|
|
13
|
+
vec4 getToColor(vec2 uv) { return vec4(unpremul(_to.eval(vec2(uv.x, 1.0 - uv.y) * _resolution))); }
|
|
14
|
+
|
|
15
|
+
uniform int blocks;
|
|
16
|
+
|
|
17
|
+
uniform vec4 color;
|
|
18
|
+
|
|
19
|
+
uniform float pop;
|
|
20
|
+
|
|
21
|
+
uniform float smoothness;
|
|
22
|
+
|
|
23
|
+
const float duration = 0.14;
|
|
24
|
+
const float cut = 0.45;
|
|
25
|
+
const float hold = 0.02;
|
|
26
|
+
|
|
27
|
+
float hash (vec2 p) {
|
|
28
|
+
vec3 p3 = fract(vec3(p.xyx) * 0.1031);
|
|
29
|
+
p3 += dot(p3, p3.yzx + 33.33);
|
|
30
|
+
return fract((p3.x + p3.y) * p3.z);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
float backOut (float t, float c) {
|
|
34
|
+
float u = t - 1.0;
|
|
35
|
+
return 1.0 + (c + 1.0) * u * u * u + c * u * u;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
vec2 timing (vec2 cell) {
|
|
39
|
+
return vec2(
|
|
40
|
+
(cut - hold - duration) * hash(cell + 0.5),
|
|
41
|
+
cut + hold + (1.0 - cut - hold - duration) * hash(cell + 71.7));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
float blockScale (vec2 cell, float c) {
|
|
45
|
+
vec2 t = timing(cell);
|
|
46
|
+
float a = clamp((progress - t.x) / duration, 0.0, 1.0);
|
|
47
|
+
float b = clamp((progress - t.y) / duration, 0.0, 1.0);
|
|
48
|
+
|
|
49
|
+
return b > 0.0 ? (1.0 - b) * (1.0 - b) : backOut(a, c);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
float coverage (vec2 q, vec2 cell, float s, float sm) {
|
|
53
|
+
|
|
54
|
+
float h = s * (0.5 + sm);
|
|
55
|
+
vec2 d = abs(q - cell - 0.5);
|
|
56
|
+
return s > 0.0 ? 1.0 - smoothstep(h - sm, h, max(d.x, d.y)) : 0.0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
vec4 transition (vec2 uv) {
|
|
60
|
+
float nLong = max(float(blocks), 1.0);
|
|
61
|
+
vec2 n = ratio >= 1.0
|
|
62
|
+
? vec2(nLong, max(1.0, floor(nLong / ratio + 0.5)))
|
|
63
|
+
: vec2(max(1.0, floor(nLong * ratio + 0.5)), nLong);
|
|
64
|
+
vec2 q = uv * n;
|
|
65
|
+
vec2 cell = floor(q);
|
|
66
|
+
float sm = max(smoothness, 0.001);
|
|
67
|
+
float c = 2.0 * clamp(pop, 0.0, 1.0);
|
|
68
|
+
float s = blockScale(cell, c);
|
|
69
|
+
if (s >= 1.0) return color;
|
|
70
|
+
float cover = coverage(q, cell, s, sm);
|
|
71
|
+
|
|
72
|
+
float u = -2.0 * c / (3.0 * (c + 1.0));
|
|
73
|
+
float reach = backOut(1.0 + u, c) * (0.5 + sm);
|
|
74
|
+
vec2 o = abs(q - cell - 0.5);
|
|
75
|
+
if (max(o.x, o.y) > 1.0 - reach) {
|
|
76
|
+
for (int j = -1; j <= 1; j++) {
|
|
77
|
+
for (int i = -1; i <= 1; i++) {
|
|
78
|
+
vec2 nb = cell + vec2(float(i), float(j));
|
|
79
|
+
vec2 inside = step(vec2(0.0), nb) * step(nb, n - 1.0);
|
|
80
|
+
if (inside.x * inside.y > 0.0 && (i != 0 || j != 0)) {
|
|
81
|
+
cover = max(cover, coverage(q, nb, blockScale(nb, c), sm));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
vec2 t = timing(cell);
|
|
88
|
+
vec4 under = progress < 0.5 * (t.x + duration + t.y) ? getFromColor(uv) : getToColor(uv);
|
|
89
|
+
return mix(under, color, cover);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
half4 main(float2 _coord) {
|
|
93
|
+
vec2 _uv = _coord / _resolution;
|
|
94
|
+
vec4 _c = clamp(transition(vec2(_uv.x, 1.0 - _uv.y)), 0.0, 1.0);
|
|
95
|
+
return half4(_c.rgb * _c.a, _c.a);
|
|
96
|
+
}
|