gl-transitions 3.1.0 → 3.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 +46 -0
- package/compatibility.json +306 -0
- package/gl-transitions.js +1 -1
- package/gl-transitions.json +1 -1
- package/glsl3/CardDeal.glsl +146 -0
- package/glsl3/CircleBurst.glsl +77 -0
- package/glsl3/CodeRain.glsl +114 -0
- package/glsl3/CurtainRise.glsl +71 -0
- package/glsl3/EchoSlide.glsl +93 -0
- package/glsl3/GeometricCollage.glsl +241 -0
- package/glsl3/GravityLens.glsl +66 -0
- package/glsl3/HingedSquares.glsl +121 -0
- package/glsl3/HorizontalHold.glsl +62 -0
- package/glsl3/LayoutGrid.glsl +147 -0
- package/glsl3/ProjectorThrow.glsl +75 -0
- package/glsl3/Reassemble.glsl +156 -0
- package/glsl3/RingSpin.glsl +112 -0
- package/glsl3/Shockwave.glsl +103 -0
- package/glsl3/ShoreWash.glsl +150 -0
- package/glsl3/ShutterWipe.glsl +68 -0
- package/glsl3/SpotlightWipe.glsl +63 -0
- package/glsl3/StopMotion.glsl +118 -0
- package/glsl3/Vaporize.glsl +125 -0
- package/index.js +1 -1
- package/layouts.json +725 -1
- package/llms-full.txt +734 -422
- package/llms.txt +238 -219
- package/msl/CardDeal.metal +539 -0
- package/msl/CircleBurst.metal +351 -0
- package/msl/CodeRain.metal +451 -0
- package/msl/CurtainRise.metal +263 -0
- package/msl/EchoSlide.metal +438 -0
- package/msl/GeometricCollage.metal +1188 -0
- package/msl/GravityLens.metal +236 -0
- package/msl/HingedSquares.metal +564 -0
- package/msl/HorizontalHold.metal +286 -0
- package/msl/LayoutGrid.metal +544 -0
- package/msl/ProjectorThrow.metal +313 -0
- package/msl/Reassemble.metal +667 -0
- package/msl/RingSpin.metal +474 -0
- package/msl/Shockwave.metal +256 -0
- package/msl/ShoreWash.metal +538 -0
- package/msl/ShutterWipe.metal +286 -0
- package/msl/SpotlightWipe.metal +217 -0
- package/msl/StopMotion.metal +551 -0
- package/msl/Vaporize.metal +462 -0
- package/package.json +1 -1
- package/skills/gl-transitions/references/catalog.md +94 -44
- package/sksl/CardDeal.sksl +156 -0
- package/sksl/CircleBurst.sksl +84 -0
- package/sksl/CodeRain.sksl +124 -0
- package/sksl/CurtainRise.sksl +84 -0
- package/sksl/EchoSlide.sksl +99 -0
- package/sksl/GeometricCollage.sksl +242 -0
- package/sksl/GravityLens.sksl +77 -0
- package/sksl/HingedSquares.sksl +124 -0
- package/sksl/HorizontalHold.sksl +74 -0
- package/sksl/LayoutGrid.sksl +156 -0
- package/sksl/ProjectorThrow.sksl +85 -0
- package/sksl/Reassemble.sksl +166 -0
- package/sksl/RingSpin.sksl +121 -0
- package/sksl/Shockwave.sksl +116 -0
- package/sksl/ShoreWash.sksl +159 -0
- package/sksl/ShutterWipe.sksl +80 -0
- package/sksl/SpotlightWipe.sksl +74 -0
- package/sksl/StopMotion.sksl +126 -0
- package/sksl/Vaporize.sksl +134 -0
- package/sksl/index.js +1 -1
- package/transitions/CardDeal.glsl +145 -0
- package/transitions/CircleBurst.glsl +76 -0
- package/transitions/CodeRain.glsl +113 -0
- package/transitions/CurtainRise.glsl +70 -0
- package/transitions/EchoSlide.glsl +92 -0
- package/transitions/GeometricCollage.glsl +240 -0
- package/transitions/GravityLens.glsl +65 -0
- package/transitions/HingedSquares.glsl +120 -0
- package/transitions/HorizontalHold.glsl +61 -0
- package/transitions/LayoutGrid.glsl +146 -0
- package/transitions/ProjectorThrow.glsl +74 -0
- package/transitions/Reassemble.glsl +155 -0
- package/transitions/RingSpin.glsl +111 -0
- package/transitions/Shockwave.glsl +102 -0
- package/transitions/ShoreWash.glsl +149 -0
- package/transitions/ShutterWipe.glsl +67 -0
- package/transitions/SpotlightWipe.glsl +62 -0
- package/transitions/StopMotion.glsl +117 -0
- package/transitions/Vaporize.glsl +124 -0
- package/wgsl/CardDeal.wgsl +496 -0
- package/wgsl/CircleBurst.wgsl +310 -0
- package/wgsl/CodeRain.wgsl +415 -0
- package/wgsl/CurtainRise.wgsl +235 -0
- package/wgsl/EchoSlide.wgsl +386 -0
- package/wgsl/GeometricCollage.wgsl +1075 -0
- package/wgsl/GravityLens.wgsl +206 -0
- package/wgsl/HingedSquares.wgsl +506 -0
- package/wgsl/HorizontalHold.wgsl +243 -0
- package/wgsl/LayoutGrid.wgsl +495 -0
- package/wgsl/ProjectorThrow.wgsl +274 -0
- package/wgsl/Reassemble.wgsl +609 -0
- package/wgsl/RingSpin.wgsl +426 -0
- package/wgsl/Shockwave.wgsl +226 -0
- package/wgsl/ShoreWash.wgsl +492 -0
- package/wgsl/ShutterWipe.wgsl +252 -0
- package/wgsl/SpotlightWipe.wgsl +186 -0
- package/wgsl/StopMotion.wgsl +496 -0
- package/wgsl/Vaporize.wgsl +420 -0
|
@@ -1,70 +1,76 @@
|
|
|
1
|
-
# Catalog (gl-transitions@3.
|
|
1
|
+
# Catalog (gl-transitions@3.3.0)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
227 transitions. Generated from gl-transitions.json; full details (parameter hints, authors, source links) in https://cdn.jsdelivr.net/npm/gl-transitions@3.3.0/llms-full.txt.
|
|
4
4
|
|
|
5
5
|
## By tag
|
|
6
6
|
|
|
7
|
-
- **wipe**: ApertureWipe, ArrowWipe, BandWipe, BowTie, BowTieHorizontal, BrushWipe, CircleOpen, ClockWipe, ColorPanelWipe, CurvedWipe, DiamondWipe, DirectionalWarp, DirectionalWipe, FlameWipe, FlowerWipe, HeartWipe, HorizontalClose, HorizontalOpen, InsetWipe, KeyholeWipe, LeafWipe, LightWipe, LumaWipe, PlasmaDissolve, PlusWipe, RadialWipe, RingsWipe, SawtoothWipe, SnakeBlockWipe, SpiralBlockWipe, SpiralWipe, SquaresWipe, StarWipe, StaticWipe, TilesWave, UndulatingBurnOut, VerticalClose, VerticalOpen, WedgeWipe, Wind, WindowSlices, ZoomWipeLeft, ZoomWipeRight
|
|
8
|
-
- **3d**: Accordion, BookFlip, Clothesline, Crumple, Cube, Curtains, CylinderRoll, DominoFall, Doorway, Drape, FallOver, Gallery, GlitterDissolve, GridFlip, InsideCube, InvertedPageCurl, PaperFold, Prisms, PuzzleCube, RibbonTwist, Shatter, SlotReels, Sphere, SplitFlap, Swap, Tumble, Tunnel, WhipTilt
|
|
9
|
-
- **slide**: Accordion, BlockSlide, Bounce, CardSwipe, Clothesline, Comb, Directional, DirectionalEased, DirectionalScaled, Fold, Funnel, Gallery, LeftRight, SlideAwayRight, Slides, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutHorizontal, SplitSlideOutVertical, StretchSlide, TangentMotionBlur, TopBottom, WhipPan
|
|
7
|
+
- **wipe**: ApertureWipe, ArrowWipe, BandWipe, BowTie, BowTieHorizontal, BrushWipe, CircleOpen, ClockWipe, ColorPanelWipe, CurvedWipe, DiamondWipe, DirectionalWarp, DirectionalWipe, FlameWipe, FlowerWipe, HeartWipe, HorizontalClose, HorizontalOpen, InsetWipe, KeyholeWipe, LeafWipe, LightWipe, LumaWipe, PlasmaDissolve, PlusWipe, RadialWipe, RingsWipe, SawtoothWipe, ShutterWipe, SnakeBlockWipe, SpiralBlockWipe, SpiralWipe, SquaresWipe, StarWipe, StaticWipe, TilesWave, UndulatingBurnOut, VerticalClose, VerticalOpen, WedgeWipe, Wind, WindowSlices, ZoomWipeLeft, ZoomWipeRight
|
|
8
|
+
- **3d**: Accordion, BookFlip, CardDeal, Clothesline, Crumple, Cube, CurtainRise, Curtains, CylinderRoll, DominoFall, Doorway, Drape, FallOver, Gallery, GlitterDissolve, GridFlip, InsideCube, InvertedPageCurl, PaperFold, Prisms, PuzzleCube, Reassemble, RibbonTwist, Shatter, SlotReels, Sphere, SplitFlap, Swap, Tumble, Tunnel, WhipTilt
|
|
9
|
+
- **slide**: Accordion, BlockSlide, Bounce, CardSwipe, Clothesline, Comb, Directional, DirectionalEased, DirectionalScaled, EchoSlide, Fold, Funnel, Gallery, LayoutGrid, LeftRight, SlideAwayRight, Slides, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutHorizontal, SplitSlideOutVertical, StopMotion, StretchSlide, TangentMotionBlur, TopBottom, WhipPan
|
|
10
|
+
- **rotate**: ApertureWipe, CardDeal, CardSwipe, Cube, DominoFall, DreamyZoom, FallOver, GeometricCollage, HingedSquares, Honeycomb, InsideCube, Pinwheel, Prisms, Puzzle, PuzzleCube, Revolve, RibbonTwist, RingSpin, Rolls, RotateScaleFade, RotateScaleVanish, Snapshot, Swirl, TangentMotionBlur, Tumble, WhipSpin, WhipTilt
|
|
11
|
+
- **directional**: ArrowWipe, BlockSlide, CardSwipe, Clothesline, CurvedWipe, Directional, DirectionalEased, DirectionalScaled, DirectionalWarp, DirectionalWipe, Disintegrate, EchoSlide, FlameWipe, Gallery, InsideCube, LiquidFill, PixelStretch, SawtoothWipe, ShoreWash, Slides, SquaresWipe, StretchSlide, Vaporize, WaveWipe, WhipPan
|
|
10
12
|
- **zoom**: BlockSlide, ComicPanels, CrossWarp, CrossZoom, DirectionalScaled, DreamyZoom, Fisheye, LeftRight, Mosaic, PopIn, RectangleIris, Revolve, RotateScaleFade, RotateScaleVanish, SimpleZoom, SimpleZoomOut, StereoViewer, TopBottom, Tunnel, WarpSpeed, ZoomInCircles, ZoomInOut, ZoomWipeLeft, ZoomWipeRight
|
|
11
|
-
- **rotate**: ApertureWipe, CardSwipe, Cube, DominoFall, DreamyZoom, FallOver, Honeycomb, InsideCube, Pinwheel, Prisms, Puzzle, PuzzleCube, Revolve, RibbonTwist, Rolls, RotateScaleFade, RotateScaleVanish, Snapshot, Swirl, TangentMotionBlur, Tumble, WhipSpin, WhipTilt
|
|
12
|
-
- **directional**: ArrowWipe, BlockSlide, CardSwipe, Clothesline, CurvedWipe, Directional, DirectionalEased, DirectionalScaled, DirectionalWarp, DirectionalWipe, Disintegrate, FlameWipe, Gallery, InsideCube, LiquidFill, PixelStretch, SawtoothWipe, Slides, SquaresWipe, StretchSlide, WaveWipe, WhipPan
|
|
13
13
|
- **blend**: ColorCoords, ColorDistance, CrossZoom, DefocusBlur, DisplacementMap, Dreamy, Fade, FilmDissolve, Fisheye, GlitchBands, GlitchMemories, HeatHaze, Hexagonalize, Kaleidoscope, Morph, MultiplyBlend, Pixelize, Ripple, SlideAwayRight, Swirl, WindowBlinds
|
|
14
14
|
- **shape**: ApertureWipe, ArrowWipe, BowTie, BowTieHorizontal, CircleIris, DiamondWipe, EyeBlink, FlowerWipe, HeartWipe, InsetWipe, KeyholeWipe, LeafWipe, PlusWipe, RectangleCover, SawtoothWipe, Sphere, SpiralWipe, StarWipe
|
|
15
|
-
- **horizontal**: BandWipe, BowTieHorizontal, Comb, CrossWarp, Curtains, Fold, LeftRight, PaperTear, SimpleFlip, SlideAwayRight, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideOutHorizontal, Wind, ZoomWipeLeft, ZoomWipeRight
|
|
16
|
-
- **vertical**: Bounce, CylinderRoll, Drape, FallOver, FilmStrip, Funnel, Shred, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutVertical, Squeeze, StaticWipe, TopBottom, TvRoll, TvTurnOff, WhipTilt
|
|
15
|
+
- **horizontal**: BandWipe, BowTieHorizontal, Comb, CrossWarp, Curtains, Fold, HorizontalHold, LeftRight, PaperTear, SimpleFlip, SlideAwayRight, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideOutHorizontal, Wind, ZoomWipeLeft, ZoomWipeRight
|
|
16
|
+
- **vertical**: Bounce, CurtainRise, CylinderRoll, Drape, FallOver, FilmStrip, Funnel, Shred, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutVertical, Squeeze, StaticWipe, TopBottom, TvRoll, TvTurnOff, WhipTilt
|
|
17
17
|
- **fade**: ColorPhase, ColorWrap, EdgeGlow, Fade, FadeColor, FadeGrayscale, FilmDissolve, FlashFade, HsvFade, MultiplyBlend, Overexposure, PhotoDevelop, RotateScaleFade, SimpleZoom, SimpleZoomOut
|
|
18
|
-
- **
|
|
19
|
-
- **
|
|
20
|
-
- **noise**: BurnThrough, Crosshatch, HeatHaze, InkBleed, LuminanceMelt, NoiseDissolve, PerlinDissolve, SmokeDissolve, StaticFade, StaticWipe, TvStatic, VhsTracking, Wind
|
|
18
|
+
- **grid**: BlockCover, BlockSlide, Chessboard, ComicPanels, GridFlip, HingedSquares, LayoutGrid, LedWall, LissajousTiles, PuzzleCube, RandomSquares, SnakeBlockWipe, SpiralBlockWipe, SplitFlap, SquaresWipe
|
|
19
|
+
- **retro**: Ascii, DitherDissolve, DoomMelt, FilmStrip, Halftone, HorizontalHold, LissajousTiles, PhotoDevelop, StaticFade, StereoViewer, TvLostSignal, TvRoll, TvStatic, TvTurnOff, VhsTracking
|
|
20
|
+
- **noise**: BurnThrough, Crosshatch, HeatHaze, InkBleed, LuminanceMelt, NoiseDissolve, PerlinDissolve, SmokeDissolve, StaticFade, StaticWipe, TvStatic, Vaporize, VhsTracking, Wind
|
|
21
|
+
- **color**: BlockCover, CircleBurst, ColorDistance, ColorPanelWipe, ColorPhase, ColorWrap, DuotoneFade, FadeColor, FadeGrayscale, FlashFade, GeometricCollage, HsvFade, PhotoDevelop
|
|
22
|
+
- **light**: BloomDissolve, BokehDissolve, FilmDissolve, GlintDissolve, LensFlare, LightRays, LightStreaks, LightWipe, LightningFlash, Overexposure, ProjectorThrow, SpotlightWipe, WarpSpeed
|
|
23
|
+
- **reveal**: CircleBurst, CodeRain, GooeyWipe, KeyholeWipe, LiquidFill, MoireWipe, ProjectorThrow, ShoreWash, SplatterWipe, SpotlightWipe, TruchetWipe, Vaporize, WaveWipe
|
|
24
|
+
- **shadow**: Bounce, CardDeal, Crumple, CurvedWipe, Drape, Funnel, PaperFold, PaperTear, PopIn, Puzzle, Shred, Snapshot, StopMotion
|
|
21
25
|
- **dissolve**: BloomDissolve, BokehDissolve, CellDissolve, DitherDissolve, FilmDissolve, GlintDissolve, GlitterDissolve, GlowDissolve, NoiseDissolve, PerlinDissolve, RandomSquares, SketchDissolve
|
|
26
|
+
- **distort**: ButterflyWaveScrawler, ColorCoords, CrazyParametricFun, DisplacementMap, Fisheye, FlyEye, Funnel, GravityLens, HeatHaze, Kaleidoscope, Morph, PowerKaleido
|
|
22
27
|
- **split**: Curtains, HorizontalClose, HorizontalOpen, PaperTear, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutHorizontal, SplitSlideOutVertical, VerticalClose, VerticalOpen
|
|
23
|
-
- **
|
|
24
|
-
- **
|
|
25
|
-
- **
|
|
26
|
-
- **shadow**: Bounce, Crumple, CurvedWipe, Drape, Funnel, PaperFold, PaperTear, PopIn, Puzzle, Shred, Snapshot
|
|
27
|
-
- **motion-blur**: CameraShake, CylinderRoll, FilmStrip, LightStreaks, SlotReels, TangentMotionBlur, WarpSpeed, WhipPan, WhipSpin, WhipTilt
|
|
28
|
+
- **motion-blur**: CameraShake, CylinderRoll, FilmStrip, LightStreaks, RingSpin, SlotReels, TangentMotionBlur, WarpSpeed, WhipPan, WhipSpin, WhipTilt
|
|
29
|
+
- **tiles**: CardDeal, GlitterDissolve, GridFlip, HingedSquares, Honeycomb, LissajousTiles, Mosaic, Puzzle, TilesWave, TruchetWipe, Vortex
|
|
30
|
+
- **chromatic**: ButterflyWaveScrawler, CameraShake, CylinderRoll, FlyEye, GlitchFlicker, GlitchMemories, PixelStretch, Shockwave, Squeeze, StripDatamoshGlitch
|
|
28
31
|
- **radial**: ClockWipe, Honeycomb, LightRays, Pinwheel, RadialWipe, RingsWipe, SpiralWipe, Tunnel, WarpSpeed, WedgeWipe
|
|
29
|
-
- **chromatic**: ButterflyWaveScrawler, CameraShake, CylinderRoll, FlyEye, GlitchFlicker, GlitchMemories, PixelStretch, Squeeze, StripDatamoshGlitch
|
|
30
32
|
- **glitch**: ColorWrap, GlitchBands, GlitchDisplace, GlitchFlicker, GlitchMemories, Hologram, StripDatamoshGlitch, TvLostSignal, VhsTracking
|
|
31
33
|
- **glow**: BloomDissolve, GlowDissolve, LedWall, LensFlare, LightRays, LightStreaks, LightWipe, PlasmaDissolve, Refraction
|
|
32
34
|
- **stripes**: Accordion, BandWipe, Comb, DominoFall, Prisms, Shred, SlotReels, WindowBlinds, WindowSlices
|
|
33
|
-
- **
|
|
35
|
+
- **circle**: CircleBurst, CircleIris, CircleOpen, RingSpin, RingsWipe, UndulatingBurnOut, WaterDrop, ZoomInCircles
|
|
36
|
+
- **flip**: BookFlip, GlitterDissolve, GridFlip, Reassemble, RibbonTwist, SimpleFlip, SplitFlap, Tumble
|
|
37
|
+
- **iris**: ApertureWipe, CircleIris, CircleOpen, DiamondWipe, KeyholeWipe, RectangleCover, RectangleIris, SpotlightWipe
|
|
38
|
+
- **organic**: BrushWipe, GooeyWipe, HeatHaze, InkBleed, PlasmaDissolve, SmokeDissolve, SplatterWipe, Vaporize
|
|
34
39
|
- **pattern**: Ascii, Chessboard, Crosshatch, DitherDissolve, Halftone, MoireWipe, PolkaDotsCurtain, TruchetWipe
|
|
35
40
|
- **blur**: BokehDissolve, CrossZoom, DefocusBlur, EyeBlink, FrostWipe, Revolve, ZoomInOut
|
|
36
|
-
- **flip**: BookFlip, GlitterDissolve, GridFlip, RibbonTwist, SimpleFlip, SplitFlap, Tumble
|
|
37
|
-
- **iris**: ApertureWipe, CircleIris, CircleOpen, DiamondWipe, KeyholeWipe, RectangleCover, RectangleIris
|
|
38
|
-
- **organic**: BrushWipe, GooeyWipe, HeatHaze, InkBleed, PlasmaDissolve, SmokeDissolve, SplatterWipe
|
|
39
|
-
- **reveal**: GooeyWipe, KeyholeWipe, LiquidFill, MoireWipe, SplatterWipe, TruchetWipe, WaveWipe
|
|
40
41
|
- **wave**: ButterflyWaveScrawler, Dreamy, LedWall, LiquidFill, Ripple, TilesWave, WaveWipe
|
|
41
|
-
- **circle**: CircleIris, CircleOpen, RingsWipe, UndulatingBurnOut, WaterDrop, ZoomInCircles
|
|
42
42
|
- **flash**: DreamyZoom, FlashFade, LightningFlash, Overexposure, Snapshot, TvTurnOff
|
|
43
|
+
- **fold**: Accordion, CurtainRise, Curtains, Drape, Fold, PaperFold
|
|
44
|
+
- **scanlines**: GlitchFlicker, Hologram, HorizontalHold, TvLostSignal, TvRoll, VhsTracking
|
|
43
45
|
- **burn**: BurnThrough, FilmBurn, FlameWipe, GlowDissolve, UndulatingBurnOut
|
|
44
|
-
- **
|
|
45
|
-
- **scanlines**: GlitchFlicker, Hologram, TvLostSignal, TvRoll, VhsTracking
|
|
46
|
+
- **push**: Comb, Directional, DirectionalEased, DirectionalScaled, LayoutGrid
|
|
46
47
|
- **blocks**: BlockCover, BlockSlide, SnakeBlockWipe, SpiralBlockWipe
|
|
47
48
|
- **clock**: ClockWipe, RadialWipe, RingsWipe, WedgeWipe
|
|
49
|
+
- **lens**: BokehDissolve, Fisheye, FlyEye, GravityLens
|
|
50
|
+
- **paper**: Clothesline, Crumple, PaperFold, StopMotion
|
|
48
51
|
- **perspective**: Clothesline, Gallery, InsideCube, Tumble
|
|
49
|
-
- **push**: Comb, Directional, DirectionalEased, DirectionalScaled
|
|
50
52
|
- **reflection**: Cube, Doorway, Gallery, Swap
|
|
51
53
|
- **squares**: BlockCover, Chessboard, RandomSquares, SquaresWipe
|
|
54
|
+
- **water**: LiquidFill, ShoreWash, WaterDrop, WaveWipe
|
|
52
55
|
- **bounce**: Bounce, PopIn, StretchSlide
|
|
53
56
|
- **box**: InsetWipe, RectangleCover, RectangleIris
|
|
57
|
+
- **card**: CardDeal, CardSwipe, Tumble
|
|
54
58
|
- **cover**: BlockCover, FrostWipe, SmokeDissolve
|
|
55
59
|
- **displace**: ColorCoords, DisplacementMap, GlitchDisplace
|
|
56
60
|
- **dots**: Halftone, LedWall, PolkaDotsCurtain
|
|
57
|
-
- **
|
|
58
|
-
- **
|
|
61
|
+
- **glass**: FacetedGlass, Shatter, Shockwave
|
|
62
|
+
- **liquid**: GooeyWipe, LiquidFill, ShoreWash
|
|
63
|
+
- **panels**: ColorPanelWipe, ComicPanels, LayoutGrid
|
|
59
64
|
- **pixelate**: DitherDissolve, Hexagonalize, Pixelize
|
|
60
65
|
- **refraction**: FacetedGlass, Refraction, WaterDrop
|
|
66
|
+
- **rings**: MoireWipe, RingSpin, RingsWipe
|
|
61
67
|
- **roll**: CylinderRoll, Rolls, Sphere
|
|
62
68
|
- **spin**: RotateScaleVanish, SlotReels, WhipSpin
|
|
63
69
|
- **static**: StaticFade, StaticWipe, TvStatic
|
|
64
70
|
- **warp**: CrossWarp, DirectionalWarp, Tunnel
|
|
65
|
-
- **
|
|
66
|
-
- **card**: CardSwipe, Tumble
|
|
71
|
+
- **camera**: CameraShake, ShutterWipe
|
|
67
72
|
- **cube**: Cube, InsideCube
|
|
73
|
+
- **digital**: Ascii, CodeRain
|
|
68
74
|
- **distortion**: FacetedGlass, Refraction
|
|
69
75
|
- **edges**: EdgeGlow, SketchDissolve
|
|
70
76
|
- **elastic**: PopIn, StretchSlide
|
|
@@ -72,60 +78,74 @@
|
|
|
72
78
|
- **fire**: BurnThrough, FlameWipe
|
|
73
79
|
- **flare**: LensFlare, LightStreaks
|
|
74
80
|
- **flicker**: GlitchFlicker, Hologram
|
|
81
|
+
- **foam**: ShoreWash, WaveWipe
|
|
75
82
|
- **fragments**: Puzzle, Shatter
|
|
76
|
-
- **
|
|
83
|
+
- **geometric**: GeometricCollage, HingedSquares
|
|
77
84
|
- **graphic**: MoireWipe, TruchetWipe
|
|
78
85
|
- **hexagon**: Hexagonalize, Honeycomb
|
|
79
86
|
- **kaleidoscope**: Kaleidoscope, PowerKaleido
|
|
80
|
-
- **liquid**: GooeyWipe, LiquidFill
|
|
81
87
|
- **luma**: LumaWipe, LuminanceMelt
|
|
82
88
|
- **melt**: DoomMelt, LuminanceMelt
|
|
89
|
+
- **mosaic**: Mosaic, Shockwave
|
|
90
|
+
- **motion-graphics**: CircleBurst, ColorPanelWipe
|
|
83
91
|
- **page**: BookFlip, InvertedPageCurl
|
|
84
92
|
- **paint**: BrushWipe, SplatterWipe
|
|
85
|
-
- **panels**: ColorPanelWipe, ComicPanels
|
|
86
93
|
- **photo**: PhotoDevelop, Snapshot
|
|
87
94
|
- **psychedelic**: ColorWrap, CrazyParametricFun
|
|
88
|
-
- **rings**: MoireWipe, RingsWipe
|
|
89
95
|
- **ripple**: Ripple, WaterDrop
|
|
90
96
|
- **scale**: PopIn, Snapshot
|
|
91
97
|
- **shatter**: Shatter, Vortex
|
|
92
98
|
- **slices**: Shred, WindowSlices
|
|
99
|
+
- **smoke**: SmokeDissolve, Vaporize
|
|
100
|
+
- **space**: GravityLens, WarpSpeed
|
|
93
101
|
- **sparkle**: GlintDissolve, GlitterDissolve
|
|
94
102
|
- **spiral**: SpiralBlockWipe, Vortex
|
|
103
|
+
- **strobe**: EchoSlide, LightningFlash
|
|
95
104
|
- **swirl**: Revolve, Swirl
|
|
105
|
+
- **text**: Ascii, CodeRain
|
|
96
106
|
- **voronoi**: CellDissolve, FacetedGlass
|
|
97
107
|
- **zigzag**: SawtoothWipe, SnakeBlockWipe
|
|
98
108
|
- **arrow**: ArrowWipe
|
|
109
|
+
- **beach**: ShoreWash
|
|
99
110
|
- **blinds**: WindowBlinds
|
|
100
111
|
- **blink**: EyeBlink
|
|
101
112
|
- **blob**: GooeyWipe
|
|
102
113
|
- **bloom**: BloomDissolve
|
|
103
114
|
- **bokeh**: BokehDissolve
|
|
104
115
|
- **brush**: BrushWipe
|
|
105
|
-
- **
|
|
116
|
+
- **burst**: CircleBurst
|
|
106
117
|
- **cards**: StereoViewer
|
|
118
|
+
- **cascade**: Shockwave
|
|
107
119
|
- **cells**: CellDissolve
|
|
108
120
|
- **chevron**: ArrowWipe
|
|
121
|
+
- **choppy**: StopMotion
|
|
109
122
|
- **chromatic-aberration**: Refraction
|
|
123
|
+
- **cinematic**: Shockwave
|
|
124
|
+
- **circular**: GravityLens
|
|
125
|
+
- **collage**: GeometricCollage
|
|
110
126
|
- **columns**: DoomMelt
|
|
111
127
|
- **comic**: ComicPanels
|
|
112
128
|
- **cross**: PlusWipe
|
|
113
129
|
- **crystal**: FrostWipe
|
|
114
130
|
- **curl**: InvertedPageCurl
|
|
115
131
|
- **curve**: CurvedWipe
|
|
132
|
+
- **cutout**: StopMotion
|
|
133
|
+
- **dark**: GravityLens
|
|
116
134
|
- **datamosh**: StripDatamoshGlitch
|
|
117
|
-
- **
|
|
135
|
+
- **diagonal**: Shockwave
|
|
118
136
|
- **doors**: Doorway
|
|
119
137
|
- **drawing**: SketchDissolve
|
|
120
138
|
- **duotone**: DuotoneFade
|
|
121
139
|
- **dust**: Disintegrate
|
|
140
|
+
- **echo**: EchoSlide
|
|
141
|
+
- **explode**: Reassemble
|
|
122
142
|
- **eye**: EyeBlink
|
|
123
143
|
- **fabric**: Drape
|
|
124
144
|
- **facets**: FacetedGlass
|
|
125
145
|
- **fall**: Snapshot
|
|
126
146
|
- **flame**: FlameWipe
|
|
127
147
|
- **fluid**: InkBleed
|
|
128
|
-
- **
|
|
148
|
+
- **focus**: ProjectorThrow
|
|
129
149
|
- **fog**: SmokeDissolve
|
|
130
150
|
- **frost**: FrostWipe
|
|
131
151
|
- **gallery**: Gallery
|
|
@@ -143,53 +163,64 @@
|
|
|
143
163
|
- **interference**: MoireWipe
|
|
144
164
|
- **interleave**: BandWipe
|
|
145
165
|
- **keyhole**: KeyholeWipe
|
|
166
|
+
- **keystone**: ProjectorThrow
|
|
167
|
+
- **layout**: LayoutGrid
|
|
146
168
|
- **light-leak**: FilmBurn
|
|
147
169
|
- **lines**: Crosshatch
|
|
148
170
|
- **luminance**: DuotoneFade
|
|
171
|
+
- **magazine**: LayoutGrid
|
|
149
172
|
- **mask**: LumaWipe
|
|
173
|
+
- **metal**: ShutterWipe
|
|
150
174
|
- **moire**: MoireWipe
|
|
151
175
|
- **morph**: Morph
|
|
152
|
-
- **mosaic**: Mosaic
|
|
153
176
|
- **motion**: LissajousTiles
|
|
154
|
-
- **
|
|
177
|
+
- **neon**: Shockwave
|
|
155
178
|
- **ocean**: WaveWipe
|
|
156
179
|
- **particles**: Disintegrate
|
|
157
180
|
- **paths**: TruchetWipe
|
|
158
181
|
- **pencil**: SketchDissolve
|
|
159
182
|
- **pinwheel**: Pinwheel
|
|
183
|
+
- **pixel**: Shockwave
|
|
160
184
|
- **plasma**: PlasmaDissolve
|
|
161
185
|
- **plus**: PlusWipe
|
|
162
186
|
- **polar**: FlowerWipe
|
|
163
187
|
- **pop**: PopIn
|
|
164
188
|
- **poster**: DuotoneFade
|
|
165
189
|
- **print**: DuotoneFade
|
|
190
|
+
- **prism**: Shockwave
|
|
191
|
+
- **projection**: ProjectorThrow
|
|
192
|
+
- **projector**: ProjectorThrow
|
|
193
|
+
- **rain**: CodeRain
|
|
166
194
|
- **random**: CellDissolve
|
|
167
195
|
- **rays**: LightRays
|
|
168
196
|
- **rotation**: Vortex
|
|
169
197
|
- **sci-fi**: Hologram
|
|
170
198
|
- **shake**: CameraShake
|
|
199
|
+
- **shapes**: GeometricCollage
|
|
200
|
+
- **shards**: Reassemble
|
|
201
|
+
- **shear**: HorizontalHold
|
|
171
202
|
- **shimmer**: HeatHaze
|
|
172
203
|
- **shrink**: Crumple
|
|
204
|
+
- **shutter**: ShutterWipe
|
|
173
205
|
- **sketch**: SketchDissolve
|
|
174
206
|
- **slanted**: ColorPanelWipe
|
|
175
207
|
- **smear**: PixelStretch
|
|
176
|
-
- **smoke**: SmokeDissolve
|
|
177
|
-
- **space**: WarpSpeed
|
|
178
208
|
- **sphere**: Sphere
|
|
179
209
|
- **splash**: SplatterWipe
|
|
210
|
+
- **spotlight**: SpotlightWipe
|
|
180
211
|
- **squash**: StretchSlide
|
|
181
212
|
- **squeeze**: Squeeze
|
|
182
213
|
- **stack**: CardSwipe
|
|
214
|
+
- **stage**: SpotlightWipe
|
|
183
215
|
- **star**: StarWipe
|
|
216
|
+
- **stop-motion**: StopMotion
|
|
184
217
|
- **streak**: LensFlare
|
|
185
218
|
- **streaks**: PixelStretch
|
|
186
219
|
- **stretch**: StretchSlide
|
|
187
|
-
- **strobe**: LightningFlash
|
|
188
220
|
- **swap**: Swap
|
|
189
221
|
- **swing**: Clothesline
|
|
190
222
|
- **swipe**: CardSwipe
|
|
191
223
|
- **tape**: VhsTracking
|
|
192
|
-
- **text**: Ascii
|
|
193
224
|
- **truchet**: TruchetWipe
|
|
194
225
|
- **weather**: LightningFlash
|
|
195
226
|
- **wedge**: WedgeWipe
|
|
@@ -217,13 +248,16 @@
|
|
|
217
248
|
- `BurnThrough`: The outgoing image burns away in noisy, glowing patches. Params: burnColor (vec3 = vec3(1, 0.5, 0))
|
|
218
249
|
- `ButterflyWaveScrawler`: Wavy, color-separated ripples scramble the outgoing image into the incoming one. Params: amplitude (float = 1), waves (float = 30), colorSeparation (float = 0.3)
|
|
219
250
|
- `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)
|
|
251
|
+
- `CardDeal`: The incoming image is dealt onto the frame like a hand of cards: tile after tile is flicked from below the frame, spinning through the air with a lifting shadow, and slides to a stop in its place until the picture is complete. Params: grid (ivec2 = ivec2(4, 3)), deck (vec2 = vec2(0.5, -0.4)), spin (float = 0.6), shadow (float = 0.5)
|
|
220
252
|
- `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))
|
|
221
253
|
- `CellDissolve`: Irregular cells, like cracked mud or soap foam, switch to the incoming image one by one, with an optional bright border glowing along the cracks between them. Params: cells (float = 8), smoothness (float = 0.1), border (float = 0.006), borderColor (vec4 = vec4(1, 0.95, 0.8, 1)), seed (float = 0)
|
|
222
254
|
- `Chessboard`: A chessboard pattern of squares reveals the incoming image. Params: grid_num (float = 10)
|
|
255
|
+
- `CircleBurst`: Discs of three solid colors burst out of a point one after another, each covering the last, then a hole bursts open from the same point in the last one to reveal the incoming image. Params: center (vec2 = vec2(0.5, 0.5)), color1 (vec4 = vec4(0.99, 0.79, 0.29, 1)), color2 (vec4 = vec4(0.95, 0.38, 0.33, 1)), color3 (vec4 = vec4(0.13, 0.15, 0.3, 1)), stagger (float = 0.3)
|
|
223
256
|
- `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))
|
|
224
257
|
- `CircleOpen`: A soft-edged circle opens from the center to reveal the incoming image. Params: smoothness (float = 0.3), opening (bool = true)
|
|
225
258
|
- `ClockWipe`: A wipe that sweeps around the center from a starting angle. Params: startingAngle (float = 90)
|
|
226
259
|
- `Clothesline`: The camera pulls back to show the outgoing image as a print hung by two clothespins on a line in front of a wall, the line is pulled sideways and carries it away while the incoming print slides in, both prints swinging and tilting like hanging paper, then the camera moves back in on the incoming print until it fills the frame. Params: direction (float = 1), sway (float = 0.5), size (float = 0.72), background (vec4 = vec4(0.86, 0.84, 0.8, 1)), lineColor (vec4 = vec4(0.42, 0.34, 0.26, 1)), pinColor (vec4 = vec4(0.84, 0.68, 0.47, 1))
|
|
260
|
+
- `CodeRain`: The outgoing image darkens into a grid of flickering code characters tinted by its colors, then glowing streams of characters fall down the columns at their own speeds, each with a bright head and a fading tail, leaving the incoming image behind. Params: cellSize (float = 0.045), trail (float = 0.5), tint (float = 0.5), glow (vec4 = vec4(0.2, 1, 0.4, 1))
|
|
227
261
|
- `ColorCoords`: A crossfade in which the colors of one image displace the other
|
|
228
262
|
- `ColorDistance`: Pixels switch to the incoming image in order of how close their colors are. Params: power (float = 5)
|
|
229
263
|
- `ColorPanelWipe`: Solid color panels, slightly staggered, sweep across and cover the frame, then sweep off the far side and reveal the incoming image. Params: direction (vec2 = vec2(1, 0)), panels (int = 3), color1 (vec4 = vec4(0.98, 0.76, 0.22, 1)), color2 (vec4 = vec4(0.93, 0.33, 0.36, 1)), color3 (vec4 = vec4(0.16, 0.2, 0.42, 1)), stagger (float = 0.35), skew (float = 0.25)
|
|
@@ -237,6 +271,7 @@
|
|
|
237
271
|
- `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)
|
|
238
272
|
- `Crumple`: The outgoing image crumples into a creased paper ball, shaded along its folds, which is then tossed away to reveal the incoming image. Params: creases (int = 16), size (float = 0.2), direction (vec2 = vec2(1, 0.4)), paper (vec4 = vec4(0.96, 0.95, 0.91, 1)), shadow (vec4 = vec4(0, 0, 0, 0.45))
|
|
239
273
|
- `Cube`: The two images are faces of a box that turns a quarter turn in perspective, the outgoing face darkening as it turns away, above a reflective floor. Params: persp (float = 0.7), unzoom (float = 0.3), reflection (float = 0.4), floating (float = 3), shading (float = 0.5)
|
|
274
|
+
- `CurtainRise`: The outgoing image rises like a theater festoon curtain: cords lift its hem into scalloped swags while the fabric gathers into shaded ruffles, and it is drawn up out of the frame over the incoming image. Params: swags (float = 3), sag (float = 0.14), ruffles (float = 14), shading (float = 0.7)
|
|
240
275
|
- `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)
|
|
241
276
|
- `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))
|
|
242
277
|
- `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)
|
|
@@ -257,6 +292,7 @@
|
|
|
257
292
|
- `Dreamy`: A crossfade with a gentle wavy distortion
|
|
258
293
|
- `DreamyZoom`: Zooms and rotates into a bright flash, then out to the incoming image. Params: rotation (float = 6), scale (float = 1.2)
|
|
259
294
|
- `DuotoneFade`: The outgoing image is printed in two inks, shadows first, as a bold high-contrast duotone; the incoming image is printed over it in the same two inks, its dark tones landing before its highlights, then its own colors come back, highlights first. Params: shadowInk (vec4 = vec4(0.11, 0.09, 0.46, 1)), highlightInk (vec4 = vec4(1, 0.45, 0.62, 1)), contrast (float = 0.6), grain (float = 0.4)
|
|
295
|
+
- `EchoSlide`: The outgoing image slides away leaving a trail of discrete fading copies of itself, a stroboscopic echo, and the incoming image's echoes converge into place. Params: direction (vec2 = vec2(1, 0)), echoes (int = 4), trail (float = 0.25), decay (float = 0.5)
|
|
260
296
|
- `EdgeGlow`: Both images fade through black with their edges glowing. Params: edge_thickness (float = 0.001), edge_brightness (float = 8)
|
|
261
297
|
- `EyeBlink`: Curved eyelids close from the top and bottom over the outgoing image, which blurs and dims, then open on the incoming image as it comes back into focus, as if the viewer blinked. Params: blur (float = 0.5), softness (float = 0.12), blinks (int = 1), color (vec4 = vec4(0.03, 0.02, 0.02, 1))
|
|
262
298
|
- `FacetedGlass`: The frame is seen through a pane of irregular cut-glass facets, each one showing its own shifted, zoomed and tilted view of the image, with bright beveled edges and thin dark seams; the facets turn to the incoming image one by one, then the glass flattens out and clears. Params: facets (float = 5), refraction (float = 0.1), bevel (float = 0.6), highlight (vec4 = vec4(1, 0.98, 0.92, 1)), seed (float = 0)
|
|
@@ -276,6 +312,7 @@
|
|
|
276
312
|
- `FrostWipe`: Ice crystals grow in from the edges of the frame with feathery, branching fronts, frosting the outgoing image white and blurry until it is covered, then thaw back out to the edges on the incoming image. Params: spread (float = 0.5), scale (float = 5), blur (float = 0.5), color (vec4 = vec4(0.86, 0.93, 1, 1))
|
|
277
313
|
- `Funnel`: The outgoing image narrows into a curved funnel toward a point on the bottom edge and slides into it, its sides bending like a window minimized into a dock, revealing the incoming image behind it. Params: target (float = 0.7), curvature (float = 0.8), shadow (float = 0.5)
|
|
278
314
|
- `Gallery`: The camera pulls back from the outgoing image to show it as a slide hanging in a row on a wall in perspective, the row glides along as each slide turns away from the center, and the camera moves back in on the incoming slide until it fills the frame. Params: direction (float = 1), tilt (float = 0.6), gap (float = 0.15), zoom (float = 2), reflection (float = 0.3), background (vec4 = vec4(0.07, 0.07, 0.08, 1))
|
|
315
|
+
- `GeometricCollage`: The incoming image arrives cut into a geometric poster of quarter discs, half discs, triangles and their complements: piece after piece swings in around a corner of its cell, a flat plate of color just ahead of it, and lands flat with a soft paper shadow. Params: cells (int = 2), stagger (float = 1), plates (bool = true), color1 (vec4 = vec4(0.89, 0.22, 0.17, 1)), color2 (vec4 = vec4(0.97, 0.77, 0.15, 1)), color3 (vec4 = vec4(0.14, 0.32, 0.66, 1)), shadow (float = 0.6)
|
|
279
316
|
- `GlintDissolve`: The bright points of the outgoing image sparkle into crisp four-point star glints that swell and twinkle up to the cut, then shrink back into the highlights of the incoming image, which stays sharp. Params: size (float = 0.15), threshold (float = 0.6), intensity (float = 2), diagonals (bool = false), rotation (float = 0), rainbow (float = 0.35), tint (vec3 = vec3(1, 0.95, 0.85))
|
|
280
317
|
- `GlitchBands`: A crossfade with glitchy horizontal bands and color shifts. Params: ampx (float = 1), ampy (float = 1)
|
|
281
318
|
- `GlitchDisplace`: Blocks of the image are displaced in a glitch that flashes into the incoming image
|
|
@@ -284,14 +321,17 @@
|
|
|
284
321
|
- `GlitterDissolve`: The image becomes a shimmering field of tiny diamond sequins that flip over in 3D at random moments, each lifting and tilting on its own axis and flashing a glint of light, and land on the incoming image. Params: tiles (float = 20), hexagons (bool = false), sparkle (float = 1), glint (vec3 = vec3(1, 0.97, 0.9)), seed (float = 0), backColor (vec4 = vec4(0.04, 0.04, 0.05, 1))
|
|
285
322
|
- `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)
|
|
286
323
|
- `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))
|
|
324
|
+
- `GravityLens`: A black disk appears and grows, bending the outgoing image around it like a heavy mass bends light: the image is stretched into a bright ring at the disk's edge and swallowed until the frame is black, then the disk shrinks back, unbending the incoming image. Params: center (vec2 = vec2(0.5, 0.5)), strength (float = 0.6), glow (float = 0.6), hole (vec4 = vec4(0, 0, 0, 1))
|
|
287
325
|
- `GridFlip`: The image splits into a grid of cards that lift apart and turn over in perspective one after another, each one showing its part of the incoming image on its back. 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)
|
|
288
326
|
- `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))
|
|
289
327
|
- `HeartWipe`: A heart grows from the center with a little heartbeat to reveal the incoming image. Params: center (vec2 = vec2(0.5, 0.5)), smoothness (float = 0.006), pulse (float = 0.5), glowColor (vec3 = vec3(1, 0.85, 0.9)), glow (float = 0.3)
|
|
290
328
|
- `HeatHaze`: Shimmering heat waves rise through the frame, strongest at the bottom, making the outgoing image wobble like the air over hot asphalt; the incoming image shows through the haze and settles as it calms. Params: strength (float = 0.04), scale (float = 6), speed (float = 2)
|
|
291
329
|
- `Hexagonalize`: Both images turn into hexagons, crossfade, then sharpen again. Params: steps (int = 50), horizontalHexagons (float = 20)
|
|
330
|
+
- `HingedSquares`: The image is cut into squares that turn in alternate directions while staying hinged at their corners, so the sheet opens into a checkerboard of diamonds showing the incoming image; those diamonds then turn back into place and close the sheet. Params: cells (int = 5), shading (float = 0.6), zoom (float = 0.5)
|
|
292
331
|
- `Hologram`: The outgoing image turns into a flickering hologram (blue by default) with scanlines and jittering rows, breaks up, and the hologram resolves into the incoming image in full color. Params: tint (vec3 = vec3(0.2, 0.75, 1)), background (vec4 = vec4(0, 0.02, 0.05, 1)), scanlines (float = 150), jitter (float = 0.04), flicker (float = 0.6)
|
|
293
332
|
- `Honeycomb`: The image splits into hexagons that spin and shrink away in a wave from the center, uncovering the incoming image. Params: size (float = 6)
|
|
294
333
|
- `HorizontalClose`: The incoming image closes in from the top and bottom edges toward the middle
|
|
334
|
+
- `HorizontalHold`: The picture loses its horizontal hold like an old TV: it shears into diagonal bands that slide sideways and wrap around, separated by a slanted blanking bar that carries the incoming image in, then the shear straightens, wobbles and locks. Params: slips (int = 3), shear (float = 1.25), barWidth (float = 0.14), barColor (vec4 = vec4(0.02, 0.02, 0.03, 1))
|
|
295
335
|
- `HorizontalOpen`: The incoming image opens from a line in the middle toward the top and bottom edges
|
|
296
336
|
- `HsvFade`: A crossfade through the HSV color space that cycles through hues
|
|
297
337
|
- `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)
|
|
@@ -300,6 +340,7 @@
|
|
|
300
340
|
- `InvertedPageCurl`: The outgoing image curls away like a page, revealing the incoming one
|
|
301
341
|
- `Kaleidoscope`: A crossfade through a spinning kaleidoscope. Params: speed (float = 1), angle (float = 1), power (float = 1.5)
|
|
302
342
|
- `KeyholeWipe`: A keyhole grows steadily from the center until the incoming image fills the frame, its bevelled rim and inner shadow making it read as a hole cut in a plate. Params: center (vec2 = vec2(0.5, 0.5)), rim (float = 0.6), smoothness (float = 0.002)
|
|
343
|
+
- `LayoutGrid`: The frame splits into an asymmetric magazine grid as paper gutters open between the panels; panel after panel in reading order, the incoming image pushes the outgoing one out of its panel from a different side, a colored accent band between them, then the gutters close over the full incoming image. Params: gutter (float = 0.04), overlap (float = 0.55), band (float = 0.22), shadow (float = 0.4), paper (vec4 = vec4(0.96, 0.95, 0.91, 1)), accent (vec4 = vec4(0.93, 0.27, 0.2, 1))
|
|
303
344
|
- `LeafWipe`: A leaf shape grows from the center to reveal the incoming image
|
|
304
345
|
- `LedWall`: The picture zooms into a giant LED screen of round glowing diodes on a dark panel; a refresh wave sweeps across it, each diode flicking with a bright pop as it switches to the incoming image, then the diodes melt back into the plain picture. Params: cells (float = 24), glow (float = 0.6), flash (float = 0.7), zoom (float = 0.15), triads (bool = false), direction (vec2 = vec2(1, 0)), panel (vec4 = vec4(0.02, 0.02, 0.025, 1))
|
|
305
346
|
- `LeftRight`: The outgoing image shrinks away to the left while the incoming one slides in from the right
|
|
@@ -331,15 +372,18 @@
|
|
|
331
372
|
- `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)
|
|
332
373
|
- `PowerKaleido`: The image folds into an animated kaleidoscope before revealing the incoming one. Params: scale (float = 2), z (float = 1.5), speed (float = 5)
|
|
333
374
|
- `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))
|
|
375
|
+
- `ProjectorThrow`: The lights go down on the outgoing image and a projector throws the incoming one onto it: a small, blurred, keystoned picture of light lands on the scene, tinted by the colors it falls on, then grows, comes into focus and squares up until it fills the frame as the scene beneath it fades away. Params: darkness (float = 0.8), keystone (float = 0.45), blur (float = 0.015)
|
|
334
376
|
- `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)
|
|
335
377
|
- `PuzzleCube`: The frame becomes the face of a twisty cube puzzle: dark gaps open between its cubies, then whole columns and rows of cubies turn a quarter turn around the cube one after another in 3D, each bringing the incoming image from the cube's side to the front, until the gaps close on the incoming image. Params: size (int = 3), gap (float = 0.012), shading (float = 0.6), background (vec4 = vec4(0.04, 0.04, 0.05, 1))
|
|
336
378
|
- `RadialWipe`: A radial wipe that sweeps around the center like a clock hand. Params: smoothness (float = 1)
|
|
337
379
|
- `RandomSquares`: The incoming image appears in random squares. Params: size (ivec2 = ivec2(10, 10)), smoothness (float = 0.5)
|
|
380
|
+
- `Reassemble`: The outgoing image cracks into irregular shards that burst apart toward the viewer, each one turning over in 3D at its own moment, then fly back together and lock into place as the incoming image carried on their backs. Params: rows (int = 4), depth (float = 0.8), spread (float = 0.05), backColor (vec4 = vec4(0.04, 0.04, 0.05, 1))
|
|
338
381
|
- `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))
|
|
339
382
|
- `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))
|
|
340
383
|
- `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)
|
|
341
384
|
- `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)
|
|
342
385
|
- `RibbonTwist`: The image twists like a ribbon around its horizontal center line, the twist travelling smoothly across its width, the outgoing image on its front and the incoming one on its back. Params: spread (float = 0.8), perspective (float = 0.4), shading (float = 0.6), vertical (bool = false), backColor (vec4 = vec4(0, 0, 0, 1))
|
|
386
|
+
- `RingSpin`: The frame is cut into concentric rings that spin like the dials of a combination lock, in alternating directions and blurred with speed, one after another from the center outward; each ring overshoots a little and locks into place on the incoming image. Params: rings (int = 6), square (bool = false), turns (int = 1), stagger (float = 0.5), blur (float = 0.6), settle (float = 0.5)
|
|
343
387
|
- `RingsWipe`: Concentric rings ripple out from the center and, one after another, each sweeps around like a clock hand in the opposite direction of its neighbors to reveal the incoming image, or fills across its width, with optional colored borders between the rings. Params: count (int = 6), center (vec2 = vec2(0.5, 0.5)), stagger (float = 0.5), radial (bool = false), borderWidth (float = 0.008), borderColor (vec4 = vec4(1, 1, 1, 1)), smoothness (float = 0.004)
|
|
344
388
|
- `Ripple`: Ripples spread from the center while crossfading. Params: amplitude (float = 100), speed (float = 50)
|
|
345
389
|
- `Rolls`: The outgoing image rolls away around a corner, revealing the incoming one. Params: type (int = 0), RotDown (bool = false)
|
|
@@ -347,7 +391,10 @@
|
|
|
347
391
|
- `RotateScaleVanish`: The outgoing image spins and shrinks away over the incoming one. Params: FadeInSecond (bool = true), ReverseEffect (bool = false), ReverseRotation (bool = false)
|
|
348
392
|
- `SawtoothWipe`: A wipe whose edge is a row of sharp, regular triangular teeth sweeps across the frame, or two toothed edges that start interlocked part from the middle like jaws opening. Params: direction (vec2 = vec2(1, 0)), teeth (int = 8), depth (float = 1), jaws (bool = false), smoothness (float = 0.004)
|
|
349
393
|
- `Shatter`: The outgoing image cracks like a pane of glass from an impact point, then its shards break loose from the impact outward, tumbling in 3D and falling away with gravity to reveal the incoming image behind. Params: center (vec2 = vec2(0.5, 0.5)), shards (float = 6), gravity (float = 1), seed (float = 0)
|
|
394
|
+
- `Shockwave`: A diagonal shockwave breaks the outgoing image into tiny falling glass tiles. Each tile slips away with a brief chromatic split and neon edge glow, revealing the incoming image beneath it.. Params: tileSize (float = 0.035), scatter (float = 0.85), diagonal (float = 0.9), prism (float = 0.65), glow (float = 0.75)
|
|
395
|
+
- `ShoreWash`: A thin sheet of water runs up over the outgoing image like the last of a wave on a beach, its lobed front edged with bubbly foam; it slows, stops just past the far edge and drains back, leaving the incoming image wet and glossy as it dries. Params: direction (vec2 = vec2(0, 1)), foam (float = 0.7), refraction (float = 0.02), water (vec4 = vec4(0.1, 0.6, 0.62, 0.4))
|
|
350
396
|
- `Shred`: The outgoing image is cut into paper strips that drop away at uneven speeds, tilting as they fall, revealing the incoming image. Params: strips (int = 20), stagger (float = 0.4), tilt (float = 0.1), shadow (float = 0.5)
|
|
397
|
+
- `ShutterWipe`: A camera's focal-plane shutter fires across the frame, seen through the camera's gate: thin metal blades fan down from a tight stack above it until they overlap over the whole frame, then keep running down and stack below it, uncovering the incoming image from the top. Params: blades (int = 5), tilt (float = 0.06), gate (float = 0.035), color (vec4 = vec4(0.09, 0.09, 0.1, 1))
|
|
351
398
|
- `SimpleFlip`: The outgoing image flips around the vertical axis into the incoming one
|
|
352
399
|
- `SimpleZoom`: Zooms into the outgoing image, then fades to the incoming one. Params: zoom_quickness (float = 0.8)
|
|
353
400
|
- `SimpleZoomOut`: The incoming image zooms out into place while fading in. Params: zoom_quickness (float = 0.8), fade (bool = true)
|
|
@@ -369,12 +416,14 @@
|
|
|
369
416
|
- `SplitSlideInVertical`: The incoming image slides in as two halves moving vertically in opposite directions. Params: reverse (bool = false)
|
|
370
417
|
- `SplitSlideOutHorizontal`: The outgoing image slides out as two halves moving horizontally in opposite directions. Params: reverse (bool = false)
|
|
371
418
|
- `SplitSlideOutVertical`: The outgoing image slides out as two halves moving vertically in opposite directions. Params: reverse (bool = false)
|
|
419
|
+
- `SpotlightWipe`: The stage lights go down on the outgoing image and a soft oval spotlight searches across it along a curved path, comes to rest and lights the incoming image inside it, then widens until the stage lights come back up on the incoming image. Params: center (vec2 = vec2(0.5, 0.5)), size (float = 0.3), darkness (float = 0.85), warmth (vec3 = vec3(1, 0.93, 0.8))
|
|
372
420
|
- `SquaresWipe`: Squares grow along a diagonal sweep to reveal the incoming image. Params: squares (ivec2 = ivec2(10, 10)), direction (vec2 = vec2(1, -0.5)), smoothness (float = 1.6)
|
|
373
421
|
- `Squeeze`: The outgoing image is squeezed into a line with color separation, revealing the incoming one. Params: colorSeparation (float = 0.04)
|
|
374
422
|
- `StarWipe`: A growing star reveals the incoming image. Params: border_thickness (float = 0.01), star_rotation (float = 0.75), border_color (vec4 = vec4(1, 1, 1, 1)), star_center (vec2 = vec2(0.5, 0.5))
|
|
375
423
|
- `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)
|
|
376
424
|
- `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)
|
|
377
425
|
- `StereoViewer`: Both images shrink into rounded cards that swap, like a stereo viewer toy. Params: zoom (float = 0.88), corner_radius (float = 0.22)
|
|
426
|
+
- `StopMotion`: The outgoing image is a paper cutout that jerks off the frame in choppy stop-motion steps, with a tiny new tilt and offset each step and a drop shadow, while the incoming cutout jerks in the same way and lands. Params: steps (int = 12), jitter (float = 0.5), shadow (float = 0.5), backColor (vec4 = vec4(0.8, 0.71, 0.56, 1)), rimColor (vec4 = vec4(0.97, 0.96, 0.93, 1))
|
|
378
427
|
- `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)
|
|
379
428
|
- `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)
|
|
380
429
|
- `Swap`: The two images swap places in 3D, with a floor reflection. Params: reflection (float = 0.4), perspective (float = 0.2), depth (float = 3)
|
|
@@ -390,6 +439,7 @@
|
|
|
390
439
|
- `TvStatic`: Cuts to full-screen TV static, then to the incoming image. Params: offset (float = 0.05)
|
|
391
440
|
- `TvTurnOff`: The outgoing image collapses into a glowing line and a dot, like an old TV turned off, then the incoming image powers on from the dot. Params: color (vec4 = vec4(0, 0, 0, 1)), glow (float = 1)
|
|
392
441
|
- `UndulatingBurnOut`: A circle with a wavy edge burns out from the center to reveal the incoming image. Params: smoothness (float = 0.03), center (vec2 = vec2(0.5, 0.5)), color (vec4 = vec4(0, 0, 0, 1))
|
|
442
|
+
- `Vaporize`: The outgoing image goes up in smoke: from one side, the picture itself turns to vapour that rises over what is still intact, curls into wisps and pales as it thins out, revealing the incoming image underneath. Params: direction (vec2 = vec2(0, 1)), rise (float = 0.4), swirl (float = 0.6), color (vec4 = vec4(0.92, 0.92, 0.94, 1))
|
|
393
443
|
- `VerticalClose`: The incoming image closes in from the left and right edges toward the middle
|
|
394
444
|
- `VerticalOpen`: The incoming image opens from a line in the middle toward the left and right edges
|
|
395
445
|
- `VhsTracking`: Tape-tracking bands of white snow roll down the frame, tearing the lines around them, with smeared color, wobbling lines, a jittering strip at the bottom and a dropout flash, as the incoming image is recorded over the outgoing one under the densest band. Params: bands (int = 3), noise (float = 0.6), bleed (float = 0.5), wobble (float = 0.5)
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
// CardDeal — generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/CardDeal.glsl
|
|
2
|
+
// Author: gre
|
|
3
|
+
// License: MIT
|
|
4
|
+
// Description: The incoming image is dealt onto the frame like a hand of cards: tile after tile is flicked from below the frame, spinning through the air with a lifting shadow, and slides to a stop in its place until the picture is complete
|
|
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 ivec2 grid;
|
|
16
|
+
|
|
17
|
+
uniform vec2 deck;
|
|
18
|
+
|
|
19
|
+
uniform float spin;
|
|
20
|
+
|
|
21
|
+
uniform float shadow;
|
|
22
|
+
|
|
23
|
+
const float PI = 3.141592653589793;
|
|
24
|
+
const int MAX_CARDS = 36;
|
|
25
|
+
|
|
26
|
+
const float DEAL = 0.16;
|
|
27
|
+
|
|
28
|
+
const float TOUCH = 0.55;
|
|
29
|
+
|
|
30
|
+
const float THROW = 2.2;
|
|
31
|
+
|
|
32
|
+
const float SLIDE = 0.35;
|
|
33
|
+
|
|
34
|
+
const float LIFT = 0.45;
|
|
35
|
+
const float EYE = 2.4;
|
|
36
|
+
|
|
37
|
+
const float EDGE = 0.0015;
|
|
38
|
+
|
|
39
|
+
float hash(float n) {
|
|
40
|
+
vec2 p = fract(vec2(n) * vec2(0.1031, 0.1030));
|
|
41
|
+
p += dot(p, p.yx + 33.33);
|
|
42
|
+
return fract((p.x + p.y) * p.x);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
vec2 gridSize() {
|
|
46
|
+
return clamp(vec2(grid), 1.0, 6.0);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
float cardTime(float j, float n) {
|
|
50
|
+
|
|
51
|
+
float flight = 1.0 / (1.0 + (n - 1.0) * DEAL);
|
|
52
|
+
return clamp((progress - j * DEAL * flight) / flight, 0.0, 1.0);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
vec2 cardCell(float j, vec2 g) {
|
|
56
|
+
float row = floor(j / g.x);
|
|
57
|
+
return vec2(j - row * g.x, g.y - 1.0 - row);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
float cardDist(vec2 q, vec2 size) {
|
|
61
|
+
vec2 e = min(q, 1.0 - q) * size;
|
|
62
|
+
return min(e.x, e.y);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
vec4 transition(vec2 uv) {
|
|
66
|
+
if (progress <= 0.0) return getFromColor(uv);
|
|
67
|
+
if (progress >= 1.0) return getToColor(uv);
|
|
68
|
+
|
|
69
|
+
vec2 g = gridSize();
|
|
70
|
+
float n = g.x * g.y;
|
|
71
|
+
vec2 asp = vec2(ratio, 1.0);
|
|
72
|
+
vec2 size = asp / g;
|
|
73
|
+
vec2 p = uv * asp;
|
|
74
|
+
vec2 origin = deck * asp;
|
|
75
|
+
float darkness = clamp(shadow, 0.0, 1.0);
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
vec2 own = min(floor(uv * g), g - 1.0);
|
|
79
|
+
float ownIndex = (g.y - 1.0 - own.y) * g.x + own.x;
|
|
80
|
+
vec4 col = cardTime(ownIndex, n) >= 1.0 ? getToColor(uv) : getFromColor(uv);
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
for (int i = 0; i < MAX_CARDS; i++) {
|
|
84
|
+
float j = float(i);
|
|
85
|
+
if (j >= n) break;
|
|
86
|
+
float u = cardTime(j, n);
|
|
87
|
+
if (u <= 0.0) break;
|
|
88
|
+
if (u >= 1.0) continue;
|
|
89
|
+
|
|
90
|
+
vec2 cell = cardCell(j, g);
|
|
91
|
+
vec2 target = (cell + 0.5) * size;
|
|
92
|
+
vec2 way = target - origin;
|
|
93
|
+
float len = max(length(way), 1e-3);
|
|
94
|
+
vec2 side = vec2(-way.y, way.x);
|
|
95
|
+
float r1 = hash(j + 1.0);
|
|
96
|
+
float r2 = hash(j + 60.0);
|
|
97
|
+
float turn = r2 < 0.5 ? -1.0 : 1.0;
|
|
98
|
+
|
|
99
|
+
float slide = min(SLIDE * size.y / len, 0.5);
|
|
100
|
+
|
|
101
|
+
float a = min(u / TOUCH, 1.0);
|
|
102
|
+
float s = clamp((u - TOUCH) / (1.0 - TOUCH), 0.0, 1.0);
|
|
103
|
+
|
|
104
|
+
float v1 = 2.0 * slide * TOUCH / ((1.0 - TOUCH) * (1.0 - slide));
|
|
105
|
+
float f = (3.0 - 2.0 * a) * a * a + THROW * (a * a * a - 2.0 * a * a + a) + v1 * (a * a * a - a * a);
|
|
106
|
+
float e = u < TOUCH ? (1.0 - slide) * f : 1.0 - slide * (1.0 - s) * (1.0 - s);
|
|
107
|
+
|
|
108
|
+
vec2 c = origin + way * e + side * turn * (0.05 + 0.05 * r1) * sin(PI * e);
|
|
109
|
+
|
|
110
|
+
float h = LIFT * (0.7 + 0.3 * r1) * sin(PI * a) * (1.0 - 0.35 * a);
|
|
111
|
+
float angle = turn * spin * (0.8 + 0.4 * r2) * 2.0 * PI * (1.0 - e);
|
|
112
|
+
|
|
113
|
+
float tilt = 0.45 * sin(PI * a) * cos(angle * 0.5 + 6.0 * r1);
|
|
114
|
+
|
|
115
|
+
float air = 1.0 - a * a;
|
|
116
|
+
float fade = smoothstep(0.0, 0.05, u);
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
vec2 sp = p - c - vec2(0.18, -0.3) * h - vec2(0.002, -0.003);
|
|
120
|
+
float ca = cos(angle), sa = sin(angle);
|
|
121
|
+
mat2 rot = mat2(ca, -sa, sa, ca);
|
|
122
|
+
vec2 sq = rot * sp / size + 0.5;
|
|
123
|
+
float soft = 0.006 + 0.08 * h;
|
|
124
|
+
float sh = smoothstep(-soft, soft, cardDist(sq, size));
|
|
125
|
+
|
|
126
|
+
float dark = mix(0.8 * (1.0 - s), 0.65 - 0.3 * h / LIFT, air);
|
|
127
|
+
col.rgb *= 1.0 - fade * darkness * dark * sh;
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
vec2 d = rot * (p - c) * (EYE - h) / EYE;
|
|
131
|
+
float ct = cos(tilt), st = sin(tilt);
|
|
132
|
+
|
|
133
|
+
float den = EYE * ct + d.y * st;
|
|
134
|
+
float k = den > 1e-3 ? EYE * ct / den : 1e3;
|
|
135
|
+
vec2 q = vec2(k * d.x, k * d.y * ct + EYE * (1.0 - k) * st) / size + 0.5;
|
|
136
|
+
|
|
137
|
+
float edge = EDGE * (1.0 + 2.0 * air) * min(10.0 * (1.0 - s), 1.0);
|
|
138
|
+
float m = fade * clamp(cardDist(q, size) / max(edge, 1e-6) + 0.5, 0.0, 1.0);
|
|
139
|
+
if (m > 0.0) {
|
|
140
|
+
vec4 face = getToColor((cell + clamp(q, 0.0, 1.0)) / g);
|
|
141
|
+
|
|
142
|
+
float light = 1.0 + 0.6 * st * (0.6 - 0.4 * turn * sin(angle));
|
|
143
|
+
|
|
144
|
+
float rim = 1.0 - smoothstep(0.0, 0.008, cardDist(q, size));
|
|
145
|
+
face.rgb = mix(min(face.rgb * light, vec3(face.a)), vec3(face.a), 0.45 * air * rim);
|
|
146
|
+
col = mix(col, face, m);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
return col;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
half4 main(float2 _coord) {
|
|
153
|
+
vec2 _uv = _coord / _resolution;
|
|
154
|
+
vec4 _c = clamp(transition(vec2(_uv.x, 1.0 - _uv.y)), 0.0, 1.0);
|
|
155
|
+
return half4(_c.rgb * _c.a, _c.a);
|
|
156
|
+
}
|