gl-transitions 1.76.1 → 2.1.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 +162 -0
- package/README.md +12 -6
- package/compatibility.json +525 -237
- package/gl-transitions.js +1 -1
- package/gl-transitions.json +1 -1
- package/glsl3/ApertureWipe.glsl +45 -0
- package/glsl3/Bounce.glsl +4 -3
- package/glsl3/BowTie.glsl +74 -0
- package/glsl3/BurnThrough.glsl +55 -0
- package/glsl3/ButterflyWaveScrawler.glsl +3 -2
- package/glsl3/Chessboard.glsl +28 -0
- package/glsl3/CircleIris.glsl +24 -0
- package/glsl3/CircleOpen.glsl +18 -0
- package/glsl3/ClockWipe.glsl +25 -0
- package/glsl3/ColorCoords.glsl +18 -0
- package/glsl3/ColorDistance.glsl +19 -0
- package/glsl3/ColorPhase.glsl +19 -0
- package/glsl3/ColorWrap.glsl +21 -0
- package/glsl3/Comb.glsl +26 -0
- package/glsl3/CrossWarp.glsl +10 -0
- package/glsl3/Crosshatch.glsl +20 -0
- package/glsl3/Cube.glsl +71 -0
- package/glsl3/Curtains.glsl +47 -0
- package/glsl3/DiamondWipe.glsl +21 -0
- package/glsl3/DirectionalEased.glsl +19 -0
- package/glsl3/DirectionalWarp.glsl +20 -0
- package/glsl3/DirectionalWipe.glsl +22 -0
- package/glsl3/DisplacementMap.glsl +26 -0
- package/glsl3/DitherDissolve.glsl +27 -0
- package/glsl3/DoomMelt.glsl +62 -0
- package/glsl3/Doorway.glsl +55 -0
- package/glsl3/DreamyZoom.glsl +2 -1
- package/glsl3/EdgeGlow.glsl +54 -0
- package/glsl3/Fade.glsl +13 -0
- package/glsl3/FadeColor.glsl +15 -0
- package/glsl3/FadeGrayscale.glsl +21 -0
- package/glsl3/FallOver.glsl +36 -0
- package/glsl3/Fisheye.glsl +23 -0
- package/glsl3/FlashFade.glsl +14 -0
- package/glsl3/FlowerWipe.glsl +24 -0
- package/glsl3/FlyEye.glsl +21 -0
- package/glsl3/GlitchBands.glsl +29 -0
- package/glsl3/GlitchDisplace.glsl +1 -2
- package/glsl3/GlitchFlicker.glsl +161 -0
- package/glsl3/GlitchMemories.glsl +2 -1
- package/glsl3/GlowDissolve.glsl +54 -0
- package/glsl3/Halftone.glsl +49 -0
- package/glsl3/HeartWipe.glsl +19 -0
- package/glsl3/Hexagonalize.glsl +78 -0
- package/glsl3/Honeycomb.glsl +55 -0
- package/glsl3/HsvFade.glsl +29 -0
- package/glsl3/InvertedPageCurl.glsl +3 -2
- package/glsl3/Kaleidoscope.glsl +25 -0
- package/glsl3/LeafWipe.glsl +18 -0
- package/glsl3/LeftRight.glsl +1 -1
- package/glsl3/LissajousTiles.glsl +40 -0
- package/glsl3/LumaWipe.glsl +15 -0
- package/glsl3/LuminanceMelt.glsl +131 -0
- package/glsl3/Morph.glsl +20 -0
- package/glsl3/MosaicBlend.glsl +21 -0
- package/glsl3/MosaicFade.glsl +20 -0
- package/glsl3/MultiplyBlend.glsl +19 -0
- package/glsl3/NoiseDissolve.glsl +15 -0
- package/glsl3/PaperTear.glsl +76 -0
- package/glsl3/PerlinDissolve.glsl +66 -0
- package/glsl3/Pinwheel.glsl +20 -0
- package/glsl3/Pixelize.glsl +21 -0
- package/glsl3/PowerKaleido.glsl +57 -0
- package/glsl3/Prisms.glsl +81 -0
- package/glsl3/Puzzle.glsl +124 -0
- package/glsl3/RadialWipe.glsl +19 -0
- package/glsl3/RandomSquares.glsl +20 -0
- package/glsl3/RectangleCover.glsl +29 -0
- package/glsl3/RectangleIris.glsl +30 -0
- package/glsl3/Revolve.glsl +98 -0
- package/glsl3/Ripple.glsl +20 -0
- package/glsl3/RotateFade.glsl +22 -0
- package/glsl3/RotateScaleFade.glsl +39 -0
- package/glsl3/RotateScaleVanish.glsl +1 -1
- package/glsl3/ScaleIn.glsl +18 -0
- package/glsl3/Shatter.glsl +54 -0
- package/glsl3/Shred.glsl +67 -0
- package/glsl3/SimpleFlip.glsl +2 -1
- package/glsl3/SlideAwayRight.glsl +21 -0
- package/glsl3/SpiralWipe.glsl +41 -0
- package/glsl3/SplitSlideInHorizontal.glsl +26 -0
- package/glsl3/SplitSlideInOutHorizontal.glsl +23 -0
- package/glsl3/SplitSlideInOutVertical.glsl +23 -0
- package/glsl3/SplitSlideInVertical.glsl +24 -0
- package/glsl3/SplitSlideOutHorizontal.glsl +22 -0
- package/glsl3/SplitSlideOutVertical.glsl +22 -0
- package/glsl3/SquaresWipe.glsl +26 -0
- package/glsl3/Squeeze.glsl +23 -0
- package/glsl3/StaticFade.glsl +3 -3
- package/glsl3/StaticWipe.glsl +39 -0
- package/glsl3/StereoViewer.glsl +1 -1
- package/glsl3/StripDatamoshGlitch.glsl +7 -5
- package/glsl3/Swap.glsl +64 -0
- package/glsl3/TangentMotionBlur.glsl +146 -0
- package/glsl3/TopBottom.glsl +1 -1
- package/glsl3/Tunnel.glsl +42 -0
- package/glsl3/TvLostSignal.glsl +51 -0
- package/glsl3/TvRoll.glsl +43 -0
- package/glsl3/TvStatic.glsl +29 -0
- package/glsl3/TvTurnOff.glsl +47 -0
- package/glsl3/UndulatingBurnOut.glsl +56 -0
- package/glsl3/WhipPan.glsl +50 -0
- package/glsl3/Wind.glsl +25 -0
- package/glsl3/WindowBlinds.glsl +18 -0
- package/glsl3/WindowSlices.glsl +16 -0
- package/glsl3/WipeDown.glsl +12 -0
- package/glsl3/WipeLeft.glsl +12 -0
- package/glsl3/WipeRight.glsl +12 -0
- package/glsl3/WipeUp.glsl +12 -0
- package/glsl3/ZoomInOut.glsl +20 -0
- package/glsl3/ZoomWipeLeft.glsl +36 -0
- package/glsl3/ZoomWipeRight.glsl +36 -0
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/layouts.json +1239 -691
- package/llms-full.txt +1266 -988
- package/llms.txt +154 -130
- package/msl/ApertureWipe.metal +193 -0
- package/msl/Bounce.metal +36 -31
- package/msl/BowTie.metal +361 -0
- package/msl/BurnThrough.metal +236 -0
- package/msl/ButterflyWaveScrawler.metal +86 -82
- package/msl/Chessboard.metal +144 -0
- package/msl/CircleIris.metal +115 -0
- package/msl/CircleOpen.metal +124 -0
- package/msl/ClockWipe.metal +111 -0
- package/msl/ColorCoords.metal +111 -0
- package/msl/ColorDistance.metal +110 -0
- package/msl/ColorPhase.metal +106 -0
- package/msl/ColorWrap.metal +119 -0
- package/msl/Comb.metal +167 -0
- package/msl/CrossWarp.metal +103 -0
- package/msl/Crosshatch.metal +126 -0
- package/msl/Cube.metal +259 -0
- package/msl/Curtains.metal +207 -0
- package/msl/DiamondWipe.metal +123 -0
- package/msl/DirectionalEased.metal +111 -0
- package/msl/DirectionalWarp.metal +121 -0
- package/msl/DirectionalWipe.metal +120 -0
- package/msl/DisplacementMap.metal +129 -0
- package/msl/DitherDissolve.metal +157 -0
- package/msl/DoomMelt.metal +212 -0
- package/msl/Doorway.metal +210 -0
- package/msl/DreamyZoom.metal +81 -79
- package/msl/EdgeGlow.metal +294 -0
- package/msl/Fade.metal +95 -0
- package/msl/FadeColor.metal +105 -0
- package/msl/FadeGrayscale.metal +125 -0
- package/msl/FallOver.metal +192 -0
- package/msl/Fisheye.metal +121 -0
- package/msl/FlashFade.metal +103 -0
- package/msl/FlowerWipe.metal +116 -0
- package/msl/FlyEye.metal +137 -0
- package/msl/GlitchBands.metal +152 -0
- package/msl/GlitchDisplace.metal +177 -177
- package/msl/GlitchFlicker.metal +570 -0
- package/msl/GlitchMemories.metal +61 -57
- package/msl/GlowDissolve.metal +144 -0
- package/msl/Halftone.metal +230 -0
- package/msl/HeartWipe.metal +134 -0
- package/msl/Hexagonalize.metal +274 -0
- package/msl/Honeycomb.metal +263 -0
- package/msl/HsvFade.metal +164 -0
- package/msl/InvertedPageCurl.metal +479 -471
- package/msl/Kaleidoscope.metal +157 -0
- package/msl/LeafWipe.metal +120 -0
- package/msl/LeftRight.metal +1 -1
- package/msl/LissajousTiles.metal +210 -0
- package/msl/LumaWipe.metal +113 -0
- package/msl/LuminanceMelt.metal +337 -0
- package/msl/Morph.metal +131 -0
- package/msl/MosaicBlend.metal +136 -0
- package/msl/MosaicFade.metal +137 -0
- package/msl/MultiplyBlend.metal +127 -0
- package/msl/NoiseDissolve.metal +115 -0
- package/msl/PaperTear.metal +373 -0
- package/msl/PerlinDissolve.metal +206 -0
- package/msl/Pinwheel.metal +112 -0
- package/msl/Pixelize.metal +134 -0
- package/msl/PowerKaleido.metal +304 -0
- package/msl/Prisms.metal +424 -0
- package/msl/Puzzle.metal +632 -0
- package/msl/RadialWipe.metal +102 -0
- package/msl/RandomSquares.metal +118 -0
- package/msl/RectangleCover.metal +129 -0
- package/msl/RectangleIris.metal +127 -0
- package/msl/Revolve.metal +363 -0
- package/msl/Ripple.metal +113 -0
- package/msl/RotateFade.metal +116 -0
- package/msl/RotateScaleFade.metal +167 -0
- package/msl/RotateScaleVanish.metal +1 -1
- package/msl/ScaleIn.metal +111 -0
- package/msl/Shatter.metal +276 -0
- package/msl/Shred.metal +294 -0
- package/msl/SimpleFlip.metal +3 -4
- package/msl/SlideAwayRight.metal +110 -0
- package/msl/SpiralWipe.metal +196 -0
- package/msl/SplitSlideInHorizontal.metal +147 -0
- package/msl/SplitSlideInOutHorizontal.metal +138 -0
- package/msl/SplitSlideInOutVertical.metal +138 -0
- package/msl/SplitSlideInVertical.metal +144 -0
- package/msl/SplitSlideOutHorizontal.metal +131 -0
- package/msl/SplitSlideOutVertical.metal +131 -0
- package/msl/SquaresWipe.metal +144 -0
- package/msl/Squeeze.metal +133 -0
- package/msl/StaticFade.metal +85 -80
- package/msl/StaticWipe.metal +148 -0
- package/msl/StereoViewer.metal +7 -7
- package/msl/StripDatamoshGlitch.metal +497 -488
- package/msl/Swap.metal +256 -0
- package/msl/TangentMotionBlur.metal +607 -0
- package/msl/TopBottom.metal +1 -1
- package/msl/Tunnel.metal +207 -0
- package/msl/TvLostSignal.metal +172 -0
- package/msl/TvRoll.metal +205 -0
- package/msl/TvStatic.metal +144 -0
- package/msl/TvTurnOff.metal +238 -0
- package/msl/UndulatingBurnOut.metal +217 -0
- package/msl/WhipPan.metal +218 -0
- package/msl/Wind.metal +131 -0
- package/msl/WindowBlinds.metal +107 -0
- package/msl/WindowSlices.metal +108 -0
- package/msl/WipeDown.metal +105 -0
- package/msl/WipeLeft.metal +105 -0
- package/msl/WipeRight.metal +105 -0
- package/msl/WipeUp.metal +105 -0
- package/msl/ZoomInOut.metal +125 -0
- package/msl/ZoomWipeLeft.metal +152 -0
- package/msl/ZoomWipeRight.metal +152 -0
- package/package.json +1 -1
- package/skills/gl-transitions/SKILL.md +25 -18
- package/skills/gl-transitions/references/catalog.md +178 -159
- package/skills/gl-transitions/references/native.md +94 -0
- package/skills/gl-transitions/references/skia.md +35 -23
- package/skills/gl-transitions/references/video.md +37 -5
- package/skills/gl-transitions/references/webgl.md +1 -1
- package/sksl/ApertureWipe.sksl +56 -0
- package/sksl/Bounce.sksl +4 -3
- package/sksl/BowTie.sksl +88 -0
- package/sksl/BurnThrough.sksl +65 -0
- package/sksl/ButterflyWaveScrawler.sksl +3 -2
- package/sksl/Chessboard.sksl +41 -0
- package/sksl/CircleIris.sksl +37 -0
- package/sksl/CircleOpen.sksl +32 -0
- package/sksl/ClockWipe.sksl +36 -0
- package/sksl/ColorCoords.sksl +32 -0
- package/sksl/ColorDistance.sksl +32 -0
- package/sksl/ColorPhase.sksl +29 -0
- package/sksl/ColorWrap.sksl +34 -0
- package/sksl/Comb.sksl +39 -0
- package/sksl/CrossWarp.sksl +25 -0
- package/sksl/Crosshatch.sksl +32 -0
- package/sksl/Cube.sksl +82 -0
- package/sksl/Curtains.sksl +60 -0
- package/sksl/DiamondWipe.sksl +34 -0
- package/sksl/DirectionalEased.sksl +32 -0
- package/sksl/DirectionalWarp.sksl +33 -0
- package/sksl/DirectionalWipe.sksl +35 -0
- package/sksl/DisplacementMap.sksl +37 -0
- package/sksl/DitherDissolve.sksl +39 -0
- package/sksl/DoomMelt.sksl +65 -0
- package/sksl/Doorway.sksl +68 -0
- package/sksl/DreamyZoom.sksl +2 -1
- package/sksl/EdgeGlow.sksl +68 -0
- package/sksl/Fade.sksl +27 -0
- package/sksl/FadeColor.sksl +29 -0
- package/sksl/FadeGrayscale.sksl +34 -0
- package/sksl/FallOver.sksl +49 -0
- package/sksl/Fisheye.sksl +36 -0
- package/sksl/FlashFade.sksl +28 -0
- package/sksl/FlowerWipe.sksl +35 -0
- package/sksl/FlyEye.sksl +36 -0
- package/sksl/GlitchBands.sksl +40 -0
- package/sksl/GlitchDisplace.sksl +1 -2
- package/sksl/GlitchFlicker.sksl +172 -0
- package/sksl/GlitchMemories.sksl +2 -1
- package/sksl/GlowDissolve.sksl +68 -0
- package/sksl/Halftone.sksl +61 -0
- package/sksl/HeartWipe.sksl +33 -0
- package/sksl/Hexagonalize.sksl +91 -0
- package/sksl/Honeycomb.sksl +64 -0
- package/sksl/HsvFade.sksl +40 -0
- package/sksl/InvertedPageCurl.sksl +3 -2
- package/sksl/Kaleidoscope.sksl +39 -0
- package/sksl/LeafWipe.sksl +30 -0
- package/sksl/LeftRight.sksl +1 -1
- package/sksl/LissajousTiles.sksl +52 -0
- package/sksl/LumaWipe.sksl +30 -0
- package/sksl/LuminanceMelt.sksl +109 -0
- package/sksl/Morph.sksl +34 -0
- package/sksl/MosaicBlend.sksl +34 -0
- package/sksl/MosaicFade.sksl +33 -0
- package/sksl/MultiplyBlend.sksl +33 -0
- package/sksl/NoiseDissolve.sksl +29 -0
- package/sksl/PaperTear.sksl +82 -0
- package/sksl/PerlinDissolve.sksl +75 -0
- package/sksl/Pinwheel.sksl +33 -0
- package/sksl/Pixelize.sksl +31 -0
- package/sksl/PowerKaleido.sksl +70 -0
- package/sksl/Prisms.sksl +94 -0
- package/sksl/Puzzle.sksl +134 -0
- package/sksl/RadialWipe.sksl +32 -0
- package/sksl/RandomSquares.sksl +33 -0
- package/sksl/RectangleCover.sksl +42 -0
- package/sksl/RectangleIris.sksl +43 -0
- package/sksl/Revolve.sksl +110 -0
- package/sksl/Ripple.sksl +34 -0
- package/sksl/RotateFade.sksl +34 -0
- package/sksl/RotateScaleFade.sksl +50 -0
- package/sksl/RotateScaleVanish.sksl +1 -1
- package/sksl/ScaleIn.sksl +32 -0
- package/sksl/Shatter.sksl +66 -0
- package/sksl/Shred.sksl +79 -0
- package/sksl/SimpleFlip.sksl +2 -1
- package/sksl/SlideAwayRight.sksl +35 -0
- package/sksl/SpiralWipe.sksl +51 -0
- package/sksl/SplitSlideInHorizontal.sksl +39 -0
- package/sksl/SplitSlideInOutHorizontal.sksl +36 -0
- package/sksl/SplitSlideInOutVertical.sksl +36 -0
- package/sksl/SplitSlideInVertical.sksl +37 -0
- package/sksl/SplitSlideOutHorizontal.sksl +35 -0
- package/sksl/SplitSlideOutVertical.sksl +35 -0
- package/sksl/SquaresWipe.sksl +39 -0
- package/sksl/Squeeze.sksl +36 -0
- package/sksl/StaticFade.sksl +3 -3
- package/sksl/StaticWipe.sksl +50 -0
- package/sksl/StereoViewer.sksl +1 -1
- package/sksl/StripDatamoshGlitch.sksl +7 -5
- package/sksl/Swap.sksl +77 -0
- package/sksl/TangentMotionBlur.sksl +152 -0
- package/sksl/TopBottom.sksl +1 -1
- package/sksl/Tunnel.sksl +55 -0
- package/sksl/TvLostSignal.sksl +65 -0
- package/sksl/TvRoll.sksl +55 -0
- package/sksl/TvStatic.sksl +41 -0
- package/sksl/TvTurnOff.sksl +59 -0
- package/sksl/UndulatingBurnOut.sksl +68 -0
- package/sksl/WhipPan.sksl +62 -0
- package/sksl/Wind.sksl +38 -0
- package/sksl/WindowBlinds.sksl +32 -0
- package/sksl/WindowSlices.sksl +29 -0
- package/sksl/WipeDown.sksl +26 -0
- package/sksl/WipeLeft.sksl +26 -0
- package/sksl/WipeRight.sksl +26 -0
- package/sksl/WipeUp.sksl +26 -0
- package/sksl/ZoomInOut.sksl +34 -0
- package/sksl/ZoomWipeLeft.sksl +49 -0
- package/sksl/ZoomWipeRight.sksl +49 -0
- package/sksl/index.js +1 -1
- package/transitions/ApertureWipe.glsl +44 -0
- package/transitions/Bounce.glsl +4 -3
- package/transitions/ButterflyWaveScrawler.glsl +3 -2
- package/transitions/CircleIris.glsl +23 -0
- package/transitions/ColorWrap.glsl +20 -0
- package/transitions/Comb.glsl +25 -0
- package/transitions/Cube.glsl +70 -0
- package/transitions/Curtains.glsl +46 -0
- package/transitions/DiamondWipe.glsl +20 -0
- package/transitions/DitherDissolve.glsl +26 -0
- package/transitions/Doorway.glsl +54 -0
- package/transitions/DreamyZoom.glsl +2 -1
- package/transitions/EdgeGlow.glsl +53 -0
- package/transitions/FadeColor.glsl +14 -0
- package/transitions/FadeGrayscale.glsl +20 -0
- package/transitions/FallOver.glsl +35 -0
- package/transitions/Fisheye.glsl +22 -0
- package/transitions/FlashFade.glsl +13 -0
- package/transitions/FlyEye.glsl +20 -0
- package/transitions/GlitchDisplace.glsl +1 -2
- package/transitions/GlitchFlicker.glsl +160 -0
- package/transitions/GlitchMemories.glsl +2 -1
- package/transitions/GlowDissolve.glsl +53 -0
- package/transitions/Halftone.glsl +48 -0
- package/transitions/Honeycomb.glsl +54 -0
- package/transitions/HsvFade.glsl +28 -0
- package/transitions/InvertedPageCurl.glsl +3 -2
- package/transitions/LeafWipe.glsl +17 -0
- package/transitions/LeftRight.glsl +1 -1
- package/transitions/LissajousTiles.glsl +39 -0
- package/transitions/PaperTear.glsl +75 -0
- package/transitions/Prisms.glsl +80 -0
- package/transitions/Puzzle.glsl +123 -0
- package/transitions/RotateScaleVanish.glsl +1 -1
- package/transitions/Shred.glsl +66 -0
- package/transitions/SimpleFlip.glsl +2 -1
- package/transitions/SpiralWipe.glsl +40 -0
- package/transitions/StaticFade.glsl +3 -3
- package/transitions/StaticWipe.glsl +38 -0
- package/transitions/StereoViewer.glsl +1 -1
- package/transitions/StripDatamoshGlitch.glsl +7 -5
- package/transitions/Swap.glsl +63 -0
- package/transitions/TangentMotionBlur.glsl +146 -0
- package/transitions/TopBottom.glsl +1 -1
- package/transitions/Tunnel.glsl +41 -0
- package/transitions/TvRoll.glsl +42 -0
- package/transitions/TvStatic.glsl +28 -0
- package/transitions/TvTurnOff.glsl +46 -0
- package/transitions/UndulatingBurnOut.glsl +55 -0
- package/transitions/WhipPan.glsl +49 -0
- package/wgsl/ApertureWipe.wgsl +160 -0
- package/wgsl/Bounce.wgsl +36 -31
- package/wgsl/BowTie.wgsl +313 -0
- package/wgsl/BurnThrough.wgsl +198 -0
- package/wgsl/ButterflyWaveScrawler.wgsl +86 -82
- package/wgsl/Chessboard.wgsl +116 -0
- package/wgsl/CircleIris.wgsl +87 -0
- package/wgsl/CircleOpen.wgsl +96 -0
- package/wgsl/ClockWipe.wgsl +83 -0
- package/wgsl/ColorCoords.wgsl +83 -0
- package/wgsl/ColorDistance.wgsl +82 -0
- package/wgsl/ColorPhase.wgsl +77 -0
- package/wgsl/ColorWrap.wgsl +91 -0
- package/wgsl/Comb.wgsl +139 -0
- package/wgsl/CrossWarp.wgsl +75 -0
- package/wgsl/Crosshatch.wgsl +96 -0
- package/wgsl/Cube.wgsl +217 -0
- package/wgsl/Curtains.wgsl +179 -0
- package/wgsl/DiamondWipe.wgsl +94 -0
- package/wgsl/DirectionalEased.wgsl +83 -0
- package/wgsl/DirectionalWarp.wgsl +92 -0
- package/wgsl/DirectionalWipe.wgsl +91 -0
- package/wgsl/DisplacementMap.wgsl +96 -0
- package/wgsl/DitherDissolve.wgsl +123 -0
- package/wgsl/DoomMelt.wgsl +171 -0
- package/wgsl/Doorway.wgsl +174 -0
- package/wgsl/DreamyZoom.wgsl +81 -79
- package/wgsl/EdgeGlow.wgsl +233 -0
- package/wgsl/Fade.wgsl +67 -0
- package/wgsl/FadeColor.wgsl +75 -0
- package/wgsl/FadeGrayscale.wgsl +95 -0
- package/wgsl/FallOver.wgsl +164 -0
- package/wgsl/Fisheye.wgsl +93 -0
- package/wgsl/FlashFade.wgsl +74 -0
- package/wgsl/FlowerWipe.wgsl +88 -0
- package/wgsl/FlyEye.wgsl +109 -0
- package/wgsl/GlitchBands.wgsl +124 -0
- package/wgsl/GlitchDisplace.wgsl +177 -177
- package/wgsl/GlitchFlicker.wgsl +522 -0
- package/wgsl/GlitchMemories.wgsl +61 -57
- package/wgsl/GlowDissolve.wgsl +114 -0
- package/wgsl/Halftone.wgsl +196 -0
- package/wgsl/HeartWipe.wgsl +103 -0
- package/wgsl/Hexagonalize.wgsl +238 -0
- package/wgsl/Honeycomb.wgsl +222 -0
- package/wgsl/HsvFade.wgsl +134 -0
- package/wgsl/InvertedPageCurl.wgsl +475 -467
- package/wgsl/Kaleidoscope.wgsl +124 -0
- package/wgsl/LeafWipe.wgsl +92 -0
- package/wgsl/LeftRight.wgsl +1 -1
- package/wgsl/LissajousTiles.wgsl +170 -0
- package/wgsl/LumaWipe.wgsl +80 -0
- package/wgsl/LuminanceMelt.wgsl +299 -0
- package/wgsl/Morph.wgsl +103 -0
- package/wgsl/MosaicBlend.wgsl +108 -0
- package/wgsl/MosaicFade.wgsl +107 -0
- package/wgsl/MultiplyBlend.wgsl +96 -0
- package/wgsl/NoiseDissolve.wgsl +85 -0
- package/wgsl/PaperTear.wgsl +324 -0
- package/wgsl/PerlinDissolve.wgsl +174 -0
- package/wgsl/Pinwheel.wgsl +84 -0
- package/wgsl/Pixelize.wgsl +105 -0
- package/wgsl/PowerKaleido.wgsl +254 -0
- package/wgsl/Prisms.wgsl +385 -0
- package/wgsl/Puzzle.wgsl +587 -0
- package/wgsl/RadialWipe.wgsl +74 -0
- package/wgsl/RandomSquares.wgsl +87 -0
- package/wgsl/RectangleCover.wgsl +100 -0
- package/wgsl/RectangleIris.wgsl +98 -0
- package/wgsl/Revolve.wgsl +314 -0
- package/wgsl/Ripple.wgsl +85 -0
- package/wgsl/RotateFade.wgsl +85 -0
- package/wgsl/RotateScaleFade.wgsl +138 -0
- package/wgsl/RotateScaleVanish.wgsl +1 -1
- package/wgsl/ScaleIn.wgsl +79 -0
- package/wgsl/Shatter.wgsl +227 -0
- package/wgsl/Shred.wgsl +259 -0
- package/wgsl/SimpleFlip.wgsl +3 -4
- package/wgsl/SlideAwayRight.wgsl +82 -0
- package/wgsl/SpiralWipe.wgsl +165 -0
- package/wgsl/SplitSlideInHorizontal.wgsl +118 -0
- package/wgsl/SplitSlideInOutHorizontal.wgsl +109 -0
- package/wgsl/SplitSlideInOutVertical.wgsl +109 -0
- package/wgsl/SplitSlideInVertical.wgsl +115 -0
- package/wgsl/SplitSlideOutHorizontal.wgsl +102 -0
- package/wgsl/SplitSlideOutVertical.wgsl +102 -0
- package/wgsl/SquaresWipe.wgsl +115 -0
- package/wgsl/Squeeze.wgsl +105 -0
- package/wgsl/StaticFade.wgsl +84 -80
- package/wgsl/StaticWipe.wgsl +118 -0
- package/wgsl/StereoViewer.wgsl +7 -7
- package/wgsl/StripDatamoshGlitch.wgsl +497 -488
- package/wgsl/Swap.wgsl +218 -0
- package/wgsl/TangentMotionBlur.wgsl +527 -0
- package/wgsl/TopBottom.wgsl +1 -1
- package/wgsl/Tunnel.wgsl +177 -0
- package/wgsl/TvLostSignal.wgsl +142 -0
- package/wgsl/TvRoll.wgsl +165 -0
- package/wgsl/TvStatic.wgsl +114 -0
- package/wgsl/TvTurnOff.wgsl +196 -0
- package/wgsl/UndulatingBurnOut.wgsl +181 -0
- package/wgsl/WhipPan.wgsl +177 -0
- package/wgsl/Wind.wgsl +101 -0
- package/wgsl/WindowBlinds.wgsl +79 -0
- package/wgsl/WindowSlices.wgsl +80 -0
- package/wgsl/WipeDown.wgsl +77 -0
- package/wgsl/WipeLeft.wgsl +77 -0
- package/wgsl/WipeRight.wgsl +77 -0
- package/wgsl/WipeUp.wgsl +77 -0
- package/wgsl/ZoomInOut.wgsl +94 -0
- package/wgsl/ZoomWipeLeft.wgsl +121 -0
- package/wgsl/ZoomWipeRight.wgsl +121 -0
- package/glsl3/AdvancedMosaic.glsl +0 -21
- package/glsl3/BowTieWithParameter.glsl +0 -74
- package/glsl3/CircleCrop.glsl +0 -20
- package/glsl3/ColourDistance.glsl +0 -19
- package/glsl3/DoomScreenTransition.glsl +0 -62
- package/glsl3/Drop_Zone_Flicker.glsl +0 -159
- package/glsl3/EdgeTransition.glsl +0 -50
- package/glsl3/HSVfade.glsl +0 -29
- package/glsl3/PuzzleRight.glsl +0 -57
- package/glsl3/Radial.glsl +0 -19
- package/glsl3/Rectangle.glsl +0 -29
- package/glsl3/RectangleCrop.glsl +0 -30
- package/glsl3/Revolve_Left.glsl +0 -98
- package/glsl3/TVStatic.glsl +0 -29
- package/glsl3/ZoomLeftWipe.glsl +0 -36
- package/glsl3/ZoomRigthWipe.glsl +0 -36
- package/glsl3/angular.glsl +0 -25
- package/glsl3/burn.glsl +0 -14
- package/glsl3/burn0.glsl +0 -55
- package/glsl3/cannabisleaf.glsl +0 -18
- package/glsl3/chessboard.glsl +0 -28
- package/glsl3/circle.glsl +0 -24
- package/glsl3/circleopen.glsl +0 -18
- package/glsl3/colorphase.glsl +0 -19
- package/glsl3/coord-from-in.glsl +0 -18
- package/glsl3/crosshatch.glsl +0 -20
- package/glsl3/crosswarp.glsl +0 -10
- package/glsl3/cube.glsl +0 -71
- package/glsl3/directional-easing.glsl +0 -19
- package/glsl3/directionalwarp.glsl +0 -20
- package/glsl3/directionalwipe.glsl +0 -22
- package/glsl3/displacement.glsl +0 -26
- package/glsl3/dissolve.glsl +0 -54
- package/glsl3/doorway.glsl +0 -55
- package/glsl3/fade.glsl +0 -13
- package/glsl3/fadecolor.glsl +0 -15
- package/glsl3/fadegrayscale.glsl +0 -21
- package/glsl3/flyeye.glsl +0 -20
- package/glsl3/fragment.glsl +0 -54
- package/glsl3/heart.glsl +0 -19
- package/glsl3/hexagonalize.glsl +0 -78
- package/glsl3/kaleidoscope.glsl +0 -25
- package/glsl3/luma.glsl +0 -15
- package/glsl3/luminance_melt.glsl +0 -131
- package/glsl3/morph.glsl +0 -20
- package/glsl3/mosaic_transition.glsl +0 -20
- package/glsl3/multiply_blend.glsl +0 -19
- package/glsl3/old_tv_lost_signal.glsl +0 -51
- package/glsl3/parametric_glitch.glsl +0 -29
- package/glsl3/perlin.glsl +0 -66
- package/glsl3/pinwheel.glsl +0 -20
- package/glsl3/pixelize.glsl +0 -21
- package/glsl3/polar_function.glsl +0 -24
- package/glsl3/powerKaleido.glsl +0 -57
- package/glsl3/randomNoisex.glsl +0 -15
- package/glsl3/randomsquares.glsl +0 -20
- package/glsl3/ripple.glsl +0 -20
- package/glsl3/rotateTransition.glsl +0 -22
- package/glsl3/rotate_scale_fade.glsl +0 -39
- package/glsl3/scale-in.glsl +0 -18
- package/glsl3/splitSlideInHorizontal.glsl +0 -26
- package/glsl3/splitSlideInOutHorizontal.glsl +0 -23
- package/glsl3/splitSlideInOutVertical.glsl +0 -23
- package/glsl3/splitSlideInVertical.glsl +0 -24
- package/glsl3/splitSlideOutHorizontal.glsl +0 -22
- package/glsl3/splitSlideOutVertical.glsl +0 -22
- package/glsl3/squareswire.glsl +0 -26
- package/glsl3/squeeze.glsl +0 -23
- package/glsl3/static_wipe.glsl +0 -39
- package/glsl3/swap.glsl +0 -64
- package/glsl3/tangentMotionBlur.glsl +0 -139
- package/glsl3/undulatingBurnOut.glsl +0 -56
- package/glsl3/wind.glsl +0 -25
- package/glsl3/windowblinds.glsl +0 -18
- package/glsl3/windowslice.glsl +0 -16
- package/glsl3/wipeDown.glsl +0 -12
- package/glsl3/wipeLeft.glsl +0 -12
- package/glsl3/wipeRight.glsl +0 -12
- package/glsl3/wipeUp.glsl +0 -12
- package/glsl3/x_axis_translation.glsl +0 -21
- package/glsl3/zoomInOut.glsl +0 -20
- package/msl/AdvancedMosaic.metal +0 -136
- package/msl/BowTieWithParameter.metal +0 -361
- package/msl/CircleCrop.metal +0 -117
- package/msl/ColourDistance.metal +0 -110
- package/msl/DoomScreenTransition.metal +0 -212
- package/msl/Drop_Zone_Flicker.metal +0 -561
- package/msl/EdgeTransition.metal +0 -277
- package/msl/HSVfade.metal +0 -161
- package/msl/PuzzleRight.metal +0 -262
- package/msl/Radial.metal +0 -102
- package/msl/Rectangle.metal +0 -129
- package/msl/RectangleCrop.metal +0 -127
- package/msl/Revolve_Left.metal +0 -363
- package/msl/TVStatic.metal +0 -136
- package/msl/ZoomLeftWipe.metal +0 -152
- package/msl/ZoomRigthWipe.metal +0 -152
- package/msl/angular.metal +0 -111
- package/msl/burn.metal +0 -103
- package/msl/burn0.metal +0 -236
- package/msl/cannabisleaf.metal +0 -120
- package/msl/chessboard.metal +0 -144
- package/msl/circle.metal +0 -115
- package/msl/circleopen.metal +0 -124
- package/msl/colorphase.metal +0 -106
- package/msl/coord-from-in.metal +0 -111
- package/msl/crosshatch.metal +0 -126
- package/msl/crosswarp.metal +0 -103
- package/msl/cube.metal +0 -259
- package/msl/directional-easing.metal +0 -111
- package/msl/directionalwarp.metal +0 -121
- package/msl/directionalwipe.metal +0 -120
- package/msl/displacement.metal +0 -129
- package/msl/dissolve.metal +0 -146
- package/msl/doorway.metal +0 -210
- package/msl/fade.metal +0 -95
- package/msl/fadecolor.metal +0 -104
- package/msl/fadegrayscale.metal +0 -123
- package/msl/flyeye.metal +0 -133
- package/msl/fragment.metal +0 -276
- package/msl/heart.metal +0 -134
- package/msl/hexagonalize.metal +0 -274
- package/msl/kaleidoscope.metal +0 -157
- package/msl/luma.metal +0 -113
- package/msl/luminance_melt.metal +0 -337
- package/msl/morph.metal +0 -131
- package/msl/mosaic_transition.metal +0 -137
- package/msl/multiply_blend.metal +0 -127
- package/msl/old_tv_lost_signal.metal +0 -172
- package/msl/parametric_glitch.metal +0 -152
- package/msl/perlin.metal +0 -206
- package/msl/pinwheel.metal +0 -112
- package/msl/pixelize.metal +0 -134
- package/msl/polar_function.metal +0 -116
- package/msl/powerKaleido.metal +0 -304
- package/msl/randomNoisex.metal +0 -115
- package/msl/randomsquares.metal +0 -118
- package/msl/ripple.metal +0 -113
- package/msl/rotateTransition.metal +0 -116
- package/msl/rotate_scale_fade.metal +0 -167
- package/msl/scale-in.metal +0 -111
- package/msl/splitSlideInHorizontal.metal +0 -147
- package/msl/splitSlideInOutHorizontal.metal +0 -138
- package/msl/splitSlideInOutVertical.metal +0 -138
- package/msl/splitSlideInVertical.metal +0 -144
- package/msl/splitSlideOutHorizontal.metal +0 -131
- package/msl/splitSlideOutVertical.metal +0 -131
- package/msl/squareswire.metal +0 -144
- package/msl/squeeze.metal +0 -133
- package/msl/static_wipe.metal +0 -147
- package/msl/swap.metal +0 -256
- package/msl/tangentMotionBlur.metal +0 -583
- package/msl/undulatingBurnOut.metal +0 -217
- package/msl/wind.metal +0 -131
- package/msl/windowblinds.metal +0 -107
- package/msl/windowslice.metal +0 -108
- package/msl/wipeDown.metal +0 -105
- package/msl/wipeLeft.metal +0 -105
- package/msl/wipeRight.metal +0 -105
- package/msl/wipeUp.metal +0 -105
- package/msl/x_axis_translation.metal +0 -110
- package/msl/zoomInOut.metal +0 -125
- package/sksl/AdvancedMosaic.sksl +0 -34
- package/sksl/BowTieWithParameter.sksl +0 -88
- package/sksl/CircleCrop.sksl +0 -32
- package/sksl/ColourDistance.sksl +0 -32
- package/sksl/DoomScreenTransition.sksl +0 -65
- package/sksl/Drop_Zone_Flicker.sksl +0 -170
- package/sksl/EdgeTransition.sksl +0 -64
- package/sksl/HSVfade.sksl +0 -40
- package/sksl/PuzzleRight.sksl +0 -70
- package/sksl/Radial.sksl +0 -32
- package/sksl/Rectangle.sksl +0 -42
- package/sksl/RectangleCrop.sksl +0 -43
- package/sksl/Revolve_Left.sksl +0 -110
- package/sksl/TVStatic.sksl +0 -41
- package/sksl/ZoomLeftWipe.sksl +0 -49
- package/sksl/ZoomRigthWipe.sksl +0 -49
- package/sksl/angular.sksl +0 -36
- package/sksl/burn.sksl +0 -28
- package/sksl/burn0.sksl +0 -65
- package/sksl/cannabisleaf.sksl +0 -30
- package/sksl/chessboard.sksl +0 -41
- package/sksl/circle.sksl +0 -37
- package/sksl/circleopen.sksl +0 -32
- package/sksl/colorphase.sksl +0 -29
- package/sksl/coord-from-in.sksl +0 -32
- package/sksl/crosshatch.sksl +0 -32
- package/sksl/crosswarp.sksl +0 -25
- package/sksl/cube.sksl +0 -82
- package/sksl/directional-easing.sksl +0 -32
- package/sksl/directionalwarp.sksl +0 -33
- package/sksl/directionalwipe.sksl +0 -35
- package/sksl/displacement.sksl +0 -37
- package/sksl/dissolve.sksl +0 -68
- package/sksl/doorway.sksl +0 -68
- package/sksl/fade.sksl +0 -27
- package/sksl/fadecolor.sksl +0 -29
- package/sksl/fadegrayscale.sksl +0 -34
- package/sksl/flyeye.sksl +0 -35
- package/sksl/fragment.sksl +0 -66
- package/sksl/heart.sksl +0 -33
- package/sksl/hexagonalize.sksl +0 -91
- package/sksl/kaleidoscope.sksl +0 -39
- package/sksl/luma.sksl +0 -30
- package/sksl/luminance_melt.sksl +0 -109
- package/sksl/morph.sksl +0 -34
- package/sksl/mosaic_transition.sksl +0 -33
- package/sksl/multiply_blend.sksl +0 -33
- package/sksl/old_tv_lost_signal.sksl +0 -65
- package/sksl/parametric_glitch.sksl +0 -40
- package/sksl/perlin.sksl +0 -75
- package/sksl/pinwheel.sksl +0 -33
- package/sksl/pixelize.sksl +0 -31
- package/sksl/polar_function.sksl +0 -35
- package/sksl/powerKaleido.sksl +0 -70
- package/sksl/randomNoisex.sksl +0 -29
- package/sksl/randomsquares.sksl +0 -33
- package/sksl/ripple.sksl +0 -34
- package/sksl/rotateTransition.sksl +0 -34
- package/sksl/rotate_scale_fade.sksl +0 -50
- package/sksl/scale-in.sksl +0 -32
- package/sksl/splitSlideInHorizontal.sksl +0 -39
- package/sksl/splitSlideInOutHorizontal.sksl +0 -36
- package/sksl/splitSlideInOutVertical.sksl +0 -36
- package/sksl/splitSlideInVertical.sksl +0 -37
- package/sksl/splitSlideOutHorizontal.sksl +0 -35
- package/sksl/splitSlideOutVertical.sksl +0 -35
- package/sksl/squareswire.sksl +0 -39
- package/sksl/squeeze.sksl +0 -36
- package/sksl/static_wipe.sksl +0 -50
- package/sksl/swap.sksl +0 -77
- package/sksl/tangentMotionBlur.sksl +0 -145
- package/sksl/undulatingBurnOut.sksl +0 -68
- package/sksl/wind.sksl +0 -38
- package/sksl/windowblinds.sksl +0 -32
- package/sksl/windowslice.sksl +0 -29
- package/sksl/wipeDown.sksl +0 -26
- package/sksl/wipeLeft.sksl +0 -26
- package/sksl/wipeRight.sksl +0 -26
- package/sksl/wipeUp.sksl +0 -26
- package/sksl/x_axis_translation.sksl +0 -35
- package/sksl/zoomInOut.sksl +0 -34
- package/transitions/CircleCrop.glsl +0 -19
- package/transitions/Drop_Zone_Flicker.glsl +0 -158
- package/transitions/EdgeTransition.glsl +0 -49
- package/transitions/HSVfade.glsl +0 -28
- package/transitions/PuzzleRight.glsl +0 -56
- package/transitions/TVStatic.glsl +0 -28
- package/transitions/burn.glsl +0 -13
- package/transitions/cannabisleaf.glsl +0 -17
- package/transitions/circle.glsl +0 -23
- package/transitions/cube.glsl +0 -70
- package/transitions/dissolve.glsl +0 -53
- package/transitions/doorway.glsl +0 -54
- package/transitions/fadecolor.glsl +0 -14
- package/transitions/fadegrayscale.glsl +0 -20
- package/transitions/flyeye.glsl +0 -19
- package/transitions/static_wipe.glsl +0 -38
- package/transitions/swap.glsl +0 -63
- package/transitions/tangentMotionBlur.glsl +0 -139
- package/transitions/undulatingBurnOut.glsl +0 -55
- package/wgsl/AdvancedMosaic.wgsl +0 -108
- package/wgsl/BowTieWithParameter.wgsl +0 -313
- package/wgsl/CircleCrop.wgsl +0 -88
- package/wgsl/ColourDistance.wgsl +0 -82
- package/wgsl/DoomScreenTransition.wgsl +0 -171
- package/wgsl/Drop_Zone_Flicker.wgsl +0 -513
- package/wgsl/EdgeTransition.wgsl +0 -216
- package/wgsl/HSVfade.wgsl +0 -131
- package/wgsl/PuzzleRight.wgsl +0 -230
- package/wgsl/Radial.wgsl +0 -74
- package/wgsl/Rectangle.wgsl +0 -100
- package/wgsl/RectangleCrop.wgsl +0 -98
- package/wgsl/Revolve_Left.wgsl +0 -314
- package/wgsl/TVStatic.wgsl +0 -106
- package/wgsl/ZoomLeftWipe.wgsl +0 -121
- package/wgsl/ZoomRigthWipe.wgsl +0 -121
- package/wgsl/angular.wgsl +0 -83
- package/wgsl/burn.wgsl +0 -74
- package/wgsl/burn0.wgsl +0 -198
- package/wgsl/cannabisleaf.wgsl +0 -92
- package/wgsl/chessboard.wgsl +0 -116
- package/wgsl/circle.wgsl +0 -87
- package/wgsl/circleopen.wgsl +0 -96
- package/wgsl/colorphase.wgsl +0 -77
- package/wgsl/coord-from-in.wgsl +0 -83
- package/wgsl/crosshatch.wgsl +0 -96
- package/wgsl/crosswarp.wgsl +0 -75
- package/wgsl/cube.wgsl +0 -217
- package/wgsl/directional-easing.wgsl +0 -83
- package/wgsl/directionalwarp.wgsl +0 -92
- package/wgsl/directionalwipe.wgsl +0 -91
- package/wgsl/displacement.wgsl +0 -96
- package/wgsl/dissolve.wgsl +0 -116
- package/wgsl/doorway.wgsl +0 -174
- package/wgsl/fade.wgsl +0 -67
- package/wgsl/fadecolor.wgsl +0 -75
- package/wgsl/fadegrayscale.wgsl +0 -93
- package/wgsl/flyeye.wgsl +0 -105
- package/wgsl/fragment.wgsl +0 -227
- package/wgsl/heart.wgsl +0 -103
- package/wgsl/hexagonalize.wgsl +0 -238
- package/wgsl/kaleidoscope.wgsl +0 -124
- package/wgsl/luma.wgsl +0 -80
- package/wgsl/luminance_melt.wgsl +0 -299
- package/wgsl/morph.wgsl +0 -103
- package/wgsl/mosaic_transition.wgsl +0 -107
- package/wgsl/multiply_blend.wgsl +0 -96
- package/wgsl/old_tv_lost_signal.wgsl +0 -142
- package/wgsl/parametric_glitch.wgsl +0 -124
- package/wgsl/perlin.wgsl +0 -174
- package/wgsl/pinwheel.wgsl +0 -84
- package/wgsl/pixelize.wgsl +0 -105
- package/wgsl/polar_function.wgsl +0 -88
- package/wgsl/powerKaleido.wgsl +0 -254
- package/wgsl/randomNoisex.wgsl +0 -85
- package/wgsl/randomsquares.wgsl +0 -87
- package/wgsl/ripple.wgsl +0 -85
- package/wgsl/rotateTransition.wgsl +0 -85
- package/wgsl/rotate_scale_fade.wgsl +0 -138
- package/wgsl/scale-in.wgsl +0 -79
- package/wgsl/splitSlideInHorizontal.wgsl +0 -118
- package/wgsl/splitSlideInOutHorizontal.wgsl +0 -109
- package/wgsl/splitSlideInOutVertical.wgsl +0 -109
- package/wgsl/splitSlideInVertical.wgsl +0 -115
- package/wgsl/splitSlideOutHorizontal.wgsl +0 -102
- package/wgsl/splitSlideOutVertical.wgsl +0 -102
- package/wgsl/squareswire.wgsl +0 -115
- package/wgsl/squeeze.wgsl +0 -105
- package/wgsl/static_wipe.wgsl +0 -117
- package/wgsl/swap.wgsl +0 -218
- package/wgsl/tangentMotionBlur.wgsl +0 -503
- package/wgsl/undulatingBurnOut.wgsl +0 -181
- package/wgsl/wind.wgsl +0 -101
- package/wgsl/windowblinds.wgsl +0 -79
- package/wgsl/windowslice.wgsl +0 -80
- package/wgsl/wipeDown.wgsl +0 -77
- package/wgsl/wipeLeft.wgsl +0 -77
- package/wgsl/wipeRight.wgsl +0 -77
- package/wgsl/wipeUp.wgsl +0 -77
- package/wgsl/x_axis_translation.wgsl +0 -82
- package/wgsl/zoomInOut.wgsl +0 -94
- /package/transitions/{BowTieWithParameter.glsl → BowTie.glsl} +0 -0
- /package/transitions/{burn0.glsl → BurnThrough.glsl} +0 -0
- /package/transitions/{chessboard.glsl → Chessboard.glsl} +0 -0
- /package/transitions/{circleopen.glsl → CircleOpen.glsl} +0 -0
- /package/transitions/{angular.glsl → ClockWipe.glsl} +0 -0
- /package/transitions/{coord-from-in.glsl → ColorCoords.glsl} +0 -0
- /package/transitions/{ColourDistance.glsl → ColorDistance.glsl} +0 -0
- /package/transitions/{colorphase.glsl → ColorPhase.glsl} +0 -0
- /package/transitions/{crosswarp.glsl → CrossWarp.glsl} +0 -0
- /package/transitions/{crosshatch.glsl → Crosshatch.glsl} +0 -0
- /package/transitions/{directional-easing.glsl → DirectionalEased.glsl} +0 -0
- /package/transitions/{directionalwarp.glsl → DirectionalWarp.glsl} +0 -0
- /package/transitions/{directionalwipe.glsl → DirectionalWipe.glsl} +0 -0
- /package/transitions/{displacement.glsl → DisplacementMap.glsl} +0 -0
- /package/transitions/{DoomScreenTransition.glsl → DoomMelt.glsl} +0 -0
- /package/transitions/{fade.glsl → Fade.glsl} +0 -0
- /package/transitions/{polar_function.glsl → FlowerWipe.glsl} +0 -0
- /package/transitions/{parametric_glitch.glsl → GlitchBands.glsl} +0 -0
- /package/transitions/{heart.glsl → HeartWipe.glsl} +0 -0
- /package/transitions/{hexagonalize.glsl → Hexagonalize.glsl} +0 -0
- /package/transitions/{kaleidoscope.glsl → Kaleidoscope.glsl} +0 -0
- /package/transitions/{luma.glsl → LumaWipe.glsl} +0 -0
- /package/transitions/{luminance_melt.glsl → LuminanceMelt.glsl} +0 -0
- /package/transitions/{morph.glsl → Morph.glsl} +0 -0
- /package/transitions/{AdvancedMosaic.glsl → MosaicBlend.glsl} +0 -0
- /package/transitions/{mosaic_transition.glsl → MosaicFade.glsl} +0 -0
- /package/transitions/{multiply_blend.glsl → MultiplyBlend.glsl} +0 -0
- /package/transitions/{randomNoisex.glsl → NoiseDissolve.glsl} +0 -0
- /package/transitions/{perlin.glsl → PerlinDissolve.glsl} +0 -0
- /package/transitions/{pinwheel.glsl → Pinwheel.glsl} +0 -0
- /package/transitions/{pixelize.glsl → Pixelize.glsl} +0 -0
- /package/transitions/{powerKaleido.glsl → PowerKaleido.glsl} +0 -0
- /package/transitions/{Radial.glsl → RadialWipe.glsl} +0 -0
- /package/transitions/{randomsquares.glsl → RandomSquares.glsl} +0 -0
- /package/transitions/{Rectangle.glsl → RectangleCover.glsl} +0 -0
- /package/transitions/{RectangleCrop.glsl → RectangleIris.glsl} +0 -0
- /package/transitions/{Revolve_Left.glsl → Revolve.glsl} +0 -0
- /package/transitions/{ripple.glsl → Ripple.glsl} +0 -0
- /package/transitions/{rotateTransition.glsl → RotateFade.glsl} +0 -0
- /package/transitions/{rotate_scale_fade.glsl → RotateScaleFade.glsl} +0 -0
- /package/transitions/{scale-in.glsl → ScaleIn.glsl} +0 -0
- /package/transitions/{fragment.glsl → Shatter.glsl} +0 -0
- /package/transitions/{x_axis_translation.glsl → SlideAwayRight.glsl} +0 -0
- /package/transitions/{splitSlideInHorizontal.glsl → SplitSlideInHorizontal.glsl} +0 -0
- /package/transitions/{splitSlideInOutHorizontal.glsl → SplitSlideInOutHorizontal.glsl} +0 -0
- /package/transitions/{splitSlideInOutVertical.glsl → SplitSlideInOutVertical.glsl} +0 -0
- /package/transitions/{splitSlideInVertical.glsl → SplitSlideInVertical.glsl} +0 -0
- /package/transitions/{splitSlideOutHorizontal.glsl → SplitSlideOutHorizontal.glsl} +0 -0
- /package/transitions/{splitSlideOutVertical.glsl → SplitSlideOutVertical.glsl} +0 -0
- /package/transitions/{squareswire.glsl → SquaresWipe.glsl} +0 -0
- /package/transitions/{squeeze.glsl → Squeeze.glsl} +0 -0
- /package/transitions/{old_tv_lost_signal.glsl → TvLostSignal.glsl} +0 -0
- /package/transitions/{wind.glsl → Wind.glsl} +0 -0
- /package/transitions/{windowblinds.glsl → WindowBlinds.glsl} +0 -0
- /package/transitions/{windowslice.glsl → WindowSlices.glsl} +0 -0
- /package/transitions/{wipeDown.glsl → WipeDown.glsl} +0 -0
- /package/transitions/{wipeLeft.glsl → WipeLeft.glsl} +0 -0
- /package/transitions/{wipeRight.glsl → WipeRight.glsl} +0 -0
- /package/transitions/{wipeUp.glsl → WipeUp.glsl} +0 -0
- /package/transitions/{zoomInOut.glsl → ZoomInOut.glsl} +0 -0
- /package/transitions/{ZoomLeftWipe.glsl → ZoomWipeLeft.glsl} +0 -0
- /package/transitions/{ZoomRigthWipe.glsl → ZoomWipeRight.glsl} +0 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: A camera aperture opens its turning blades to reveal the incoming image
|
|
4
|
+
// Tags: shape, wipe, iris, rotate
|
|
5
|
+
|
|
6
|
+
#define PI 3.141592653589793
|
|
7
|
+
|
|
8
|
+
// @range(3, 12) Number of blades
|
|
9
|
+
uniform int blades; // = 6
|
|
10
|
+
// @range(-180, 180) How much the blades turn while opening, in degrees
|
|
11
|
+
uniform float rotation; // = 60.0
|
|
12
|
+
// @range(0, 1) How dark the blades are shaded along their edges
|
|
13
|
+
uniform float shadow; // = 0.5
|
|
14
|
+
|
|
15
|
+
const float AA = 0.006;
|
|
16
|
+
|
|
17
|
+
vec4 transition (vec2 uv) {
|
|
18
|
+
// Square pixels, normalized so the frame's corners are at distance 1
|
|
19
|
+
vec2 q = (uv - 0.5) * vec2(ratio, 1.0) / (0.5 * length(vec2(ratio, 1.0)));
|
|
20
|
+
float n = clamp(float(blades), 3.0, 12.0);
|
|
21
|
+
float sector = 2.0 * PI / n;
|
|
22
|
+
float turn = radians(rotation) * progress;
|
|
23
|
+
// Each blade's straight edge is at distance r from the center: the opening is the polygon they enclose
|
|
24
|
+
float r = mix(-AA, 1.0 + AA, progress);
|
|
25
|
+
float dist = -1e3;
|
|
26
|
+
float seam = 0.0;
|
|
27
|
+
for (int i = 0; i < 12; i++) {
|
|
28
|
+
if (float(i) < n) {
|
|
29
|
+
float angle = turn + float(i) * sector;
|
|
30
|
+
float d = dot(q, vec2(cos(angle), sin(angle))) - r;
|
|
31
|
+
float next = dot(q, vec2(cos(angle + sector), sin(angle + sector))) - r;
|
|
32
|
+
dist = max(dist, d);
|
|
33
|
+
// Past its corner, the edge of a blade lies over the next blade and casts a shadow on it
|
|
34
|
+
float s = 1.0 - smoothstep(0.0, 0.12, -d);
|
|
35
|
+
seam = max(seam, (1.0 - smoothstep(0.0, AA, d)) * s * s * smoothstep(0.0, AA, next));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
// The blades are also shaded along the opening; the shading fades in as the aperture starts to open
|
|
39
|
+
float rim = 1.0 - smoothstep(0.0, 0.08, dist);
|
|
40
|
+
float shade = shadow * max(rim * rim, seam) * smoothstep(0.0, 0.1, progress);
|
|
41
|
+
vec4 from = getFromColor(uv);
|
|
42
|
+
from.rgb *= 1.0 - shade;
|
|
43
|
+
return mix(from, getToColor(uv), 1.0 - smoothstep(0.0, AA, dist));
|
|
44
|
+
}
|
package/transitions/Bounce.glsl
CHANGED
|
@@ -18,15 +18,16 @@ vec4 transition (vec2 uv) {
|
|
|
18
18
|
float phase = time * PI * bounces;
|
|
19
19
|
float y = (abs(cos(phase))) * (1.0 - stime);
|
|
20
20
|
float d = uv.y - y;
|
|
21
|
+
vec4 to = getToColor(uv);
|
|
21
22
|
return mix(
|
|
22
23
|
mix(
|
|
23
|
-
|
|
24
|
-
shadow_colour,
|
|
24
|
+
to,
|
|
25
|
+
vec4(shadow_colour.rgb, 1.0), // shadow_colour.a is in the amount: the shadow darkens, it does not make the image transparent
|
|
25
26
|
step(d, shadow_height) * (1. - mix(
|
|
26
27
|
((d / shadow_height) * shadow_colour.a) + (1.0 - shadow_colour.a),
|
|
27
28
|
1.0,
|
|
28
29
|
smoothstep(0.95, 1., progress) // fade-out the shadow at the end
|
|
29
|
-
))
|
|
30
|
+
)) * to.a // cast on the incoming image, not on its transparent areas
|
|
30
31
|
),
|
|
31
32
|
getFromColor(vec2(uv.x, uv.y + (1.0 - y))),
|
|
32
33
|
step(d, 0.0)
|
|
@@ -23,10 +23,11 @@ vec4 transition(vec2 uv) {
|
|
|
23
23
|
float inv = 1. - progress;
|
|
24
24
|
float disp = compute(p, progress, vec2(0.5, 0.5));
|
|
25
25
|
vec4 texTo = getToColor(p + inv*disp);
|
|
26
|
+
vec4 fromCenter = getFromColor(p + progress*disp);
|
|
26
27
|
vec4 texFrom = vec4(
|
|
27
28
|
getFromColor(p + progress*disp*(1.0 - colorSeparation)).r,
|
|
28
|
-
|
|
29
|
+
fromCenter.g,
|
|
29
30
|
getFromColor(p + progress*disp*(1.0 + colorSeparation)).b,
|
|
30
|
-
|
|
31
|
+
fromCenter.a);
|
|
31
32
|
return texTo*progress + texFrom*inv;
|
|
32
33
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Author: Fernando Kuteken
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: The outgoing image closes into a circle over a background color, then the incoming one opens from it
|
|
4
|
+
// Tags: circle, iris, shape
|
|
5
|
+
|
|
6
|
+
// @param Center of the circle
|
|
7
|
+
uniform vec2 center; // = vec2(0.5, 0.5)
|
|
8
|
+
// @color Background color
|
|
9
|
+
uniform vec4 backColor; // = vec4(0.1, 0.1, 0.1, 1.0)
|
|
10
|
+
|
|
11
|
+
vec4 transition (vec2 uv) {
|
|
12
|
+
|
|
13
|
+
float distance = length(uv - center);
|
|
14
|
+
float radius = sqrt(8.0) * abs(progress - 0.5);
|
|
15
|
+
|
|
16
|
+
if (distance > radius) {
|
|
17
|
+
return backColor;
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
if (progress < 0.5) return getFromColor(uv);
|
|
21
|
+
else return getToColor(uv);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Author: Yoni Maltsman @friendlyspinach
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: Each color channel of the outgoing image is shifted and wraps around into psychedelic bands, while crossfading to the incoming image
|
|
4
|
+
// Tags: color, glitch, psychedelic, fade
|
|
5
|
+
|
|
6
|
+
// @range(-2, 2) Shift of the red channel over the transition
|
|
7
|
+
uniform float r_strength; // = 1.0
|
|
8
|
+
// @range(-2, 2) Shift of the green channel over the transition
|
|
9
|
+
uniform float g_strength; // = 1.0
|
|
10
|
+
// @range(-2, 2) Shift of the blue channel over the transition
|
|
11
|
+
uniform float b_strength; // = 1.0
|
|
12
|
+
|
|
13
|
+
vec4 transition (vec2 uv) {
|
|
14
|
+
vec4 from = getFromColor(uv);
|
|
15
|
+
vec4 to = getToColor(uv);
|
|
16
|
+
vec3 c = from.rgb + vec3(r_strength, g_strength, b_strength)*progress;
|
|
17
|
+
// The wrap flips bright (or, with negative strengths, dark) channels at once: fade it in over the first frames
|
|
18
|
+
from.rgb = mix(from.rgb, mod(c, 1.0), smoothstep(0.0, 0.1, progress));
|
|
19
|
+
return mix(from, to, progress);
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: The frame is cut into interleaved strips that slide in opposite directions, each pushing the outgoing image out and the incoming one in
|
|
4
|
+
// Tags: slide, stripes, push, horizontal
|
|
5
|
+
|
|
6
|
+
// @range(2, 40, 1) Number of strips
|
|
7
|
+
uniform int strips; // = 10
|
|
8
|
+
// @param Cut the frame into columns that slide up and down instead
|
|
9
|
+
uniform bool vertical; // = false
|
|
10
|
+
|
|
11
|
+
vec4 transition (vec2 uv) {
|
|
12
|
+
// a: the axis along which the strips slide, b: the axis across them
|
|
13
|
+
float a = vertical ? uv.y : uv.x;
|
|
14
|
+
float b = vertical ? uv.x : uv.y;
|
|
15
|
+
// alternate strips slide in opposite directions
|
|
16
|
+
float dir = mod(floor(b * float(strips)), 2.0) < 0.5 ? 1.0 : -1.0;
|
|
17
|
+
// ease in and out, but keep moving from the first frame
|
|
18
|
+
float t = mix(progress, progress * progress * (3.0 - 2.0 * progress), 0.6);
|
|
19
|
+
float fa = a - dir * t;
|
|
20
|
+
if (fa >= 0.0 && fa <= 1.0) {
|
|
21
|
+
return getFromColor(vertical ? vec2(b, fa) : vec2(fa, b));
|
|
22
|
+
}
|
|
23
|
+
float ta = fa + dir;
|
|
24
|
+
return getToColor(vertical ? vec2(b, ta) : vec2(ta, b));
|
|
25
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: The two images are faces of a rotating 3D cube, with a floor reflection
|
|
4
|
+
// Tags: 3d, cube, rotate, reflection
|
|
5
|
+
// @range(0, 1) Amount of perspective
|
|
6
|
+
uniform float persp; // = 0.7
|
|
7
|
+
uniform float unzoom; // = 0.3
|
|
8
|
+
// @range(0, 1) Strength of the reflection
|
|
9
|
+
uniform float reflection; // = 0.4
|
|
10
|
+
uniform float floating; // = 3.0
|
|
11
|
+
|
|
12
|
+
vec2 project (vec2 p) {
|
|
13
|
+
return p * vec2(1.0, -1.2) + vec2(0.0, -floating/100.);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
bool inBounds (vec2 p) {
|
|
17
|
+
return all(lessThan(vec2(0.0), p)) && all(lessThan(p, vec2(1.0)));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
vec4 bgColor (vec2 p, vec2 pfr, vec2 pto) {
|
|
21
|
+
vec4 c = vec4(0.0); // where no image is drawn: transparent
|
|
22
|
+
pfr = project(pfr);
|
|
23
|
+
// FIXME avoid branching might help perf!
|
|
24
|
+
if (inBounds(pfr)) {
|
|
25
|
+
c += mix(vec4(0.0), getFromColor(pfr), reflection * mix(1.0, 0.0, pfr.y));
|
|
26
|
+
}
|
|
27
|
+
pto = project(pto);
|
|
28
|
+
if (inBounds(pto)) {
|
|
29
|
+
c += mix(vec4(0.0), getToColor(pto), reflection * mix(1.0, 0.0, pto.y));
|
|
30
|
+
}
|
|
31
|
+
return c;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// p : the position
|
|
35
|
+
// persp : the perspective in [ 0, 1 ]
|
|
36
|
+
// center : the xcenter in [0, 1] \ 0.5 excluded
|
|
37
|
+
vec2 xskew (vec2 p, float persp, float center) {
|
|
38
|
+
float x = mix(p.x, 1.0-p.x, center);
|
|
39
|
+
return (
|
|
40
|
+
(
|
|
41
|
+
vec2( x, (p.y - 0.5*(1.0-persp) * x) / (1.0+(persp-1.0)*x) )
|
|
42
|
+
- vec2(0.5-distance(center, 0.5), 0.0)
|
|
43
|
+
)
|
|
44
|
+
* vec2(0.5 / distance(center, 0.5) * (center<0.5 ? 1.0 : -1.0), 1.0)
|
|
45
|
+
+ vec2(center<0.5 ? 0.0 : 1.0, 0.0)
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
vec4 transition(vec2 op) {
|
|
50
|
+
float uz = unzoom * 2.0*(0.5-distance(0.5, progress));
|
|
51
|
+
vec2 p = -uz*0.5+(1.0+uz) * op;
|
|
52
|
+
vec2 fromP = xskew(
|
|
53
|
+
(p - vec2(progress, 0.0)) / vec2(1.0-progress, 1.0),
|
|
54
|
+
1.0-mix(progress, 0.0, persp),
|
|
55
|
+
0.0
|
|
56
|
+
);
|
|
57
|
+
vec2 toP = xskew(
|
|
58
|
+
p / vec2(progress, 1.0),
|
|
59
|
+
mix(pow(progress, 2.0), 1.0, persp),
|
|
60
|
+
1.0
|
|
61
|
+
);
|
|
62
|
+
// FIXME avoid branching might help perf!
|
|
63
|
+
if (inBounds(fromP)) {
|
|
64
|
+
return getFromColor(fromP);
|
|
65
|
+
}
|
|
66
|
+
else if (inBounds(toP)) {
|
|
67
|
+
return getToColor(toP);
|
|
68
|
+
}
|
|
69
|
+
return bgColor(op, fromP, toP);
|
|
70
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: The outgoing image parts in the middle like stage curtains, gathering into shaded folds as it is pulled to the sides
|
|
4
|
+
// Tags: split, horizontal, fold, 3d
|
|
5
|
+
|
|
6
|
+
// @range(1, 16, 1) Number of folds in each curtain (fewer in a portrait image)
|
|
7
|
+
uniform float folds; // = 7.0
|
|
8
|
+
// @range(0, 1) Depth of the shading on the folds
|
|
9
|
+
uniform float shading; // = 0.7
|
|
10
|
+
// @range(0, 0.4) Width of each curtain once gathered, relative to the image width
|
|
11
|
+
uniform float bunch; // = 0.12
|
|
12
|
+
// @range(0, 1) How much the bottom of the curtains lags behind the top
|
|
13
|
+
uniform float sway; // = 0.4
|
|
14
|
+
|
|
15
|
+
const float PI = 3.141592653589793;
|
|
16
|
+
|
|
17
|
+
vec4 transition (vec2 uv) {
|
|
18
|
+
// the bottom of the fabric follows the top with a little delay
|
|
19
|
+
float lag = sway * (1.0 - uv.y);
|
|
20
|
+
float p = progress * (1.0 - lag * (1.0 - progress));
|
|
21
|
+
float open = mix(p, p * p * (3.0 - 2.0 * p), 0.75);
|
|
22
|
+
// each curtain hangs from its outer edge, gathers to the bunch width, then leaves the frame
|
|
23
|
+
float edge = -bunch * open * open;
|
|
24
|
+
float w = mix(0.5, bunch, open);
|
|
25
|
+
float x = min(uv.x, 1.0 - uv.x) - edge; // distance to the outer edge of the curtain
|
|
26
|
+
if (x >= w) {
|
|
27
|
+
// soft shadow of the curtain on the stage, fading as the curtain leaves the frame
|
|
28
|
+
vec4 to = getToColor(uv);
|
|
29
|
+
float shadow = 0.4 * exp((w - x) * 25.0) * clamp((edge + w) * 20.0, 0.0, 1.0);
|
|
30
|
+
return vec4(to.rgb * (1.0 - shadow * open), to.a);
|
|
31
|
+
}
|
|
32
|
+
float t = x / w;
|
|
33
|
+
// pleats: the fabric bunches up where cos(a) > 0 and is stretched elsewhere
|
|
34
|
+
float n = max(1.0, floor(folds * min(ratio, 1.0) + 0.5)); // folds keep their size in portrait
|
|
35
|
+
float a = 2.0 * PI * n * t;
|
|
36
|
+
float f = 1.0 - (1.0 - open) * (1.0 - open) * (1.0 - open); // the folds form early
|
|
37
|
+
float gather = 0.92 * f;
|
|
38
|
+
float s = 0.5 * (t + gather * sin(a) / (2.0 * PI * n)); // position in the fabric
|
|
39
|
+
vec4 c = getFromColor(vec2(uv.x < 0.5 ? s : 1.0 - s, uv.y));
|
|
40
|
+
// light comes from the front, a bit from the middle of the stage
|
|
41
|
+
float slope = 3.0 * gather * cos(a) * (uv.x < 0.5 ? 1.0 : -1.0);
|
|
42
|
+
float diffuse = (1.0 + 0.5 * slope) / sqrt(1.25 * (1.0 + slope * slope));
|
|
43
|
+
float crease = 0.5 + 0.5 * sin(a); // the back of each pleat is in the dark
|
|
44
|
+
float light = mix(1.0, diffuse * (1.0 - 0.6 * crease * crease), shading * f);
|
|
45
|
+
return vec4(c.rgb * light, c.a);
|
|
46
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: A soft-edged diamond grows from the center to reveal the incoming image
|
|
4
|
+
// Tags: shape, wipe, iris
|
|
5
|
+
|
|
6
|
+
// @param Center of the diamond
|
|
7
|
+
uniform vec2 center; // = vec2(0.5)
|
|
8
|
+
// @range(0, 0.5) Softness of the diamond's edge
|
|
9
|
+
uniform float smoothness; // = 0.03
|
|
10
|
+
|
|
11
|
+
vec4 transition (vec2 uv) {
|
|
12
|
+
// Measured in square pixels, so the diamond is not stretched
|
|
13
|
+
vec2 d = abs(uv - center) * vec2(ratio, 1.0);
|
|
14
|
+
// The diamond covers the frame once it reaches the farthest corner
|
|
15
|
+
vec2 far = max(center, 1.0 - center) * vec2(ratio, 1.0);
|
|
16
|
+
float dist = (d.x + d.y) / (far.x + far.y);
|
|
17
|
+
float s = max(smoothness, 0.001);
|
|
18
|
+
float m = smoothstep(0.0, s, progress * (1.0 + s) - dist);
|
|
19
|
+
return mix(getFromColor(uv), getToColor(uv), m);
|
|
20
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: The incoming image appears through a regular 8x8 ordered dither pattern, like a retro computer screen
|
|
4
|
+
// Tags: dissolve, pattern, retro, pixelate
|
|
5
|
+
|
|
6
|
+
// @range(0.002, 0.05) Size of a dither dot, relative to the height
|
|
7
|
+
uniform float dotSize; // = 0.02
|
|
8
|
+
|
|
9
|
+
// Threshold of the 8x8 Bayer matrix at integer cell c, in (0, 1)
|
|
10
|
+
float bayer(vec2 c) {
|
|
11
|
+
float v = 0.0;
|
|
12
|
+
float scale = 16.0;
|
|
13
|
+
for (int i = 0; i < 3; i++) {
|
|
14
|
+
vec2 bit = mod(floor(c), 2.0);
|
|
15
|
+
// a 2x2 step: 0 2 / 3 1, i.e. 2 * (x xor y) + y
|
|
16
|
+
v += scale * (2.0 * abs(bit.x - bit.y) + bit.y);
|
|
17
|
+
c *= 0.5;
|
|
18
|
+
scale *= 0.25;
|
|
19
|
+
}
|
|
20
|
+
return (v + 0.5) / 64.0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
vec4 transition(vec2 uv) {
|
|
24
|
+
vec2 cell = floor(uv * vec2(ratio, 1.0) / dotSize);
|
|
25
|
+
return progress < bayer(cell) ? getFromColor(uv) : getToColor(uv);
|
|
26
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: The outgoing image opens like double doors as the incoming one comes forward, with a floor reflection
|
|
4
|
+
// Tags: doors, 3d, reflection
|
|
5
|
+
// @param Strength of the reflection
|
|
6
|
+
uniform float reflection; // = 0.4
|
|
7
|
+
// @param Amount of perspective
|
|
8
|
+
uniform float perspective; // = 0.4
|
|
9
|
+
uniform float depth; // = 3
|
|
10
|
+
|
|
11
|
+
const vec4 black = vec4(0.0); // where no image is drawn: transparent
|
|
12
|
+
const vec2 boundMin = vec2(0.0, 0.0);
|
|
13
|
+
const vec2 boundMax = vec2(1.0, 1.0);
|
|
14
|
+
|
|
15
|
+
bool inBounds (vec2 p) {
|
|
16
|
+
return all(lessThan(boundMin, p)) && all(lessThan(p, boundMax));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
vec2 project (vec2 p) {
|
|
20
|
+
return p * vec2(1.0, -1.2) + vec2(0.0, -0.02);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
vec4 bgColor (vec2 p, vec2 pto) {
|
|
24
|
+
vec4 c = black;
|
|
25
|
+
pto = project(pto);
|
|
26
|
+
if (inBounds(pto)) {
|
|
27
|
+
c += mix(black, getToColor(pto), reflection * mix(1.0, 0.0, pto.y));
|
|
28
|
+
}
|
|
29
|
+
return c;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
vec4 transition (vec2 p) {
|
|
34
|
+
vec2 pfr = vec2(-1.), pto = vec2(-1.);
|
|
35
|
+
float middleSlit = 2.0 * abs(p.x-0.5) - progress;
|
|
36
|
+
if (middleSlit > 0.0) {
|
|
37
|
+
pfr = p + (p.x > 0.5 ? -1.0 : 1.0) * vec2(0.5*progress, 0.0);
|
|
38
|
+
float d = 1.0/(1.0+perspective*progress*(1.0-middleSlit));
|
|
39
|
+
pfr.y -= d/2.;
|
|
40
|
+
pfr.y *= d;
|
|
41
|
+
pfr.y += d/2.;
|
|
42
|
+
}
|
|
43
|
+
float size = mix(1.0, depth, 1.-progress);
|
|
44
|
+
pto = (p + vec2(-0.5, -0.5)) * vec2(size, size) + vec2(0.5, 0.5);
|
|
45
|
+
if (inBounds(pfr)) {
|
|
46
|
+
return getFromColor(pfr);
|
|
47
|
+
}
|
|
48
|
+
else if (inBounds(pto)) {
|
|
49
|
+
return getToColor(pto);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
return bgColor(p, pto);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -38,5 +38,6 @@ vec4 transition(vec2 uv) {
|
|
|
38
38
|
vec4 c = progress < 0.5 ? getFromColor(p) : getToColor(p);
|
|
39
39
|
|
|
40
40
|
// Finally, apply the color
|
|
41
|
-
|
|
41
|
+
// The flash lights up the image, not the transparent areas around it.
|
|
42
|
+
return vec4(c.rgb + (progress < 0.5 ? mix(0.0, 1.0, phase) : mix(1.0, 0.0, phase)), c.a);
|
|
42
43
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// Author: Woohyun Kim
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: Both images fade through black with their edges glowing
|
|
4
|
+
// Tags: edges, fade
|
|
5
|
+
|
|
6
|
+
uniform float edge_thickness; // = 0.001
|
|
7
|
+
uniform float edge_brightness; // = 8.0
|
|
8
|
+
|
|
9
|
+
vec3 detectEdgeColor(vec3[9] c) {
|
|
10
|
+
/* adjacent texel array for texel c[4]
|
|
11
|
+
036
|
|
12
|
+
147
|
|
13
|
+
258
|
|
14
|
+
*/
|
|
15
|
+
vec3 dx = 2.0 * abs(c[7]-c[1]) + abs(c[2] - c[6]) + abs(c[8] - c[0]);
|
|
16
|
+
vec3 dy = 2.0 * abs(c[3]-c[5]) + abs(c[6] - c[8]) + abs(c[0] - c[2]);
|
|
17
|
+
float delta = length(0.25 * (dx + dy) * 0.5);
|
|
18
|
+
return clamp(edge_brightness * delta, 0.0, 1.0) * c[4];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
vec4 getFromEdgeColor(vec2 uv) {
|
|
22
|
+
vec3 c[9];
|
|
23
|
+
float alpha = 0.0;
|
|
24
|
+
for (int i=0; i < 3; ++i) for (int j=0; j < 3; ++j)
|
|
25
|
+
{
|
|
26
|
+
vec4 color = getFromColor(uv + edge_thickness * vec2(i-1,j-1));
|
|
27
|
+
c[3*i + j] = color.rgb;
|
|
28
|
+
if (i == 1 && j == 1) alpha = color.a;
|
|
29
|
+
}
|
|
30
|
+
return vec4(detectEdgeColor(c), alpha);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
vec4 getToEdgeColor(vec2 uv) {
|
|
34
|
+
vec3 c[9];
|
|
35
|
+
float alpha = 0.0;
|
|
36
|
+
for (int i=0; i < 3; ++i) for (int j=0; j < 3; ++j)
|
|
37
|
+
{
|
|
38
|
+
vec4 color = getToColor(uv + edge_thickness * vec2(i-1,j-1));
|
|
39
|
+
c[3*i + j] = color.rgb;
|
|
40
|
+
if (i == 1 && j == 1) alpha = color.a;
|
|
41
|
+
}
|
|
42
|
+
return vec4(detectEdgeColor(c), alpha);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
vec4 transition (vec2 uv) {
|
|
46
|
+
vec4 start = mix(getFromColor(uv), getFromEdgeColor(uv), clamp(2.0 * progress, 0.0, 1.0));
|
|
47
|
+
vec4 end = mix(getToEdgeColor(uv), getToColor(uv), clamp(2.0 * (progress - 0.5), 0.0, 1.0));
|
|
48
|
+
return mix(
|
|
49
|
+
start,
|
|
50
|
+
end,
|
|
51
|
+
progress
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: A fade through a solid color, black by default
|
|
4
|
+
// Tags: fade, color
|
|
5
|
+
// @color Color to fade through
|
|
6
|
+
uniform vec4 color; // = vec4(0.0, 0.0, 0.0, 1.0)
|
|
7
|
+
// @range(0, 1) How long the color shows in the middle
|
|
8
|
+
uniform float colorPhase; // = 0.4 ; // if 0.0, there is no black phase, if 0.9, the black phase is very important
|
|
9
|
+
vec4 transition (vec2 uv) {
|
|
10
|
+
return mix(
|
|
11
|
+
mix(color, getFromColor(uv), smoothstep(1.0-colorPhase, 0.0, progress)),
|
|
12
|
+
mix(color, getToColor(uv), smoothstep( colorPhase, 1.0, progress)),
|
|
13
|
+
progress);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: A crossfade through grayscale
|
|
4
|
+
// Tags: fade, grayscale, color
|
|
5
|
+
|
|
6
|
+
// @range(0, 1) How long the grayscale phase lasts
|
|
7
|
+
uniform float intensity; // = 0.3; // if 0.0, the image directly turn grayscale, if 0.9, the grayscale transition phase is very important
|
|
8
|
+
|
|
9
|
+
vec3 grayscale (vec3 color) {
|
|
10
|
+
return vec3(0.2126*color.r + 0.7152*color.g + 0.0722*color.b);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
vec4 transition (vec2 uv) {
|
|
14
|
+
vec4 fc = getFromColor(uv);
|
|
15
|
+
vec4 tc = getToColor(uv);
|
|
16
|
+
return mix(
|
|
17
|
+
mix(vec4(grayscale(fc.rgb), fc.a), fc, smoothstep(1.0-intensity, 0.0, progress)),
|
|
18
|
+
mix(vec4(grayscale(tc.rgb), tc.a), tc, smoothstep( intensity, 1.0, progress)),
|
|
19
|
+
progress);
|
|
20
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: The outgoing image falls over backward, hinged on its bottom edge, revealing the incoming one behind it
|
|
4
|
+
// Tags: rotate, vertical, 3d
|
|
5
|
+
|
|
6
|
+
// @range(0, 1) Strength of the perspective
|
|
7
|
+
uniform float perspective; // = 0.8
|
|
8
|
+
// @range(0, 1) How much the image darkens as it falls
|
|
9
|
+
uniform float shading; // = 0.7
|
|
10
|
+
|
|
11
|
+
const float PI = 3.141592653589793;
|
|
12
|
+
|
|
13
|
+
vec4 transition (vec2 uv) {
|
|
14
|
+
// it starts slowly, then gravity takes over
|
|
15
|
+
float fall = progress * (0.25 + 0.75 * progress);
|
|
16
|
+
float angle = 0.5 * PI * fall;
|
|
17
|
+
float c = cos(angle), s = sin(angle);
|
|
18
|
+
// a camera in front of the middle of the image goes down to the level of the hinge,
|
|
19
|
+
// so that the image ends edge-on
|
|
20
|
+
float dist = 1.0 / max(perspective, 0.01);
|
|
21
|
+
vec3 eye = vec3(0.5 * ratio, 0.5 * c, -dist);
|
|
22
|
+
vec3 dir = vec3(uv.x * ratio, uv.y, 0.0) - eye;
|
|
23
|
+
// cast a ray onto the plane of the image turned back by angle around its bottom edge
|
|
24
|
+
float den = dir.z * c - dir.y * s;
|
|
25
|
+
if (den > 0.0) {
|
|
26
|
+
float t = (eye.y * s - eye.z * c) / den;
|
|
27
|
+
vec3 hit = eye + t * dir;
|
|
28
|
+
vec2 puv = vec2(hit.x / ratio, hit.y * c + hit.z * s);
|
|
29
|
+
if (t > 0.0 && puv.y > 0.0 && puv.y <= 1.0 && puv.x >= 0.0 && puv.x <= 1.0) {
|
|
30
|
+
vec4 col = getFromColor(puv);
|
|
31
|
+
return vec4(col.rgb * (1.0 - shading * s), col.a);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return getToColor(uv);
|
|
35
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: The outgoing image bulges toward the viewer through a strong fisheye lens, then the incoming one flattens back into place
|
|
4
|
+
// Tags: lens, distort, zoom, blend
|
|
5
|
+
|
|
6
|
+
// @range(0, 1) Strength of the lens at its peak
|
|
7
|
+
uniform float strength; // = 0.8
|
|
8
|
+
|
|
9
|
+
vec4 transition(vec2 uv) {
|
|
10
|
+
// lens amount: grows, peaks in the middle, then relaxes, eased so that
|
|
11
|
+
// the magnification of the center (1 / (1 - k)) changes at an even pace
|
|
12
|
+
float h = smoothstep(0.0, 1.0, 1.0 - abs(2.0 * progress - 1.0));
|
|
13
|
+
float k = 1.0 - pow(max(1.0 - strength, 0.01), h);
|
|
14
|
+
// round lens: aspect-corrected coordinates, 1.0 at the corners
|
|
15
|
+
vec2 aspect = vec2(ratio, 1.0);
|
|
16
|
+
vec2 c = (uv - 0.5) * aspect;
|
|
17
|
+
float r = length(c) / length(0.5 * aspect);
|
|
18
|
+
// barrel mapping that keeps the corners in place: the center is magnified,
|
|
19
|
+
// the edges squeezed, and every sample stays inside the image
|
|
20
|
+
vec2 q = 0.5 + (uv - 0.5) * (1.0 - k + k * r * r);
|
|
21
|
+
return mix(getFromColor(q), getToColor(q), smoothstep(0.38, 0.62, progress));
|
|
22
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: A crossfade that brightens toward a color in the middle
|
|
4
|
+
// Tags: fade, color, flash
|
|
5
|
+
// @color Color the images brighten toward
|
|
6
|
+
uniform vec3 color /* = vec3(0.9, 0.4, 0.2) */;
|
|
7
|
+
vec4 transition (vec2 uv) {
|
|
8
|
+
return mix(
|
|
9
|
+
getFromColor(uv) + vec4(progress*color, 0.0),
|
|
10
|
+
getToColor(uv) + vec4((1.0-progress)*color, 0.0),
|
|
11
|
+
progress
|
|
12
|
+
);
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Author: gre
|
|
2
|
+
// License: MIT
|
|
3
|
+
// Description: The image breaks into a fly's-eye grid of lenses with color separation
|
|
4
|
+
// Tags: lens, distort, chromatic
|
|
5
|
+
uniform float size; // = 0.04
|
|
6
|
+
uniform float zoom; // = 50.0
|
|
7
|
+
uniform float colorSeparation; // = 0.3
|
|
8
|
+
|
|
9
|
+
vec4 transition(vec2 p) {
|
|
10
|
+
float inv = 1. - progress;
|
|
11
|
+
vec2 disp = size*vec2(cos(zoom*p.x), sin(zoom*p.y));
|
|
12
|
+
vec4 texTo = getToColor(p + inv*disp);
|
|
13
|
+
vec4 fromCenter = getFromColor(p + progress*disp);
|
|
14
|
+
vec4 texFrom = vec4(
|
|
15
|
+
getFromColor(p + progress*disp*(1.0 - colorSeparation)).r,
|
|
16
|
+
fromCenter.g,
|
|
17
|
+
getFromColor(p + progress*disp*(1.0 + colorSeparation)).b,
|
|
18
|
+
fromCenter.a);
|
|
19
|
+
return texTo*progress + texFrom*inv;
|
|
20
|
+
}
|
|
@@ -66,8 +66,7 @@ vec4 transition(vec2 uv) {
|
|
|
66
66
|
vec4 dColor2 = getFromColor(disp2);
|
|
67
67
|
float val = ease1(progress);
|
|
68
68
|
vec3 gray = vec3(dot(min(dColor2, dColor1).rgb, vec3(0.299, 0.587, 0.114)));
|
|
69
|
-
dColor2 = vec4(gray,
|
|
70
|
-
dColor2 *= 2.0;
|
|
69
|
+
dColor2 = vec4(gray * 2.0, dColor2.a);
|
|
71
70
|
color1 = mix(color1, dColor2, smoothstep(0.0, 0.5, progress));
|
|
72
71
|
color2 = mix(color2, dColor1, smoothstep(1.0, 0.5, progress));
|
|
73
72
|
return mix(color1, color2, val);
|