gl-transitions 1.76.1 → 2.0.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 +122 -0
- package/README.md +12 -6
- package/compatibility.json +298 -300
- package/gl-transitions.js +1 -1
- package/gl-transitions.json +1 -1
- package/glsl3/Bounce.glsl +4 -3
- package/glsl3/{BowTieWithParameter.glsl → BowTie.glsl} +1 -1
- package/glsl3/{burn0.glsl → BurnThrough.glsl} +1 -1
- package/glsl3/ButterflyWaveScrawler.glsl +3 -2
- package/glsl3/{chessboard.glsl → Chessboard.glsl} +1 -1
- package/glsl3/{circle.glsl → CircleIris.glsl} +3 -3
- package/glsl3/{circleopen.glsl → CircleOpen.glsl} +1 -1
- package/glsl3/{angular.glsl → ClockWipe.glsl} +1 -1
- package/glsl3/{coord-from-in.glsl → ColorCoords.glsl} +1 -1
- package/glsl3/{ColourDistance.glsl → ColorDistance.glsl} +1 -1
- package/glsl3/{colorphase.glsl → ColorPhase.glsl} +1 -1
- package/glsl3/ColorWrap.glsl +21 -0
- package/glsl3/{crosswarp.glsl → CrossWarp.glsl} +1 -1
- package/glsl3/{crosshatch.glsl → Crosshatch.glsl} +1 -1
- package/glsl3/{cube.glsl → Cube.glsl} +2 -2
- package/glsl3/{directional-easing.glsl → DirectionalEased.glsl} +1 -1
- package/glsl3/{directionalwarp.glsl → DirectionalWarp.glsl} +1 -1
- package/glsl3/{directionalwipe.glsl → DirectionalWipe.glsl} +1 -1
- package/glsl3/{displacement.glsl → DisplacementMap.glsl} +1 -1
- package/glsl3/{DoomScreenTransition.glsl → DoomMelt.glsl} +1 -1
- package/glsl3/{doorway.glsl → Doorway.glsl} +2 -2
- package/glsl3/DreamyZoom.glsl +2 -1
- package/glsl3/{EdgeTransition.glsl → EdgeGlow.glsl} +9 -5
- package/glsl3/{fade.glsl → Fade.glsl} +1 -1
- package/glsl3/{fadecolor.glsl → FadeColor.glsl} +4 -4
- package/glsl3/{fadegrayscale.glsl → FadeGrayscale.glsl} +3 -3
- package/glsl3/{burn.glsl → FlashFade.glsl} +3 -3
- package/glsl3/{polar_function.glsl → FlowerWipe.glsl} +1 -1
- package/glsl3/{flyeye.glsl → FlyEye.glsl} +4 -3
- package/glsl3/{parametric_glitch.glsl → GlitchBands.glsl} +1 -1
- package/glsl3/GlitchDisplace.glsl +1 -2
- package/glsl3/{Drop_Zone_Flicker.glsl → GlitchFlicker.glsl} +8 -6
- package/glsl3/GlitchMemories.glsl +2 -1
- package/glsl3/{dissolve.glsl → GlowDissolve.glsl} +2 -2
- package/glsl3/{heart.glsl → HeartWipe.glsl} +1 -1
- package/glsl3/{hexagonalize.glsl → Hexagonalize.glsl} +1 -1
- package/glsl3/{HSVfade.glsl → HsvFade.glsl} +5 -5
- package/glsl3/InvertedPageCurl.glsl +3 -2
- package/glsl3/{kaleidoscope.glsl → Kaleidoscope.glsl} +1 -1
- package/glsl3/{cannabisleaf.glsl → LeafWipe.glsl} +2 -2
- package/glsl3/LeftRight.glsl +1 -1
- package/glsl3/LissajousTiles.glsl +40 -0
- package/glsl3/{luma.glsl → LumaWipe.glsl} +1 -1
- package/glsl3/{luminance_melt.glsl → LuminanceMelt.glsl} +1 -1
- package/glsl3/{morph.glsl → Morph.glsl} +1 -1
- package/glsl3/{AdvancedMosaic.glsl → MosaicBlend.glsl} +1 -1
- package/glsl3/{mosaic_transition.glsl → MosaicFade.glsl} +1 -1
- package/glsl3/{multiply_blend.glsl → MultiplyBlend.glsl} +1 -1
- package/glsl3/{randomNoisex.glsl → NoiseDissolve.glsl} +1 -1
- package/glsl3/{perlin.glsl → PerlinDissolve.glsl} +1 -1
- package/glsl3/{pinwheel.glsl → Pinwheel.glsl} +1 -1
- package/glsl3/{pixelize.glsl → Pixelize.glsl} +1 -1
- package/glsl3/{powerKaleido.glsl → PowerKaleido.glsl} +1 -1
- package/glsl3/{Radial.glsl → RadialWipe.glsl} +1 -1
- package/glsl3/{randomsquares.glsl → RandomSquares.glsl} +1 -1
- package/glsl3/{Rectangle.glsl → RectangleCover.glsl} +1 -1
- package/glsl3/{RectangleCrop.glsl → RectangleIris.glsl} +1 -1
- package/glsl3/{Revolve_Left.glsl → Revolve.glsl} +1 -1
- package/glsl3/{ripple.glsl → Ripple.glsl} +1 -1
- package/glsl3/{rotateTransition.glsl → RotateFade.glsl} +1 -1
- package/glsl3/{rotate_scale_fade.glsl → RotateScaleFade.glsl} +1 -1
- package/glsl3/RotateScaleVanish.glsl +1 -1
- package/glsl3/{scale-in.glsl → ScaleIn.glsl} +1 -1
- package/glsl3/{fragment.glsl → Shatter.glsl} +1 -1
- package/glsl3/SimpleFlip.glsl +2 -1
- package/glsl3/{x_axis_translation.glsl → SlideAwayRight.glsl} +1 -1
- package/glsl3/{splitSlideInHorizontal.glsl → SplitSlideInHorizontal.glsl} +1 -1
- package/glsl3/{splitSlideInOutHorizontal.glsl → SplitSlideInOutHorizontal.glsl} +1 -1
- package/glsl3/{splitSlideInOutVertical.glsl → SplitSlideInOutVertical.glsl} +1 -1
- package/glsl3/{splitSlideInVertical.glsl → SplitSlideInVertical.glsl} +1 -1
- package/glsl3/{splitSlideOutHorizontal.glsl → SplitSlideOutHorizontal.glsl} +1 -1
- package/glsl3/{splitSlideOutVertical.glsl → SplitSlideOutVertical.glsl} +1 -1
- package/glsl3/{squareswire.glsl → SquaresWipe.glsl} +1 -1
- package/glsl3/{squeeze.glsl → Squeeze.glsl} +1 -1
- package/glsl3/StaticFade.glsl +3 -3
- package/glsl3/{static_wipe.glsl → StaticWipe.glsl} +2 -2
- package/glsl3/StereoViewer.glsl +1 -1
- package/glsl3/StripDatamoshGlitch.glsl +7 -5
- package/glsl3/{swap.glsl → Swap.glsl} +2 -2
- package/glsl3/{tangentMotionBlur.glsl → TangentMotionBlur.glsl} +12 -5
- package/glsl3/TopBottom.glsl +1 -1
- package/glsl3/{old_tv_lost_signal.glsl → TvLostSignal.glsl} +1 -1
- package/glsl3/{TVStatic.glsl → TvStatic.glsl} +2 -2
- package/glsl3/{undulatingBurnOut.glsl → UndulatingBurnOut.glsl} +3 -3
- package/glsl3/{wind.glsl → Wind.glsl} +1 -1
- package/glsl3/{windowblinds.glsl → WindowBlinds.glsl} +1 -1
- package/glsl3/{windowslice.glsl → WindowSlices.glsl} +1 -1
- package/glsl3/{wipeDown.glsl → WipeDown.glsl} +1 -1
- package/glsl3/{wipeLeft.glsl → WipeLeft.glsl} +1 -1
- package/glsl3/{wipeRight.glsl → WipeRight.glsl} +1 -1
- package/glsl3/{wipeUp.glsl → WipeUp.glsl} +1 -1
- package/glsl3/{zoomInOut.glsl → ZoomInOut.glsl} +1 -1
- package/glsl3/{ZoomLeftWipe.glsl → ZoomWipeLeft.glsl} +1 -1
- package/glsl3/{ZoomRigthWipe.glsl → ZoomWipeRight.glsl} +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/layouts.json +778 -758
- package/llms-full.txt +1062 -1048
- package/llms.txt +136 -130
- package/msl/Bounce.metal +36 -31
- package/msl/{BowTieWithParameter.metal → BowTie.metal} +1 -1
- package/msl/{burn0.metal → BurnThrough.metal} +1 -1
- package/msl/ButterflyWaveScrawler.metal +86 -82
- package/msl/{chessboard.metal → Chessboard.metal} +1 -1
- package/msl/{circle.metal → CircleIris.metal} +14 -14
- package/msl/{circleopen.metal → CircleOpen.metal} +1 -1
- package/msl/{angular.metal → ClockWipe.metal} +1 -1
- package/msl/{coord-from-in.metal → ColorCoords.metal} +1 -1
- package/msl/{ColourDistance.metal → ColorDistance.metal} +1 -1
- package/msl/{colorphase.metal → ColorPhase.metal} +1 -1
- package/msl/ColorWrap.metal +119 -0
- package/msl/{crosswarp.metal → CrossWarp.metal} +1 -1
- package/msl/{crosshatch.metal → Crosshatch.metal} +1 -1
- package/msl/Cube.metal +259 -0
- package/msl/{directional-easing.metal → DirectionalEased.metal} +1 -1
- package/msl/{directionalwarp.metal → DirectionalWarp.metal} +1 -1
- package/msl/{directionalwipe.metal → DirectionalWipe.metal} +1 -1
- package/msl/{displacement.metal → DisplacementMap.metal} +1 -1
- package/msl/{DoomScreenTransition.metal → DoomMelt.metal} +1 -1
- package/msl/{doorway.metal → Doorway.metal} +3 -3
- package/msl/DreamyZoom.metal +81 -79
- package/msl/EdgeGlow.metal +294 -0
- package/msl/{fade.metal → Fade.metal} +1 -1
- package/msl/{fadecolor.metal → FadeColor.metal} +17 -16
- package/msl/{fadegrayscale.metal → FadeGrayscale.metal} +40 -38
- package/msl/{burn.metal → FlashFade.metal} +2 -2
- package/msl/{polar_function.metal → FlowerWipe.metal} +1 -1
- package/msl/FlyEye.metal +137 -0
- package/msl/{parametric_glitch.metal → GlitchBands.metal} +1 -1
- package/msl/GlitchDisplace.metal +177 -177
- package/msl/GlitchFlicker.metal +570 -0
- package/msl/GlitchMemories.metal +61 -57
- package/msl/{dissolve.metal → GlowDissolve.metal} +4 -6
- package/msl/{heart.metal → HeartWipe.metal} +1 -1
- package/msl/{hexagonalize.metal → Hexagonalize.metal} +1 -1
- package/msl/{HSVfade.metal → HsvFade.metal} +33 -30
- package/msl/InvertedPageCurl.metal +479 -471
- package/msl/{kaleidoscope.metal → Kaleidoscope.metal} +1 -1
- package/msl/{cannabisleaf.metal → LeafWipe.metal} +2 -2
- package/msl/LeftRight.metal +1 -1
- package/msl/LissajousTiles.metal +210 -0
- package/msl/{luma.metal → LumaWipe.metal} +1 -1
- package/msl/{luminance_melt.metal → LuminanceMelt.metal} +1 -1
- package/msl/{morph.metal → Morph.metal} +1 -1
- package/msl/{AdvancedMosaic.metal → MosaicBlend.metal} +1 -1
- package/msl/{mosaic_transition.metal → MosaicFade.metal} +1 -1
- package/msl/{multiply_blend.metal → MultiplyBlend.metal} +1 -1
- package/msl/{randomNoisex.metal → NoiseDissolve.metal} +1 -1
- package/msl/{perlin.metal → PerlinDissolve.metal} +1 -1
- package/msl/{pinwheel.metal → Pinwheel.metal} +1 -1
- package/msl/{pixelize.metal → Pixelize.metal} +1 -1
- package/msl/{powerKaleido.metal → PowerKaleido.metal} +1 -1
- package/msl/{Radial.metal → RadialWipe.metal} +1 -1
- package/msl/{randomsquares.metal → RandomSquares.metal} +1 -1
- package/msl/{Rectangle.metal → RectangleCover.metal} +1 -1
- package/msl/{RectangleCrop.metal → RectangleIris.metal} +1 -1
- package/msl/{Revolve_Left.metal → Revolve.metal} +1 -1
- package/msl/{ripple.metal → Ripple.metal} +1 -1
- package/msl/{rotateTransition.metal → RotateFade.metal} +1 -1
- package/msl/{rotate_scale_fade.metal → RotateScaleFade.metal} +1 -1
- package/msl/RotateScaleVanish.metal +1 -1
- package/msl/{scale-in.metal → ScaleIn.metal} +1 -1
- package/msl/{fragment.metal → Shatter.metal} +1 -1
- package/msl/SimpleFlip.metal +3 -4
- package/msl/{x_axis_translation.metal → SlideAwayRight.metal} +1 -1
- package/msl/{splitSlideInHorizontal.metal → SplitSlideInHorizontal.metal} +1 -1
- package/msl/{splitSlideInOutHorizontal.metal → SplitSlideInOutHorizontal.metal} +1 -1
- package/msl/{splitSlideInOutVertical.metal → SplitSlideInOutVertical.metal} +1 -1
- package/msl/{splitSlideInVertical.metal → SplitSlideInVertical.metal} +1 -1
- package/msl/{splitSlideOutHorizontal.metal → SplitSlideOutHorizontal.metal} +1 -1
- package/msl/{splitSlideOutVertical.metal → SplitSlideOutVertical.metal} +1 -1
- package/msl/{squareswire.metal → SquaresWipe.metal} +1 -1
- package/msl/{squeeze.metal → Squeeze.metal} +1 -1
- package/msl/StaticFade.metal +85 -80
- package/msl/{static_wipe.metal → StaticWipe.metal} +57 -56
- package/msl/StereoViewer.metal +7 -7
- package/msl/StripDatamoshGlitch.metal +497 -488
- package/msl/{swap.metal → Swap.metal} +4 -4
- package/msl/TangentMotionBlur.metal +607 -0
- package/msl/TopBottom.metal +1 -1
- package/msl/{old_tv_lost_signal.metal → TvLostSignal.metal} +1 -1
- package/msl/{TVStatic.metal → TvStatic.metal} +51 -43
- package/msl/{undulatingBurnOut.metal → UndulatingBurnOut.metal} +5 -5
- package/msl/{wind.metal → Wind.metal} +1 -1
- package/msl/{windowblinds.metal → WindowBlinds.metal} +1 -1
- package/msl/{windowslice.metal → WindowSlices.metal} +1 -1
- package/msl/{wipeDown.metal → WipeDown.metal} +1 -1
- package/msl/{wipeLeft.metal → WipeLeft.metal} +1 -1
- package/msl/{wipeRight.metal → WipeRight.metal} +1 -1
- package/msl/{wipeUp.metal → WipeUp.metal} +1 -1
- package/msl/{zoomInOut.metal → ZoomInOut.metal} +1 -1
- package/msl/{ZoomLeftWipe.metal → ZoomWipeLeft.metal} +1 -1
- package/msl/{ZoomRigthWipe.metal → ZoomWipeRight.metal} +1 -1
- package/package.json +1 -1
- package/skills/gl-transitions/SKILL.md +25 -18
- package/skills/gl-transitions/references/catalog.md +157 -156
- 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/Bounce.sksl +4 -3
- package/sksl/{BowTieWithParameter.sksl → BowTie.sksl} +1 -1
- package/sksl/{burn0.sksl → BurnThrough.sksl} +1 -1
- package/sksl/ButterflyWaveScrawler.sksl +3 -2
- package/sksl/{chessboard.sksl → Chessboard.sksl} +1 -1
- package/sksl/{circle.sksl → CircleIris.sksl} +3 -3
- package/sksl/{circleopen.sksl → CircleOpen.sksl} +1 -1
- package/sksl/{angular.sksl → ClockWipe.sksl} +1 -1
- package/sksl/{coord-from-in.sksl → ColorCoords.sksl} +1 -1
- package/sksl/{ColourDistance.sksl → ColorDistance.sksl} +1 -1
- package/sksl/{colorphase.sksl → ColorPhase.sksl} +1 -1
- package/sksl/ColorWrap.sksl +34 -0
- package/sksl/{crosswarp.sksl → CrossWarp.sksl} +1 -1
- package/sksl/{crosshatch.sksl → Crosshatch.sksl} +1 -1
- package/sksl/{cube.sksl → Cube.sksl} +2 -2
- package/sksl/{directional-easing.sksl → DirectionalEased.sksl} +1 -1
- package/sksl/{directionalwarp.sksl → DirectionalWarp.sksl} +1 -1
- package/sksl/{directionalwipe.sksl → DirectionalWipe.sksl} +1 -1
- package/sksl/{displacement.sksl → DisplacementMap.sksl} +1 -1
- package/sksl/{DoomScreenTransition.sksl → DoomMelt.sksl} +1 -1
- package/sksl/{doorway.sksl → Doorway.sksl} +2 -2
- package/sksl/DreamyZoom.sksl +2 -1
- package/sksl/{EdgeTransition.sksl → EdgeGlow.sksl} +9 -5
- package/sksl/{fade.sksl → Fade.sksl} +1 -1
- package/sksl/{fadecolor.sksl → FadeColor.sksl} +4 -4
- package/sksl/{fadegrayscale.sksl → FadeGrayscale.sksl} +3 -3
- package/sksl/{burn.sksl → FlashFade.sksl} +3 -3
- package/sksl/{polar_function.sksl → FlowerWipe.sksl} +1 -1
- package/sksl/{flyeye.sksl → FlyEye.sksl} +4 -3
- package/sksl/{parametric_glitch.sksl → GlitchBands.sksl} +1 -1
- package/sksl/GlitchDisplace.sksl +1 -2
- package/sksl/{Drop_Zone_Flicker.sksl → GlitchFlicker.sksl} +8 -6
- package/sksl/GlitchMemories.sksl +2 -1
- package/sksl/{dissolve.sksl → GlowDissolve.sksl} +2 -2
- package/sksl/{heart.sksl → HeartWipe.sksl} +1 -1
- package/sksl/{hexagonalize.sksl → Hexagonalize.sksl} +1 -1
- package/sksl/{HSVfade.sksl → HsvFade.sksl} +5 -5
- package/sksl/InvertedPageCurl.sksl +3 -2
- package/sksl/{kaleidoscope.sksl → Kaleidoscope.sksl} +1 -1
- package/sksl/{cannabisleaf.sksl → LeafWipe.sksl} +2 -2
- package/sksl/LeftRight.sksl +1 -1
- package/sksl/LissajousTiles.sksl +52 -0
- package/sksl/{luma.sksl → LumaWipe.sksl} +1 -1
- package/sksl/{luminance_melt.sksl → LuminanceMelt.sksl} +1 -1
- package/sksl/{morph.sksl → Morph.sksl} +1 -1
- package/sksl/{AdvancedMosaic.sksl → MosaicBlend.sksl} +1 -1
- package/sksl/{mosaic_transition.sksl → MosaicFade.sksl} +1 -1
- package/sksl/{multiply_blend.sksl → MultiplyBlend.sksl} +1 -1
- package/sksl/{randomNoisex.sksl → NoiseDissolve.sksl} +1 -1
- package/sksl/{perlin.sksl → PerlinDissolve.sksl} +1 -1
- package/sksl/{pinwheel.sksl → Pinwheel.sksl} +1 -1
- package/sksl/{pixelize.sksl → Pixelize.sksl} +1 -1
- package/sksl/{powerKaleido.sksl → PowerKaleido.sksl} +1 -1
- package/sksl/{Radial.sksl → RadialWipe.sksl} +1 -1
- package/sksl/{randomsquares.sksl → RandomSquares.sksl} +1 -1
- package/sksl/{Rectangle.sksl → RectangleCover.sksl} +1 -1
- package/sksl/{RectangleCrop.sksl → RectangleIris.sksl} +1 -1
- package/sksl/{Revolve_Left.sksl → Revolve.sksl} +1 -1
- package/sksl/{ripple.sksl → Ripple.sksl} +1 -1
- package/sksl/{rotateTransition.sksl → RotateFade.sksl} +1 -1
- package/sksl/{rotate_scale_fade.sksl → RotateScaleFade.sksl} +1 -1
- package/sksl/RotateScaleVanish.sksl +1 -1
- package/sksl/{scale-in.sksl → ScaleIn.sksl} +1 -1
- package/sksl/{fragment.sksl → Shatter.sksl} +1 -1
- package/sksl/SimpleFlip.sksl +2 -1
- package/sksl/{x_axis_translation.sksl → SlideAwayRight.sksl} +1 -1
- package/sksl/{splitSlideInHorizontal.sksl → SplitSlideInHorizontal.sksl} +1 -1
- package/sksl/{splitSlideInOutHorizontal.sksl → SplitSlideInOutHorizontal.sksl} +1 -1
- package/sksl/{splitSlideInOutVertical.sksl → SplitSlideInOutVertical.sksl} +1 -1
- package/sksl/{splitSlideInVertical.sksl → SplitSlideInVertical.sksl} +1 -1
- package/sksl/{splitSlideOutHorizontal.sksl → SplitSlideOutHorizontal.sksl} +1 -1
- package/sksl/{splitSlideOutVertical.sksl → SplitSlideOutVertical.sksl} +1 -1
- package/sksl/{squareswire.sksl → SquaresWipe.sksl} +1 -1
- package/sksl/{squeeze.sksl → Squeeze.sksl} +1 -1
- package/sksl/StaticFade.sksl +3 -3
- package/sksl/{static_wipe.sksl → StaticWipe.sksl} +2 -2
- package/sksl/StereoViewer.sksl +1 -1
- package/sksl/StripDatamoshGlitch.sksl +7 -5
- package/sksl/{swap.sksl → Swap.sksl} +2 -2
- package/sksl/{tangentMotionBlur.sksl → TangentMotionBlur.sksl} +12 -5
- package/sksl/TopBottom.sksl +1 -1
- package/sksl/{old_tv_lost_signal.sksl → TvLostSignal.sksl} +1 -1
- package/sksl/{TVStatic.sksl → TvStatic.sksl} +2 -2
- package/sksl/{undulatingBurnOut.sksl → UndulatingBurnOut.sksl} +3 -3
- package/sksl/{wind.sksl → Wind.sksl} +1 -1
- package/sksl/{windowblinds.sksl → WindowBlinds.sksl} +1 -1
- package/sksl/{windowslice.sksl → WindowSlices.sksl} +1 -1
- package/sksl/{wipeDown.sksl → WipeDown.sksl} +1 -1
- package/sksl/{wipeLeft.sksl → WipeLeft.sksl} +1 -1
- package/sksl/{wipeRight.sksl → WipeRight.sksl} +1 -1
- package/sksl/{wipeUp.sksl → WipeUp.sksl} +1 -1
- package/sksl/{zoomInOut.sksl → ZoomInOut.sksl} +1 -1
- package/sksl/{ZoomLeftWipe.sksl → ZoomWipeLeft.sksl} +1 -1
- package/sksl/{ZoomRigthWipe.sksl → ZoomWipeRight.sksl} +1 -1
- package/sksl/index.js +1 -1
- package/transitions/Bounce.glsl +4 -3
- package/transitions/ButterflyWaveScrawler.glsl +3 -2
- package/transitions/{circle.glsl → CircleIris.glsl} +2 -2
- package/transitions/ColorWrap.glsl +20 -0
- package/transitions/{cube.glsl → Cube.glsl} +1 -1
- package/transitions/{doorway.glsl → Doorway.glsl} +1 -1
- package/transitions/DreamyZoom.glsl +2 -1
- package/transitions/{EdgeTransition.glsl → EdgeGlow.glsl} +8 -4
- package/transitions/{fadecolor.glsl → FadeColor.glsl} +3 -3
- package/transitions/{fadegrayscale.glsl → FadeGrayscale.glsl} +2 -2
- package/transitions/{burn.glsl → FlashFade.glsl} +2 -2
- package/transitions/{flyeye.glsl → FlyEye.glsl} +3 -2
- package/transitions/GlitchDisplace.glsl +1 -2
- package/transitions/{Drop_Zone_Flicker.glsl → GlitchFlicker.glsl} +7 -5
- package/transitions/GlitchMemories.glsl +2 -1
- package/transitions/{dissolve.glsl → GlowDissolve.glsl} +1 -1
- package/transitions/{HSVfade.glsl → HsvFade.glsl} +4 -4
- package/transitions/InvertedPageCurl.glsl +3 -2
- package/transitions/{cannabisleaf.glsl → LeafWipe.glsl} +1 -1
- package/transitions/LeftRight.glsl +1 -1
- package/transitions/LissajousTiles.glsl +39 -0
- package/transitions/RotateScaleVanish.glsl +1 -1
- package/transitions/SimpleFlip.glsl +2 -1
- package/transitions/StaticFade.glsl +3 -3
- package/transitions/{static_wipe.glsl → StaticWipe.glsl} +1 -1
- package/transitions/StereoViewer.glsl +1 -1
- package/transitions/StripDatamoshGlitch.glsl +7 -5
- package/transitions/{swap.glsl → Swap.glsl} +1 -1
- package/transitions/{tangentMotionBlur.glsl → TangentMotionBlur.glsl} +11 -4
- package/transitions/TopBottom.glsl +1 -1
- package/transitions/{TVStatic.glsl → TvStatic.glsl} +1 -1
- package/transitions/{undulatingBurnOut.glsl → UndulatingBurnOut.glsl} +2 -2
- package/wgsl/Bounce.wgsl +36 -31
- package/wgsl/{BowTieWithParameter.wgsl → BowTie.wgsl} +1 -1
- package/wgsl/{burn0.wgsl → BurnThrough.wgsl} +1 -1
- package/wgsl/ButterflyWaveScrawler.wgsl +86 -82
- package/wgsl/{chessboard.wgsl → Chessboard.wgsl} +1 -1
- package/wgsl/{circle.wgsl → CircleIris.wgsl} +13 -13
- package/wgsl/{circleopen.wgsl → CircleOpen.wgsl} +1 -1
- package/wgsl/{angular.wgsl → ClockWipe.wgsl} +1 -1
- package/wgsl/{coord-from-in.wgsl → ColorCoords.wgsl} +1 -1
- package/wgsl/{ColourDistance.wgsl → ColorDistance.wgsl} +1 -1
- package/wgsl/{colorphase.wgsl → ColorPhase.wgsl} +1 -1
- package/wgsl/ColorWrap.wgsl +91 -0
- package/wgsl/{crosswarp.wgsl → CrossWarp.wgsl} +1 -1
- package/wgsl/{crosshatch.wgsl → Crosshatch.wgsl} +1 -1
- package/wgsl/Cube.wgsl +217 -0
- package/wgsl/{directional-easing.wgsl → DirectionalEased.wgsl} +1 -1
- package/wgsl/{directionalwarp.wgsl → DirectionalWarp.wgsl} +1 -1
- package/wgsl/{directionalwipe.wgsl → DirectionalWipe.wgsl} +1 -1
- package/wgsl/{displacement.wgsl → DisplacementMap.wgsl} +1 -1
- package/wgsl/{DoomScreenTransition.wgsl → DoomMelt.wgsl} +1 -1
- package/wgsl/{doorway.wgsl → Doorway.wgsl} +3 -3
- package/wgsl/DreamyZoom.wgsl +81 -79
- package/wgsl/EdgeGlow.wgsl +233 -0
- package/wgsl/{fade.wgsl → Fade.wgsl} +1 -1
- package/wgsl/{fadecolor.wgsl → FadeColor.wgsl} +15 -15
- package/wgsl/FadeGrayscale.wgsl +95 -0
- package/wgsl/{burn.wgsl → FlashFade.wgsl} +2 -2
- package/wgsl/{polar_function.wgsl → FlowerWipe.wgsl} +1 -1
- package/wgsl/FlyEye.wgsl +109 -0
- package/wgsl/{parametric_glitch.wgsl → GlitchBands.wgsl} +1 -1
- package/wgsl/GlitchDisplace.wgsl +177 -177
- package/wgsl/GlitchFlicker.wgsl +522 -0
- package/wgsl/GlitchMemories.wgsl +61 -57
- package/wgsl/{dissolve.wgsl → GlowDissolve.wgsl} +4 -6
- package/wgsl/{heart.wgsl → HeartWipe.wgsl} +1 -1
- package/wgsl/{hexagonalize.wgsl → Hexagonalize.wgsl} +1 -1
- package/wgsl/{HSVfade.wgsl → HsvFade.wgsl} +29 -26
- package/wgsl/InvertedPageCurl.wgsl +475 -467
- package/wgsl/{kaleidoscope.wgsl → Kaleidoscope.wgsl} +1 -1
- package/wgsl/{cannabisleaf.wgsl → LeafWipe.wgsl} +2 -2
- package/wgsl/LeftRight.wgsl +1 -1
- package/wgsl/LissajousTiles.wgsl +170 -0
- package/wgsl/{luma.wgsl → LumaWipe.wgsl} +1 -1
- package/wgsl/{luminance_melt.wgsl → LuminanceMelt.wgsl} +1 -1
- package/wgsl/{morph.wgsl → Morph.wgsl} +1 -1
- package/wgsl/{AdvancedMosaic.wgsl → MosaicBlend.wgsl} +1 -1
- package/wgsl/{mosaic_transition.wgsl → MosaicFade.wgsl} +1 -1
- package/wgsl/{multiply_blend.wgsl → MultiplyBlend.wgsl} +1 -1
- package/wgsl/{randomNoisex.wgsl → NoiseDissolve.wgsl} +1 -1
- package/wgsl/{perlin.wgsl → PerlinDissolve.wgsl} +1 -1
- package/wgsl/{pinwheel.wgsl → Pinwheel.wgsl} +1 -1
- package/wgsl/{pixelize.wgsl → Pixelize.wgsl} +1 -1
- package/wgsl/{powerKaleido.wgsl → PowerKaleido.wgsl} +1 -1
- package/wgsl/{Radial.wgsl → RadialWipe.wgsl} +1 -1
- package/wgsl/{randomsquares.wgsl → RandomSquares.wgsl} +1 -1
- package/wgsl/{Rectangle.wgsl → RectangleCover.wgsl} +1 -1
- package/wgsl/{RectangleCrop.wgsl → RectangleIris.wgsl} +1 -1
- package/wgsl/{Revolve_Left.wgsl → Revolve.wgsl} +1 -1
- package/wgsl/{ripple.wgsl → Ripple.wgsl} +1 -1
- package/wgsl/{rotateTransition.wgsl → RotateFade.wgsl} +1 -1
- package/wgsl/{rotate_scale_fade.wgsl → RotateScaleFade.wgsl} +1 -1
- package/wgsl/RotateScaleVanish.wgsl +1 -1
- package/wgsl/{scale-in.wgsl → ScaleIn.wgsl} +1 -1
- package/wgsl/{fragment.wgsl → Shatter.wgsl} +1 -1
- package/wgsl/SimpleFlip.wgsl +3 -4
- package/wgsl/{x_axis_translation.wgsl → SlideAwayRight.wgsl} +1 -1
- package/wgsl/{splitSlideInHorizontal.wgsl → SplitSlideInHorizontal.wgsl} +1 -1
- package/wgsl/{splitSlideInOutHorizontal.wgsl → SplitSlideInOutHorizontal.wgsl} +1 -1
- package/wgsl/{splitSlideInOutVertical.wgsl → SplitSlideInOutVertical.wgsl} +1 -1
- package/wgsl/{splitSlideInVertical.wgsl → SplitSlideInVertical.wgsl} +1 -1
- package/wgsl/{splitSlideOutHorizontal.wgsl → SplitSlideOutHorizontal.wgsl} +1 -1
- package/wgsl/{splitSlideOutVertical.wgsl → SplitSlideOutVertical.wgsl} +1 -1
- package/wgsl/{squareswire.wgsl → SquaresWipe.wgsl} +1 -1
- package/wgsl/{squeeze.wgsl → Squeeze.wgsl} +1 -1
- 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 → Swap.wgsl} +4 -4
- package/wgsl/TangentMotionBlur.wgsl +527 -0
- package/wgsl/TopBottom.wgsl +1 -1
- package/wgsl/{old_tv_lost_signal.wgsl → TvLostSignal.wgsl} +1 -1
- package/wgsl/TvStatic.wgsl +114 -0
- package/wgsl/{undulatingBurnOut.wgsl → UndulatingBurnOut.wgsl} +4 -4
- package/wgsl/{wind.wgsl → Wind.wgsl} +1 -1
- package/wgsl/{windowblinds.wgsl → WindowBlinds.wgsl} +1 -1
- package/wgsl/{windowslice.wgsl → WindowSlices.wgsl} +1 -1
- package/wgsl/{wipeDown.wgsl → WipeDown.wgsl} +1 -1
- package/wgsl/{wipeLeft.wgsl → WipeLeft.wgsl} +1 -1
- package/wgsl/{wipeRight.wgsl → WipeRight.wgsl} +1 -1
- package/wgsl/{wipeUp.wgsl → WipeUp.wgsl} +1 -1
- package/wgsl/{zoomInOut.wgsl → ZoomInOut.wgsl} +1 -1
- package/wgsl/{ZoomLeftWipe.wgsl → ZoomWipeLeft.wgsl} +1 -1
- package/wgsl/{ZoomRigthWipe.wgsl → ZoomWipeRight.wgsl} +1 -1
- package/glsl3/CircleCrop.glsl +0 -20
- package/glsl3/PuzzleRight.glsl +0 -57
- package/msl/CircleCrop.metal +0 -117
- package/msl/Drop_Zone_Flicker.metal +0 -561
- package/msl/EdgeTransition.metal +0 -277
- package/msl/PuzzleRight.metal +0 -262
- package/msl/cube.metal +0 -259
- package/msl/flyeye.metal +0 -133
- package/msl/tangentMotionBlur.metal +0 -583
- package/sksl/CircleCrop.sksl +0 -32
- package/sksl/PuzzleRight.sksl +0 -70
- package/transitions/CircleCrop.glsl +0 -19
- package/transitions/PuzzleRight.glsl +0 -56
- package/wgsl/CircleCrop.wgsl +0 -88
- package/wgsl/Drop_Zone_Flicker.wgsl +0 -513
- package/wgsl/EdgeTransition.wgsl +0 -216
- package/wgsl/PuzzleRight.wgsl +0 -230
- package/wgsl/TVStatic.wgsl +0 -106
- package/wgsl/cube.wgsl +0 -217
- package/wgsl/fadegrayscale.wgsl +0 -93
- package/wgsl/flyeye.wgsl +0 -105
- package/wgsl/static_wipe.wgsl +0 -117
- package/wgsl/tangentMotionBlur.wgsl +0 -503
- /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
|
@@ -1,224 +1,225 @@
|
|
|
1
|
-
# Catalog (gl-transitions@
|
|
1
|
+
# Catalog (gl-transitions@2.0.0)
|
|
2
2
|
|
|
3
|
-
125 transitions. Generated from gl-transitions.json; full details (parameter hints, authors, source links) in https://cdn.jsdelivr.net/npm/gl-transitions@
|
|
3
|
+
125 transitions. Generated from gl-transitions.json; full details (parameter hints, authors, source links) in https://cdn.jsdelivr.net/npm/gl-transitions@2.0.0/llms-full.txt.
|
|
4
4
|
|
|
5
5
|
## By tag
|
|
6
6
|
|
|
7
|
-
- **wipe**: BowTieHorizontal, BowTieVertical,
|
|
8
|
-
- **blend**:
|
|
9
|
-
- **zoom**: Box, CrossZoom, DirectionalScaled, DreamyZoom, LeftRight, Mosaic,
|
|
10
|
-
- **slide**: Bounce, Directional, DirectionalScaled, Fold, LeftRight,
|
|
11
|
-
- **
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
14
|
-
- **
|
|
15
|
-
- **
|
|
16
|
-
- **split**: HorizontalClose, HorizontalOpen,
|
|
17
|
-
- **vertical**: Bounce, BowTieVertical,
|
|
18
|
-
- **distort**: ButterflyWaveScrawler,
|
|
19
|
-
- **
|
|
20
|
-
- **
|
|
21
|
-
- **
|
|
22
|
-
- **
|
|
23
|
-
- **
|
|
24
|
-
- **
|
|
25
|
-
- **
|
|
26
|
-
- **dissolve**: BlockDissolve,
|
|
27
|
-
- **grid**:
|
|
28
|
-
- **
|
|
29
|
-
- **
|
|
30
|
-
- **
|
|
31
|
-
- **
|
|
32
|
-
- **
|
|
33
|
-
- **
|
|
34
|
-
- **
|
|
35
|
-
- **
|
|
36
|
-
- **
|
|
37
|
-
- **
|
|
38
|
-
- **mosaic**:
|
|
39
|
-
- **pattern**:
|
|
40
|
-
- **push**: Directional,
|
|
41
|
-
- **radial**:
|
|
42
|
-
- **reflection**:
|
|
43
|
-
- **squares**:
|
|
44
|
-
- **static**: StaticFade,
|
|
45
|
-
- **clock**:
|
|
46
|
-
- **kaleidoscope**:
|
|
47
|
-
- **luma**:
|
|
48
|
-
- **melt**:
|
|
7
|
+
- **wipe**: BowTie, BowTieHorizontal, BowTieVertical, CircleOpen, ClockWipe, DirectionalWarp, DirectionalWipe, FlowerWipe, HeartWipe, HorizontalClose, HorizontalOpen, LeafWipe, LumaWipe, RadialWipe, SquaresWipe, StarWipe, StaticWipe, TilesWave, UndulatingBurnOut, VerticalClose, VerticalOpen, Wind, WindowSlices, WipeDown, WipeLeft, WipeRight, WipeUp, ZoomWipeLeft, ZoomWipeRight
|
|
8
|
+
- **blend**: ColorCoords, ColorDistance, CrossZoom, DefocusBlur, DisplacementMap, Dreamy, Fade, GlitchBands, GlitchMemories, Hexagonalize, Kaleidoscope, LinearBlur, Morph, MosaicBlend, MosaicFade, MultiplyBlend, Pixelize, Ripple, RotateFade, SlideAwayRight, Swirl, WaterDrop, WindowBlinds
|
|
9
|
+
- **zoom**: Box, CrossWarp, CrossZoom, DirectionalScaled, DreamyZoom, LeftRight, Mosaic, RectangleIris, Revolve, RotateScaleFade, RotateScaleVanish, ScaleIn, SimpleZoom, SimpleZoomOut, StereoViewer, TopBottom, ZoomInCircles, ZoomInOut, ZoomWipeLeft, ZoomWipeRight
|
|
10
|
+
- **slide**: Bounce, Directional, DirectionalEased, DirectionalScaled, Fold, LeftRight, SlideAwayRight, Slides, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutHorizontal, SplitSlideOutVertical, TangentMotionBlur, TopBottom
|
|
11
|
+
- **fade**: ColorPhase, ColorWrap, EdgeGlow, Fade, FadeColor, FadeGrayscale, FlashFade, HsvFade, MultiplyBlend, Overexposure, RotateScaleFade, ScaleIn, SimpleZoom, SimpleZoomOut
|
|
12
|
+
- **horizontal**: BowTieHorizontal, CrossWarp, Fold, LeftRight, SimpleFlip, SlideAwayRight, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideOutHorizontal, Wind, WipeLeft, WipeRight, ZoomWipeLeft, ZoomWipeRight
|
|
13
|
+
- **noise**: BlockDissolve, BurnThrough, Crosshatch, LuminanceMelt, NoiseDissolve, PerlinDissolve, StaticFade, StaticWipe, TvStatic, Wind
|
|
14
|
+
- **rotate**: Cube, DreamyZoom, Pinwheel, Revolve, Rolls, RotateFade, RotateScaleFade, RotateScaleVanish, Swirl, TangentMotionBlur
|
|
15
|
+
- **shape**: BowTie, BowTieHorizontal, BowTieVertical, Box, CircleIris, FlowerWipe, HeartWipe, LeafWipe, RectangleCover, StarWipe
|
|
16
|
+
- **split**: HorizontalClose, HorizontalOpen, SplitSlideInHorizontal, SplitSlideInOutHorizontal, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutHorizontal, SplitSlideOutVertical, VerticalClose, VerticalOpen
|
|
17
|
+
- **vertical**: Bounce, BowTieVertical, SplitSlideInOutVertical, SplitSlideInVertical, SplitSlideOutVertical, Squeeze, StaticWipe, TopBottom, WipeDown, WipeUp
|
|
18
|
+
- **distort**: ButterflyWaveScrawler, ColorCoords, CrazyParametricFun, DisplacementMap, FlyEye, Kaleidoscope, Morph, PowerKaleido
|
|
19
|
+
- **color**: ColorDistance, ColorPhase, ColorWrap, FadeColor, FadeGrayscale, FlashFade, HsvFade
|
|
20
|
+
- **directional**: Directional, DirectionalEased, DirectionalScaled, DirectionalWarp, DirectionalWipe, Slides, SquaresWipe
|
|
21
|
+
- **glitch**: ColorWrap, GlitchBands, GlitchDisplace, GlitchFlicker, GlitchMemories, StripDatamoshGlitch, TvLostSignal
|
|
22
|
+
- **chromatic**: ButterflyWaveScrawler, FlyEye, GlitchFlicker, GlitchMemories, Squeeze, StripDatamoshGlitch
|
|
23
|
+
- **retro**: DoomMelt, LissajousTiles, StaticFade, StereoViewer, TvLostSignal, TvStatic
|
|
24
|
+
- **3d**: BookFlip, Cube, Doorway, InvertedPageCurl, Swap
|
|
25
|
+
- **blur**: CrossZoom, DefocusBlur, LinearBlur, Revolve, ZoomInOut
|
|
26
|
+
- **dissolve**: BlockDissolve, GlowDissolve, NoiseDissolve, PerlinDissolve, RandomSquares
|
|
27
|
+
- **grid**: Chessboard, GridFlip, LissajousTiles, RandomSquares, SquaresWipe
|
|
28
|
+
- **burn**: BurnThrough, FilmBurn, GlowDissolve, UndulatingBurnOut
|
|
29
|
+
- **circle**: CircleIris, CircleOpen, UndulatingBurnOut, ZoomInCircles
|
|
30
|
+
- **iris**: CircleIris, CircleOpen, RectangleCover, RectangleIris
|
|
31
|
+
- **pixelate**: Hexagonalize, MosaicBlend, MosaicFade, Pixelize
|
|
32
|
+
- **tiles**: GridFlip, LissajousTiles, Mosaic, TilesWave
|
|
33
|
+
- **wave**: ButterflyWaveScrawler, Dreamy, Ripple, TilesWave
|
|
34
|
+
- **box**: Box, RectangleCover, RectangleIris
|
|
35
|
+
- **displace**: ColorCoords, DisplacementMap, GlitchDisplace
|
|
36
|
+
- **flash**: DreamyZoom, FlashFade, Overexposure
|
|
37
|
+
- **flip**: BookFlip, GridFlip, SimpleFlip
|
|
38
|
+
- **mosaic**: Mosaic, MosaicBlend, MosaicFade
|
|
39
|
+
- **pattern**: Chessboard, Crosshatch, PolkaDotsCurtain
|
|
40
|
+
- **push**: Directional, DirectionalEased, DirectionalScaled
|
|
41
|
+
- **radial**: ClockWipe, Pinwheel, RadialWipe
|
|
42
|
+
- **reflection**: Cube, Doorway, Swap
|
|
43
|
+
- **squares**: Chessboard, RandomSquares, SquaresWipe
|
|
44
|
+
- **static**: StaticFade, StaticWipe, TvStatic
|
|
45
|
+
- **clock**: ClockWipe, RadialWipe
|
|
46
|
+
- **kaleidoscope**: Kaleidoscope, PowerKaleido
|
|
47
|
+
- **luma**: LumaWipe, LuminanceMelt
|
|
48
|
+
- **melt**: DoomMelt, LuminanceMelt
|
|
49
49
|
- **page**: BookFlip, InvertedPageCurl
|
|
50
|
-
- **
|
|
51
|
-
- **
|
|
52
|
-
- **
|
|
53
|
-
- **
|
|
54
|
-
- **
|
|
55
|
-
- **
|
|
56
|
-
- **
|
|
50
|
+
- **psychedelic**: ColorWrap, CrazyParametricFun
|
|
51
|
+
- **ripple**: Ripple, WaterDrop
|
|
52
|
+
- **scanlines**: GlitchFlicker, TvLostSignal
|
|
53
|
+
- **spin**: RotateFade, RotateScaleVanish
|
|
54
|
+
- **stripes**: WindowBlinds, WindowSlices
|
|
55
|
+
- **swirl**: Revolve, Swirl
|
|
56
|
+
- **warp**: CrossWarp, DirectionalWarp
|
|
57
|
+
- **blinds**: WindowBlinds
|
|
57
58
|
- **blocks**: BlockDissolve
|
|
58
59
|
- **bounce**: Bounce
|
|
59
60
|
- **cards**: StereoViewer
|
|
60
|
-
- **columns**:
|
|
61
|
-
- **cube**:
|
|
61
|
+
- **columns**: DoomMelt
|
|
62
|
+
- **cube**: Cube
|
|
62
63
|
- **curl**: InvertedPageCurl
|
|
63
64
|
- **datamosh**: StripDatamoshGlitch
|
|
64
|
-
- **doors**:
|
|
65
|
+
- **doors**: Doorway
|
|
65
66
|
- **dots**: PolkaDotsCurtain
|
|
66
|
-
- **edges**:
|
|
67
|
+
- **edges**: EdgeGlow
|
|
67
68
|
- **film**: FilmBurn
|
|
68
|
-
- **fire**:
|
|
69
|
-
- **flicker**:
|
|
69
|
+
- **fire**: BurnThrough
|
|
70
|
+
- **flicker**: GlitchFlicker
|
|
70
71
|
- **fold**: Fold
|
|
71
|
-
- **fragments**:
|
|
72
|
-
- **glow**:
|
|
73
|
-
- **grayscale**:
|
|
74
|
-
- **heart**:
|
|
75
|
-
- **hexagon**:
|
|
76
|
-
- **hue**:
|
|
77
|
-
- **lens**:
|
|
72
|
+
- **fragments**: Shatter
|
|
73
|
+
- **glow**: GlowDissolve
|
|
74
|
+
- **grayscale**: FadeGrayscale
|
|
75
|
+
- **heart**: HeartWipe
|
|
76
|
+
- **hexagon**: Hexagonalize
|
|
77
|
+
- **hue**: HsvFade
|
|
78
|
+
- **lens**: FlyEye
|
|
78
79
|
- **light**: Overexposure
|
|
79
80
|
- **light-leak**: FilmBurn
|
|
80
|
-
- **lines**:
|
|
81
|
-
- **mask**:
|
|
82
|
-
- **morph**:
|
|
83
|
-
- **motion
|
|
84
|
-
- **
|
|
85
|
-
- **
|
|
86
|
-
- **
|
|
81
|
+
- **lines**: Crosshatch
|
|
82
|
+
- **mask**: LumaWipe
|
|
83
|
+
- **morph**: Morph
|
|
84
|
+
- **motion**: LissajousTiles
|
|
85
|
+
- **motion-blur**: TangentMotionBlur
|
|
86
|
+
- **pinwheel**: Pinwheel
|
|
87
|
+
- **polar**: FlowerWipe
|
|
87
88
|
- **roll**: Rolls
|
|
88
89
|
- **shadow**: Bounce
|
|
89
|
-
- **shatter**:
|
|
90
|
-
- **slices**:
|
|
91
|
-
- **squeeze**:
|
|
90
|
+
- **shatter**: Shatter
|
|
91
|
+
- **slices**: WindowSlices
|
|
92
|
+
- **squeeze**: Squeeze
|
|
92
93
|
- **star**: StarWipe
|
|
93
|
-
- **swap**:
|
|
94
|
+
- **swap**: Swap
|
|
94
95
|
- **water**: WaterDrop
|
|
95
96
|
|
|
96
97
|
## Transitions
|
|
97
98
|
|
|
98
99
|
`name`: description. Parameters as name (type = default). Extra textures are flagged: the host must provide them.
|
|
99
100
|
|
|
100
|
-
- `AdvancedMosaic`: Both images break into large blocks that blend, then sharpen into the incoming image. Params: pixelSize (float = 50)
|
|
101
101
|
- `BlockDissolve`: The incoming image appears in small random blocks. Params: blocksize (float = 0.02)
|
|
102
102
|
- `BookFlip`: The outgoing image turns like a book page from right to left, revealing the incoming one
|
|
103
103
|
- `Bounce`: The outgoing image drops out of the frame with a few bounces, revealing the incoming one. Params: shadow_colour (vec4 = vec4(0, 0, 0, 0.6)), shadow_height (float = 0.075), bounces (float = 3)
|
|
104
|
+
- `BowTie`: A bow-tie wipe with an adjustable shape that can run in reverse. Params: adjust (float = 0.5), reverse (bool = false)
|
|
104
105
|
- `BowTieHorizontal`: Two triangles grow from the left and right edges into a bow tie that reveals the incoming image
|
|
105
106
|
- `BowTieVertical`: Two triangles grow from the top and bottom edges into a bow tie that reveals the incoming image
|
|
106
|
-
- `BowTieWithParameter`: A bow-tie wipe with an adjustable shape that can run in reverse. Params: adjust (float = 0.5), reverse (bool = false)
|
|
107
107
|
- `Box`: The outgoing image shrinks into a box, toward the center or a corner, revealing the incoming one. Params: rectIn (int = 1), location (int = 0)
|
|
108
|
+
- `BurnThrough`: The outgoing image burns away in noisy, glowing patches. Params: burnColor (vec3 = vec3(1, 0.5, 0))
|
|
108
109
|
- `ButterflyWaveScrawler`: Wavy, color-separated ripples scramble the outgoing image into the incoming one. Params: amplitude (float = 1), waves (float = 30), colorSeparation (float = 0.3)
|
|
109
|
-
- `
|
|
110
|
-
- `
|
|
110
|
+
- `Chessboard`: A chessboard pattern of squares reveals the incoming image. Params: grid_num (float = 10)
|
|
111
|
+
- `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))
|
|
112
|
+
- `CircleOpen`: A soft-edged circle opens from the center to reveal the incoming image. Params: smoothness (float = 0.3), opening (bool = true)
|
|
113
|
+
- `ClockWipe`: A wipe that sweeps around the center from a starting angle. Params: startingAngle (float = 90)
|
|
114
|
+
- `ColorCoords`: A crossfade in which the colors of one image displace the other
|
|
115
|
+
- `ColorDistance`: Pixels switch to the incoming image in order of how close their colors are. Params: power (float = 5)
|
|
116
|
+
- `ColorPhase`: A crossfade in which each color channel changes at a different time. Params: fromStep (vec4 = vec4(0, 0.2, 0.4, 0)), toStep (vec4 = vec4(0.6, 0.8, 1, 1))
|
|
117
|
+
- `ColorWrap`: Each color channel of the outgoing image is shifted and wraps around into psychedelic bands, while crossfading to the incoming image. Params: r_strength (float = 1), g_strength (float = 1), b_strength (float = 1)
|
|
111
118
|
- `CrazyParametricFun`: The outgoing image is pulled along a parametric curve into a psychedelic swirl. Params: a (float = 4), b (float = 1), amplitude (float = 120), smoothness (float = 0.1)
|
|
119
|
+
- `CrossWarp`: The outgoing image zooms in while the incoming one zooms out into place, sweeping from right to left
|
|
112
120
|
- `CrossZoom`: A crossfade through a strong zoom blur. Params: strength (float = 0.4)
|
|
121
|
+
- `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)
|
|
122
|
+
- `Cube`: The two images are faces of a rotating 3D cube, with a floor reflection. Params: persp (float = 0.7), unzoom (float = 0.3), reflection (float = 0.4), floating (float = 3)
|
|
113
123
|
- `DefocusBlur`: A crossfade through an out-of-focus blur. Params: blurSize (float = 0.02)
|
|
114
124
|
- `Directional`: The incoming image pushes the outgoing one out in a given direction. Params: direction (vec2 = vec2(0, 1))
|
|
125
|
+
- `DirectionalEased`: Like Directional, with an eased movement. Params: direction (vec2 = vec2(0, 1))
|
|
115
126
|
- `DirectionalScaled`: Like Directional, with both images scaled down while they slide. Params: direction (vec2 = vec2(0, 1)), scale (float = 0.7)
|
|
116
|
-
- `
|
|
127
|
+
- `DirectionalWarp`: A diagonal wipe with a warped, smeared edge. Params: smoothness (float = 0.1), direction (vec2 = vec2(-1, 1))
|
|
128
|
+
- `DirectionalWipe`: A soft-edged diagonal wipe. Params: direction (vec2 = vec2(1, -1)), smoothness (float = 0.5)
|
|
129
|
+
- `DisplacementMap`: A crossfade in which a displacement map (an extra grayscale texture) warps both images. Params: strength (float = 0.5). Extra textures: displacementMap
|
|
130
|
+
- `DoomMelt`: The outgoing image melts down in uneven columns, like the Doom screen wipe. Params: bars (int = 30), amplitude (float = 2), noise (float = 0.1), frequency (float = 0.5), dripScale (float = 0.5)
|
|
131
|
+
- `Doorway`: The outgoing image opens like double doors as the incoming one comes forward, with a floor reflection. Params: reflection (float = 0.4), perspective (float = 0.4), depth (float = 3)
|
|
117
132
|
- `Dreamy`: A crossfade with a gentle wavy distortion
|
|
118
133
|
- `DreamyZoom`: Zooms and rotates into a bright flash, then out to the incoming image. Params: rotation (float = 6), scale (float = 1.2)
|
|
119
|
-
- `
|
|
120
|
-
- `
|
|
134
|
+
- `EdgeGlow`: Both images fade through black with their edges glowing. Params: edge_thickness (float = 0.001), edge_brightness (float = 8)
|
|
135
|
+
- `Fade`: A linear crossfade between the two images
|
|
136
|
+
- `FadeColor`: A fade through a solid color, black by default. Params: color (vec4 = vec4(0, 0, 0, 1)), colorPhase (float = 0.4)
|
|
137
|
+
- `FadeGrayscale`: A crossfade through grayscale. Params: intensity (float = 0.3)
|
|
121
138
|
- `FilmBurn`: Glowing film-burn light leaks wash over the image and reveal the incoming one. Params: Seed (float = 2.31)
|
|
139
|
+
- `FlashFade`: A crossfade that brightens toward a color in the middle. Params: color (vec3 = vec3(0.9, 0.4, 0.2))
|
|
140
|
+
- `FlowerWipe`: A flower shape with several petals grows to reveal the incoming image. Params: segments (int = 5)
|
|
141
|
+
- `FlyEye`: The image breaks into a fly's-eye grid of lenses with color separation. Params: size (float = 0.04), zoom (float = 50), colorSeparation (float = 0.3)
|
|
122
142
|
- `Fold`: The incoming image unfolds from the left while the outgoing one folds away to the right
|
|
143
|
+
- `GlitchBands`: A crossfade with glitchy horizontal bands and color shifts. Params: ampx (float = 1), ampy (float = 1)
|
|
123
144
|
- `GlitchDisplace`: Blocks of the image are displaced in a glitch that flashes into the incoming image
|
|
145
|
+
- `GlitchFlicker`: A flickering glitch with RGB offset, ghosting and scanlines that flashes back to the outgoing image. Params: frameRate (float = 24), rgbOffset (float = 0.014), blockAmount (float = 0.72), ghostAmount (float = 0.62), redCyan (float = 0.58), scanline (float = 0.075)
|
|
124
146
|
- `GlitchMemories`: A crossfade with glitchy, color-shifted blocks
|
|
147
|
+
- `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)
|
|
125
148
|
- `GridFlip`: The image splits into a grid of tiles that flip one by one to the incoming image. Params: size (ivec2 = ivec2(4, 4)), pause (float = 0.1), dividerWidth (float = 0.05), bgcolor (vec4 = vec4(0, 0, 0, 1)), randomness (float = 0.1)
|
|
126
|
-
- `
|
|
149
|
+
- `HeartWipe`: A heart shape grows from the center to reveal the incoming image
|
|
150
|
+
- `Hexagonalize`: Both images turn into hexagons, crossfade, then sharpen again. Params: steps (int = 50), horizontalHexagons (float = 20)
|
|
127
151
|
- `HorizontalClose`: The incoming image closes in from the top and bottom edges toward the middle
|
|
128
152
|
- `HorizontalOpen`: The incoming image opens from a line in the middle toward the top and bottom edges
|
|
153
|
+
- `HsvFade`: A crossfade through the HSV color space that cycles through hues
|
|
129
154
|
- `InvertedPageCurl`: The outgoing image curls away like a page, revealing the incoming one
|
|
155
|
+
- `Kaleidoscope`: A crossfade through a spinning kaleidoscope. Params: speed (float = 1), angle (float = 1), power (float = 1.5)
|
|
156
|
+
- `LeafWipe`: A leaf shape grows from the center to reveal the incoming image
|
|
130
157
|
- `LeftRight`: The outgoing image shrinks away to the left while the incoming one slides in from the right
|
|
131
158
|
- `LinearBlur`: A crossfade through a blur. Params: intensity (float = 0.1)
|
|
159
|
+
- `LissajousTiles`: The image breaks into a grid of tiles that swirl along Lissajous curves, in a Scanimate style, and flip one by one to the incoming image before settling back. Params: speed (float = 0.5), freq (vec2 = vec2(2, 3)), offset (float = 2), zoom (float = 0.8), fade (float = 3)
|
|
160
|
+
- `LumaWipe`: A wipe that follows the brightness of a grayscale mask (the luma texture). Extra textures: luma
|
|
161
|
+
- `LuminanceMelt`: The outgoing image melts away in noisy vertical streaks, depending on its brightness. Params: direction (bool = true), l_threshold (float = 0.8), above (bool = false)
|
|
162
|
+
- `Morph`: A crossfade in which each image is displaced by the other's colors, like a morph. Params: strength (float = 0.1)
|
|
132
163
|
- `Mosaic`: The view pans across a mosaic of rotated tiles from both images and settles on the incoming one. Params: endx (int = 2), endy (int = -1)
|
|
164
|
+
- `MosaicBlend`: Both images break into large blocks that blend, then sharpen into the incoming image. Params: pixelSize (float = 50)
|
|
165
|
+
- `MosaicFade`: Both images break into mosaic blocks that blend, then sharpen into the incoming image. Params: mosaicNum (float = 10)
|
|
166
|
+
- `MultiplyBlend`: A crossfade through the multiplied blend of both images
|
|
167
|
+
- `NoiseDissolve`: The incoming image appears pixel by pixel in random noise
|
|
133
168
|
- `Overexposure`: A crossfade through a washed-out, overexposed white. Params: strength (float = 0.6)
|
|
169
|
+
- `PerlinDissolve`: The incoming image appears through blobs of Perlin noise. Params: scale (float = 4), smoothness (float = 0.01), seed (float = 12.9898)
|
|
170
|
+
- `Pinwheel`: A spinning pinwheel reveals the incoming image. Params: speed (float = 2)
|
|
171
|
+
- `Pixelize`: Both images pixelate, crossfade, then sharpen again. Params: squaresMin (ivec2 = ivec2(20, 20)), steps (int = 50)
|
|
134
172
|
- `PolkaDotsCurtain`: The incoming image appears through growing polka dots. Params: dots (float = 20), center (vec2 = vec2(0, 0))
|
|
135
|
-
- `
|
|
136
|
-
- `
|
|
137
|
-
- `
|
|
138
|
-
- `
|
|
139
|
-
- `
|
|
173
|
+
- `PowerKaleido`: The image folds into an animated kaleidoscope before revealing the incoming one. Params: scale (float = 2), z (float = 1.5), speed (float = 5)
|
|
174
|
+
- `RadialWipe`: A radial wipe that sweeps around the center like a clock hand. Params: smoothness (float = 1)
|
|
175
|
+
- `RandomSquares`: The incoming image appears in random squares. Params: size (ivec2 = ivec2(10, 10)), smoothness (float = 0.5)
|
|
176
|
+
- `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))
|
|
177
|
+
- `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))
|
|
178
|
+
- `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)
|
|
179
|
+
- `Ripple`: Ripples spread from the center while crossfading. Params: amplitude (float = 100), speed (float = 50)
|
|
140
180
|
- `Rolls`: The outgoing image rolls away around a corner, revealing the incoming one. Params: type (int = 0), RotDown (bool = false)
|
|
181
|
+
- `RotateFade`: The images spin around the center while crossfading
|
|
182
|
+
- `RotateScaleFade`: The outgoing image spins and zooms while fading to the incoming one, over a background color. Params: center (vec2 = vec2(0.5, 0.5)), rotations (float = 1), scale (float = 8), backColor (vec4 = vec4(0.15, 0.15, 0.15, 1))
|
|
141
183
|
- `RotateScaleVanish`: The outgoing image spins and shrinks away over the incoming one. Params: FadeInSecond (bool = true), ReverseEffect (bool = false), ReverseRotation (bool = false)
|
|
184
|
+
- `ScaleIn`: The incoming image scales in from the center while fading in
|
|
185
|
+
- `Shatter`: The outgoing image shatters into fragments that fly away
|
|
142
186
|
- `SimpleFlip`: The outgoing image flips around the vertical axis into the incoming one
|
|
143
187
|
- `SimpleZoom`: Zooms into the outgoing image, then fades to the incoming one. Params: zoom_quickness (float = 0.8)
|
|
144
188
|
- `SimpleZoomOut`: The incoming image zooms out into place while fading in. Params: zoom_quickness (float = 0.8), fade (bool = true)
|
|
189
|
+
- `SlideAwayRight`: The outgoing image slides to the right, uncovering a crossfade to the incoming one
|
|
145
190
|
- `Slides`: The outgoing image slides out, or the incoming one slides in, toward an edge, a corner or the center. Params: type (int = 0), In (bool = false)
|
|
191
|
+
- `SplitSlideInHorizontal`: The incoming image slides in as two halves moving horizontally in opposite directions. Params: reverse (bool = false)
|
|
192
|
+
- `SplitSlideInOutHorizontal`: The halves of both images slide horizontally in opposite directions, out and in at once. Params: reverse (bool = false)
|
|
193
|
+
- `SplitSlideInOutVertical`: The halves of both images slide vertically in opposite directions, out and in at once. Params: reverse (bool = false)
|
|
194
|
+
- `SplitSlideInVertical`: The incoming image slides in as two halves moving vertically in opposite directions. Params: reverse (bool = false)
|
|
195
|
+
- `SplitSlideOutHorizontal`: The outgoing image slides out as two halves moving horizontally in opposite directions. Params: reverse (bool = false)
|
|
196
|
+
- `SplitSlideOutVertical`: The outgoing image slides out as two halves moving vertically in opposite directions. Params: reverse (bool = false)
|
|
197
|
+
- `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)
|
|
198
|
+
- `Squeeze`: The outgoing image is squeezed into a line with color separation, revealing the incoming one. Params: colorSeparation (float = 0.04)
|
|
146
199
|
- `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))
|
|
147
200
|
- `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)
|
|
201
|
+
- `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)
|
|
148
202
|
- `StereoViewer`: Both images shrink into rounded cards that swap, like a stereo viewer toy. Params: zoom (float = 0.88), corner_radius (float = 0.22)
|
|
149
203
|
- `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)
|
|
204
|
+
- `Swap`: The two images swap places in 3D, with a floor reflection. Params: reflection (float = 0.4), perspective (float = 0.2), depth (float = 3)
|
|
150
205
|
- `Swirl`: Both images swirl around the center while crossfading
|
|
151
|
-
- `
|
|
206
|
+
- `TangentMotionBlur`: The outgoing image is flung away along a curve with motion blur
|
|
152
207
|
- `TilesWave`: The incoming image is revealed tile by tile in a diagonal wave. Params: tileCount (ivec2 = ivec2(8, 8)), flipX (bool = true), flipY (bool = false)
|
|
153
208
|
- `TopBottom`: The outgoing image shrinks away upward while the incoming one slides in from the bottom
|
|
209
|
+
- `TvLostSignal`: A crossfade with drifting tracking lines and tearing, like a TV losing its signal
|
|
210
|
+
- `TvStatic`: Cuts to full-screen TV static, then to the incoming image. Params: offset (float = 0.05)
|
|
211
|
+
- `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))
|
|
154
212
|
- `VerticalClose`: The incoming image closes in from the left and right edges toward the middle
|
|
155
213
|
- `VerticalOpen`: The incoming image opens from a line in the middle toward the left and right edges
|
|
156
214
|
- `WaterDrop`: Ripples spread from the center like a drop falling into water, crossfading to the incoming image. Params: amplitude (float = 30), speed (float = 30)
|
|
215
|
+
- `Wind`: A ragged left-to-right wipe, as if the image was blown away by the wind. Params: size (float = 0.2), reversed (bool = false)
|
|
216
|
+
- `WindowBlinds`: A crossfade through horizontal window blinds
|
|
217
|
+
- `WindowSlices`: The incoming image appears through vertical slices that widen. Params: count (float = 10), smoothness (float = 0.5)
|
|
218
|
+
- `WipeDown`: A hard-edged wipe from top to bottom
|
|
219
|
+
- `WipeLeft`: A hard-edged wipe from right to left
|
|
220
|
+
- `WipeRight`: A hard-edged wipe from left to right
|
|
221
|
+
- `WipeUp`: A hard-edged wipe from bottom to top
|
|
157
222
|
- `ZoomInCircles`: Concentric rings of the outgoing image zoom at different speeds before revealing the incoming one
|
|
158
|
-
- `
|
|
159
|
-
- `
|
|
160
|
-
- `
|
|
161
|
-
- `burn`: A crossfade that brightens toward a color in the middle. Params: color (vec3 = vec3(0.9, 0.4, 0.2))
|
|
162
|
-
- `burn0`: The outgoing image burns away in noisy, glowing patches. Params: burnColor (vec3 = vec3(1, 0.5, 0))
|
|
163
|
-
- `cannabisleaf`: A cannabis-leaf shape grows from the center to reveal the incoming image
|
|
164
|
-
- `chessboard`: A chessboard pattern of squares reveals the incoming image. Params: grid_num (float = 10)
|
|
165
|
-
- `circle`: 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 (vec3 = vec3(0.1, 0.1, 0.1))
|
|
166
|
-
- `circleopen`: A soft-edged circle opens from the center to reveal the incoming image. Params: smoothness (float = 0.3), opening (bool = true)
|
|
167
|
-
- `colorphase`: A crossfade in which each color channel changes at a different time. Params: fromStep (vec4 = vec4(0, 0.2, 0.4, 0)), toStep (vec4 = vec4(0.6, 0.8, 1, 1))
|
|
168
|
-
- `coord-from-in`: A crossfade in which the colors of one image displace the other
|
|
169
|
-
- `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)
|
|
170
|
-
- `crosswarp`: The outgoing image zooms in while the incoming one zooms out into place, sweeping from right to left
|
|
171
|
-
- `cube`: The two images are faces of a rotating 3D cube, with a floor reflection. Params: persp (float = 0.7), unzoom (float = 0.3), reflection (float = 0.4), floating (float = 3)
|
|
172
|
-
- `directional-easing`: Like Directional, with an eased movement. Params: direction (vec2 = vec2(0, 1))
|
|
173
|
-
- `directionalwarp`: A diagonal wipe with a warped, smeared edge. Params: smoothness (float = 0.1), direction (vec2 = vec2(-1, 1))
|
|
174
|
-
- `directionalwipe`: A soft-edged diagonal wipe. Params: direction (vec2 = vec2(1, -1)), smoothness (float = 0.5)
|
|
175
|
-
- `displacement`: A crossfade in which a displacement map (an extra grayscale texture) warps both images. Params: strength (float = 0.5). Extra textures: displacementMap
|
|
176
|
-
- `dissolve`: 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)
|
|
177
|
-
- `doorway`: The outgoing image opens like double doors as the incoming one comes forward, with a floor reflection. Params: reflection (float = 0.4), perspective (float = 0.4), depth (float = 3)
|
|
178
|
-
- `fade`: A linear crossfade between the two images
|
|
179
|
-
- `fadecolor`: A fade through a solid color, black by default. Params: color (vec3 = vec3(0, 0, 0)), colorPhase (float = 0.4)
|
|
180
|
-
- `fadegrayscale`: A crossfade through grayscale. Params: intensity (float = 0.3)
|
|
181
|
-
- `flyeye`: The image breaks into a fly's-eye grid of lenses with color separation. Params: size (float = 0.04), zoom (float = 50), colorSeparation (float = 0.3)
|
|
182
|
-
- `fragment`: The outgoing image shatters into fragments that fly away
|
|
183
|
-
- `heart`: A heart shape grows from the center to reveal the incoming image
|
|
184
|
-
- `hexagonalize`: Both images turn into hexagons, crossfade, then sharpen again. Params: steps (int = 50), horizontalHexagons (float = 20)
|
|
185
|
-
- `kaleidoscope`: A crossfade through a spinning kaleidoscope. Params: speed (float = 1), angle (float = 1), power (float = 1.5)
|
|
186
|
-
- `luma`: A wipe that follows the brightness of a grayscale mask (the luma texture). Extra textures: luma
|
|
187
|
-
- `luminance_melt`: The outgoing image melts away in noisy vertical streaks, depending on its brightness. Params: direction (bool = true), l_threshold (float = 0.8), above (bool = false)
|
|
188
|
-
- `morph`: A crossfade in which each image is displaced by the other's colors, like a morph. Params: strength (float = 0.1)
|
|
189
|
-
- `mosaic_transition`: Both images break into mosaic blocks that blend, then sharpen into the incoming image. Params: mosaicNum (float = 10)
|
|
190
|
-
- `multiply_blend`: A crossfade through the multiplied blend of both images
|
|
191
|
-
- `old_tv_lost_signal`: A crossfade with drifting tracking lines and tearing, like a TV losing its signal
|
|
192
|
-
- `parametric_glitch`: A crossfade with glitchy horizontal bands and color shifts. Params: ampx (float = 1), ampy (float = 1)
|
|
193
|
-
- `perlin`: The incoming image appears through blobs of Perlin noise. Params: scale (float = 4), smoothness (float = 0.01), seed (float = 12.9898)
|
|
194
|
-
- `pinwheel`: A spinning pinwheel reveals the incoming image. Params: speed (float = 2)
|
|
195
|
-
- `pixelize`: Both images pixelate, crossfade, then sharpen again. Params: squaresMin (ivec2 = ivec2(20, 20)), steps (int = 50)
|
|
196
|
-
- `polar_function`: A flower shape with several petals grows to reveal the incoming image. Params: segments (int = 5)
|
|
197
|
-
- `powerKaleido`: The image folds into an animated kaleidoscope before revealing the incoming one. Params: scale (float = 2), z (float = 1.5), speed (float = 5)
|
|
198
|
-
- `randomNoisex`: The incoming image appears pixel by pixel in random noise
|
|
199
|
-
- `randomsquares`: The incoming image appears in random squares. Params: size (ivec2 = ivec2(10, 10)), smoothness (float = 0.5)
|
|
200
|
-
- `ripple`: Ripples spread from the center while crossfading. Params: amplitude (float = 100), speed (float = 50)
|
|
201
|
-
- `rotateTransition`: The images spin around the center while crossfading
|
|
202
|
-
- `rotate_scale_fade`: The outgoing image spins and zooms while fading to the incoming one, over a background color. Params: center (vec2 = vec2(0.5, 0.5)), rotations (float = 1), scale (float = 8), backColor (vec4 = vec4(0.15, 0.15, 0.15, 1))
|
|
203
|
-
- `scale-in`: The incoming image scales in from the center while fading in
|
|
204
|
-
- `splitSlideInHorizontal`: The incoming image slides in as two halves moving horizontally in opposite directions. Params: reverse (bool = false)
|
|
205
|
-
- `splitSlideInOutHorizontal`: The halves of both images slide horizontally in opposite directions, out and in at once. Params: reverse (bool = false)
|
|
206
|
-
- `splitSlideInOutVertical`: The halves of both images slide vertically in opposite directions, out and in at once. Params: reverse (bool = false)
|
|
207
|
-
- `splitSlideInVertical`: The incoming image slides in as two halves moving vertically in opposite directions. Params: reverse (bool = false)
|
|
208
|
-
- `splitSlideOutHorizontal`: The outgoing image slides out as two halves moving horizontally in opposite directions. Params: reverse (bool = false)
|
|
209
|
-
- `splitSlideOutVertical`: The outgoing image slides out as two halves moving vertically in opposite directions. Params: reverse (bool = false)
|
|
210
|
-
- `squareswire`: 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)
|
|
211
|
-
- `squeeze`: The outgoing image is squeezed into a line with color separation, revealing the incoming one. Params: colorSeparation (float = 0.04)
|
|
212
|
-
- `static_wipe`: 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)
|
|
213
|
-
- `swap`: The two images swap places in 3D, with a floor reflection. Params: reflection (float = 0.4), perspective (float = 0.2), depth (float = 3)
|
|
214
|
-
- `tangentMotionBlur`: The outgoing image is flung away along a curve with motion blur
|
|
215
|
-
- `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 (vec3 = vec3(0, 0, 0))
|
|
216
|
-
- `wind`: A ragged left-to-right wipe, as if the image was blown away by the wind. Params: size (float = 0.2), reversed (bool = false)
|
|
217
|
-
- `windowblinds`: A crossfade through horizontal window blinds
|
|
218
|
-
- `windowslice`: The incoming image appears through vertical slices that widen. Params: count (float = 10), smoothness (float = 0.5)
|
|
219
|
-
- `wipeDown`: A hard-edged wipe from top to bottom
|
|
220
|
-
- `wipeLeft`: A hard-edged wipe from right to left
|
|
221
|
-
- `wipeRight`: A hard-edged wipe from left to right
|
|
222
|
-
- `wipeUp`: A hard-edged wipe from bottom to top
|
|
223
|
-
- `x_axis_translation`: The outgoing image slides to the right, uncovering a crossfade to the incoming one
|
|
224
|
-
- `zoomInOut`: Zooms into the outgoing image until it blurs into a flat color, then out to the incoming one
|
|
223
|
+
- `ZoomInOut`: Zooms into the outgoing image until it blurs into a flat color, then out to the incoming one
|
|
224
|
+
- `ZoomWipeLeft`: Zooms into the outgoing image, then the incoming one wipes in from right to left. Params: zoom_quickness (float = 0.8)
|
|
225
|
+
- `ZoomWipeRight`: Zooms into the outgoing image, then the incoming one wipes in from left to right. Params: zoom_quickness (float = 0.8)
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# WebGPU, Rust, Swift, Android
|
|
2
|
+
|
|
3
|
+
The packages below are built from the npm package, and each npm release publishes them too. The Swift package and the Android library take the npm package's version: use the one of this Skill (the title of `references/catalog.md`, or `version` in `node_modules/gl-transitions/package.json`), written `<version>` below. The Rust crate has its own 0.x version.
|
|
4
|
+
|
|
5
|
+
A transition a target's compiler rejected has no source for that target (`compatibility.json` in the npm package).
|
|
6
|
+
|
|
7
|
+
## WGSL and Metal files (WebGPU, wgpu, Bevy, Metal)
|
|
8
|
+
|
|
9
|
+
`wgsl/<name>.wgsl` and `msl/<name>.metal` in the npm package are complete fragment shaders with the same interface for every transition:
|
|
10
|
+
|
|
11
|
+
- one uniform buffer (WGSL `@group(0) @binding(0)`, Metal `[[buffer(0)]]`): `progress`, `ratio`, then each parameter in declaration order (`bool` as `i32` 0 or 1), std140 / WGSL uniform layout; `layouts.json` gives each transition's offsets and size in bytes
|
|
12
|
+
- one sampler (`@binding(1)` / `[[sampler(0)]]`), then `from`, `to` and the extra textures (`@binding(2)`, ... / `[[texture(0)]]`, ...)
|
|
13
|
+
- input uv in [0, 1] with a bottom-left origin at `@location(0)` / `[[user(loc0)]]`, images sampled with a top-left origin; output straight (unpremultiplied) RGBA
|
|
14
|
+
- entry point `main` (WGSL) or `main_` (Metal)
|
|
15
|
+
|
|
16
|
+
The full contract is in the npm package README ("WGSL and Metal contract"). In Rust, Swift and on Android, prefer the packages below: they pack the uniforms for you.
|
|
17
|
+
|
|
18
|
+
## Rust: crate `gl-transitions`
|
|
19
|
+
|
|
20
|
+
```toml
|
|
21
|
+
gl-transitions = "0.1" # or: cargo add gl-transitions
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[crates.io/crates/gl-transitions](https://crates.io/crates/gl-transitions), with its own semver (0.x); each npm release publishes a patch release with its transitions, and `gl_transitions::CATALOG_VERSION` says which npm version they come from. It has the GLSL, SkSL, WGSL, Metal and GLSL ES 3.00 sources with metadata, typed parameters and uniform layouts; no dependencies and no GPU code (bring your own renderer). Each source is a Cargo feature (`sksl`, `wgsl`, `msl`, `glsl3`), all on by default.
|
|
25
|
+
|
|
26
|
+
```rust
|
|
27
|
+
let transition = gl_transitions::get("DirectionalWarp").expect("in the collection");
|
|
28
|
+
let mut params = transition.default_params();
|
|
29
|
+
params.set("direction", [1.0, 0.0])?;
|
|
30
|
+
|
|
31
|
+
// SkSL (skia-safe, fframes): children `_from`, `_to` (+ extra textures), uniforms packed for Skia.
|
|
32
|
+
// Every source but GLSL is an Option: None when that target's compiler rejected the transition.
|
|
33
|
+
let sksl: &str = transition.sksl().expect("has an SkSL version");
|
|
34
|
+
let uniforms: Vec<u8> = params.sksl_uniforms(0.5, 1920.0, 1080.0);
|
|
35
|
+
|
|
36
|
+
// WGSL (wgpu, Bevy): the uniform buffer laid out as the shader declares it.
|
|
37
|
+
if let (Some(wgsl), Some(buffer)) = (transition.wgsl(), params.uniform_buffer(0.5, 1920.0 / 1080.0)) {
|
|
38
|
+
// ...
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The crate README (on crates.io, or at `https://github.com/gl-transitions/gl-transitions/tree/gl-transitions@<version>/crates/gl-transitions`) has a skia-safe drawing example; `examples/fframes` in the repository renders transitions in an [fframes](https://github.com/dmtrKovalenko/fframes) video.
|
|
43
|
+
|
|
44
|
+
## Swift: package `GLTransitions` (Metal, AVFoundation)
|
|
45
|
+
|
|
46
|
+
iOS 16, macOS 13, tvOS 16, visionOS 1; Xcode 16 or later. Installed with the Swift Package Manager from [gl-transitions-swift](https://github.com/gl-transitions/gl-transitions-swift), which has the npm package's versions:
|
|
47
|
+
|
|
48
|
+
```swift
|
|
49
|
+
.package(url: "https://github.com/gl-transitions/gl-transitions-swift", from: "<version>"),
|
|
50
|
+
// target dependency: .product(name: "GLTransitions", package: "gl-transitions-swift")
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Between video clips (play with `composition.makePlayerItem()`, export with `composition.makeExportSession()`):
|
|
54
|
+
|
|
55
|
+
```swift
|
|
56
|
+
let composition = try await TransitionComposition.make(
|
|
57
|
+
clips: [AVURLAsset(url: first), AVURLAsset(url: second)],
|
|
58
|
+
transitions: [TransitionStep(GLTransitions.named("Cube")!, params: ["persp": .float(0.7)])]
|
|
59
|
+
)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Between Metal textures:
|
|
63
|
+
|
|
64
|
+
```swift
|
|
65
|
+
let renderer = try TransitionRenderer()
|
|
66
|
+
try renderer.encode(
|
|
67
|
+
GLTransitions.named("DirectionalWarp")!,
|
|
68
|
+
from: fromTexture, to: toTexture, progress: 0.5,
|
|
69
|
+
params: ["direction": .vec2(SIMD2(1, 0))],
|
|
70
|
+
into: targetTexture, commandBuffer: commandBuffer
|
|
71
|
+
)
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Extra textures go in `textures:`. `TransitionCompositor` is a `customVideoCompositorClass` for your own `AVMutableVideoComposition`. See the package README at `https://github.com/gl-transitions/gl-transitions/tree/gl-transitions@<version>/swift`.
|
|
75
|
+
|
|
76
|
+
## Android: `com.gl-transitions:gl-transitions` (AGSL)
|
|
77
|
+
|
|
78
|
+
On Maven Central with the npm package's versions. The library's `minSdk` is 21 (Android 5.0): the catalog (`GLTransitions`, metadata, AGSL sources) works from there, drawing with `TransitionShader` needs API 33 (Android 13, `RuntimeShader`). The Kotlin package is `com.gltransitions`, unlike the Maven group `com.gl-transitions`.
|
|
79
|
+
|
|
80
|
+
```kotlin
|
|
81
|
+
implementation("com.gl-transitions:gl-transitions:<version>")
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
```kotlin
|
|
85
|
+
import com.gltransitions.GLTransitions
|
|
86
|
+
import com.gltransitions.ParamValue
|
|
87
|
+
import com.gltransitions.TransitionShader
|
|
88
|
+
|
|
89
|
+
val shader = TransitionShader(GLTransitions.named("DirectionalWarp")!!)
|
|
90
|
+
// In a hardware-accelerated View's onDraw, the bitmaps stretched to the canvas:
|
|
91
|
+
shader.draw(canvas, fromBitmap, toBitmap, progress, params = mapOf("direction" to ParamValue.vec2(1f, 0f)))
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
For Jetpack Compose or any `Paint`, `update(from, to, progress, width, height, params, textures)` takes `Shader`s drawn at the output size (`TransitionShader.imageShader(bitmap, width, height)`) and `shader.shader` is the `RuntimeShader`. See the library README at `https://github.com/gl-transitions/gl-transitions/tree/gl-transitions@<version>/android`.
|
|
@@ -26,7 +26,7 @@ const loadSksl = async (name) => fs.readFileSync(`node_modules/gl-transitions/sk
|
|
|
26
26
|
In the browser (CanvasKit also needs `locateFile` to find its `.wasm`, see its README):
|
|
27
27
|
|
|
28
28
|
```js
|
|
29
|
-
const loadSksl = (name) => fetch(`https://cdn.jsdelivr.net/npm/gl-transitions@
|
|
29
|
+
const loadSksl = (name) => fetch(`https://cdn.jsdelivr.net/npm/gl-transitions@2/sksl/${name}.sksl`).then((r) => r.text());
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Then, in both:
|
|
@@ -36,7 +36,7 @@ import CanvasKitInit from "canvaskit-wasm";
|
|
|
36
36
|
import transitions from "gl-transitions";
|
|
37
37
|
|
|
38
38
|
const CanvasKit = await CanvasKitInit();
|
|
39
|
-
const transition = transitions.find((t) => t.name === "
|
|
39
|
+
const transition = transitions.find((t) => t.name === "Cube");
|
|
40
40
|
const sksl = await loadSksl(transition.name);
|
|
41
41
|
let error = "";
|
|
42
42
|
const effect = CanvasKit.RuntimeEffect.Make(sksl, (e) => (error += e));
|
|
@@ -63,7 +63,7 @@ function uniforms(values) {
|
|
|
63
63
|
return out;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
// extraImages: one image per transition.textures entry, in that order (e.g. the luma map of `
|
|
66
|
+
// extraImages: one image per transition.textures entry, in that order (e.g. the luma map of `LumaWipe`).
|
|
67
67
|
function draw(progress, fromImage, toImage, params = {}, extraImages = []) {
|
|
68
68
|
const values = { _resolution: [width, height], progress, ratio: width / height };
|
|
69
69
|
for (const [name, p] of Object.entries(transition.params)) values[name] = params[name] ?? p.default; // never unset
|
|
@@ -84,35 +84,47 @@ Images: `CanvasKit.MakeImageFromEncoded(bytes)` (PNG/JPEG bytes). Read back with
|
|
|
84
84
|
|
|
85
85
|
## React Native Skia
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
Use `@gl-transitions/react-native-skia`, whose README is at `https://github.com/gl-transitions/gl-transitions/tree/gl-transitions@<version>/packages/react-native-skia` (`<version>`: the one in the title of `catalog.md`) (React Native Skia 2, React 19; Reanimated only to animate `progress` without re-rendering):
|
|
88
|
+
|
|
89
|
+
```sh
|
|
90
|
+
npx expo install @shopify/react-native-skia react-native-reanimated
|
|
91
|
+
npm install gl-transitions @gl-transitions/react-native-skia
|
|
92
|
+
```
|
|
88
93
|
|
|
89
94
|
```tsx
|
|
90
|
-
import { Canvas
|
|
95
|
+
import { Canvas } from "@shopify/react-native-skia";
|
|
96
|
+
import { Transition } from "@gl-transitions/react-native-skia";
|
|
97
|
+
|
|
98
|
+
<Canvas style={{ width: 360, height: 240 }}>
|
|
99
|
+
<Transition name="CrossWarp" from={from} to={to} progress={progress} width={360} height={240} />
|
|
100
|
+
</Canvas>
|
|
101
|
+
```
|
|
91
102
|
|
|
92
|
-
|
|
103
|
+
- `from`, `to`: `SkImage` (`useImage(...)`, or the `currentFrame` of `useVideo(...)`), or shared values of them. While an image (or extra texture) is `null` nothing is drawn; a shared value still holding `null` is drawn as a transparent image instead.
|
|
104
|
+
- `progress`: a number or a Reanimated shared value.
|
|
105
|
+
- `params` (typed per transition; omitted ones keep their default), `textures` for extra images by name (`luma` for "LumaWipe", `displacementMap` for "DisplacementMap"), `fit` (default `"cover"`), `x`, `y`.
|
|
93
106
|
|
|
94
|
-
|
|
107
|
+
For your own children, `useTransitionEffect(name)` returns the compiled `effect` and `uniforms(width, height, progress, params?)`, a function that returns the uniforms object for a numeric `progress` (it is not a worklet: to animate with a shared value, call it once on the JS thread and override `progress` in `useDerivedValue(() => ({ ...base, progress: progress.value }))`, as `<Transition>` does). Children: `from`, `to`, then the extra textures, drawn at the output size and clamped. `getTransitionEffect(name)` is the same outside components.
|
|
108
|
+
|
|
109
|
+
```tsx
|
|
110
|
+
import { Fill, ImageShader, Shader } from "@shopify/react-native-skia";
|
|
111
|
+
import { useTransitionEffect } from "@gl-transitions/react-native-skia";
|
|
112
|
+
|
|
113
|
+
// Inside a <Canvas>; from, to: loaded SkImages, progress: a number.
|
|
114
|
+
function Wipe({ from, to, progress, width, height }) {
|
|
115
|
+
const { effect, uniforms } = useTransitionEffect("Wind");
|
|
95
116
|
const rect = { x: 0, y: 0, width, height };
|
|
96
117
|
return (
|
|
97
|
-
<
|
|
98
|
-
<
|
|
99
|
-
<
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
<ImageShader image={from} fit="cover" rect={rect} />
|
|
104
|
-
<ImageShader image={to} fit="cover" rect={rect} />
|
|
105
|
-
</Shader>
|
|
106
|
-
</Fill>
|
|
107
|
-
</Canvas>
|
|
118
|
+
<Fill>
|
|
119
|
+
<Shader source={effect} uniforms={uniforms(width, height, progress, { size: 0.4 })}>
|
|
120
|
+
<ImageShader image={from} fit="cover" rect={rect} tx="clamp" ty="clamp" />
|
|
121
|
+
<ImageShader image={to} fit="cover" rect={rect} tx="clamp" ty="clamp" />
|
|
122
|
+
</Shader>
|
|
123
|
+
</Fill>
|
|
108
124
|
);
|
|
109
125
|
}
|
|
110
126
|
```
|
|
111
127
|
|
|
112
|
-
- `params` must contain every parameter (defaults from the catalog); pass `bool` parameters as 0 or 1.
|
|
113
|
-
- `progress` can be a Reanimated shared value or derived value to animate on the UI thread.
|
|
114
|
-
- Children order matters: `from`, `to`, then the extra textures.
|
|
115
|
-
|
|
116
128
|
## Other Skia hosts
|
|
117
129
|
|
|
118
|
-
|
|
130
|
+
Skia C++ (`SkRuntimeEffect::MakeForShader`), SkiaSharp (`SKRuntimeEffect.CreateShader`) and Compose Multiplatform (Skiko `RuntimeEffect`) take the same file with the same contract. For skia-safe (Rust), the `gl-transitions` crate has the SkSL and packs its uniforms; on Android, the `com.gl-transitions:gl-transitions` library ships AGSL versions for `RuntimeShader` (see `native.md`).
|