gl-transitions 1.76.0 → 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 +129 -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 +2 -2
- 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,561 +0,0 @@
|
|
|
1
|
-
// Drop_Zone_Flicker — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/Drop_Zone_Flicker.glsl
|
|
2
|
-
// Author: bread
|
|
3
|
-
// License: MIT
|
|
4
|
-
// Description: A flickering glitch with RGB offset, ghosting and scanlines that flashes back to the outgoing image
|
|
5
|
-
// Bindings and uniform layout: see the gl-transitions package README
|
|
6
|
-
|
|
7
|
-
// language: metal1.0
|
|
8
|
-
#include <metal_stdlib>
|
|
9
|
-
#include <simd/simd.h>
|
|
10
|
-
|
|
11
|
-
using metal::uint;
|
|
12
|
-
|
|
13
|
-
struct Uniforms {
|
|
14
|
-
float progress;
|
|
15
|
-
float ratio;
|
|
16
|
-
float frameRate;
|
|
17
|
-
float rgbOffset;
|
|
18
|
-
float blockAmount;
|
|
19
|
-
float ghostAmount;
|
|
20
|
-
float redCyan;
|
|
21
|
-
float scanline;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
metal::float4 getToColor(
|
|
25
|
-
thread metal::float2& uv,
|
|
26
|
-
metal::sampler _sampler,
|
|
27
|
-
metal::texture2d<float, metal::access::sample> _to
|
|
28
|
-
) {
|
|
29
|
-
float _e106 = uv[0u];
|
|
30
|
-
float _e108 = uv[1u];
|
|
31
|
-
metal::float4 _e111 = _to.sample(_sampler, metal::float2(_e106, 1.0 - _e108), metal::level(0.0));
|
|
32
|
-
return _e111;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
metal::float2 safeUv(
|
|
36
|
-
thread metal::float2& uv_1
|
|
37
|
-
) {
|
|
38
|
-
metal::float2 _e105 = uv_1;
|
|
39
|
-
return metal::clamp(_e105, metal::float2(0.001, 0.001), metal::float2(0.999, 0.999));
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
metal::float4 chromaTo(
|
|
43
|
-
thread metal::float2& uv_2,
|
|
44
|
-
thread float& amt,
|
|
45
|
-
metal::sampler _sampler,
|
|
46
|
-
metal::texture2d<float, metal::access::sample> _to
|
|
47
|
-
) {
|
|
48
|
-
metal::float2 o = {};
|
|
49
|
-
metal::float2 param = {};
|
|
50
|
-
metal::float2 param_1 = {};
|
|
51
|
-
metal::float2 param_2 = {};
|
|
52
|
-
metal::float2 param_3 = {};
|
|
53
|
-
metal::float2 param_4 = {};
|
|
54
|
-
metal::float2 param_5 = {};
|
|
55
|
-
float _e113 = amt;
|
|
56
|
-
o = metal::float2(_e113, 0.0);
|
|
57
|
-
metal::float2 _e115 = uv_2;
|
|
58
|
-
metal::float2 _e116 = o;
|
|
59
|
-
param = _e115 - _e116;
|
|
60
|
-
metal::float2 _e118 = safeUv(param);
|
|
61
|
-
param_1 = _e118;
|
|
62
|
-
metal::float4 _e119 = getToColor(param_1, _sampler, _to);
|
|
63
|
-
metal::float2 _e121 = uv_2;
|
|
64
|
-
param_2 = _e121;
|
|
65
|
-
metal::float2 _e122 = safeUv(param_2);
|
|
66
|
-
param_3 = _e122;
|
|
67
|
-
metal::float4 _e123 = getToColor(param_3, _sampler, _to);
|
|
68
|
-
metal::float2 _e125 = uv_2;
|
|
69
|
-
metal::float2 _e126 = o;
|
|
70
|
-
param_4 = _e125 + _e126;
|
|
71
|
-
metal::float2 _e128 = safeUv(param_4);
|
|
72
|
-
param_5 = _e128;
|
|
73
|
-
metal::float4 _e129 = getToColor(param_5, _sampler, _to);
|
|
74
|
-
return metal::float4(_e119.x, _e123.y, _e129.z, 1.0);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
metal::float4 getFromColor(
|
|
78
|
-
thread metal::float2& uv_3,
|
|
79
|
-
metal::texture2d<float, metal::access::sample> _from,
|
|
80
|
-
metal::sampler _sampler
|
|
81
|
-
) {
|
|
82
|
-
float _e106 = uv_3[0u];
|
|
83
|
-
float _e108 = uv_3[1u];
|
|
84
|
-
metal::float4 _e111 = _from.sample(_sampler, metal::float2(_e106, 1.0 - _e108), metal::level(0.0));
|
|
85
|
-
return _e111;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
metal::float4 chromaFrom(
|
|
89
|
-
thread metal::float2& uv_4,
|
|
90
|
-
thread float& amt_1,
|
|
91
|
-
metal::texture2d<float, metal::access::sample> _from,
|
|
92
|
-
metal::sampler _sampler
|
|
93
|
-
) {
|
|
94
|
-
metal::float2 o_1 = {};
|
|
95
|
-
metal::float2 param_6 = {};
|
|
96
|
-
metal::float2 param_7 = {};
|
|
97
|
-
metal::float2 param_8 = {};
|
|
98
|
-
metal::float2 param_9 = {};
|
|
99
|
-
metal::float2 param_10 = {};
|
|
100
|
-
metal::float2 param_11 = {};
|
|
101
|
-
float _e113 = amt_1;
|
|
102
|
-
o_1 = metal::float2(_e113, 0.0);
|
|
103
|
-
metal::float2 _e115 = uv_4;
|
|
104
|
-
metal::float2 _e116 = o_1;
|
|
105
|
-
param_6 = _e115 + _e116;
|
|
106
|
-
metal::float2 _e118 = safeUv(param_6);
|
|
107
|
-
param_7 = _e118;
|
|
108
|
-
metal::float4 _e119 = getFromColor(param_7, _from, _sampler);
|
|
109
|
-
metal::float2 _e121 = uv_4;
|
|
110
|
-
param_8 = _e121;
|
|
111
|
-
metal::float2 _e122 = safeUv(param_8);
|
|
112
|
-
param_9 = _e122;
|
|
113
|
-
metal::float4 _e123 = getFromColor(param_9, _from, _sampler);
|
|
114
|
-
metal::float2 _e125 = uv_4;
|
|
115
|
-
metal::float2 _e126 = o_1;
|
|
116
|
-
param_10 = _e125 - _e126;
|
|
117
|
-
metal::float2 _e128 = safeUv(param_10);
|
|
118
|
-
param_11 = _e128;
|
|
119
|
-
metal::float4 _e129 = getFromColor(param_11, _from, _sampler);
|
|
120
|
-
return metal::float4(_e119.x, _e123.y, _e129.z, 1.0);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
float sat(
|
|
124
|
-
thread float& x
|
|
125
|
-
) {
|
|
126
|
-
float _e105 = x;
|
|
127
|
-
return metal::clamp(_e105, 0.0, 1.0);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
float hash12(
|
|
131
|
-
thread metal::float2& p
|
|
132
|
-
) {
|
|
133
|
-
metal::float2 _e105 = p;
|
|
134
|
-
p = metal::fract(_e105 * metal::float2(443.8975, 397.2973));
|
|
135
|
-
metal::float2 _e108 = p;
|
|
136
|
-
metal::float2 _e109 = p;
|
|
137
|
-
metal::float2 _e114 = p;
|
|
138
|
-
p = _e114 + metal::float2(metal::dot(_e108, _e109.yx + metal::float2(19.19)));
|
|
139
|
-
float _e118 = p[0u];
|
|
140
|
-
float _e120 = p[1u];
|
|
141
|
-
return metal::fract(_e118 * _e120);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
float blockMask(
|
|
145
|
-
thread metal::float2& uv_5,
|
|
146
|
-
thread float& f
|
|
147
|
-
) {
|
|
148
|
-
metal::float2 big = {};
|
|
149
|
-
metal::float2 small = {};
|
|
150
|
-
float wide = {};
|
|
151
|
-
metal::float2 param_12 = {};
|
|
152
|
-
float chunks = {};
|
|
153
|
-
metal::float2 param_13 = {};
|
|
154
|
-
float verticalCut = {};
|
|
155
|
-
metal::float2 param_14 = {};
|
|
156
|
-
float param_15 = {};
|
|
157
|
-
metal::float2 _e115 = uv_5;
|
|
158
|
-
big = metal::floor(_e115 * metal::float2(4.0, 2.0));
|
|
159
|
-
metal::float2 _e118 = uv_5;
|
|
160
|
-
small = metal::floor(_e118 * metal::float2(8.0, 4.0));
|
|
161
|
-
float _e122 = big[0u];
|
|
162
|
-
float _e123 = f;
|
|
163
|
-
param_12 = metal::float2(_e122, _e123 * 1.37);
|
|
164
|
-
float _e126 = hash12(param_12);
|
|
165
|
-
wide = metal::step(0.48, _e126);
|
|
166
|
-
metal::float2 _e128 = small;
|
|
167
|
-
float _e129 = f;
|
|
168
|
-
float _e131 = f;
|
|
169
|
-
param_13 = _e128 + metal::float2(_e129 * 2.11, _e131 * 0.73);
|
|
170
|
-
float _e135 = hash12(param_13);
|
|
171
|
-
chunks = metal::step(0.56, _e135);
|
|
172
|
-
float _e138 = uv_5[0u];
|
|
173
|
-
float _e139 = f;
|
|
174
|
-
param_14 = metal::float2(_e139, 4.7);
|
|
175
|
-
float _e141 = hash12(param_14);
|
|
176
|
-
verticalCut = metal::smoothstep(-0.035, 0.035, _e138 - metal::mix(0.18, 0.78, _e141));
|
|
177
|
-
float _e145 = wide;
|
|
178
|
-
float _e146 = chunks;
|
|
179
|
-
float _e149 = verticalCut;
|
|
180
|
-
param_15 = (metal::mix(_e145, _e146, 0.38) * 0.72) + (_e149 * 0.28);
|
|
181
|
-
float _e152 = sat(param_15);
|
|
182
|
-
return _e152;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
float frameGlitch(
|
|
186
|
-
thread float& f_1
|
|
187
|
-
) {
|
|
188
|
-
float _e105 = f_1;
|
|
189
|
-
if (_e105 < 0.5) {
|
|
190
|
-
return 0.0;
|
|
191
|
-
}
|
|
192
|
-
float _e107 = f_1;
|
|
193
|
-
if (_e107 < 6.5) {
|
|
194
|
-
return 0.92;
|
|
195
|
-
}
|
|
196
|
-
float _e109 = f_1;
|
|
197
|
-
if (_e109 < 10.5) {
|
|
198
|
-
return 0.38;
|
|
199
|
-
}
|
|
200
|
-
float _e111 = f_1;
|
|
201
|
-
if (_e111 < 11.5) {
|
|
202
|
-
return 0.78;
|
|
203
|
-
}
|
|
204
|
-
float _e113 = f_1;
|
|
205
|
-
if (_e113 < 12.5) {
|
|
206
|
-
return 0.12;
|
|
207
|
-
}
|
|
208
|
-
float _e115 = f_1;
|
|
209
|
-
if (_e115 < 17.5) {
|
|
210
|
-
return 0.74;
|
|
211
|
-
}
|
|
212
|
-
float _e117 = f_1;
|
|
213
|
-
if (_e117 < 22.5) {
|
|
214
|
-
return 0.88;
|
|
215
|
-
}
|
|
216
|
-
float _e119 = f_1;
|
|
217
|
-
if (_e119 < 23.5) {
|
|
218
|
-
return 0.28;
|
|
219
|
-
}
|
|
220
|
-
return 0.0;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
float frameReveal(
|
|
224
|
-
thread float& f_2
|
|
225
|
-
) {
|
|
226
|
-
float _e105 = f_2;
|
|
227
|
-
if (_e105 < 0.5) {
|
|
228
|
-
return 0.0;
|
|
229
|
-
}
|
|
230
|
-
float _e107 = f_2;
|
|
231
|
-
if (_e107 < 1.5) {
|
|
232
|
-
return 0.28;
|
|
233
|
-
}
|
|
234
|
-
float _e109 = f_2;
|
|
235
|
-
if (_e109 < 2.5) {
|
|
236
|
-
return 0.43;
|
|
237
|
-
}
|
|
238
|
-
float _e111 = f_2;
|
|
239
|
-
if (_e111 < 3.5) {
|
|
240
|
-
return 0.46;
|
|
241
|
-
}
|
|
242
|
-
float _e113 = f_2;
|
|
243
|
-
if (_e113 < 4.5) {
|
|
244
|
-
return 0.38;
|
|
245
|
-
}
|
|
246
|
-
float _e115 = f_2;
|
|
247
|
-
if (_e115 < 5.5) {
|
|
248
|
-
return 0.48;
|
|
249
|
-
}
|
|
250
|
-
float _e117 = f_2;
|
|
251
|
-
if (_e117 < 6.5) {
|
|
252
|
-
return 0.26;
|
|
253
|
-
}
|
|
254
|
-
float _e119 = f_2;
|
|
255
|
-
if (_e119 < 7.5) {
|
|
256
|
-
return 0.1;
|
|
257
|
-
}
|
|
258
|
-
float _e121 = f_2;
|
|
259
|
-
if (_e121 < 8.5) {
|
|
260
|
-
return 0.0;
|
|
261
|
-
}
|
|
262
|
-
float _e123 = f_2;
|
|
263
|
-
if (_e123 < 9.5) {
|
|
264
|
-
return 0.0;
|
|
265
|
-
}
|
|
266
|
-
float _e125 = f_2;
|
|
267
|
-
if (_e125 < 10.5) {
|
|
268
|
-
return 0.3;
|
|
269
|
-
}
|
|
270
|
-
float _e127 = f_2;
|
|
271
|
-
if (_e127 < 11.5) {
|
|
272
|
-
return 0.58;
|
|
273
|
-
}
|
|
274
|
-
float _e129 = f_2;
|
|
275
|
-
if (_e129 < 12.5) {
|
|
276
|
-
return 1.0;
|
|
277
|
-
}
|
|
278
|
-
float _e131 = f_2;
|
|
279
|
-
if (_e131 < 13.5) {
|
|
280
|
-
return 0.7;
|
|
281
|
-
}
|
|
282
|
-
float _e133 = f_2;
|
|
283
|
-
if (_e133 < 14.5) {
|
|
284
|
-
return 0.42;
|
|
285
|
-
}
|
|
286
|
-
float _e135 = f_2;
|
|
287
|
-
if (_e135 < 15.5) {
|
|
288
|
-
return 0.55;
|
|
289
|
-
}
|
|
290
|
-
float _e137 = f_2;
|
|
291
|
-
if (_e137 < 16.5) {
|
|
292
|
-
return 0.72;
|
|
293
|
-
}
|
|
294
|
-
float _e139 = f_2;
|
|
295
|
-
if (_e139 < 17.5) {
|
|
296
|
-
return 0.88;
|
|
297
|
-
}
|
|
298
|
-
float _e141 = f_2;
|
|
299
|
-
if (_e141 < 18.5) {
|
|
300
|
-
return 0.34;
|
|
301
|
-
}
|
|
302
|
-
float _e143 = f_2;
|
|
303
|
-
if (_e143 < 19.5) {
|
|
304
|
-
return 0.48;
|
|
305
|
-
}
|
|
306
|
-
float _e145 = f_2;
|
|
307
|
-
if (_e145 < 20.5) {
|
|
308
|
-
return 0.56;
|
|
309
|
-
}
|
|
310
|
-
float _e147 = f_2;
|
|
311
|
-
if (_e147 < 21.5) {
|
|
312
|
-
return 0.76;
|
|
313
|
-
}
|
|
314
|
-
float _e149 = f_2;
|
|
315
|
-
if (_e149 < 22.5) {
|
|
316
|
-
return 0.93;
|
|
317
|
-
}
|
|
318
|
-
return 1.0;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
metal::float4 transition(
|
|
322
|
-
thread metal::float2& uv_6,
|
|
323
|
-
metal::texture2d<float, metal::access::sample> _from,
|
|
324
|
-
metal::sampler _sampler,
|
|
325
|
-
metal::texture2d<float, metal::access::sample> _to,
|
|
326
|
-
constant Uniforms& uniforms
|
|
327
|
-
) {
|
|
328
|
-
metal::float2 param_16 = {};
|
|
329
|
-
metal::float2 param_17 = {};
|
|
330
|
-
float f_3 = {};
|
|
331
|
-
float reveal = {};
|
|
332
|
-
float param_18 = {};
|
|
333
|
-
float glitch = {};
|
|
334
|
-
float param_19 = {};
|
|
335
|
-
float rnd = {};
|
|
336
|
-
metal::float2 param_20 = {};
|
|
337
|
-
metal::float2 jitter = {};
|
|
338
|
-
metal::float2 param_21 = {};
|
|
339
|
-
metal::float2 fromUv = {};
|
|
340
|
-
metal::float2 param_22 = {};
|
|
341
|
-
metal::float2 toUv = {};
|
|
342
|
-
metal::float2 param_23 = {};
|
|
343
|
-
float block = {};
|
|
344
|
-
metal::float2 param_24 = {};
|
|
345
|
-
float param_25 = {};
|
|
346
|
-
float localReveal = {};
|
|
347
|
-
metal::float2 param_26 = {};
|
|
348
|
-
float param_27 = {};
|
|
349
|
-
metal::float4 oldClip = {};
|
|
350
|
-
metal::float2 param_28 = {};
|
|
351
|
-
float param_29 = {};
|
|
352
|
-
metal::float4 newClip = {};
|
|
353
|
-
metal::float2 param_30 = {};
|
|
354
|
-
float param_31 = {};
|
|
355
|
-
metal::float4 color = {};
|
|
356
|
-
float leftWash = {};
|
|
357
|
-
float cyanWash = {};
|
|
358
|
-
metal::float3 redGhost = {};
|
|
359
|
-
metal::float3 cyanGhost = {};
|
|
360
|
-
float oldReturn = {};
|
|
361
|
-
float lines = {};
|
|
362
|
-
float exposurePulse = {};
|
|
363
|
-
metal::float2 param_32 = {};
|
|
364
|
-
float param_33 = {};
|
|
365
|
-
float param_34 = {};
|
|
366
|
-
float param_35 = {};
|
|
367
|
-
float _e145 = uniforms.progress;
|
|
368
|
-
if (_e145 <= 0.0) {
|
|
369
|
-
metal::float2 _e147 = uv_6;
|
|
370
|
-
param_16 = _e147;
|
|
371
|
-
metal::float4 _e148 = getFromColor(param_16, _from, _sampler);
|
|
372
|
-
return _e148;
|
|
373
|
-
}
|
|
374
|
-
float _e150 = uniforms.progress;
|
|
375
|
-
if (_e150 >= 1.0) {
|
|
376
|
-
metal::float2 _e152 = uv_6;
|
|
377
|
-
param_17 = _e152;
|
|
378
|
-
metal::float4 _e153 = getToColor(param_17, _sampler, _to);
|
|
379
|
-
return _e153;
|
|
380
|
-
}
|
|
381
|
-
float _e155 = uniforms.progress;
|
|
382
|
-
float _e157 = uniforms.frameRate;
|
|
383
|
-
f_3 = metal::floor(_e155 * _e157);
|
|
384
|
-
float _e160 = f_3;
|
|
385
|
-
param_18 = _e160;
|
|
386
|
-
float _e161 = frameReveal(param_18);
|
|
387
|
-
reveal = _e161;
|
|
388
|
-
float _e162 = f_3;
|
|
389
|
-
param_19 = _e162;
|
|
390
|
-
float _e163 = frameGlitch(param_19);
|
|
391
|
-
glitch = _e163;
|
|
392
|
-
float _e164 = f_3;
|
|
393
|
-
param_20 = metal::float2(_e164, 9.13);
|
|
394
|
-
float _e166 = hash12(param_20);
|
|
395
|
-
rnd = _e166;
|
|
396
|
-
float _e167 = rnd;
|
|
397
|
-
float _e170 = f_3;
|
|
398
|
-
param_21 = metal::float2(_e170, 2.71);
|
|
399
|
-
float _e172 = hash12(param_21);
|
|
400
|
-
float _e176 = glitch;
|
|
401
|
-
jitter = metal::float2((_e167 - 0.5) * 0.042, (_e172 - 0.5) * 0.01) * _e176;
|
|
402
|
-
metal::float2 _e178 = uv_6;
|
|
403
|
-
metal::float2 _e179 = jitter;
|
|
404
|
-
param_22 = _e178 + _e179;
|
|
405
|
-
metal::float2 _e181 = safeUv(param_22);
|
|
406
|
-
fromUv = _e181;
|
|
407
|
-
metal::float2 _e182 = uv_6;
|
|
408
|
-
metal::float2 _e183 = jitter;
|
|
409
|
-
param_23 = _e182 - (_e183 * 0.55);
|
|
410
|
-
metal::float2 _e186 = safeUv(param_23);
|
|
411
|
-
toUv = _e186;
|
|
412
|
-
metal::float2 _e187 = uv_6;
|
|
413
|
-
param_24 = _e187;
|
|
414
|
-
float _e188 = f_3;
|
|
415
|
-
param_25 = _e188;
|
|
416
|
-
float _e189 = blockMask(param_24, param_25);
|
|
417
|
-
block = _e189;
|
|
418
|
-
float _e190 = reveal;
|
|
419
|
-
float _e191 = block;
|
|
420
|
-
float _e194 = uniforms.blockAmount;
|
|
421
|
-
float _e196 = glitch;
|
|
422
|
-
float _e199 = f_3;
|
|
423
|
-
float _e201 = uv_6[1u];
|
|
424
|
-
param_26 = metal::float2(_e199, metal::floor(_e201 * 9.0));
|
|
425
|
-
float _e205 = hash12(param_26);
|
|
426
|
-
float _e208 = glitch;
|
|
427
|
-
param_27 = (_e190 + (((_e191 - 0.5) * _e194) * _e196)) + (((_e205 - 0.5) * 0.18) * _e208);
|
|
428
|
-
float _e211 = sat(param_27);
|
|
429
|
-
localReveal = _e211;
|
|
430
|
-
float _e212 = localReveal;
|
|
431
|
-
localReveal = metal::smoothstep(0.22, 0.78, _e212);
|
|
432
|
-
float _e215 = uniforms.rgbOffset;
|
|
433
|
-
float _e216 = glitch;
|
|
434
|
-
metal::float2 _e218 = fromUv;
|
|
435
|
-
param_28 = _e218;
|
|
436
|
-
param_29 = _e215 * _e216;
|
|
437
|
-
metal::float4 _e219 = chromaFrom(param_28, param_29, _from, _sampler);
|
|
438
|
-
oldClip = _e219;
|
|
439
|
-
float _e221 = uniforms.rgbOffset;
|
|
440
|
-
float _e222 = glitch;
|
|
441
|
-
metal::float2 _e224 = toUv;
|
|
442
|
-
param_30 = _e224;
|
|
443
|
-
param_31 = _e221 * _e222;
|
|
444
|
-
metal::float4 _e225 = chromaTo(param_30, param_31, _sampler, _to);
|
|
445
|
-
newClip = _e225;
|
|
446
|
-
metal::float4 _e226 = oldClip;
|
|
447
|
-
metal::float4 _e227 = newClip;
|
|
448
|
-
float _e228 = localReveal;
|
|
449
|
-
color = metal::mix(_e226, _e227, metal::float4(_e228));
|
|
450
|
-
float _e232 = uv_6[0u];
|
|
451
|
-
float _e235 = glitch;
|
|
452
|
-
leftWash = (1.0 - metal::smoothstep(0.1, 0.78, _e232)) * _e235;
|
|
453
|
-
float _e238 = uv_6[0u];
|
|
454
|
-
float _e241 = uv_6[0u];
|
|
455
|
-
float _e245 = glitch;
|
|
456
|
-
cyanWash = (metal::smoothstep(0.08, 0.62, _e238) * (1.0 - metal::smoothstep(0.86, 1.0, _e241))) * _e245;
|
|
457
|
-
metal::float4 _e247 = oldClip;
|
|
458
|
-
redGhost = _e247.xyz * metal::float3(1.34, 0.42, 0.38);
|
|
459
|
-
metal::float4 _e250 = newClip;
|
|
460
|
-
cyanGhost = _e250.xyz * metal::float3(0.48, 1.12, 1.24);
|
|
461
|
-
metal::float4 _e253 = color;
|
|
462
|
-
metal::float3 _e255 = redGhost;
|
|
463
|
-
float _e256 = leftWash;
|
|
464
|
-
float _e258 = uniforms.redCyan;
|
|
465
|
-
metal::float3 _e262 = metal::mix(_e253.xyz, _e255, metal::float3((_e256 * _e258) * 0.42));
|
|
466
|
-
color[0u] = _e262.x;
|
|
467
|
-
color[1u] = _e262.y;
|
|
468
|
-
color[2u] = _e262.z;
|
|
469
|
-
metal::float4 _e269 = color;
|
|
470
|
-
metal::float3 _e271 = cyanGhost;
|
|
471
|
-
float _e272 = cyanWash;
|
|
472
|
-
float _e274 = uniforms.redCyan;
|
|
473
|
-
metal::float3 _e278 = metal::mix(_e269.xyz, _e271, metal::float3((_e272 * _e274) * 0.3));
|
|
474
|
-
color[0u] = _e278.x;
|
|
475
|
-
color[1u] = _e278.y;
|
|
476
|
-
color[2u] = _e278.z;
|
|
477
|
-
float _e285 = glitch;
|
|
478
|
-
float _e286 = reveal;
|
|
479
|
-
oldReturn = _e285 * (1.0 - metal::smoothstep(0.94, 1.0, _e286));
|
|
480
|
-
float _e290 = localReveal;
|
|
481
|
-
float _e297 = oldReturn;
|
|
482
|
-
oldReturn = _e297 * (0.18 + (0.52 * (1.0 - (metal::abs(_e290 - 0.5) * 2.0))));
|
|
483
|
-
metal::float4 _e299 = color;
|
|
484
|
-
metal::float4 _e301 = oldClip;
|
|
485
|
-
float _e303 = oldReturn;
|
|
486
|
-
float _e305 = uniforms.ghostAmount;
|
|
487
|
-
metal::float3 _e308 = metal::mix(_e299.xyz, _e301.xyz, metal::float3(_e303 * _e305));
|
|
488
|
-
color[0u] = _e308.x;
|
|
489
|
-
color[1u] = _e308.y;
|
|
490
|
-
color[2u] = _e308.z;
|
|
491
|
-
float _e316 = uv_6[1u];
|
|
492
|
-
float _e317 = f_3;
|
|
493
|
-
lines = metal::sin((_e316 + (_e317 * 0.017)) * 1080.0);
|
|
494
|
-
float _e322 = lines;
|
|
495
|
-
float _e324 = uniforms.scanline;
|
|
496
|
-
float _e326 = glitch;
|
|
497
|
-
metal::float4 _e328 = color;
|
|
498
|
-
metal::float3 _e331 = _e328.xyz + metal::float3((_e322 * _e324) * _e326);
|
|
499
|
-
color[0u] = _e331.x;
|
|
500
|
-
color[1u] = _e331.y;
|
|
501
|
-
color[2u] = _e331.z;
|
|
502
|
-
float _e338 = f_3;
|
|
503
|
-
param_32 = metal::float2(_e338, 12.4);
|
|
504
|
-
float _e340 = hash12(param_32);
|
|
505
|
-
float _e343 = glitch;
|
|
506
|
-
exposurePulse = ((_e340 - 0.35) * 0.1) * _e343;
|
|
507
|
-
float _e345 = exposurePulse;
|
|
508
|
-
metal::float4 _e346 = color;
|
|
509
|
-
metal::float3 _e349 = _e346.xyz + metal::float3(_e345);
|
|
510
|
-
color[0u] = _e349.x;
|
|
511
|
-
color[1u] = _e349.y;
|
|
512
|
-
color[2u] = _e349.z;
|
|
513
|
-
float _e357 = color[0u];
|
|
514
|
-
param_33 = _e357;
|
|
515
|
-
float _e358 = sat(param_33);
|
|
516
|
-
float _e360 = color[1u];
|
|
517
|
-
param_34 = _e360;
|
|
518
|
-
float _e361 = sat(param_34);
|
|
519
|
-
float _e363 = color[2u];
|
|
520
|
-
param_35 = _e363;
|
|
521
|
-
float _e364 = sat(param_35);
|
|
522
|
-
return metal::float4(_e358, _e361, _e364, 1.0);
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
void main_1(
|
|
526
|
-
metal::texture2d<float, metal::access::sample> _from,
|
|
527
|
-
metal::sampler _sampler,
|
|
528
|
-
metal::texture2d<float, metal::access::sample> _to,
|
|
529
|
-
constant Uniforms& uniforms,
|
|
530
|
-
thread metal::float4& _fragColor,
|
|
531
|
-
thread metal::float2& _uv_1
|
|
532
|
-
) {
|
|
533
|
-
metal::float2 param_36 = {};
|
|
534
|
-
metal::float2 _e105 = _uv_1;
|
|
535
|
-
param_36 = _e105;
|
|
536
|
-
metal::float4 _e106 = transition(param_36, _from, _sampler, _to, uniforms);
|
|
537
|
-
_fragColor = _e106;
|
|
538
|
-
return;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
struct main_Input {
|
|
542
|
-
metal::float2 _uv [[user(loc0), center_perspective]];
|
|
543
|
-
};
|
|
544
|
-
struct main_Output {
|
|
545
|
-
metal::float4 member [[color(0)]];
|
|
546
|
-
};
|
|
547
|
-
fragment main_Output main_(
|
|
548
|
-
main_Input varyings [[stage_in]]
|
|
549
|
-
, metal::texture2d<float, metal::access::sample> _from [[texture(0)]]
|
|
550
|
-
, metal::sampler _sampler [[sampler(0)]]
|
|
551
|
-
, metal::texture2d<float, metal::access::sample> _to [[texture(1)]]
|
|
552
|
-
, constant Uniforms& uniforms [[buffer(0)]]
|
|
553
|
-
) {
|
|
554
|
-
metal::float4 _fragColor = {};
|
|
555
|
-
metal::float2 _uv_1 = {};
|
|
556
|
-
const auto _uv = varyings._uv;
|
|
557
|
-
_uv_1 = _uv;
|
|
558
|
-
main_1(_from, _sampler, _to, uniforms, _fragColor, _uv_1);
|
|
559
|
-
metal::float4 _e3 = _fragColor;
|
|
560
|
-
return main_Output { _e3 };
|
|
561
|
-
}
|