gl-transitions 3.3.0 → 3.4.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 +240 -0
- package/README.md +1 -0
- package/compatibility.json +2241 -446
- package/gl-transitions.js +1 -1
- package/gl-transitions.json +1 -1
- package/glsl3/Accordion.glsl +1 -10
- package/glsl3/ApertureWipe.glsl +0 -2
- package/glsl3/ArrowWipe.glsl +0 -7
- package/glsl3/Ascii.glsl +1 -12
- package/glsl3/BandWipe.glsl +0 -7
- package/glsl3/BeadUp.glsl +96 -0
- package/glsl3/BillowWipe.glsl +93 -0
- package/glsl3/Bite.glsl +167 -0
- package/glsl3/BlockCover.glsl +1 -4
- package/glsl3/BlockSlide.glsl +1 -11
- package/glsl3/BloomDissolve.glsl +0 -9
- package/glsl3/Blossom.glsl +110 -0
- package/glsl3/BokehDissolve.glsl +1 -8
- package/glsl3/BookFlip.glsl +1 -13
- package/glsl3/Bottleneck.glsl +41 -0
- package/glsl3/Bounce.glsl +1 -1
- package/glsl3/BowTieHorizontal.glsl +1 -8
- package/glsl3/BrickCollapse.glsl +140 -0
- package/glsl3/BrushWipe.glsl +5 -6
- package/glsl3/BurnThrough.glsl +2 -3
- package/glsl3/ButterflyFlight.glsl +69 -0
- package/glsl3/ButterflyWaveScrawler.glsl +0 -3
- package/glsl3/CameraShake.glsl +2 -7
- package/glsl3/CardDeal.glsl +0 -21
- package/glsl3/CardSwipe.glsl +2 -9
- package/glsl3/CellDissolve.glsl +0 -7
- package/glsl3/CircleBurst.glsl +1 -9
- package/glsl3/CircleIris.glsl +1 -0
- package/glsl3/CirclePacking.glsl +106 -0
- package/glsl3/Cleave.glsl +80 -0
- package/glsl3/Clothesline.glsl +6 -27
- package/glsl3/CloudDive.glsl +72 -0
- package/glsl3/CodeRain.glsl +0 -12
- package/glsl3/CoinSettle.glsl +80 -0
- package/glsl3/ColorPanelWipe.glsl +2 -9
- package/glsl3/Comb.glsl +0 -1
- package/glsl3/ComicPanels.glsl +0 -16
- package/glsl3/Condensation.glsl +154 -0
- package/glsl3/CorePunch.glsl +152 -0
- package/glsl3/CornerPin.glsl +75 -0
- package/glsl3/Crankshaft.glsl +98 -0
- package/glsl3/Craze.glsl +123 -0
- package/glsl3/CrossZoom.glsl +1 -1
- package/glsl3/Crumple.glsl +1 -11
- package/glsl3/Cube.glsl +1 -9
- package/glsl3/CurtainRise.glsl +0 -9
- package/glsl3/Curtains.glsl +3 -6
- package/glsl3/CurvedWipe.glsl +0 -3
- package/glsl3/CylinderRoll.glsl +2 -10
- package/glsl3/Cymatics.glsl +83 -0
- package/glsl3/DamBreak.glsl +103 -0
- package/glsl3/Deinterleave.glsl +81 -0
- package/glsl3/DiamondWipe.glsl +0 -1
- package/glsl3/DiffuseDissolve.glsl +44 -0
- package/glsl3/DirectionalScaled.glsl +1 -0
- package/glsl3/DiscCascade.glsl +74 -0
- package/glsl3/Disintegrate.glsl +1 -9
- package/glsl3/DominoFall.glsl +1 -12
- package/glsl3/Donut.glsl +135 -0
- package/glsl3/DoomMelt.glsl +1 -5
- package/glsl3/Doorway.glsl +1 -9
- package/glsl3/Drape.glsl +1 -15
- package/glsl3/DreamyZoom.glsl +2 -10
- package/glsl3/DropHop.glsl +107 -0
- package/glsl3/DuotoneFade.glsl +1 -3
- package/glsl3/EchoSlide.glsl +0 -7
- package/glsl3/EqualizerWipe.glsl +103 -0
- package/glsl3/EyeBlink.glsl +0 -7
- package/glsl3/FacetedGlass.glsl +0 -17
- package/glsl3/Faint.glsl +69 -0
- package/glsl3/FallOver.glsl +0 -2
- package/glsl3/FalseReflection.glsl +61 -0
- package/glsl3/FieldReversal.glsl +114 -0
- package/glsl3/FilmBurn.glsl +1 -0
- package/glsl3/FilmDissolve.glsl +0 -4
- package/glsl3/FilmLeader.glsl +185 -0
- package/glsl3/FilmStrip.glsl +1 -12
- package/glsl3/Fisheye.glsl +1 -0
- package/glsl3/FlameWipe.glsl +1 -22
- package/glsl3/FlowDissolve.glsl +85 -0
- package/glsl3/Flutter.glsl +107 -0
- package/glsl3/FrostWipe.glsl +3 -18
- package/glsl3/Funnel.glsl +0 -7
- package/glsl3/FurShake.glsl +112 -0
- package/glsl3/Gallery.glsl +3 -9
- package/glsl3/Gape.glsl +67 -0
- package/glsl3/GeometricCollage.glsl +0 -10
- package/glsl3/GlassRelief.glsl +75 -0
- package/glsl3/GlintDissolve.glsl +1 -10
- package/glsl3/GlitchDisplace.glsl +0 -3
- package/glsl3/GlitchFlicker.glsl +5 -6
- package/glsl3/GlitchMemories.glsl +1 -1
- package/glsl3/GlitterDissolve.glsl +0 -15
- package/glsl3/Globe.glsl +98 -0
- package/glsl3/GlowDissolve.glsl +2 -1
- package/glsl3/GoldenSpiral.glsl +84 -0
- package/glsl3/GooeyWipe.glsl +3 -6
- package/glsl3/GravityLens.glsl +0 -5
- package/glsl3/GridFlip.glsl +1 -15
- package/glsl3/Halftone.glsl +1 -3
- package/glsl3/HeartWipe.glsl +0 -2
- package/glsl3/HeatHaze.glsl +1 -10
- package/glsl3/HerringboneFold.glsl +85 -0
- package/glsl3/HingedSquares.glsl +0 -9
- package/glsl3/Hologram.glsl +1 -18
- package/glsl3/HoneyDrip.glsl +119 -0
- package/glsl3/Honeycomb.glsl +0 -4
- package/glsl3/HorizontalClose.glsl +1 -0
- package/glsl3/HorizontalHold.glsl +0 -5
- package/glsl3/HyperbolicMosaic.glsl +91 -0
- package/glsl3/Inchworm.glsl +110 -0
- package/glsl3/InkBleed.glsl +2 -6
- package/glsl3/InsetWipe.glsl +1 -4
- package/glsl3/InsideCube.glsl +0 -10
- package/glsl3/InterlaceWipe.glsl +60 -0
- package/glsl3/InvertedPageCurl.glsl +2 -5
- package/glsl3/IrisFold.glsl +61 -0
- package/glsl3/KeyholeWipe.glsl +0 -7
- package/glsl3/Kite.glsl +125 -0
- package/glsl3/Knead.glsl +125 -0
- package/glsl3/LayoutGrid.glsl +0 -13
- package/glsl3/LeafWipe.glsl +2 -4
- package/glsl3/LedWall.glsl +0 -14
- package/glsl3/LensFlare.glsl +0 -13
- package/glsl3/LensPush.glsl +76 -0
- package/glsl3/LensWipe.glsl +74 -0
- package/glsl3/LichtenbergBurn.glsl +88 -0
- package/glsl3/LightRays.glsl +2 -12
- package/glsl3/LightStreaks.glsl +0 -8
- package/glsl3/LightWipe.glsl +1 -13
- package/glsl3/LightningFlash.glsl +1 -14
- package/glsl3/LightningRift.glsl +91 -0
- package/glsl3/LineFeed.glsl +39 -0
- package/glsl3/LiquidFill.glsl +0 -13
- package/glsl3/LissajousTiles.glsl +3 -4
- package/glsl3/LuminanceMelt.glsl +1 -23
- package/glsl3/MarblingDissolve.glsl +80 -0
- package/glsl3/MicroBrickCascade.glsl +88 -0
- package/glsl3/MoireWipe.glsl +0 -9
- package/glsl3/Nightfall.glsl +61 -0
- package/glsl3/NoiseDissolve.glsl +1 -1
- package/glsl3/OutlineCrumble.glsl +105 -0
- package/glsl3/OutlineFill.glsl +61 -0
- package/glsl3/OutlineTear.glsl +93 -0
- package/glsl3/Overexposure.glsl +0 -1
- package/glsl3/PaintBucket.glsl +65 -0
- package/glsl3/PaintDissolve.glsl +175 -0
- package/glsl3/PaperFold.glsl +1 -12
- package/glsl3/PaperLayers.glsl +136 -0
- package/glsl3/PaperPlane.glsl +166 -0
- package/glsl3/PaperTear.glsl +1 -5
- package/glsl3/ParallaxPush.glsl +84 -0
- package/glsl3/Perforate.glsl +82 -0
- package/glsl3/PerlinDissolve.glsl +0 -6
- package/glsl3/PhotoDevelop.glsl +1 -6
- package/glsl3/PinchLift.glsl +114 -0
- package/glsl3/Pinwheel.glsl +2 -1
- package/glsl3/PixelStretch.glsl +1 -3
- package/glsl3/Pixelize.glsl +0 -2
- package/glsl3/PlasmaDissolve.glsl +0 -5
- package/glsl3/PlusWipe.glsl +0 -2
- package/glsl3/PointCharges.glsl +79 -0
- package/glsl3/PopIn.glsl +1 -4
- package/glsl3/PosterPaste.glsl +200 -0
- package/glsl3/PowerKaleido.glsl +0 -1
- package/glsl3/PrimaryLights.glsl +62 -0
- package/glsl3/Prisms.glsl +0 -4
- package/glsl3/ProjectorThrow.glsl +0 -9
- package/glsl3/Pupil.glsl +169 -0
- package/glsl3/Puzzle.glsl +1 -8
- package/glsl3/PuzzleCube.glsl +0 -10
- package/glsl3/QuadTurn.glsl +182 -0
- package/glsl3/QuadtreeBlocks.glsl +95 -0
- package/glsl3/RadialWipe.glsl +1 -1
- package/glsl3/RainPuddle.glsl +81 -0
- package/glsl3/Reassemble.glsl +0 -7
- package/glsl3/RectangleCover.glsl +0 -2
- package/glsl3/RectangleIris.glsl +0 -2
- package/glsl3/ReededGlass.glsl +66 -0
- package/glsl3/Reflow.glsl +55 -0
- package/glsl3/Refraction.glsl +0 -8
- package/glsl3/Revolve.glsl +1 -4
- package/glsl3/RibbonTwist.glsl +0 -4
- package/glsl3/RingSpin.glsl +0 -3
- package/glsl3/RingsWipe.glsl +0 -4
- package/glsl3/Ripple.glsl +1 -0
- package/glsl3/RotateScaleFade.glsl +1 -0
- package/glsl3/RotateScaleVanish.glsl +1 -1
- package/glsl3/Runway.glsl +92 -0
- package/glsl3/SandDrift.glsl +102 -0
- package/glsl3/SawtoothWipe.glsl +0 -4
- package/glsl3/ScreenPrintWipe.glsl +152 -0
- package/glsl3/SequinStroke.glsl +158 -0
- package/glsl3/Shatter.glsl +0 -14
- package/glsl3/Shockwave.glsl +0 -13
- package/glsl3/ShoreWash.glsl +1 -18
- package/glsl3/Shred.glsl +0 -6
- package/glsl3/ShutterWipe.glsl +0 -8
- package/glsl3/SimpleZoomOut.glsl +1 -0
- package/glsl3/SketchDissolve.glsl +0 -8
- package/glsl3/SkyLanterns.glsl +123 -0
- package/glsl3/SlashSplit.glsl +86 -0
- package/glsl3/SlideProjector.glsl +125 -0
- package/glsl3/SlitStretch.glsl +71 -0
- package/glsl3/SlitThread.glsl +91 -0
- package/glsl3/SlotReels.glsl +0 -13
- package/glsl3/SmokeDissolve.glsl +1 -6
- package/glsl3/SnakeBlockWipe.glsl +0 -5
- package/glsl3/Snap.glsl +92 -0
- package/glsl3/Snapshot.glsl +2 -8
- package/glsl3/Snowflake.glsl +119 -0
- package/glsl3/Soak.glsl +105 -0
- package/glsl3/SoapDrop.glsl +108 -0
- package/glsl3/SoapFilm.glsl +71 -0
- package/glsl3/SourceSink.glsl +62 -0
- package/glsl3/SpeedLines.glsl +93 -0
- package/glsl3/Sphere.glsl +0 -9
- package/glsl3/SpinningTop.glsl +173 -0
- package/glsl3/SpiralBlockWipe.glsl +0 -6
- package/glsl3/SpiralLines.glsl +66 -0
- package/glsl3/SplatterWipe.glsl +1 -8
- package/glsl3/SplitFlap.glsl +1 -5
- package/glsl3/SpotlightWipe.glsl +1 -4
- package/glsl3/SquaresWipe.glsl +1 -0
- package/glsl3/Steamroll.glsl +43 -0
- package/glsl3/StereoViewer.glsl +5 -24
- package/glsl3/StickySplit.glsl +105 -0
- package/glsl3/StopMotion.glsl +4 -10
- package/glsl3/Stratify.glsl +74 -0
- package/glsl3/StretchSlide.glsl +0 -5
- package/glsl3/StripDatamoshGlitch.glsl +0 -6
- package/glsl3/StrobeToss.glsl +78 -0
- package/glsl3/Subdivide.glsl +113 -0
- package/glsl3/Swap.glsl +0 -1
- package/glsl3/Swim.glsl +131 -0
- package/glsl3/Swirl.glsl +0 -5
- package/glsl3/Tableau.glsl +90 -0
- package/glsl3/TangentMotionBlur.glsl +5 -14
- package/glsl3/TileBlast.glsl +182 -0
- package/glsl3/TileConveyor.glsl +144 -0
- package/glsl3/TileRings.glsl +147 -0
- package/glsl3/TileShuffle.glsl +221 -0
- package/glsl3/TriangleFlip.glsl +181 -0
- package/glsl3/TruchetWipe.glsl +0 -9
- package/glsl3/Tumble.glsl +0 -10
- package/glsl3/Tunnel.glsl +0 -2
- package/glsl3/TvLostSignal.glsl +0 -4
- package/glsl3/TvRoll.glsl +0 -3
- package/glsl3/TvStatic.glsl +0 -1
- package/glsl3/TvTurnOff.glsl +1 -2
- package/glsl3/Umbrella.glsl +119 -0
- package/glsl3/Unbox.glsl +198 -0
- package/glsl3/UndulatingBurnOut.glsl +1 -1
- package/glsl3/Unstack.glsl +141 -0
- package/glsl3/Unstir.glsl +61 -0
- package/glsl3/Vaporize.glsl +0 -10
- package/glsl3/VerticalClose.glsl +1 -0
- package/glsl3/VhsTracking.glsl +5 -15
- package/glsl3/ViscousFingers.glsl +116 -0
- package/glsl3/Vortex.glsl +3 -12
- package/glsl3/WarpSpeed.glsl +0 -14
- package/glsl3/WaterDrop.glsl +0 -10
- package/glsl3/WatercolorDissolve.glsl +166 -0
- package/glsl3/WaterfallWipe.glsl +139 -0
- package/glsl3/WaveWipe.glsl +0 -15
- package/glsl3/WedgeWipe.glsl +2 -4
- package/glsl3/WhipPan.glsl +0 -1
- package/glsl3/WhipSpin.glsl +0 -2
- package/glsl3/WhipTilt.glsl +0 -2
- package/glsl3/Whirlwind.glsl +63 -0
- package/glsl3/Whittle.glsl +110 -0
- package/glsl3/Wormhole.glsl +101 -0
- package/glsl3/Wrench.glsl +256 -0
- package/glsl3/XorWipe.glsl +41 -0
- package/glsl3/ZoomInCircles.glsl +0 -4
- package/glsl3/ZoomWipeLeft.glsl +1 -0
- package/glsl3/ZoomWipeRight.glsl +1 -0
- package/index.d.ts +6 -0
- package/index.js +1 -1
- package/layouts.json +4286 -799
- package/llms-full.txt +2492 -470
- package/llms.txt +350 -238
- package/msl/BandWipe.metal +160 -176
- package/msl/BeadUp.metal +483 -0
- package/msl/BillowWipe.metal +329 -0
- package/msl/Bite.metal +733 -0
- package/msl/BlockSlide.metal +239 -255
- package/msl/Blossom.metal +670 -0
- package/msl/Bottleneck.metal +192 -0
- package/msl/BowTieHorizontal.metal +78 -87
- package/msl/BrickCollapse.metal +607 -0
- package/msl/BurnThrough.metal +97 -110
- package/msl/ButterflyFlight.metal +371 -0
- package/msl/ButterflyWaveScrawler.metal +74 -90
- package/msl/CardDeal.metal +304 -320
- package/msl/CellDissolve.metal +142 -152
- package/msl/CirclePacking.metal +470 -0
- package/msl/Cleave.metal +310 -0
- package/msl/CloudDive.metal +345 -0
- package/msl/CoinSettle.metal +347 -0
- package/msl/ComicPanels.metal +312 -328
- package/msl/Condensation.metal +778 -0
- package/msl/CorePunch.metal +914 -0
- package/msl/CornerPin.metal +492 -0
- package/msl/Crankshaft.metal +550 -0
- package/msl/Craze.metal +706 -0
- package/msl/Crumple.metal +339 -352
- package/msl/Cymatics.metal +317 -0
- package/msl/DamBreak.metal +461 -0
- package/msl/Deinterleave.metal +390 -0
- package/msl/DiffuseDissolve.metal +193 -0
- package/msl/DiscCascade.metal +329 -0
- package/msl/DominoFall.metal +47 -48
- package/msl/Donut.metal +652 -0
- package/msl/DropHop.metal +501 -0
- package/msl/EqualizerWipe.metal +438 -0
- package/msl/FacetedGlass.metal +291 -307
- package/msl/Faint.metal +367 -0
- package/msl/FalseReflection.metal +293 -0
- package/msl/FieldReversal.metal +539 -0
- package/msl/FilmDissolve.metal +45 -55
- package/msl/FilmLeader.metal +814 -0
- package/msl/FilmStrip.metal +155 -171
- package/msl/FlowDissolve.metal +399 -0
- package/msl/Flutter.metal +513 -0
- package/msl/FurShake.metal +481 -0
- package/msl/Gape.metal +337 -0
- package/msl/GlassRelief.metal +330 -0
- package/msl/GlitchFlicker.metal +321 -332
- package/msl/GlitchMemories.metal +45 -52
- package/msl/GlitterDissolve.metal +173 -189
- package/msl/Globe.metal +477 -0
- package/msl/GoldenSpiral.metal +344 -0
- package/msl/HeatHaze.metal +121 -137
- package/msl/HerringboneFold.metal +413 -0
- package/msl/HingedSquares.metal +235 -251
- package/msl/Hologram.metal +181 -197
- package/msl/HoneyDrip.metal +652 -0
- package/msl/HyperbolicMosaic.metal +408 -0
- package/msl/Inchworm.metal +579 -0
- package/msl/InsetWipe.metal +81 -91
- package/msl/InterlaceWipe.metal +238 -0
- package/msl/InvertedPageCurl.metal +1 -1
- package/msl/IrisFold.metal +281 -0
- package/msl/Kite.metal +772 -0
- package/msl/Knead.metal +678 -0
- package/msl/LayoutGrid.metal +237 -253
- package/msl/LeafWipe.metal +34 -42
- package/msl/LensFlare.metal +193 -209
- package/msl/LensPush.metal +312 -0
- package/msl/LensWipe.metal +295 -0
- package/msl/LightningRift.metal +602 -0
- package/msl/LineFeed.metal +212 -0
- package/msl/LiquidFill.metal +198 -211
- package/msl/LuminanceMelt.metal +108 -126
- package/msl/MarblingDissolve.metal +327 -0
- package/msl/MicroBrickCascade.metal +240 -0
- package/msl/MoireWipe.metal +95 -105
- package/msl/Nightfall.metal +302 -0
- package/msl/NoiseDissolve.metal +29 -29
- package/msl/OutlineCrumble.metal +692 -0
- package/msl/OutlineFill.metal +285 -0
- package/msl/OutlineTear.metal +437 -0
- package/msl/PaintBucket.metal +323 -0
- package/msl/PaintDissolve.metal +1151 -0
- package/msl/PaperLayers.metal +518 -0
- package/msl/PaperPlane.metal +1045 -0
- package/msl/ParallaxPush.metal +312 -0
- package/msl/Perforate.metal +468 -0
- package/msl/PhotoDevelop.metal +89 -99
- package/msl/PinchLift.metal +494 -0
- package/msl/Pinwheel.metal +32 -32
- package/msl/PlasmaDissolve.metal +54 -64
- package/msl/PointCharges.metal +399 -0
- package/msl/PosterPaste.metal +952 -0
- package/msl/PrimaryLights.metal +347 -0
- package/msl/ProjectorThrow.metal +108 -124
- package/msl/Pupil.metal +784 -0
- package/msl/Puzzle.metal +154 -150
- package/msl/QuadTurn.metal +1048 -0
- package/msl/QuadtreeBlocks.metal +493 -0
- package/msl/RadialWipe.metal +27 -25
- package/msl/RainPuddle.metal +397 -0
- package/msl/ReededGlass.metal +314 -0
- package/msl/Reflow.metal +306 -0
- package/msl/Revolve.metal +61 -77
- package/msl/RingsWipe.metal +153 -163
- package/msl/Runway.metal +476 -0
- package/msl/SandDrift.metal +497 -0
- package/msl/SawtoothWipe.metal +114 -124
- package/msl/ScreenPrintWipe.metal +577 -0
- package/msl/SequinStroke.metal +819 -0
- package/msl/Shatter.metal +562 -578
- package/msl/Shockwave.metal +123 -139
- package/msl/SkyLanterns.metal +606 -0
- package/msl/SlashSplit.metal +372 -0
- package/msl/SlideProjector.metal +536 -0
- package/msl/SlitStretch.metal +338 -0
- package/msl/SlitThread.metal +508 -0
- package/msl/SnakeBlockWipe.metal +73 -83
- package/msl/Snap.metal +521 -0
- package/msl/Snowflake.metal +663 -0
- package/msl/Soak.metal +500 -0
- package/msl/SoapDrop.metal +463 -0
- package/msl/SoapFilm.metal +360 -0
- package/msl/SourceSink.metal +355 -0
- package/msl/SpeedLines.metal +401 -0
- package/msl/Sphere.metal +193 -206
- package/msl/SpinningTop.metal +800 -0
- package/msl/SpiralBlockWipe.metal +119 -135
- package/msl/SpiralLines.metal +356 -0
- package/msl/Steamroll.metal +219 -0
- package/msl/StereoViewer.metal +73 -91
- package/msl/StickySplit.metal +490 -0
- package/msl/Stratify.metal +392 -0
- package/msl/StripDatamoshGlitch.metal +216 -232
- package/msl/StrobeToss.metal +408 -0
- package/msl/Subdivide.metal +566 -0
- package/msl/Swim.metal +687 -0
- package/msl/Tableau.metal +381 -0
- package/msl/TangentMotionBlur.metal +294 -294
- package/msl/TileBlast.metal +913 -0
- package/msl/TileConveyor.metal +718 -0
- package/msl/TileRings.metal +809 -0
- package/msl/TileShuffle.metal +1182 -0
- package/msl/TriangleFlip.metal +752 -0
- package/msl/TruchetWipe.metal +127 -143
- package/msl/Umbrella.metal +574 -0
- package/msl/Unbox.metal +1094 -0
- package/msl/Unstack.metal +630 -0
- package/msl/Unstir.metal +322 -0
- package/msl/VhsTracking.metal +299 -288
- package/msl/ViscousFingers.metal +567 -0
- package/msl/Vortex.metal +326 -316
- package/msl/WaterDrop.metal +181 -197
- package/msl/WatercolorDissolve.metal +791 -0
- package/msl/WaterfallWipe.metal +592 -0
- package/msl/WaveWipe.metal +343 -359
- package/msl/WedgeWipe.metal +59 -67
- package/msl/Whirlwind.metal +275 -0
- package/msl/Whittle.metal +554 -0
- package/msl/Wormhole.metal +505 -0
- package/msl/Wrench.metal +1361 -0
- package/msl/XorWipe.metal +238 -0
- package/package.json +1 -1
- package/skills/gl-transitions/SKILL.md +4 -2
- package/skills/gl-transitions/references/catalog.md +374 -112
- package/skills/gl-transitions/references/native.md +1 -1
- package/skills/gl-transitions/references/webgl.md +1 -1
- package/sksl/Accordion.sksl +0 -7
- package/sksl/ApertureWipe.sksl +0 -2
- package/sksl/ArrowWipe.sksl +0 -7
- package/sksl/Ascii.sksl +0 -7
- package/sksl/BandWipe.sksl +0 -6
- package/sksl/BeadUp.sksl +108 -0
- package/sksl/BillowWipe.sksl +104 -0
- package/sksl/Bite.sksl +177 -0
- package/sksl/BlockCover.sksl +0 -2
- package/sksl/BlockSlide.sksl +0 -9
- package/sksl/BloomDissolve.sksl +0 -7
- package/sksl/Blossom.sksl +121 -0
- package/sksl/BokehDissolve.sksl +0 -6
- package/sksl/BookFlip.sksl +0 -12
- package/sksl/Bottleneck.sksl +54 -0
- package/sksl/Bounce.sksl +1 -1
- package/sksl/BowTieHorizontal.sksl +1 -8
- package/sksl/BrickCollapse.sksl +152 -0
- package/sksl/BrushWipe.sksl +5 -5
- package/sksl/BurnThrough.sksl +2 -3
- package/sksl/ButterflyFlight.sksl +80 -0
- package/sksl/ButterflyWaveScrawler.sksl +0 -3
- package/sksl/CameraShake.sksl +1 -6
- package/sksl/CardDeal.sksl +0 -19
- package/sksl/CardSwipe.sksl +2 -8
- package/sksl/CellDissolve.sksl +0 -6
- package/sksl/CircleBurst.sksl +0 -4
- package/sksl/CirclePacking.sksl +119 -0
- package/sksl/Cleave.sksl +93 -0
- package/sksl/Clothesline.sksl +6 -18
- package/sksl/CloudDive.sksl +84 -0
- package/sksl/CodeRain.sksl +0 -11
- package/sksl/CoinSettle.sksl +93 -0
- package/sksl/ColorPanelWipe.sksl +0 -6
- package/sksl/Comb.sksl +0 -1
- package/sksl/ComicPanels.sksl +0 -11
- package/sksl/Condensation.sksl +161 -0
- package/sksl/CorePunch.sksl +162 -0
- package/sksl/CornerPin.sksl +85 -0
- package/sksl/Crankshaft.sksl +109 -0
- package/sksl/Craze.sksl +135 -0
- package/sksl/CrossZoom.sksl +0 -1
- package/sksl/Crumple.sksl +0 -9
- package/sksl/Cube.sksl +0 -9
- package/sksl/CurtainRise.sksl +0 -9
- package/sksl/Curtains.sksl +3 -6
- package/sksl/CurvedWipe.sksl +0 -3
- package/sksl/CylinderRoll.sksl +1 -8
- package/sksl/Cymatics.sksl +96 -0
- package/sksl/DamBreak.sksl +115 -0
- package/sksl/Deinterleave.sksl +93 -0
- package/sksl/DiamondWipe.sksl +0 -1
- package/sksl/DiffuseDissolve.sksl +55 -0
- package/sksl/DiscCascade.sksl +87 -0
- package/sksl/Disintegrate.sksl +0 -6
- package/sksl/DominoFall.sksl +1 -11
- package/sksl/Donut.sksl +146 -0
- package/sksl/DoomMelt.sksl +0 -1
- package/sksl/Doorway.sksl +0 -7
- package/sksl/Drape.sksl +1 -13
- package/sksl/DreamyZoom.sksl +0 -4
- package/sksl/DropHop.sksl +119 -0
- package/sksl/DuotoneFade.sksl +0 -3
- package/sksl/EchoSlide.sksl +0 -4
- package/sksl/EqualizerWipe.sksl +113 -0
- package/sksl/EyeBlink.sksl +0 -7
- package/sksl/FacetedGlass.sksl +0 -15
- package/sksl/Faint.sksl +81 -0
- package/sksl/FallOver.sksl +0 -2
- package/sksl/FalseReflection.sksl +74 -0
- package/sksl/FieldReversal.sksl +126 -0
- package/sksl/FilmDissolve.sksl +0 -3
- package/sksl/FilmLeader.sksl +192 -0
- package/sksl/FilmStrip.sksl +0 -10
- package/sksl/FlameWipe.sksl +0 -18
- package/sksl/FlowDissolve.sksl +97 -0
- package/sksl/Flutter.sksl +118 -0
- package/sksl/FrostWipe.sksl +3 -15
- package/sksl/Funnel.sksl +0 -6
- package/sksl/FurShake.sksl +124 -0
- package/sksl/Gallery.sksl +3 -9
- package/sksl/Gape.sksl +78 -0
- package/sksl/GeometricCollage.sksl +0 -6
- package/sksl/GlassRelief.sksl +88 -0
- package/sksl/GlintDissolve.sksl +0 -9
- package/sksl/GlitchDisplace.sksl +0 -3
- package/sksl/GlitchFlicker.sksl +4 -5
- package/sksl/GlitchMemories.sksl +1 -1
- package/sksl/GlitterDissolve.sksl +0 -10
- package/sksl/Globe.sksl +109 -0
- package/sksl/GlowDissolve.sksl +1 -1
- package/sksl/GoldenSpiral.sksl +97 -0
- package/sksl/GooeyWipe.sksl +3 -6
- package/sksl/GravityLens.sksl +0 -5
- package/sksl/GridFlip.sksl +0 -10
- package/sksl/Halftone.sksl +1 -3
- package/sksl/HeartWipe.sksl +0 -1
- package/sksl/HeatHaze.sksl +0 -9
- package/sksl/HerringboneFold.sksl +94 -0
- package/sksl/HingedSquares.sksl +0 -7
- package/sksl/Hologram.sksl +0 -15
- package/sksl/HoneyDrip.sksl +130 -0
- package/sksl/Honeycomb.sksl +0 -3
- package/sksl/HorizontalHold.sksl +0 -5
- package/sksl/HyperbolicMosaic.sksl +103 -0
- package/sksl/Inchworm.sksl +123 -0
- package/sksl/InkBleed.sksl +2 -6
- package/sksl/InsetWipe.sksl +0 -3
- package/sksl/InsideCube.sksl +0 -9
- package/sksl/InterlaceWipe.sksl +72 -0
- package/sksl/InvertedPageCurl.sksl +2 -4
- package/sksl/IrisFold.sksl +74 -0
- package/sksl/KeyholeWipe.sksl +0 -6
- package/sksl/Kite.sksl +138 -0
- package/sksl/Knead.sksl +133 -0
- package/sksl/LayoutGrid.sksl +0 -12
- package/sksl/LeafWipe.sksl +1 -4
- package/sksl/LedWall.sksl +0 -11
- package/sksl/LensFlare.sksl +0 -10
- package/sksl/LensPush.sksl +89 -0
- package/sksl/LensWipe.sksl +87 -0
- package/sksl/LichtenbergBurn.sksl +100 -0
- package/sksl/LightRays.sksl +0 -8
- package/sksl/LightStreaks.sksl +0 -5
- package/sksl/LightWipe.sksl +0 -9
- package/sksl/LightningFlash.sksl +0 -13
- package/sksl/LightningRift.sksl +103 -0
- package/sksl/LineFeed.sksl +52 -0
- package/sksl/LiquidFill.sksl +0 -13
- package/sksl/LissajousTiles.sksl +3 -3
- package/sksl/LuminanceMelt.sksl +1 -11
- package/sksl/MarblingDissolve.sksl +88 -0
- package/sksl/MicroBrickCascade.sksl +101 -0
- package/sksl/MoireWipe.sksl +0 -9
- package/sksl/Nightfall.sksl +74 -0
- package/sksl/NoiseDissolve.sksl +1 -1
- package/sksl/OutlineCrumble.sksl +114 -0
- package/sksl/OutlineFill.sksl +74 -0
- package/sksl/OutlineTear.sksl +104 -0
- package/sksl/Overexposure.sksl +0 -1
- package/sksl/PaintBucket.sksl +77 -0
- package/sksl/PaintDissolve.sksl +175 -0
- package/sksl/PaperFold.sksl +0 -12
- package/sksl/PaperLayers.sksl +144 -0
- package/sksl/PaperPlane.sksl +176 -0
- package/sksl/PaperTear.sksl +0 -2
- package/sksl/ParallaxPush.sksl +96 -0
- package/sksl/Perforate.sksl +91 -0
- package/sksl/PerlinDissolve.sksl +0 -6
- package/sksl/PhotoDevelop.sksl +0 -6
- package/sksl/PinchLift.sksl +124 -0
- package/sksl/Pinwheel.sksl +2 -1
- package/sksl/PixelStretch.sksl +0 -3
- package/sksl/PlasmaDissolve.sksl +0 -5
- package/sksl/PlusWipe.sksl +0 -1
- package/sksl/PointCharges.sksl +92 -0
- package/sksl/PopIn.sksl +0 -3
- package/sksl/PosterPaste.sksl +205 -0
- package/sksl/PowerKaleido.sksl +0 -1
- package/sksl/PrimaryLights.sksl +74 -0
- package/sksl/Prisms.sksl +0 -4
- package/sksl/ProjectorThrow.sksl +0 -8
- package/sksl/Pupil.sksl +180 -0
- package/sksl/Puzzle.sksl +1 -8
- package/sksl/PuzzleCube.sksl +0 -8
- package/sksl/QuadTurn.sksl +191 -0
- package/sksl/QuadtreeBlocks.sksl +102 -0
- package/sksl/RadialWipe.sksl +1 -1
- package/sksl/RainPuddle.sksl +93 -0
- package/sksl/Reassemble.sksl +0 -6
- package/sksl/RectangleCover.sksl +0 -2
- package/sksl/RectangleIris.sksl +0 -2
- package/sksl/ReededGlass.sksl +79 -0
- package/sksl/Reflow.sksl +67 -0
- package/sksl/Refraction.sksl +0 -6
- package/sksl/Revolve.sksl +0 -3
- package/sksl/RibbonTwist.sksl +0 -4
- package/sksl/RingSpin.sksl +0 -2
- package/sksl/RingsWipe.sksl +0 -4
- package/sksl/RotateScaleVanish.sksl +1 -1
- package/sksl/Runway.sksl +102 -0
- package/sksl/SandDrift.sksl +112 -0
- package/sksl/SawtoothWipe.sksl +0 -3
- package/sksl/ScreenPrintWipe.sksl +163 -0
- package/sksl/SequinStroke.sksl +169 -0
- package/sksl/Shatter.sksl +0 -9
- package/sksl/Shockwave.sksl +0 -13
- package/sksl/ShoreWash.sksl +0 -17
- package/sksl/Shred.sksl +0 -5
- package/sksl/ShutterWipe.sksl +0 -8
- package/sksl/SketchDissolve.sksl +0 -8
- package/sksl/SkyLanterns.sksl +133 -0
- package/sksl/SlashSplit.sksl +94 -0
- package/sksl/SlideProjector.sksl +130 -0
- package/sksl/SlitStretch.sksl +84 -0
- package/sksl/SlitThread.sksl +104 -0
- package/sksl/SlotReels.sksl +0 -12
- package/sksl/SmokeDissolve.sksl +0 -6
- package/sksl/SnakeBlockWipe.sksl +0 -5
- package/sksl/Snap.sksl +102 -0
- package/sksl/Snapshot.sksl +2 -7
- package/sksl/Snowflake.sksl +128 -0
- package/sksl/Soak.sksl +118 -0
- package/sksl/SoapDrop.sksl +119 -0
- package/sksl/SoapFilm.sksl +82 -0
- package/sksl/SourceSink.sksl +73 -0
- package/sksl/SpeedLines.sksl +101 -0
- package/sksl/Sphere.sksl +0 -9
- package/sksl/SpinningTop.sksl +180 -0
- package/sksl/SpiralBlockWipe.sksl +0 -6
- package/sksl/SpiralLines.sksl +78 -0
- package/sksl/SplatterWipe.sksl +1 -7
- package/sksl/SplitFlap.sksl +0 -4
- package/sksl/SpotlightWipe.sksl +0 -4
- package/sksl/Steamroll.sksl +56 -0
- package/sksl/StereoViewer.sksl +5 -12
- package/sksl/StickySplit.sksl +118 -0
- package/sksl/StopMotion.sksl +3 -8
- package/sksl/Stratify.sksl +83 -0
- package/sksl/StretchSlide.sksl +0 -4
- package/sksl/StripDatamoshGlitch.sksl +0 -6
- package/sksl/StrobeToss.sksl +89 -0
- package/sksl/Subdivide.sksl +121 -0
- package/sksl/Swim.sksl +140 -0
- package/sksl/Swirl.sksl +0 -5
- package/sksl/Tableau.sksl +101 -0
- package/sksl/TangentMotionBlur.sksl +5 -11
- package/sksl/TileBlast.sksl +191 -0
- package/sksl/TileConveyor.sksl +156 -0
- package/sksl/TileRings.sksl +158 -0
- package/sksl/TileShuffle.sksl +220 -0
- package/sksl/TriangleFlip.sksl +191 -0
- package/sksl/TruchetWipe.sksl +0 -8
- package/sksl/Tumble.sksl +0 -8
- package/sksl/Tunnel.sksl +0 -2
- package/sksl/TvLostSignal.sksl +0 -4
- package/sksl/TvRoll.sksl +0 -3
- package/sksl/TvTurnOff.sksl +0 -2
- package/sksl/Umbrella.sksl +129 -0
- package/sksl/Unbox.sksl +205 -0
- package/sksl/UndulatingBurnOut.sksl +1 -1
- package/sksl/Unstack.sksl +154 -0
- package/sksl/Unstir.sksl +74 -0
- package/sksl/Vaporize.sksl +0 -10
- package/sksl/VhsTracking.sksl +4 -14
- package/sksl/ViscousFingers.sksl +126 -0
- package/sksl/Vortex.sksl +3 -11
- package/sksl/WarpSpeed.sksl +0 -14
- package/sksl/WaterDrop.sksl +0 -9
- package/sksl/WatercolorDissolve.sksl +176 -0
- package/sksl/WaterfallWipe.sksl +152 -0
- package/sksl/WaveWipe.sksl +0 -14
- package/sksl/WedgeWipe.sksl +2 -4
- package/sksl/WhipPan.sksl +0 -1
- package/sksl/WhipSpin.sksl +0 -1
- package/sksl/WhipTilt.sksl +0 -2
- package/sksl/Whirlwind.sksl +76 -0
- package/sksl/Whittle.sksl +120 -0
- package/sksl/Wormhole.sksl +112 -0
- package/sksl/Wrench.sksl +263 -0
- package/sksl/XorWipe.sksl +54 -0
- package/sksl/ZoomInCircles.sksl +0 -4
- package/sksl/index.js +1 -1
- package/transitions/Accordion.glsl +1 -10
- package/transitions/ApertureWipe.glsl +0 -2
- package/transitions/ArrowWipe.glsl +0 -7
- package/transitions/Ascii.glsl +1 -12
- package/transitions/BandWipe.glsl +0 -7
- package/transitions/BeadUp.glsl +95 -0
- package/transitions/BillowWipe.glsl +92 -0
- package/transitions/Bite.glsl +166 -0
- package/transitions/BlockCover.glsl +1 -4
- package/transitions/BlockSlide.glsl +1 -11
- package/transitions/BloomDissolve.glsl +0 -9
- package/transitions/Blossom.glsl +109 -0
- package/transitions/BokehDissolve.glsl +1 -8
- package/transitions/BookFlip.glsl +1 -13
- package/transitions/Bottleneck.glsl +40 -0
- package/transitions/Bounce.glsl +1 -1
- package/transitions/BowTieHorizontal.glsl +1 -8
- package/transitions/BrickCollapse.glsl +139 -0
- package/transitions/BrushWipe.glsl +5 -6
- package/transitions/BurnThrough.glsl +2 -3
- package/transitions/ButterflyFlight.glsl +68 -0
- package/transitions/ButterflyWaveScrawler.glsl +0 -3
- package/transitions/CameraShake.glsl +2 -7
- package/transitions/CardDeal.glsl +0 -21
- package/transitions/CardSwipe.glsl +2 -9
- package/transitions/CellDissolve.glsl +0 -7
- package/transitions/CircleBurst.glsl +1 -9
- package/transitions/CircleIris.glsl +1 -0
- package/transitions/CirclePacking.glsl +105 -0
- package/transitions/Cleave.glsl +79 -0
- package/transitions/Clothesline.glsl +6 -27
- package/transitions/CloudDive.glsl +71 -0
- package/transitions/CodeRain.glsl +0 -12
- package/transitions/CoinSettle.glsl +79 -0
- package/transitions/ColorPanelWipe.glsl +2 -9
- package/transitions/Comb.glsl +0 -1
- package/transitions/ComicPanels.glsl +0 -16
- package/transitions/Condensation.glsl +153 -0
- package/transitions/CorePunch.glsl +151 -0
- package/transitions/CornerPin.glsl +74 -0
- package/transitions/Crankshaft.glsl +97 -0
- package/transitions/Craze.glsl +122 -0
- package/transitions/CrossZoom.glsl +1 -1
- package/transitions/Crumple.glsl +1 -11
- package/transitions/Cube.glsl +1 -9
- package/transitions/CurtainRise.glsl +0 -9
- package/transitions/Curtains.glsl +3 -6
- package/transitions/CurvedWipe.glsl +0 -3
- package/transitions/CylinderRoll.glsl +2 -10
- package/transitions/Cymatics.glsl +82 -0
- package/transitions/DamBreak.glsl +102 -0
- package/transitions/Deinterleave.glsl +80 -0
- package/transitions/DiamondWipe.glsl +0 -1
- package/transitions/DiffuseDissolve.glsl +43 -0
- package/transitions/DirectionalScaled.glsl +1 -0
- package/transitions/DiscCascade.glsl +73 -0
- package/transitions/Disintegrate.glsl +1 -9
- package/transitions/DominoFall.glsl +1 -12
- package/transitions/Donut.glsl +134 -0
- package/transitions/DoomMelt.glsl +1 -5
- package/transitions/Doorway.glsl +1 -9
- package/transitions/Drape.glsl +1 -15
- package/transitions/DreamyZoom.glsl +2 -10
- package/transitions/DropHop.glsl +106 -0
- package/transitions/DuotoneFade.glsl +1 -3
- package/transitions/EchoSlide.glsl +0 -7
- package/transitions/EqualizerWipe.glsl +102 -0
- package/transitions/EyeBlink.glsl +0 -7
- package/transitions/FacetedGlass.glsl +0 -17
- package/transitions/Faint.glsl +68 -0
- package/transitions/FallOver.glsl +0 -2
- package/transitions/FalseReflection.glsl +60 -0
- package/transitions/FieldReversal.glsl +113 -0
- package/transitions/FilmBurn.glsl +1 -0
- package/transitions/FilmDissolve.glsl +0 -4
- package/transitions/FilmLeader.glsl +184 -0
- package/transitions/FilmStrip.glsl +1 -12
- package/transitions/Fisheye.glsl +1 -0
- package/transitions/FlameWipe.glsl +1 -22
- package/transitions/FlowDissolve.glsl +84 -0
- package/transitions/Flutter.glsl +106 -0
- package/transitions/FrostWipe.glsl +3 -18
- package/transitions/Funnel.glsl +0 -7
- package/transitions/FurShake.glsl +111 -0
- package/transitions/Gallery.glsl +3 -9
- package/transitions/Gape.glsl +66 -0
- package/transitions/GeometricCollage.glsl +0 -10
- package/transitions/GlassRelief.glsl +74 -0
- package/transitions/GlintDissolve.glsl +1 -10
- package/transitions/GlitchDisplace.glsl +0 -3
- package/transitions/GlitchFlicker.glsl +5 -6
- package/transitions/GlitchMemories.glsl +1 -1
- package/transitions/GlitterDissolve.glsl +0 -15
- package/transitions/Globe.glsl +97 -0
- package/transitions/GlowDissolve.glsl +2 -1
- package/transitions/GoldenSpiral.glsl +83 -0
- package/transitions/GooeyWipe.glsl +3 -6
- package/transitions/GravityLens.glsl +0 -5
- package/transitions/GridFlip.glsl +1 -15
- package/transitions/Halftone.glsl +1 -3
- package/transitions/HeartWipe.glsl +0 -2
- package/transitions/HeatHaze.glsl +1 -10
- package/transitions/HerringboneFold.glsl +84 -0
- package/transitions/HingedSquares.glsl +0 -9
- package/transitions/Hologram.glsl +1 -18
- package/transitions/HoneyDrip.glsl +118 -0
- package/transitions/Honeycomb.glsl +0 -4
- package/transitions/HorizontalClose.glsl +1 -0
- package/transitions/HorizontalHold.glsl +0 -5
- package/transitions/HyperbolicMosaic.glsl +90 -0
- package/transitions/Inchworm.glsl +109 -0
- package/transitions/InkBleed.glsl +2 -6
- package/transitions/InsetWipe.glsl +1 -4
- package/transitions/InsideCube.glsl +0 -10
- package/transitions/InterlaceWipe.glsl +59 -0
- package/transitions/InvertedPageCurl.glsl +2 -5
- package/transitions/IrisFold.glsl +60 -0
- package/transitions/KeyholeWipe.glsl +0 -7
- package/transitions/Kite.glsl +124 -0
- package/transitions/Knead.glsl +124 -0
- package/transitions/LayoutGrid.glsl +0 -13
- package/transitions/LeafWipe.glsl +2 -4
- package/transitions/LedWall.glsl +0 -14
- package/transitions/LensFlare.glsl +0 -13
- package/transitions/LensPush.glsl +75 -0
- package/transitions/LensWipe.glsl +73 -0
- package/transitions/LichtenbergBurn.glsl +87 -0
- package/transitions/LightRays.glsl +2 -12
- package/transitions/LightStreaks.glsl +0 -8
- package/transitions/LightWipe.glsl +1 -13
- package/transitions/LightningFlash.glsl +1 -14
- package/transitions/LightningRift.glsl +90 -0
- package/transitions/LineFeed.glsl +38 -0
- package/transitions/LiquidFill.glsl +0 -13
- package/transitions/LissajousTiles.glsl +3 -4
- package/transitions/LuminanceMelt.glsl +1 -23
- package/transitions/MarblingDissolve.glsl +79 -0
- package/transitions/MicroBrickCascade.glsl +87 -0
- package/transitions/MoireWipe.glsl +0 -9
- package/transitions/Nightfall.glsl +60 -0
- package/transitions/NoiseDissolve.glsl +1 -1
- package/transitions/OutlineCrumble.glsl +104 -0
- package/transitions/OutlineFill.glsl +60 -0
- package/transitions/OutlineTear.glsl +92 -0
- package/transitions/Overexposure.glsl +0 -1
- package/transitions/PaintBucket.glsl +64 -0
- package/transitions/PaintDissolve.glsl +174 -0
- package/transitions/PaperFold.glsl +1 -12
- package/transitions/PaperLayers.glsl +135 -0
- package/transitions/PaperPlane.glsl +165 -0
- package/transitions/PaperTear.glsl +1 -5
- package/transitions/ParallaxPush.glsl +83 -0
- package/transitions/Perforate.glsl +81 -0
- package/transitions/PerlinDissolve.glsl +0 -6
- package/transitions/PhotoDevelop.glsl +1 -6
- package/transitions/PinchLift.glsl +113 -0
- package/transitions/Pinwheel.glsl +2 -1
- package/transitions/PixelStretch.glsl +1 -3
- package/transitions/Pixelize.glsl +0 -2
- package/transitions/PlasmaDissolve.glsl +0 -5
- package/transitions/PlusWipe.glsl +0 -2
- package/transitions/PointCharges.glsl +78 -0
- package/transitions/PopIn.glsl +1 -4
- package/transitions/PosterPaste.glsl +199 -0
- package/transitions/PowerKaleido.glsl +0 -1
- package/transitions/PrimaryLights.glsl +61 -0
- package/transitions/Prisms.glsl +0 -4
- package/transitions/ProjectorThrow.glsl +0 -9
- package/transitions/Pupil.glsl +168 -0
- package/transitions/Puzzle.glsl +1 -8
- package/transitions/PuzzleCube.glsl +0 -10
- package/transitions/QuadTurn.glsl +181 -0
- package/transitions/QuadtreeBlocks.glsl +94 -0
- package/transitions/RadialWipe.glsl +1 -1
- package/transitions/RainPuddle.glsl +80 -0
- package/transitions/Reassemble.glsl +0 -7
- package/transitions/RectangleCover.glsl +0 -2
- package/transitions/RectangleIris.glsl +0 -2
- package/transitions/ReededGlass.glsl +65 -0
- package/transitions/Reflow.glsl +54 -0
- package/transitions/Refraction.glsl +0 -8
- package/transitions/Revolve.glsl +1 -4
- package/transitions/RibbonTwist.glsl +0 -4
- package/transitions/RingSpin.glsl +0 -3
- package/transitions/RingsWipe.glsl +0 -4
- package/transitions/Ripple.glsl +1 -0
- package/transitions/RotateScaleFade.glsl +1 -0
- package/transitions/RotateScaleVanish.glsl +1 -1
- package/transitions/Runway.glsl +91 -0
- package/transitions/SandDrift.glsl +101 -0
- package/transitions/SawtoothWipe.glsl +0 -4
- package/transitions/ScreenPrintWipe.glsl +151 -0
- package/transitions/SequinStroke.glsl +157 -0
- package/transitions/Shatter.glsl +0 -14
- package/transitions/Shockwave.glsl +0 -13
- package/transitions/ShoreWash.glsl +1 -18
- package/transitions/Shred.glsl +0 -6
- package/transitions/ShutterWipe.glsl +0 -8
- package/transitions/SimpleZoomOut.glsl +1 -0
- package/transitions/SketchDissolve.glsl +0 -8
- package/transitions/SkyLanterns.glsl +122 -0
- package/transitions/SlashSplit.glsl +85 -0
- package/transitions/SlideProjector.glsl +124 -0
- package/transitions/SlitStretch.glsl +70 -0
- package/transitions/SlitThread.glsl +90 -0
- package/transitions/SlotReels.glsl +0 -13
- package/transitions/SmokeDissolve.glsl +1 -6
- package/transitions/SnakeBlockWipe.glsl +0 -5
- package/transitions/Snap.glsl +91 -0
- package/transitions/Snapshot.glsl +2 -8
- package/transitions/Snowflake.glsl +118 -0
- package/transitions/Soak.glsl +104 -0
- package/transitions/SoapDrop.glsl +107 -0
- package/transitions/SoapFilm.glsl +70 -0
- package/transitions/SourceSink.glsl +61 -0
- package/transitions/SpeedLines.glsl +92 -0
- package/transitions/Sphere.glsl +0 -9
- package/transitions/SpinningTop.glsl +172 -0
- package/transitions/SpiralBlockWipe.glsl +0 -6
- package/transitions/SpiralLines.glsl +65 -0
- package/transitions/SplatterWipe.glsl +1 -8
- package/transitions/SplitFlap.glsl +1 -5
- package/transitions/SpotlightWipe.glsl +1 -4
- package/transitions/SquaresWipe.glsl +1 -0
- package/transitions/Steamroll.glsl +42 -0
- package/transitions/StereoViewer.glsl +5 -24
- package/transitions/StickySplit.glsl +104 -0
- package/transitions/StopMotion.glsl +4 -10
- package/transitions/Stratify.glsl +73 -0
- package/transitions/StretchSlide.glsl +0 -5
- package/transitions/StripDatamoshGlitch.glsl +0 -6
- package/transitions/StrobeToss.glsl +77 -0
- package/transitions/Subdivide.glsl +112 -0
- package/transitions/Swap.glsl +0 -1
- package/transitions/Swim.glsl +130 -0
- package/transitions/Swirl.glsl +0 -5
- package/transitions/Tableau.glsl +89 -0
- package/transitions/TangentMotionBlur.glsl +5 -14
- package/transitions/TileBlast.glsl +181 -0
- package/transitions/TileConveyor.glsl +143 -0
- package/transitions/TileRings.glsl +146 -0
- package/transitions/TileShuffle.glsl +220 -0
- package/transitions/TriangleFlip.glsl +180 -0
- package/transitions/TruchetWipe.glsl +0 -9
- package/transitions/Tumble.glsl +0 -10
- package/transitions/Tunnel.glsl +0 -2
- package/transitions/TvLostSignal.glsl +0 -4
- package/transitions/TvRoll.glsl +0 -3
- package/transitions/TvStatic.glsl +0 -1
- package/transitions/TvTurnOff.glsl +1 -2
- package/transitions/Umbrella.glsl +118 -0
- package/transitions/Unbox.glsl +197 -0
- package/transitions/UndulatingBurnOut.glsl +1 -1
- package/transitions/Unstack.glsl +140 -0
- package/transitions/Unstir.glsl +60 -0
- package/transitions/Vaporize.glsl +0 -10
- package/transitions/VerticalClose.glsl +1 -0
- package/transitions/VhsTracking.glsl +5 -15
- package/transitions/ViscousFingers.glsl +115 -0
- package/transitions/Vortex.glsl +3 -12
- package/transitions/WarpSpeed.glsl +0 -14
- package/transitions/WaterDrop.glsl +0 -10
- package/transitions/WatercolorDissolve.glsl +165 -0
- package/transitions/WaterfallWipe.glsl +138 -0
- package/transitions/WaveWipe.glsl +0 -15
- package/transitions/WedgeWipe.glsl +2 -4
- package/transitions/WhipPan.glsl +0 -1
- package/transitions/WhipSpin.glsl +0 -2
- package/transitions/WhipTilt.glsl +0 -2
- package/transitions/Whirlwind.glsl +62 -0
- package/transitions/Whittle.glsl +109 -0
- package/transitions/Wormhole.glsl +100 -0
- package/transitions/Wrench.glsl +255 -0
- package/transitions/XorWipe.glsl +40 -0
- package/transitions/ZoomInCircles.glsl +0 -4
- package/transitions/ZoomWipeLeft.glsl +1 -0
- package/transitions/ZoomWipeRight.glsl +1 -0
- package/wgsl/BandWipe.wgsl +152 -168
- package/wgsl/BeadUp.wgsl +439 -0
- package/wgsl/BillowWipe.wgsl +298 -0
- package/wgsl/Bite.wgsl +663 -0
- package/wgsl/BlockSlide.wgsl +231 -247
- package/wgsl/Blossom.wgsl +616 -0
- package/wgsl/Bottleneck.wgsl +162 -0
- package/wgsl/BowTieHorizontal.wgsl +78 -87
- package/wgsl/BrickCollapse.wgsl +554 -0
- package/wgsl/BurnThrough.wgsl +97 -110
- package/wgsl/ButterflyFlight.wgsl +330 -0
- package/wgsl/ButterflyWaveScrawler.wgsl +66 -82
- package/wgsl/CardDeal.wgsl +296 -312
- package/wgsl/CellDissolve.wgsl +142 -152
- package/wgsl/CirclePacking.wgsl +426 -0
- package/wgsl/Cleave.wgsl +279 -0
- package/wgsl/CloudDive.wgsl +303 -0
- package/wgsl/CoinSettle.wgsl +314 -0
- package/wgsl/ComicPanels.wgsl +312 -328
- package/wgsl/Condensation.wgsl +705 -0
- package/wgsl/CorePunch.wgsl +841 -0
- package/wgsl/CornerPin.wgsl +448 -0
- package/wgsl/Crankshaft.wgsl +483 -0
- package/wgsl/Craze.wgsl +633 -0
- package/wgsl/Crumple.wgsl +335 -348
- package/wgsl/Cymatics.wgsl +286 -0
- package/wgsl/DamBreak.wgsl +428 -0
- package/wgsl/Deinterleave.wgsl +346 -0
- package/wgsl/DiffuseDissolve.wgsl +162 -0
- package/wgsl/DiscCascade.wgsl +293 -0
- package/wgsl/DominoFall.wgsl +45 -46
- package/wgsl/Donut.wgsl +558 -0
- package/wgsl/DropHop.wgsl +456 -0
- package/wgsl/EqualizerWipe.wgsl +397 -0
- package/wgsl/FacetedGlass.wgsl +283 -299
- package/wgsl/Faint.wgsl +320 -0
- package/wgsl/FalseReflection.wgsl +261 -0
- package/wgsl/FieldReversal.wgsl +486 -0
- package/wgsl/FilmDissolve.wgsl +45 -55
- package/wgsl/FilmLeader.wgsl +764 -0
- package/wgsl/FilmStrip.wgsl +155 -171
- package/wgsl/FlowDissolve.wgsl +349 -0
- package/wgsl/Flutter.wgsl +454 -0
- package/wgsl/FurShake.wgsl +439 -0
- package/wgsl/Gape.wgsl +306 -0
- package/wgsl/GlassRelief.wgsl +293 -0
- package/wgsl/GlitchFlicker.wgsl +321 -332
- package/wgsl/GlitchMemories.wgsl +45 -52
- package/wgsl/GlitterDissolve.wgsl +173 -189
- package/wgsl/Globe.wgsl +432 -0
- package/wgsl/GoldenSpiral.wgsl +310 -0
- package/wgsl/HeatHaze.wgsl +113 -129
- package/wgsl/HerringboneFold.wgsl +372 -0
- package/wgsl/HingedSquares.wgsl +227 -243
- package/wgsl/Hologram.wgsl +181 -197
- package/wgsl/HoneyDrip.wgsl +604 -0
- package/wgsl/HyperbolicMosaic.wgsl +371 -0
- package/wgsl/Inchworm.wgsl +525 -0
- package/wgsl/InsetWipe.wgsl +81 -91
- package/wgsl/InterlaceWipe.wgsl +205 -0
- package/wgsl/InvertedPageCurl.wgsl +1 -1
- package/wgsl/IrisFold.wgsl +248 -0
- package/wgsl/Kite.wgsl +725 -0
- package/wgsl/Knead.wgsl +599 -0
- package/wgsl/LayoutGrid.wgsl +229 -245
- package/wgsl/LeafWipe.wgsl +34 -42
- package/wgsl/LensFlare.wgsl +193 -209
- package/wgsl/LensPush.wgsl +270 -0
- package/wgsl/LensWipe.wgsl +265 -0
- package/wgsl/LichtenbergBurn.wgsl +480 -0
- package/wgsl/LightningRift.wgsl +549 -0
- package/wgsl/LineFeed.wgsl +184 -0
- package/wgsl/LiquidFill.wgsl +194 -207
- package/wgsl/LuminanceMelt.wgsl +100 -118
- package/wgsl/MarblingDissolve.wgsl +287 -0
- package/wgsl/MicroBrickCascade.wgsl +210 -0
- package/wgsl/MoireWipe.wgsl +95 -105
- package/wgsl/Nightfall.wgsl +270 -0
- package/wgsl/NoiseDissolve.wgsl +29 -29
- package/wgsl/OutlineCrumble.wgsl +612 -0
- package/wgsl/OutlineFill.wgsl +246 -0
- package/wgsl/OutlineTear.wgsl +379 -0
- package/wgsl/PaintBucket.wgsl +275 -0
- package/wgsl/PaintDissolve.wgsl +1081 -0
- package/wgsl/PaperLayers.wgsl +468 -0
- package/wgsl/PaperPlane.wgsl +949 -0
- package/wgsl/ParallaxPush.wgsl +281 -0
- package/wgsl/Perforate.wgsl +412 -0
- package/wgsl/PhotoDevelop.wgsl +89 -99
- package/wgsl/PinchLift.wgsl +454 -0
- package/wgsl/Pinwheel.wgsl +32 -32
- package/wgsl/PlasmaDissolve.wgsl +54 -64
- package/wgsl/PointCharges.wgsl +359 -0
- package/wgsl/PosterPaste.wgsl +879 -0
- package/wgsl/PrimaryLights.wgsl +311 -0
- package/wgsl/ProjectorThrow.wgsl +108 -124
- package/wgsl/Pupil.wgsl +739 -0
- package/wgsl/Puzzle.wgsl +154 -150
- package/wgsl/QuadTurn.wgsl +961 -0
- package/wgsl/QuadtreeBlocks.wgsl +441 -0
- package/wgsl/RadialWipe.wgsl +27 -25
- package/wgsl/RainPuddle.wgsl +358 -0
- package/wgsl/ReededGlass.wgsl +277 -0
- package/wgsl/Reflow.wgsl +267 -0
- package/wgsl/Revolve.wgsl +61 -77
- package/wgsl/RingsWipe.wgsl +153 -163
- package/wgsl/Runway.wgsl +426 -0
- package/wgsl/SandDrift.wgsl +439 -0
- package/wgsl/SawtoothWipe.wgsl +114 -124
- package/wgsl/ScreenPrintWipe.wgsl +534 -0
- package/wgsl/SequinStroke.wgsl +728 -0
- package/wgsl/Shatter.wgsl +554 -570
- package/wgsl/Shockwave.wgsl +121 -137
- package/wgsl/SkyLanterns.wgsl +559 -0
- package/wgsl/SlashSplit.wgsl +332 -0
- package/wgsl/SlideProjector.wgsl +482 -0
- package/wgsl/SlitStretch.wgsl +310 -0
- package/wgsl/SlitThread.wgsl +466 -0
- package/wgsl/SnakeBlockWipe.wgsl +73 -83
- package/wgsl/Snap.wgsl +465 -0
- package/wgsl/Snowflake.wgsl +608 -0
- package/wgsl/Soak.wgsl +459 -0
- package/wgsl/SoapDrop.wgsl +419 -0
- package/wgsl/SoapFilm.wgsl +318 -0
- package/wgsl/SourceSink.wgsl +312 -0
- package/wgsl/SpeedLines.wgsl +362 -0
- package/wgsl/Sphere.wgsl +189 -202
- package/wgsl/SpinningTop.wgsl +704 -0
- package/wgsl/SpiralBlockWipe.wgsl +111 -127
- package/wgsl/SpiralLines.wgsl +310 -0
- package/wgsl/Steamroll.wgsl +190 -0
- package/wgsl/StereoViewer.wgsl +73 -91
- package/wgsl/StickySplit.wgsl +454 -0
- package/wgsl/Stratify.wgsl +339 -0
- package/wgsl/StripDatamoshGlitch.wgsl +216 -232
- package/wgsl/StrobeToss.wgsl +356 -0
- package/wgsl/Subdivide.wgsl +520 -0
- package/wgsl/Swim.wgsl +619 -0
- package/wgsl/Tableau.wgsl +345 -0
- package/wgsl/TangentMotionBlur.wgsl +294 -294
- package/wgsl/TileBlast.wgsl +850 -0
- package/wgsl/TileConveyor.wgsl +658 -0
- package/wgsl/TileRings.wgsl +750 -0
- package/wgsl/TileShuffle.wgsl +1083 -0
- package/wgsl/TriangleFlip.wgsl +692 -0
- package/wgsl/TruchetWipe.wgsl +119 -135
- package/wgsl/Umbrella.wgsl +533 -0
- package/wgsl/Unbox.wgsl +1018 -0
- package/wgsl/Unstack.wgsl +564 -0
- package/wgsl/Unstir.wgsl +265 -0
- package/wgsl/VhsTracking.wgsl +299 -288
- package/wgsl/ViscousFingers.wgsl +506 -0
- package/wgsl/Vortex.wgsl +318 -308
- package/wgsl/WaterDrop.wgsl +173 -189
- package/wgsl/WatercolorDissolve.wgsl +724 -0
- package/wgsl/WaterfallWipe.wgsl +550 -0
- package/wgsl/WaveWipe.wgsl +335 -351
- package/wgsl/WedgeWipe.wgsl +55 -63
- package/wgsl/Whirlwind.wgsl +241 -0
- package/wgsl/Whittle.wgsl +484 -0
- package/wgsl/Wormhole.wgsl +461 -0
- package/wgsl/Wrench.wgsl +1288 -0
- package/wgsl/XorWipe.wgsl +202 -0
package/glsl3/Pinwheel.glsl
CHANGED
|
@@ -13,7 +13,8 @@ vec4 transition(vec2 uv) {
|
|
|
13
13
|
|
|
14
14
|
float circPos = atan(p.y - 0.5, p.x - 0.5) + progress * speed;
|
|
15
15
|
float modPos = mod(circPos, 3.1415 / 4.);
|
|
16
|
-
|
|
16
|
+
// starts just below 0 so the sector edges are not drawn on the first frame
|
|
17
|
+
float signed = sign(progress * (3.1415 / 4. + 0.01) - 0.01 - modPos);
|
|
17
18
|
|
|
18
19
|
return mix(getToColor(p), getFromColor(p), step(signed, 0.5));
|
|
19
20
|
|
package/glsl3/PixelStretch.glsl
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// License: MIT
|
|
4
4
|
// Description: A line sweeps across the frame and drags the outgoing image's pixels behind it as long streaks, which shorten as it goes and reveal the incoming image
|
|
5
5
|
// Tags: smear, streaks, directional, chromatic
|
|
6
|
+
// Preview: 0.6
|
|
6
7
|
|
|
7
8
|
// @param Direction in which the line sweeps
|
|
8
9
|
uniform vec2 direction; // = vec2(1.0, 0.0)
|
|
@@ -35,7 +36,6 @@ vec2 at(vec2 uv, float s0, float s, vec2 d, float ext) {
|
|
|
35
36
|
|
|
36
37
|
vec4 transition(vec2 uv) {
|
|
37
38
|
vec2 d = normalize(direction + vec2(1e-6, 0.0));
|
|
38
|
-
// ext: length of the frame along the sweep, in uv units
|
|
39
39
|
float ext = abs(d.x) + abs(d.y);
|
|
40
40
|
float s = 0.5 + dot(uv - 0.5, d) / ext;
|
|
41
41
|
// rows across the streaks (about one per pixel line), in frame heights
|
|
@@ -63,11 +63,9 @@ vec4 transition(vec2 uv) {
|
|
|
63
63
|
vec4 fg = getFromColor(at(uv, s, smax(s, a, k), d, ext));
|
|
64
64
|
vec4 fb = getFromColor(at(uv, s, smax(s, a - split, k), d, ext));
|
|
65
65
|
vec4 streak = vec4(fr.r, fg.g, fb.b, fg.a);
|
|
66
|
-
// a faint flicker along the streaks
|
|
67
66
|
float behind = step(s, a);
|
|
68
67
|
streak.rgb *= 1.0 + 0.06 * jitter * h * (hash(row * 3.0 + 5.0) - 0.5) * behind;
|
|
69
68
|
|
|
70
|
-
// past the end of its streak, each row shows the incoming image as it is
|
|
71
69
|
float w = smoothstep(len - k, len + k, a - s);
|
|
72
70
|
return mix(streak, getToColor(uv), w);
|
|
73
71
|
}
|
package/glsl3/Pixelize.glsl
CHANGED
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
// Tags: pixelate, blend
|
|
6
6
|
// forked from https://gist.github.com/benraziel/c528607361d90a072e98
|
|
7
7
|
|
|
8
|
-
// minimum number of squares (when the effect is at its higher level)
|
|
9
8
|
// @param Number of squares at the strongest pixelation
|
|
10
9
|
uniform ivec2 squaresMin; // = ivec2(20)
|
|
11
|
-
// zero disable the stepping
|
|
12
10
|
// @param Number of pixelation steps; 0 for a continuous effect
|
|
13
11
|
uniform int steps; // = 50
|
|
14
12
|
|
|
@@ -20,26 +20,21 @@ const float PI = 3.14159265;
|
|
|
20
20
|
vec4 transition(vec2 uv) {
|
|
21
21
|
vec4 a = getFromColor(uv);
|
|
22
22
|
vec4 b = getToColor(uv);
|
|
23
|
-
if (progress <= 0.0) return a;
|
|
24
|
-
if (progress >= 1.0) return b;
|
|
25
23
|
|
|
26
24
|
// measured in square pixels, so the waves are not stretched
|
|
27
25
|
vec2 p = (uv - 0.5) * vec2(ratio, 1.0) * max(scale, 0.0) * 2.0 * PI;
|
|
28
26
|
// the phase of the waves; the folded plasma below then changes by at most 0.9 * flow per
|
|
29
27
|
// unit of progress, slower than the threshold, so the reveal never goes back
|
|
30
28
|
float t = clamp(flow, 0.0, 1.0) * progress * 0.5;
|
|
31
|
-
// the classic plasma: sines of x, y, a diagonal and the distance to an off-center point
|
|
32
29
|
float v = sin(p.x * 0.6 + t)
|
|
33
30
|
+ sin(p.y * 0.8 - t * 0.8)
|
|
34
31
|
+ sin((p.x * 0.5 + p.y * 0.7) * 0.7 + t * 0.6)
|
|
35
32
|
+ sin(length(p - vec2(0.15, -0.1) * max(scale, 0.0) * 2.0 * PI) * 0.9 - t * 1.2);
|
|
36
|
-
// folded into bands in [0, 1]
|
|
37
33
|
v = abs(fract(v * 0.25 + 0.5) * 2.0 - 1.0);
|
|
38
34
|
|
|
39
35
|
// the soft edge is fully below every band at the start and above every band at the end
|
|
40
36
|
float s = max(smoothness, 0.001);
|
|
41
37
|
float threshold = mix(-s, 1.0 + s, progress);
|
|
42
|
-
// > 0 where the incoming image shows
|
|
43
38
|
float m = 1.0 - smoothstep(threshold - s, threshold + s, v);
|
|
44
39
|
|
|
45
40
|
// mixed premultiplied, so transparent images do not bleed their color
|
package/glsl3/PlusWipe.glsl
CHANGED
|
@@ -14,14 +14,12 @@ float boxDist (vec2 p, vec2 halfSize) {
|
|
|
14
14
|
return length(max(d, 0.0)) + min(max(d.x, d.y), 0.0);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
// 1 inside the cross at time t, 0 outside
|
|
18
17
|
float plus (vec2 q, float t, float s) {
|
|
19
18
|
vec2 frame = vec2(0.5 * ratio, 0.5);
|
|
20
19
|
float k = min(frame.x, frame.y);
|
|
21
20
|
// The arms start equally thick, then widen with the frame's proportions,
|
|
22
21
|
// so the four corners left uncovered vanish together
|
|
23
22
|
vec2 halfWidth = k * t + (frame - k) * t * t;
|
|
24
|
-
// The arms reach out at the same speed in every direction
|
|
25
23
|
float halfLength = 3.0 * max(frame.x, frame.y) * t;
|
|
26
24
|
float d = min(boxDist(q, vec2(halfLength, halfWidth.y)), boxDist(q, vec2(halfWidth.x, halfLength)));
|
|
27
25
|
// The soft edge slides from outside to inside the cross, so nothing shows at
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// PointCharges — GLSL ES 3.00, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/PointCharges.glsl
|
|
2
|
+
// Author: gre
|
|
3
|
+
// License: MIT
|
|
4
|
+
// Description: Charges appear in the outgoing picture, each holding a small view of the incoming one in a glass bead; they orbit and grow while the outgoing picture bends and pours around them, then one of them takes the center and opens onto the incoming picture as the others are pushed out of the frame
|
|
5
|
+
// Tags: conformal, field, bubbles, liquid, warp
|
|
6
|
+
|
|
7
|
+
// @range(2, 6, 1) Number of charges
|
|
8
|
+
uniform float charges; // = 4.0
|
|
9
|
+
// @range(-1.5, 1.5) Turns the charges make around the center
|
|
10
|
+
uniform float turns; // = 0.6
|
|
11
|
+
// @range(0, 1) Glassy rim where the two pictures meet
|
|
12
|
+
uniform float rim; // = 0.7
|
|
13
|
+
|
|
14
|
+
const float TAU = 6.283185307;
|
|
15
|
+
|
|
16
|
+
vec2 mirrorUv(vec2 u) {
|
|
17
|
+
return 1.0 - abs(1.0 - mod(u, 2.0));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
vec4 transition(vec2 uv) {
|
|
21
|
+
float p = progress;
|
|
22
|
+
vec2 asp = vec2(ratio, 1.0);
|
|
23
|
+
float m = min(ratio, 1.0);
|
|
24
|
+
// the beads crop the pictures to this disc, so that little beyond their borders is seen
|
|
25
|
+
float R = 0.5 * m;
|
|
26
|
+
// 0.53: the frame's corners stay clear of the soft edge at both ends
|
|
27
|
+
float L = log(0.53 * length(asp) / R);
|
|
28
|
+
float n = clamp(floor(charges + 0.5), 2.0, 6.0);
|
|
29
|
+
float enter = smoothstep(0.0, 0.28, p);
|
|
30
|
+
float g0 = mix(mix(L, 0.45, enter), -L, smoothstep(0.4, 1.0, p));
|
|
31
|
+
float world = exp(-(L + 0.2) * enter) * (1.0 - smoothstep(0.35, 1.0, p));
|
|
32
|
+
float s = smoothstep(0.34, 0.95, p);
|
|
33
|
+
float left = 1.0 - smoothstep(0.45, 0.9, p);
|
|
34
|
+
float turn = TAU * turns * smoothstep(0.0, 1.0, p);
|
|
35
|
+
float e = rim * smoothstep(0.0, 0.15, p) * (1.0 - smoothstep(0.8, 1.0, p));
|
|
36
|
+
float aa = 0.001 * smoothstep(0.0, 0.1, p) * (1.0 - smoothstep(0.9, 1.0, p));
|
|
37
|
+
vec2 spread = min(asp, 1.35 * m) / R;
|
|
38
|
+
float push = 2.0 * max(ratio, 1.0) / m;
|
|
39
|
+
|
|
40
|
+
// 1e-5: a pixel exactly on a charge has no field
|
|
41
|
+
vec2 z = ((uv - 0.5) * asp + 1e-5) / R;
|
|
42
|
+
vec4 zx = z.x + aa / R * vec4(1.5, 0.5, -0.5, -1.5);
|
|
43
|
+
vec4 zy = z.y + aa / R * vec4(0.5, -1.5, 1.5, -0.5);
|
|
44
|
+
vec4 wx = world * zx, wy = world * zy;
|
|
45
|
+
for (int i = 0; i < 6; i++) {
|
|
46
|
+
float k = float(i);
|
|
47
|
+
if (k >= n) break;
|
|
48
|
+
float x = clamp((p - 0.03 * k) / 0.4, 0.0, 1.0);
|
|
49
|
+
// swells at once, then settles
|
|
50
|
+
float q = min(1.0 / n, 0.4) * x * x * (2.0 - x) / (x + 0.03);
|
|
51
|
+
float a = TAU * (k / n + 0.11) + turn;
|
|
52
|
+
vec2 c = (0.31 - 0.05 * cos(TAU * k * 0.618)) * vec2(cos(a), sin(a)) * spread;
|
|
53
|
+
if (i == 0) {
|
|
54
|
+
q = mix(q, 1.0, s);
|
|
55
|
+
c *= 1.0 - s;
|
|
56
|
+
} else {
|
|
57
|
+
q *= left;
|
|
58
|
+
c *= 1.0 + push * s;
|
|
59
|
+
}
|
|
60
|
+
vec4 dx = zx - c.x, dy = zy - c.y;
|
|
61
|
+
vec4 d = q / max(dx * dx + dy * dy, 1e-12);
|
|
62
|
+
wx += d * dx;
|
|
63
|
+
wy -= d * dy;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
vec4 sum = vec4(0.0);
|
|
67
|
+
for (int j = 0; j < 4; j++) {
|
|
68
|
+
vec2 w = j == 0 ? vec2(wx.x, wy.x) : j == 1 ? vec2(wx.y, wy.y) : j == 2 ? vec2(wx.z, wy.z) : vec2(wx.w, wy.w);
|
|
69
|
+
float l = max(dot(w, w), 1e-9);
|
|
70
|
+
float g = 0.5 * log(l) - g0;
|
|
71
|
+
vec4 f = getFromColor(mirrorUv(w * R / asp + 0.5));
|
|
72
|
+
vec4 t = getToColor(mirrorUv(vec2(w.x, -w.y) / l * R / asp + 0.5));
|
|
73
|
+
vec4 col = mix(vec4(f.rgb * f.a, f.a), vec4(t.rgb * t.a, t.a), smoothstep(-0.02, 0.02, g));
|
|
74
|
+
col.rgb *= 1.0 - 0.5 * e * exp(-abs(g) * 6.0);
|
|
75
|
+
col.rgb += 0.45 * e * exp(-(g - 0.12) * (g - 0.12) * 200.0) * col.a;
|
|
76
|
+
sum += col;
|
|
77
|
+
}
|
|
78
|
+
return sum.a > 0.0 ? vec4(sum.rgb / sum.a, 0.25 * sum.a) : vec4(0.0);
|
|
79
|
+
}
|
package/glsl3/PopIn.glsl
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// License: MIT
|
|
4
4
|
// Description: The incoming image pops in as a rounded card over the outgoing one, with an elastic overshoot: too big, a bit small, then it settles into the full frame as its corners square off
|
|
5
5
|
// Tags: pop, scale, zoom, elastic, bounce, shadow
|
|
6
|
+
// Preview: 0.15
|
|
6
7
|
|
|
7
8
|
// @param Point of the frame the incoming image pops from
|
|
8
9
|
uniform vec2 center; // = vec2(0.5, 0.5)
|
|
@@ -15,7 +16,6 @@ uniform float shadow; // = 0.5
|
|
|
15
16
|
|
|
16
17
|
const float PI = 3.141592653589793;
|
|
17
18
|
|
|
18
|
-
// signed distance to a rounded box of half size b and corner radius r
|
|
19
19
|
float roundedBox(vec2 p, vec2 b, float r) {
|
|
20
20
|
vec2 q = abs(p) - b + r;
|
|
21
21
|
return length(max(q, 0.0)) + min(max(q.x, q.y), 0.0) - r;
|
|
@@ -28,7 +28,6 @@ vec4 transition(vec2 uv) {
|
|
|
28
28
|
float spring = 1.0 - exp(-1.5 * t) * cos(2.5 * PI * t) * (1.0 - t);
|
|
29
29
|
float s = mix(easeOut, spring, bounce);
|
|
30
30
|
|
|
31
|
-
// the card is the incoming frame scaled by s around the center, in aspect-corrected space
|
|
32
31
|
vec2 asp = vec2(ratio, 1.0);
|
|
33
32
|
float side = min(ratio, 1.0);
|
|
34
33
|
vec2 cardCenter = center + (0.5 - center) * s;
|
|
@@ -39,7 +38,6 @@ vec4 transition(vec2 uv) {
|
|
|
39
38
|
float d = roundedBox((uv - cardCenter) * asp, halfSize, r) - aa;
|
|
40
39
|
float cover = clamp(0.5 - d / aa, 0.0, 1.0) * smoothstep(0.0, 0.08, t);
|
|
41
40
|
|
|
42
|
-
// drop shadow on the outgoing image, offset down and blurred, growing with the card
|
|
43
41
|
float k = min(s, 1.0) * side;
|
|
44
42
|
float blur = 0.05 * k + 1e-4;
|
|
45
43
|
vec2 offset = vec2(0.0, -0.03 * k);
|
|
@@ -51,7 +49,6 @@ vec4 transition(vec2 uv) {
|
|
|
51
49
|
a.rgb *= 1.0 - shade;
|
|
52
50
|
// clamped: only the antialiased rim, one pixel or two outside the card, reads past the edge
|
|
53
51
|
vec4 b = getToColor(clamp((uv - center) / max(s, 1e-4) + center, 0.0, 1.0));
|
|
54
|
-
// blend premultiplied, then back to straight alpha
|
|
55
52
|
vec4 c = mix(vec4(a.rgb * a.a, a.a), vec4(b.rgb * b.a, b.a), cover);
|
|
56
53
|
return c.a > 0.0 ? vec4(c.rgb / c.a, c.a) : vec4(0.0);
|
|
57
54
|
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
// PosterPaste — GLSL ES 3.00, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/PosterPaste.glsl
|
|
2
|
+
// Author: gre
|
|
3
|
+
// License: MIT
|
|
4
|
+
// Description: The incoming image is pasted over the outgoing one as a poster, sheet after sheet: each wet sheet drops onto the wall hanging loose from its top edge with a soft shadow, then a brush smooths it on from top to bottom, leaving wrinkles and air bubbles that flatten out and seams that fade as the paste dries
|
|
5
|
+
// Tags: paper, poster, panels, wipe, shadow, 3d
|
|
6
|
+
|
|
7
|
+
// @range(2, 8) Number of poster sheets pasted side by side, from left to right
|
|
8
|
+
uniform float sheets; // = 4.0
|
|
9
|
+
// @range(0, 1) How wrinkled, blistered and billowing the wet paper is before the brush smooths it flat
|
|
10
|
+
uniform float wrinkles; // = 0.6
|
|
11
|
+
|
|
12
|
+
const float AA = 0.0015;
|
|
13
|
+
// length of the bend of a loose sheet just below its pasted part, in frame heights
|
|
14
|
+
const float ARC = 0.18;
|
|
15
|
+
// the last sheet is brushed on at this progress, then the paste dries until the end
|
|
16
|
+
const float END = 0.86;
|
|
17
|
+
// each sheet starts this share of a sheet's duration after the previous one
|
|
18
|
+
const float STAGGER = 0.45;
|
|
19
|
+
// share of a sheet's duration spent unfolding its top onto the wall, before the brush
|
|
20
|
+
const float UNFOLD = 0.22;
|
|
21
|
+
// length of paper hanging unfolded below the brush, in frame heights; the rest is still folded up behind it
|
|
22
|
+
const float FLAP = 0.34;
|
|
23
|
+
// how far a sheet overlaps the previous one, in frame widths
|
|
24
|
+
const float OVERLAP = 0.006;
|
|
25
|
+
// strength of the perspective: how much nearer things grow, per frame height of distance from the wall
|
|
26
|
+
const float PERSPECTIVE = 1.2;
|
|
27
|
+
// direction towards the light: from the upper left, in front of the wall
|
|
28
|
+
const vec3 LIGHT = vec3(-0.25, 0.5, 0.83);
|
|
29
|
+
const float RELIEF = 2.5;
|
|
30
|
+
|
|
31
|
+
float ppHash(vec2 p) {
|
|
32
|
+
vec3 p3 = fract(vec3(p.xyx) * 0.1031);
|
|
33
|
+
p3 += dot(p3, p3.yzx + 33.33);
|
|
34
|
+
return fract((p3.x + p3.y) * p3.z);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
float ppNoise(vec2 p) {
|
|
38
|
+
vec2 i = floor(p);
|
|
39
|
+
vec2 f = fract(p);
|
|
40
|
+
f = f * f * (3.0 - 2.0 * f);
|
|
41
|
+
return mix(
|
|
42
|
+
mix(ppHash(i), ppHash(i + vec2(1.0, 0.0)), f.x),
|
|
43
|
+
mix(ppHash(i + vec2(0.0, 1.0)), ppHash(i + vec2(1.0, 1.0)), f.x),
|
|
44
|
+
f.y
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
vec2 ppFold(vec2 p) {
|
|
49
|
+
return 1.0 - abs(1.0 - mod(p, 2.0));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// state of sheet k out of n:
|
|
53
|
+
// x = height of the brushed edge in the middle of the sheet, y = how much higher that edge is at the sides of the sheet
|
|
54
|
+
// (the brush works from the middle outwards), z = angle at which the loose paper leaves the wall, w = its unfolded length
|
|
55
|
+
vec4 ppSheet(float k, float n) {
|
|
56
|
+
float dur = END / (1.0 + (n - 1.0) * STAGGER);
|
|
57
|
+
float t = (progress - k * STAGGER * dur) / dur;
|
|
58
|
+
float a = clamp(t / UNFOLD, 0.0, 1.0);
|
|
59
|
+
a = a * a * (3.0 - 2.0 * a);
|
|
60
|
+
float b = max((t - UNFOLD) / (1.0 - UNFOLD), 0.0);
|
|
61
|
+
float f = b < 0.2 ? b * b * 2.5 : b - 0.1;
|
|
62
|
+
float front = 1.0 + 2.0 * AA - f * 1.12 / 0.9;
|
|
63
|
+
float theta = mix(1.35, 0.6, a) - 0.15 * smoothstep(0.0, 0.4, b) + 0.1 * sin(b * 10.0) * (1.0 - smoothstep(0.0, 0.6, b));
|
|
64
|
+
return vec4(front, 0.035 * a, theta, FLAP * a);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
float ppWrinkle(vec2 q, float k) {
|
|
68
|
+
float a = 1.0 - abs(2.0 * ppNoise(q * vec2(12.0, 2.5) + vec2(k * 13.1, k * 5.7)) - 1.0);
|
|
69
|
+
float b = ppNoise(q * vec2(22.0, 6.0) + vec2(k * 7.3 + 4.0, 2.0));
|
|
70
|
+
return 0.004 * a * a + 0.0015 * b;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// relief of the wet paper of sheet k at q (aspect-corrected, on the sheet laid flat): returns its slope.
|
|
74
|
+
// Wrinkles flatten with `fresh`; bubbles swell where the brush has just passed, then are pushed flat.
|
|
75
|
+
vec2 ppRelief(vec2 q, float k, float fresh, vec4 st, float x0, float x1) {
|
|
76
|
+
float h0 = ppWrinkle(q, k);
|
|
77
|
+
vec2 g = vec2(ppWrinkle(q + vec2(0.002, 0.0), k) - h0, ppWrinkle(q + vec2(0.0, 0.002), k) - h0) * (fresh / 0.002);
|
|
78
|
+
for (int j = 0; j < 3; j++) {
|
|
79
|
+
float fj = float(j);
|
|
80
|
+
vec4 h = vec4(ppHash(vec2(k, fj)), ppHash(vec2(fj, k + 11.0)), ppHash(vec2(k + 5.0, fj + 3.0)), ppHash(vec2(fj + 7.0, k + 2.0)));
|
|
81
|
+
vec2 c = vec2(mix(x0, x1, 0.2 + 0.6 * h.z) * ratio, 0.12 + 0.76 * h.w);
|
|
82
|
+
float e = 0.6 * (2.0 * h.z - 1.0);
|
|
83
|
+
float past = c.y - st.x - st.y * e * e;
|
|
84
|
+
float swell = smoothstep(0.0, 0.08, past) * (1.0 - smoothstep(0.1, 0.55, past));
|
|
85
|
+
float r = (0.03 + 0.03 * h.x) * (0.55 + 0.45 * swell);
|
|
86
|
+
vec2 v = q - c;
|
|
87
|
+
float u = max(1.0 - dot(v, v) / (r * r), 0.0);
|
|
88
|
+
// height 0.12 r (1 - |v|²/r²)²
|
|
89
|
+
g -= v * (0.48 / r) * u * swell * step(0.5, h.y + 0.25 * fj);
|
|
90
|
+
}
|
|
91
|
+
return g;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// the loose paper of a sheet, hanging from its brushed edge: it leaves the wall at angle theta, bends down over ARC,
|
|
95
|
+
// then hangs straight down to a fold. Returns (coverage with edges of half width w, x and height on the sheet laid flat,
|
|
96
|
+
// distance from the wall).
|
|
97
|
+
vec4 ppLoose(vec2 p, vec4 st, float x0, float x1, float xl, float xr, float w, float topShift) {
|
|
98
|
+
float th = st.z;
|
|
99
|
+
float c = th / ARC;
|
|
100
|
+
float sinT = sin(th);
|
|
101
|
+
float cosT = cos(th);
|
|
102
|
+
float d1 = sinT / c;
|
|
103
|
+
float x = p.x;
|
|
104
|
+
float h = 0.0;
|
|
105
|
+
float d = 0.0;
|
|
106
|
+
float s = 0.0;
|
|
107
|
+
float z = 0.0;
|
|
108
|
+
float y = p.y;
|
|
109
|
+
// the sheet is seen in perspective, from the middle of the frame: find where it is from where it would be on the wall
|
|
110
|
+
for (int i = 0; i < 3; i++) {
|
|
111
|
+
float e = clamp((x - x0) / (x1 - x0) * 2.0 - 1.0, -1.0, 1.0);
|
|
112
|
+
h = st.x + st.y * e * e;
|
|
113
|
+
d = h - y;
|
|
114
|
+
s = (th - asin(clamp(sinT - c * clamp(d, 0.0, d1), -1.0, 1.0))) / c + max(d - d1, 0.0) + min(d, 0.0);
|
|
115
|
+
z = (cos(th - c * clamp(s, 0.0, ARC)) - cosT) / c;
|
|
116
|
+
x = 0.5 + (p.x - 0.5) * (1.0 - PERSPECTIVE * z);
|
|
117
|
+
y = 0.5 + (p.y - 0.5) * (1.0 - PERSPECTIVE * z);
|
|
118
|
+
}
|
|
119
|
+
y = min(h, 1.0) - s;
|
|
120
|
+
float wx = w / ratio;
|
|
121
|
+
float cov = smoothstep(-AA, AA, d + topShift) * smoothstep(-w, w, y) * smoothstep(-w, w, st.w - s) * smoothstep(-wx, wx, x - xl) * smoothstep(-wx, wx, xr - x);
|
|
122
|
+
return vec4(cov, x, y, z);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
vec4 transition(vec2 uv) {
|
|
126
|
+
float n = floor(clamp(sheets, 2.0, 8.0) + 0.5);
|
|
127
|
+
float creases = clamp(wrinkles, 0.0, 1.0);
|
|
128
|
+
float wet = 1.0 - smoothstep(END, 1.0, progress);
|
|
129
|
+
float relief = creases * wet;
|
|
130
|
+
float aax = AA / ratio;
|
|
131
|
+
float cover = 0.0; // coverage of the incoming image
|
|
132
|
+
float lit = 0.0; // its shading, premultiplied by the coverage
|
|
133
|
+
float wall = 1.0; // shading of the outgoing image
|
|
134
|
+
vec2 tuv = uv;
|
|
135
|
+
|
|
136
|
+
for (int i = 0; i < 8; i++) {
|
|
137
|
+
float k = float(i);
|
|
138
|
+
if (k >= n) break;
|
|
139
|
+
float x0 = k / n;
|
|
140
|
+
float x1 = (k + 1.0) / n;
|
|
141
|
+
float xl = k < 0.5 ? -1.0 : x0 - OVERLAP;
|
|
142
|
+
float xr = k > n - 1.5 ? 2.0 : x1;
|
|
143
|
+
vec4 st = ppSheet(k, n);
|
|
144
|
+
float e = clamp((uv.x - x0) / (x1 - x0) * 2.0 - 1.0, -1.0, 1.0);
|
|
145
|
+
float past = uv.y - st.x - st.y * e * e;
|
|
146
|
+
float inY = smoothstep(-AA, AA, past);
|
|
147
|
+
float cov = inY * smoothstep(-aax, aax, uv.x - xl) * smoothstep(-aax, aax, xr - uv.x);
|
|
148
|
+
float edge = (uv.x - xl) * ratio;
|
|
149
|
+
float seam = 0.3 * wet * step(0.5, k) * inY * (1.0 - smoothstep(0.0, 0.005, -edge)) * step(edge, 0.0);
|
|
150
|
+
lit *= 1.0 - seam;
|
|
151
|
+
wall *= 1.0 - seam;
|
|
152
|
+
if (cov <= 0.0) continue;
|
|
153
|
+
float fresh = 1.0 - smoothstep(0.0, 0.6, past);
|
|
154
|
+
vec2 g = relief > 0.0 ? ppRelief(vec2(uv.x * ratio, uv.y), k, fresh, st, x0, x1) * relief : vec2(0.0);
|
|
155
|
+
float shade = 1.0 - RELIEF * dot(g, LIGHT.xy) / LIGHT.z;
|
|
156
|
+
shade *= (1.0 - 0.08 * fresh * wet) * (1.0 + 0.06 * (1.0 - smoothstep(0.0, 0.2, past)) * wet);
|
|
157
|
+
float overlap = 0.07 * (1.0 - smoothstep(OVERLAP * ratio, OVERLAP * ratio + 0.002, edge));
|
|
158
|
+
float rim = 0.12 * (1.0 - smoothstep(0.0, 0.0025, edge));
|
|
159
|
+
shade *= 1.0 - (overlap - rim) * wet * step(0.5, k);
|
|
160
|
+
tuv = mix(tuv, uv - g * 0.004, cov);
|
|
161
|
+
lit = lit * (1.0 - cov) + shade * cov;
|
|
162
|
+
cover = cover * (1.0 - cov) + cov;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// loose sheets in front of the wall, each one further out than the previous
|
|
166
|
+
for (int i = 0; i < 8; i++) {
|
|
167
|
+
float k = float(i);
|
|
168
|
+
if (k >= n) break;
|
|
169
|
+
vec4 st = ppSheet(k, n);
|
|
170
|
+
if (st.w <= 0.0 || st.x + st.y < -0.01) continue;
|
|
171
|
+
float x0 = k / n;
|
|
172
|
+
float x1 = (k + 1.0) / n;
|
|
173
|
+
float xl = k < 0.5 ? -1.0 : x0 - OVERLAP;
|
|
174
|
+
float xr = k > n - 1.5 ? 2.0 : x1;
|
|
175
|
+
float topShift = 2.0 * AA;
|
|
176
|
+
float zMax = ARC * (1.0 - cos(st.z)) / st.z * smoothstep(0.0, ARC, st.w);
|
|
177
|
+
vec4 sh = ppLoose(uv + LIGHT.xy / LIGHT.z * zMax * vec2(1.0 / ratio, 1.0), st, x0, x1, xl, xr, AA + 0.5 * zMax, topShift);
|
|
178
|
+
float shadow = 0.5 * sh.x * smoothstep(0.0, 0.04, sh.w);
|
|
179
|
+
lit *= 1.0 - shadow;
|
|
180
|
+
wall *= 1.0 - shadow;
|
|
181
|
+
vec4 l = ppLoose(uv, st, x0, x1, xl, xr, AA, topShift);
|
|
182
|
+
if (l.x <= 0.0) continue;
|
|
183
|
+
float th = acos(clamp(cos(st.z) + l.w * st.z / ARC, -1.0, 1.0));
|
|
184
|
+
vec2 g = relief > 0.0 ? ppRelief(vec2(l.y * ratio, l.z), k, 1.0, st, x0, x1) * relief : vec2(0.0);
|
|
185
|
+
float e = clamp((l.y - x0) / (x1 - x0) * 2.0 - 1.0, -1.0, 1.0);
|
|
186
|
+
float s = min(st.x + st.y * e * e, 1.0) - l.z;
|
|
187
|
+
g.x += 0.8 * creases * smoothstep(0.0, 0.3, s) * cos(l.y * n * 12.57 + k * 2.1 + st.z * 4.0);
|
|
188
|
+
float fold = 1.0 - smoothstep(0.0, 0.035, st.w - s);
|
|
189
|
+
float curl = 1.0 - smoothstep(0.0, 0.04, l.z);
|
|
190
|
+
float shade = (LIGHT.y * sin(th) + LIGHT.z * cos(th)) / LIGHT.z;
|
|
191
|
+
shade *= (1.0 - RELIEF * dot(g, LIGHT.xy) / LIGHT.z) * (1.0 - 0.8 * l.w) * (1.0 - 0.08 * wet) * (1.0 - 0.35 * fold * fold) * (1.0 + 0.15 * curl);
|
|
192
|
+
tuv = mix(tuv, vec2(l.y, l.z) - g * 0.004, l.x);
|
|
193
|
+
lit = lit * (1.0 - l.x) + shade * l.x;
|
|
194
|
+
cover = cover * (1.0 - l.x) + l.x;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
vec4 a = getFromColor(uv);
|
|
198
|
+
vec4 b = getToColor(ppFold(tuv));
|
|
199
|
+
return vec4(a.rgb * wall * (1.0 - cover) + b.rgb * lit, mix(a.a, b.a, cover));
|
|
200
|
+
}
|
package/glsl3/PowerKaleido.glsl
CHANGED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// PrimaryLights — GLSL ES 3.00, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/PrimaryLights.glsl
|
|
2
|
+
// Author: gre
|
|
3
|
+
// License: MIT
|
|
4
|
+
// Description: The lights dim on the outgoing image and three round beams of red, green and blue light glide in from three sides, each showing the incoming image in its own color; where they overlap the colors add up, and where all three meet the incoming image appears in full color, until the merged beam fills the frame
|
|
5
|
+
// Tags: light, color, rgb, additive, circles, spotlight
|
|
6
|
+
|
|
7
|
+
// @range(0, 1) How dark the outgoing image gets outside the beams
|
|
8
|
+
uniform float darkness; // = 0.6
|
|
9
|
+
// @range(0, 0.2) Softness of the beam edges
|
|
10
|
+
uniform float softness; // = 0.06
|
|
11
|
+
// @range(0, 1) Strength of the glow the beams spill around them
|
|
12
|
+
uniform float glow; // = 0.5
|
|
13
|
+
|
|
14
|
+
const float PI = 3.1415927;
|
|
15
|
+
|
|
16
|
+
// x: beam coverage, y: its brightness profile, z: its halo
|
|
17
|
+
vec3 beam(vec2 p, float k, float t, float size, float s, float g, float far) {
|
|
18
|
+
// each beam starts a little later than the previous one and swings in on a curve, slowing as it lands
|
|
19
|
+
float u = clamp((t - 0.06 * k) / 0.62, 0.0, 1.0);
|
|
20
|
+
float v = 1.0 - u;
|
|
21
|
+
float travel = 1.0 - v * v * v - 0.9 * sin(PI * u) * u * v;
|
|
22
|
+
float a = PI * (0.5 + 2.0 * k / 3.0) + 0.6 * travel;
|
|
23
|
+
vec2 c = vec2(0.5 * ratio, 0.5) + vec2(cos(a), sin(a)) * (far + 0.4 * size) * (1.0 - travel);
|
|
24
|
+
float r = mix(0.38 * size * smoothstep(0.0, 0.25, u), far + 2.0 * s, g);
|
|
25
|
+
float l = length(p - c);
|
|
26
|
+
float d = l - r;
|
|
27
|
+
float m = 1.0 - smoothstep(-s, s, d + s * (1.0 - 2.0 * smoothstep(0.9, 1.0, t)));
|
|
28
|
+
float hot = 1.0 + 0.35 * (1.0 - smoothstep(0.0, 1.0, l / max(r, 1e-3)));
|
|
29
|
+
float halo = exp(-max(d, 0.0) * 6.0 / size) * (1.0 - m) * smoothstep(0.0, 0.1, r);
|
|
30
|
+
return vec3(m, m * hot, halo);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
vec4 transition(vec2 uv) {
|
|
34
|
+
vec2 p = vec2(uv.x * ratio, uv.y);
|
|
35
|
+
// narrow frames get smaller beams
|
|
36
|
+
float size = min(1.0, 1.25 * ratio);
|
|
37
|
+
float s = max(softness * size, 0.002);
|
|
38
|
+
float g = smoothstep(0.6, 0.97, progress);
|
|
39
|
+
float far = 0.5 * length(vec2(ratio, 1.0));
|
|
40
|
+
vec3 R = beam(p, 0.0, progress, size, s, g, far);
|
|
41
|
+
vec3 G = beam(p, 1.0, progress, size, s, g, far);
|
|
42
|
+
vec3 B = beam(p, 2.0, progress, size, s, g, far);
|
|
43
|
+
vec3 m = vec3(R.x, G.x, B.x);
|
|
44
|
+
vec4 a = getFromColor(uv);
|
|
45
|
+
vec4 b = getToColor(uv);
|
|
46
|
+
float lit = max(m.r, max(m.g, m.b));
|
|
47
|
+
float env = sin(PI * progress);
|
|
48
|
+
float dim = smoothstep(0.0, 0.25, progress) * (1.0 - smoothstep(0.75, 1.0, progress));
|
|
49
|
+
float settle = smoothstep(0.85, 1.0, progress);
|
|
50
|
+
// a beam washes out what it lands on, so the outgoing image fades under it
|
|
51
|
+
vec3 base = a.rgb * (1.0 - darkness * dim) * (1.0 - 0.85 * lit);
|
|
52
|
+
// the hot spot and the spill fade out as the merged beam settles on the exact incoming image
|
|
53
|
+
vec3 light = mix(vec3(R.y, G.y, B.y), m, settle);
|
|
54
|
+
// the haze in the beams and around them glows even where the image is black
|
|
55
|
+
vec3 haze = env * (0.08 * light * b.a + 0.5 * glow * vec3(R.z, G.z, B.z) * a.a);
|
|
56
|
+
float cover = mix((m.r + m.g + m.b) / 3.0, 1.0, settle);
|
|
57
|
+
float alpha = mix(a.a, b.a, cover);
|
|
58
|
+
// premultiplied while the lights add up, so hidden colors of transparent pixels never show
|
|
59
|
+
vec3 pre = mix(base * a.a + light * b.rgb * b.a + haze, b.rgb * b.a, settle);
|
|
60
|
+
vec3 c = alpha > 0.0 ? pre / alpha : mix(a.rgb, b.rgb, cover);
|
|
61
|
+
return vec4(min(c, 1.0), alpha);
|
|
62
|
+
}
|
package/glsl3/Prisms.glsl
CHANGED
|
@@ -18,7 +18,6 @@ uniform bool horizontal; // = false
|
|
|
18
18
|
uniform vec4 backColor; // = vec4(0.0, 0.0, 0.0, 1.0)
|
|
19
19
|
|
|
20
20
|
const float PI = 3.141592653589793;
|
|
21
|
-
// width of the anti-aliased edges, in frame heights
|
|
22
21
|
const float EDGE = 0.002;
|
|
23
22
|
|
|
24
23
|
vec4 transition (vec2 uv) {
|
|
@@ -37,7 +36,6 @@ vec4 transition (vec2 uv) {
|
|
|
37
36
|
for (int d = -1; d <= 1; d++) {
|
|
38
37
|
float i = floor(a * n) + float(d);
|
|
39
38
|
if (i < 0.0 || i > n - 1.0) continue;
|
|
40
|
-
// each prism turns after a delay that grows across the frame, left to right or top to bottom
|
|
41
39
|
float order = (horizontal ? n - 1.0 - i : i) / (n - 1.0);
|
|
42
40
|
float t = clamp((progress - stagger * order) / (1.0 - stagger), 0.0, 1.0);
|
|
43
41
|
t = mix(t, t * t * (3.0 - 2.0 * t), 0.7);
|
|
@@ -55,7 +53,6 @@ vec4 transition (vec2 uv) {
|
|
|
55
53
|
float u = f == 0 ? (x + s) / c : (x - c) / s;
|
|
56
54
|
float z = f == 0 ? u * s + c : s - u * c;
|
|
57
55
|
if (abs(u) > 1.0 || z <= z2) continue;
|
|
58
|
-
// nearer parts look bigger
|
|
59
56
|
float scale = 1.0 - k * (z - 1.0);
|
|
60
57
|
float y = (b - 0.5) * scale + 0.5;
|
|
61
58
|
if (y < 0.0 || y > 1.0) continue;
|
|
@@ -66,7 +63,6 @@ vec4 transition (vec2 uv) {
|
|
|
66
63
|
float sa = (i + 0.5 + 0.5 * u) / n;
|
|
67
64
|
vec2 p = horizontal ? vec2(y, sa) : vec2(sa, y);
|
|
68
65
|
vec4 img = f == 0 ? getFromColor(p) : getToColor(p);
|
|
69
|
-
// lit from the front and the incoming side: the outgoing face darkens as it turns away
|
|
70
66
|
float lambert = clamp(f == 0 ? c - 0.6 * s : s + 0.6 * c, 0.0, 1.0);
|
|
71
67
|
vec4 color = vec4(img.rgb * mix(1.0 - shading, 1.0, lambert), img.a);
|
|
72
68
|
if (z > z1) {
|
|
@@ -11,7 +11,6 @@ uniform float keystone; // = 0.45
|
|
|
11
11
|
// @range(0, 0.05) How out of focus the projected picture is when it lands, in frame heights
|
|
12
12
|
uniform float blur; // = 0.015
|
|
13
13
|
|
|
14
|
-
// folds coordinates back into the frame, so the picture never shows its clamped edges
|
|
15
14
|
vec2 mirror(vec2 v) {
|
|
16
15
|
return 1.0 - abs(1.0 - mod(v, 2.0));
|
|
17
16
|
}
|
|
@@ -31,14 +30,10 @@ vec4 projected(vec2 q, vec2 r) {
|
|
|
31
30
|
|
|
32
31
|
vec4 transition(vec2 uv) {
|
|
33
32
|
float p = progress;
|
|
34
|
-
if (p <= 0.0) return getFromColor(uv);
|
|
35
|
-
if (p >= 1.0) return getToColor(uv);
|
|
36
33
|
vec4 from = getFromColor(uv);
|
|
37
34
|
|
|
38
|
-
// the lamp warms up as the room lights go down
|
|
39
35
|
float on = smoothstep(0.06, 0.26, p);
|
|
40
36
|
float ambient = 1.0 - darkness * smoothstep(0.0, 0.2, p);
|
|
41
|
-
// the picture grows and squares up, while it comes into focus
|
|
42
37
|
float g = smoothstep(0.02, 1.0, p);
|
|
43
38
|
float focus = 1.0 - smoothstep(0.15, 0.85, p);
|
|
44
39
|
float size = mix(0.32, 1.0, g * (0.6 + 0.4 * g));
|
|
@@ -54,10 +49,8 @@ vec4 transition(vec2 uv) {
|
|
|
54
49
|
float e = min((0.5 * size * wy - abs(uv.x - 0.5)) * ratio, size * min(y, 1.0 - y));
|
|
55
50
|
float soft = 0.0015 + 0.035 * focus;
|
|
56
51
|
float cov = mix(smoothstep(-soft, soft, e), 1.0, smoothstep(0.9, 1.0, p));
|
|
57
|
-
// stray light spilling around the beam
|
|
58
52
|
float halo = 0.15 * focus * on * exp(-24.0 * max(-e, 0.0)) * (1.0 - cov);
|
|
59
53
|
|
|
60
|
-
// the light of the picture: brighter while concentrated on a small area, with a lamp vignette
|
|
61
54
|
vec2 d = q - 0.5;
|
|
62
55
|
float gain = on * mix(1.25, 1.0, g) * (1.0 + focus * (0.15 - 1.2 * dot(d, d)));
|
|
63
56
|
// the blur is round on the frame: picture coordinates stretch with the keystone
|
|
@@ -65,8 +58,6 @@ vec4 transition(vec2 uv) {
|
|
|
65
58
|
vec4 pic = projected(q, r);
|
|
66
59
|
vec3 light = pic.rgb * gain * cov + halo;
|
|
67
60
|
|
|
68
|
-
// light lands on the dimmed scene and is tinted by its colors; under the picture, the scene
|
|
69
|
-
// fades to a plain screen
|
|
70
61
|
float screen = smoothstep(0.35, 0.95, p);
|
|
71
62
|
vec3 surface = mix(from.rgb, vec3(1.0), 0.35 + 0.65 * screen);
|
|
72
63
|
vec3 col = from.rgb * ambient * (1.0 - cov * screen) + surface * light;
|