gl-transitions 2.1.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 +68 -0
- package/compatibility.json +496 -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/CylinderRoll.glsl +102 -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/LightStreaks.glsl +117 -0
- package/glsl3/LightWipe.glsl +89 -0
- package/glsl3/PhotoDevelop.glsl +59 -0
- package/glsl3/PixelStretch.glsl +73 -0
- package/glsl3/PlusWipe.glsl +38 -0
- package/glsl3/PopIn.glsl +57 -0
- package/glsl3/Refraction.glsl +95 -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/glsl3/WhipSpin.glsl +69 -0
- package/glsl3/WhipTilt.glsl +79 -0
- package/index.js +1 -1
- package/layouts.json +1512 -371
- package/llms-full.txt +793 -292
- package/llms.txt +185 -154
- 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/CylinderRoll.metal +374 -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/LightStreaks.metal +518 -0
- package/msl/LightWipe.metal +321 -0
- package/msl/PhotoDevelop.metal +245 -0
- package/msl/PixelStretch.metal +337 -0
- package/msl/PlusWipe.metal +199 -0
- package/msl/PopIn.metal +245 -0
- package/msl/Refraction.metal +333 -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/msl/WhipSpin.metal +278 -0
- package/msl/WhipTilt.metal +327 -0
- package/package.json +1 -1
- package/skills/gl-transitions/references/catalog.md +113 -37
- 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/CylinderRoll.sksl +112 -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/LightStreaks.sksl +126 -0
- package/sksl/LightWipe.sksl +97 -0
- package/sksl/PhotoDevelop.sksl +72 -0
- package/sksl/PixelStretch.sksl +84 -0
- package/sksl/PlusWipe.sksl +50 -0
- package/sksl/PopIn.sksl +69 -0
- package/sksl/Refraction.sksl +103 -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/WhipSpin.sksl +79 -0
- package/sksl/WhipTilt.sksl +90 -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/CylinderRoll.glsl +101 -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/LightStreaks.glsl +116 -0
- package/transitions/LightWipe.glsl +88 -0
- package/transitions/PhotoDevelop.glsl +58 -0
- package/transitions/PixelStretch.glsl +72 -0
- package/transitions/PlusWipe.glsl +37 -0
- package/transitions/PopIn.glsl +56 -0
- package/transitions/Refraction.glsl +94 -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/transitions/WhipSpin.glsl +68 -0
- package/transitions/WhipTilt.glsl +78 -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/CylinderRoll.wgsl +330 -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/LightStreaks.wgsl +460 -0
- package/wgsl/LightWipe.wgsl +277 -0
- package/wgsl/PhotoDevelop.wgsl +213 -0
- package/wgsl/PixelStretch.wgsl +298 -0
- package/wgsl/PlusWipe.wgsl +165 -0
- package/wgsl/PopIn.wgsl +213 -0
- package/wgsl/Refraction.wgsl +294 -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
- package/wgsl/WhipSpin.wgsl +241 -0
- package/wgsl/WhipTilt.wgsl +291 -0
|
@@ -1,113 +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
|
-
- **fade**: ColorPhase, ColorWrap, EdgeGlow, Fade, FadeColor, FadeGrayscale, FlashFade, HsvFade, MultiplyBlend, Overexposure, RotateScaleFade, ScaleIn, SimpleZoom, SimpleZoomOut
|
|
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
|
-
- **
|
|
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
|
|
20
24
|
- **distort**: ButterflyWaveScrawler, ColorCoords, CrazyParametricFun, DisplacementMap, Fisheye, FlyEye, Kaleidoscope, Morph, PowerKaleido
|
|
21
|
-
- **
|
|
22
|
-
- **
|
|
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
|
|
23
28
|
- **glitch**: ColorWrap, GlitchBands, GlitchDisplace, GlitchFlicker, GlitchMemories, StripDatamoshGlitch, TvLostSignal
|
|
24
|
-
- **
|
|
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
|
-
- **
|
|
33
|
+
- **pattern**: Ascii, Chessboard, Crosshatch, DitherDissolve, Halftone, PolkaDotsCurtain
|
|
34
|
+
- **shadow**: Bounce, CurvedWipe, PaperTear, PopIn, Puzzle, Shred
|
|
35
|
+
- **stripes**: Accordion, Comb, Prisms, Shred, WindowBlinds, WindowSlices
|
|
28
36
|
- **tiles**: GridFlip, Honeycomb, LissajousTiles, Mosaic, Puzzle, TilesWave
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **pattern**: Chessboard, Crosshatch, DitherDissolve, Halftone, PolkaDotsCurtain
|
|
37
|
+
- **burn**: BurnThrough, FilmBurn, FlameWipe, GlowDissolve, UndulatingBurnOut
|
|
38
|
+
- **organic**: BrushWipe, GooeyWipe, InkBleed, SmokeDissolve, SplatterWipe
|
|
32
39
|
- **pixelate**: DitherDissolve, Hexagonalize, MosaicBlend, MosaicFade, Pixelize
|
|
33
|
-
- **stripes**: Comb, Prisms, Shred, WindowBlinds, WindowSlices
|
|
34
|
-
- **burn**: BurnThrough, FilmBurn, GlowDissolve, UndulatingBurnOut
|
|
35
40
|
- **circle**: CircleIris, CircleOpen, UndulatingBurnOut, ZoomInCircles
|
|
36
41
|
- **flash**: DreamyZoom, FlashFade, Overexposure, TvTurnOff
|
|
37
42
|
- **push**: Comb, Directional, DirectionalEased, DirectionalScaled
|
|
38
|
-
- **
|
|
43
|
+
- **squares**: BlockCover, Chessboard, RandomSquares, SquaresWipe
|
|
39
44
|
- **wave**: ButterflyWaveScrawler, Dreamy, Ripple, TilesWave
|
|
45
|
+
- **bounce**: Bounce, PopIn, StretchSlide
|
|
40
46
|
- **box**: Box, RectangleCover, RectangleIris
|
|
47
|
+
- **clock**: ClockWipe, RadialWipe, WedgeWipe
|
|
41
48
|
- **displace**: ColorCoords, DisplacementMap, GlitchDisplace
|
|
42
49
|
- **flip**: BookFlip, GridFlip, SimpleFlip
|
|
50
|
+
- **fold**: Accordion, Curtains, Fold
|
|
51
|
+
- **lens**: BokehDissolve, Fisheye, FlyEye
|
|
43
52
|
- **mosaic**: Mosaic, MosaicBlend, MosaicFade
|
|
44
53
|
- **reflection**: Cube, Doorway, Swap
|
|
45
54
|
- **scanlines**: GlitchFlicker, TvLostSignal, TvRoll
|
|
46
|
-
- **
|
|
55
|
+
- **spin**: RotateFade, RotateScaleVanish, WhipSpin
|
|
47
56
|
- **static**: StaticFade, StaticWipe, TvStatic
|
|
48
57
|
- **warp**: CrossWarp, DirectionalWarp, Tunnel
|
|
49
|
-
- **
|
|
58
|
+
- **blocks**: BlockCover, BlockDissolve
|
|
59
|
+
- **cover**: BlockCover, SmokeDissolve
|
|
50
60
|
- **dots**: Halftone, PolkaDotsCurtain
|
|
51
|
-
- **
|
|
61
|
+
- **elastic**: PopIn, StretchSlide
|
|
62
|
+
- **film**: FilmBurn, FilmStrip
|
|
63
|
+
- **fire**: BurnThrough, FlameWipe
|
|
64
|
+
- **flare**: LensFlare, LightStreaks
|
|
52
65
|
- **fragments**: Puzzle, Shatter
|
|
53
66
|
- **hexagon**: Hexagonalize, Honeycomb
|
|
54
67
|
- **kaleidoscope**: Kaleidoscope, PowerKaleido
|
|
55
|
-
- **lens**: Fisheye, FlyEye
|
|
56
68
|
- **luma**: LumaWipe, LuminanceMelt
|
|
57
69
|
- **melt**: DoomMelt, LuminanceMelt
|
|
58
|
-
- **motion-blur**: TangentMotionBlur, WhipPan
|
|
59
70
|
- **page**: BookFlip, InvertedPageCurl
|
|
71
|
+
- **paint**: BrushWipe, SplatterWipe
|
|
60
72
|
- **psychedelic**: ColorWrap, CrazyParametricFun
|
|
73
|
+
- **reveal**: GooeyWipe, SplatterWipe
|
|
61
74
|
- **ripple**: Ripple, WaterDrop
|
|
75
|
+
- **roll**: CylinderRoll, Rolls
|
|
62
76
|
- **slices**: Shred, WindowSlices
|
|
63
|
-
- **spin**: RotateFade, RotateScaleVanish
|
|
64
77
|
- **swirl**: Revolve, Swirl
|
|
65
78
|
- **blinds**: WindowBlinds
|
|
66
|
-
- **
|
|
67
|
-
- **
|
|
79
|
+
- **blob**: GooeyWipe
|
|
80
|
+
- **bloom**: BloomDissolve
|
|
81
|
+
- **bokeh**: BokehDissolve
|
|
82
|
+
- **brush**: BrushWipe
|
|
83
|
+
- **camera**: CameraShake
|
|
84
|
+
- **card**: CardSwipe
|
|
68
85
|
- **cards**: StereoViewer
|
|
86
|
+
- **chromatic-aberration**: Refraction
|
|
69
87
|
- **columns**: DoomMelt
|
|
88
|
+
- **cross**: PlusWipe
|
|
70
89
|
- **cube**: Cube
|
|
71
90
|
- **curl**: InvertedPageCurl
|
|
91
|
+
- **curve**: CurvedWipe
|
|
72
92
|
- **datamosh**: StripDatamoshGlitch
|
|
93
|
+
- **digital**: Ascii
|
|
94
|
+
- **distortion**: Refraction
|
|
73
95
|
- **doors**: Doorway
|
|
96
|
+
- **dust**: Disintegrate
|
|
74
97
|
- **edges**: EdgeGlow
|
|
75
|
-
- **
|
|
76
|
-
- **fire**: BurnThrough
|
|
98
|
+
- **flame**: FlameWipe
|
|
77
99
|
- **flicker**: GlitchFlicker
|
|
78
|
-
- **
|
|
100
|
+
- **fluid**: InkBleed
|
|
101
|
+
- **fog**: SmokeDissolve
|
|
102
|
+
- **glint**: LightWipe
|
|
79
103
|
- **grayscale**: FadeGrayscale
|
|
80
104
|
- **heart**: HeartWipe
|
|
81
105
|
- **hue**: HsvFade
|
|
82
|
-
- **
|
|
106
|
+
- **impact**: CameraShake
|
|
107
|
+
- **ink**: InkBleed
|
|
83
108
|
- **light-leak**: FilmBurn
|
|
84
109
|
- **lines**: Crosshatch
|
|
110
|
+
- **liquid**: GooeyWipe
|
|
85
111
|
- **mask**: LumaWipe
|
|
86
112
|
- **morph**: Morph
|
|
87
113
|
- **motion**: LissajousTiles
|
|
114
|
+
- **particles**: Disintegrate
|
|
115
|
+
- **photo**: PhotoDevelop
|
|
88
116
|
- **pinwheel**: Pinwheel
|
|
117
|
+
- **plus**: PlusWipe
|
|
89
118
|
- **polar**: FlowerWipe
|
|
90
|
-
- **
|
|
119
|
+
- **pop**: PopIn
|
|
120
|
+
- **rays**: LightRays
|
|
121
|
+
- **refraction**: Refraction
|
|
122
|
+
- **scale**: PopIn
|
|
123
|
+
- **shake**: CameraShake
|
|
91
124
|
- **shatter**: Shatter
|
|
125
|
+
- **smear**: PixelStretch
|
|
126
|
+
- **smoke**: SmokeDissolve
|
|
127
|
+
- **splash**: SplatterWipe
|
|
128
|
+
- **squash**: StretchSlide
|
|
92
129
|
- **squeeze**: Squeeze
|
|
130
|
+
- **stack**: CardSwipe
|
|
93
131
|
- **star**: StarWipe
|
|
132
|
+
- **streak**: LensFlare
|
|
133
|
+
- **streaks**: PixelStretch
|
|
134
|
+
- **stretch**: StretchSlide
|
|
94
135
|
- **swap**: Swap
|
|
136
|
+
- **swipe**: CardSwipe
|
|
137
|
+
- **text**: Ascii
|
|
95
138
|
- **water**: WaterDrop
|
|
139
|
+
- **wedge**: WedgeWipe
|
|
140
|
+
- **wind**: Disintegrate
|
|
96
141
|
|
|
97
142
|
## Transitions
|
|
98
143
|
|
|
99
144
|
`name`: description. Parameters as name (type = default). Extra textures are flagged: the host must provide them.
|
|
100
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))
|
|
101
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)
|
|
102
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)
|
|
103
153
|
- `BookFlip`: The outgoing image turns like a book page from right to left, revealing the incoming one
|
|
104
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)
|
|
105
155
|
- `BowTie`: A bow-tie wipe with an adjustable shape that can run in reverse. Params: adjust (float = 0.5), reverse (bool = false)
|
|
106
156
|
- `BowTieHorizontal`: Two triangles grow from the left and right edges into a bow tie that reveals the incoming image
|
|
107
157
|
- `BowTieVertical`: Two triangles grow from the top and bottom edges into a bow tie that reveals the incoming image
|
|
108
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)
|
|
109
160
|
- `BurnThrough`: The outgoing image burns away in noisy, glowing patches. Params: burnColor (vec3 = vec3(1, 0.5, 0))
|
|
110
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))
|
|
111
164
|
- `Chessboard`: A chessboard pattern of squares reveals the incoming image. Params: grid_num (float = 10)
|
|
112
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))
|
|
113
166
|
- `CircleOpen`: A soft-edged circle opens from the center to reveal the incoming image. Params: smoothness (float = 0.3), opening (bool = true)
|
|
@@ -123,6 +176,8 @@
|
|
|
123
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)
|
|
124
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)
|
|
125
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))
|
|
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)
|
|
126
181
|
- `DefocusBlur`: A crossfade through an out-of-focus blur. Params: blurSize (float = 0.02)
|
|
127
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)
|
|
128
183
|
- `Directional`: The incoming image pushes the outgoing one out in a given direction. Params: direction (vec2 = vec2(0, 1))
|
|
@@ -130,6 +185,7 @@
|
|
|
130
185
|
- `DirectionalScaled`: Like Directional, with both images scaled down while they slide. Params: direction (vec2 = vec2(0, 1)), scale (float = 0.7)
|
|
131
186
|
- `DirectionalWarp`: A diagonal wipe with a warped, smeared edge. Params: smoothness (float = 0.1), direction (vec2 = vec2(-1, 1))
|
|
132
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)
|
|
133
189
|
- `DisplacementMap`: A crossfade in which a displacement map (an extra grayscale texture) warps both images. Params: strength (float = 0.5). Extra textures: displacementMap
|
|
134
190
|
- `DitherDissolve`: The incoming image appears through a regular 8x8 ordered dither pattern, like a retro computer screen. Params: dotSize (float = 0.02)
|
|
135
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)
|
|
@@ -142,7 +198,10 @@
|
|
|
142
198
|
- `FadeGrayscale`: A crossfade through grayscale. Params: intensity (float = 0.3)
|
|
143
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)
|
|
144
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))
|
|
145
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))
|
|
146
205
|
- `FlashFade`: A crossfade that brightens toward a color in the middle. Params: color (vec3 = vec3(0.9, 0.4, 0.2))
|
|
147
206
|
- `FlowerWipe`: A flower shape with several petals grows to reveal the incoming image. Params: segments (int = 5)
|
|
148
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)
|
|
@@ -152,6 +211,7 @@
|
|
|
152
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)
|
|
153
212
|
- `GlitchMemories`: A crossfade with glitchy, color-shifted blocks
|
|
154
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))
|
|
155
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)
|
|
156
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))
|
|
157
217
|
- `HeartWipe`: A heart shape grows from the center to reveal the incoming image
|
|
@@ -160,10 +220,15 @@
|
|
|
160
220
|
- `HorizontalClose`: The incoming image closes in from the top and bottom edges toward the middle
|
|
161
221
|
- `HorizontalOpen`: The incoming image opens from a line in the middle toward the top and bottom edges
|
|
162
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)
|
|
163
224
|
- `InvertedPageCurl`: The outgoing image curls away like a page, revealing the incoming one
|
|
164
225
|
- `Kaleidoscope`: A crossfade through a spinning kaleidoscope. Params: speed (float = 1), angle (float = 1), power (float = 1.5)
|
|
165
226
|
- `LeafWipe`: A leaf shape grows from the center to reveal the incoming image
|
|
166
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))
|
|
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))
|
|
167
232
|
- `LinearBlur`: A crossfade through a blur. Params: intensity (float = 0.1)
|
|
168
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)
|
|
169
234
|
- `LumaWipe`: A wipe that follows the brightness of a grayscale mask (the luma texture). Extra textures: luma
|
|
@@ -177,9 +242,13 @@
|
|
|
177
242
|
- `Overexposure`: A crossfade through a washed-out, overexposed white. Params: strength (float = 0.6)
|
|
178
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))
|
|
179
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)
|
|
180
246
|
- `Pinwheel`: A spinning pinwheel reveals the incoming image. Params: speed (float = 2)
|
|
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)
|
|
181
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)
|
|
182
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)
|
|
183
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)
|
|
184
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))
|
|
185
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)
|
|
@@ -187,6 +256,7 @@
|
|
|
187
256
|
- `RandomSquares`: The incoming image appears in random squares. Params: size (ivec2 = ivec2(10, 10)), smoothness (float = 0.5)
|
|
188
257
|
- `RectangleCover`: A rectangle grows from the center to cover the outgoing image, then shrinks to reveal the incoming one. Params: bgcolor (vec4 = vec4(0, 0, 0, 1))
|
|
189
258
|
- `RectangleIris`: The outgoing image shrinks into a small rectangle over a background color, then the incoming one grows from it. Params: bgcolor (vec4 = vec4(0, 0, 0, 1))
|
|
259
|
+
- `Refraction`: The frame is seen through flowing liquid glass that bends the outgoing image more and more, with rainbow fringes, flares up as the incoming image takes over, then calms down and clears. Params: strength (float = 0.15), scale (float = 2.5), dispersion (float = 0.5), brightness (float = 1)
|
|
190
260
|
- `Revolve`: The outgoing image swirls and zooms with motion blur into the incoming one. Params: center (vec2 = vec2(0.46, 0.52)), direction (float = -1), maxRotation (float = 1.95), peakZoom (float = 2.22), swirl (float = 2.85), barrel (float = 0.38), motionBlur (float = 1), switchStart (float = 0.3), switchEnd (float = 0.5), shadow (float = 0.16)
|
|
191
261
|
- `Ripple`: Ripples spread from the center while crossfading. Params: amplitude (float = 100), speed (float = 50)
|
|
192
262
|
- `Rolls`: The outgoing image rolls away around a corner, revealing the incoming one. Params: type (int = 0), RotDown (bool = false)
|
|
@@ -201,7 +271,9 @@
|
|
|
201
271
|
- `SimpleZoomOut`: The incoming image zooms out into place while fading in. Params: zoom_quickness (float = 0.8), fade (bool = true)
|
|
202
272
|
- `SlideAwayRight`: The outgoing image slides to the right, uncovering a crossfade to the incoming one
|
|
203
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))
|
|
204
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)
|
|
205
277
|
- `SplitSlideInHorizontal`: The incoming image slides in as two halves moving horizontally in opposite directions. Params: reverse (bool = false)
|
|
206
278
|
- `SplitSlideInOutHorizontal`: The halves of both images slide horizontally in opposite directions, out and in at once. Params: reverse (bool = false)
|
|
207
279
|
- `SplitSlideInOutVertical`: The halves of both images slide vertically in opposite directions, out and in at once. Params: reverse (bool = false)
|
|
@@ -214,6 +286,7 @@
|
|
|
214
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)
|
|
215
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)
|
|
216
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)
|
|
217
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)
|
|
218
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)
|
|
219
292
|
- `Swirl`: Both images swirl around the center while crossfading
|
|
@@ -229,7 +302,10 @@
|
|
|
229
302
|
- `VerticalClose`: The incoming image closes in from the left and right edges toward the middle
|
|
230
303
|
- `VerticalOpen`: The incoming image opens from a line in the middle toward the left and right edges
|
|
231
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))
|
|
232
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)
|
|
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)
|
|
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)
|
|
233
309
|
- `Wind`: A ragged left-to-right wipe, as if the image was blown away by the wind. Params: size (float = 0.2), reversed (bool = false)
|
|
234
310
|
- `WindowBlinds`: A crossfade through horizontal window blinds
|
|
235
311
|
- `WindowSlices`: The incoming image appears through vertical slices that widen. Params: count (float = 10), smoothness (float = 0.5)
|
|
@@ -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
|
+
}
|