gl-transitions 1.76.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (511) hide show
  1. package/CHANGELOG.md +122 -0
  2. package/README.md +12 -6
  3. package/compatibility.json +298 -300
  4. package/gl-transitions.js +1 -1
  5. package/gl-transitions.json +1 -1
  6. package/glsl3/Bounce.glsl +4 -3
  7. package/glsl3/{BowTieWithParameter.glsl → BowTie.glsl} +1 -1
  8. package/glsl3/{burn0.glsl → BurnThrough.glsl} +1 -1
  9. package/glsl3/ButterflyWaveScrawler.glsl +3 -2
  10. package/glsl3/{chessboard.glsl → Chessboard.glsl} +1 -1
  11. package/glsl3/{circle.glsl → CircleIris.glsl} +3 -3
  12. package/glsl3/{circleopen.glsl → CircleOpen.glsl} +1 -1
  13. package/glsl3/{angular.glsl → ClockWipe.glsl} +1 -1
  14. package/glsl3/{coord-from-in.glsl → ColorCoords.glsl} +1 -1
  15. package/glsl3/{ColourDistance.glsl → ColorDistance.glsl} +1 -1
  16. package/glsl3/{colorphase.glsl → ColorPhase.glsl} +1 -1
  17. package/glsl3/ColorWrap.glsl +21 -0
  18. package/glsl3/{crosswarp.glsl → CrossWarp.glsl} +1 -1
  19. package/glsl3/{crosshatch.glsl → Crosshatch.glsl} +1 -1
  20. package/glsl3/{cube.glsl → Cube.glsl} +2 -2
  21. package/glsl3/{directional-easing.glsl → DirectionalEased.glsl} +1 -1
  22. package/glsl3/{directionalwarp.glsl → DirectionalWarp.glsl} +1 -1
  23. package/glsl3/{directionalwipe.glsl → DirectionalWipe.glsl} +1 -1
  24. package/glsl3/{displacement.glsl → DisplacementMap.glsl} +1 -1
  25. package/glsl3/{DoomScreenTransition.glsl → DoomMelt.glsl} +1 -1
  26. package/glsl3/{doorway.glsl → Doorway.glsl} +2 -2
  27. package/glsl3/DreamyZoom.glsl +2 -1
  28. package/glsl3/{EdgeTransition.glsl → EdgeGlow.glsl} +9 -5
  29. package/glsl3/{fade.glsl → Fade.glsl} +1 -1
  30. package/glsl3/{fadecolor.glsl → FadeColor.glsl} +4 -4
  31. package/glsl3/{fadegrayscale.glsl → FadeGrayscale.glsl} +3 -3
  32. package/glsl3/{burn.glsl → FlashFade.glsl} +3 -3
  33. package/glsl3/{polar_function.glsl → FlowerWipe.glsl} +1 -1
  34. package/glsl3/{flyeye.glsl → FlyEye.glsl} +4 -3
  35. package/glsl3/{parametric_glitch.glsl → GlitchBands.glsl} +1 -1
  36. package/glsl3/GlitchDisplace.glsl +1 -2
  37. package/glsl3/{Drop_Zone_Flicker.glsl → GlitchFlicker.glsl} +8 -6
  38. package/glsl3/GlitchMemories.glsl +2 -1
  39. package/glsl3/{dissolve.glsl → GlowDissolve.glsl} +2 -2
  40. package/glsl3/{heart.glsl → HeartWipe.glsl} +1 -1
  41. package/glsl3/{hexagonalize.glsl → Hexagonalize.glsl} +1 -1
  42. package/glsl3/{HSVfade.glsl → HsvFade.glsl} +5 -5
  43. package/glsl3/InvertedPageCurl.glsl +3 -2
  44. package/glsl3/{kaleidoscope.glsl → Kaleidoscope.glsl} +1 -1
  45. package/glsl3/{cannabisleaf.glsl → LeafWipe.glsl} +2 -2
  46. package/glsl3/LeftRight.glsl +1 -1
  47. package/glsl3/LissajousTiles.glsl +40 -0
  48. package/glsl3/{luma.glsl → LumaWipe.glsl} +1 -1
  49. package/glsl3/{luminance_melt.glsl → LuminanceMelt.glsl} +1 -1
  50. package/glsl3/{morph.glsl → Morph.glsl} +1 -1
  51. package/glsl3/{AdvancedMosaic.glsl → MosaicBlend.glsl} +1 -1
  52. package/glsl3/{mosaic_transition.glsl → MosaicFade.glsl} +1 -1
  53. package/glsl3/{multiply_blend.glsl → MultiplyBlend.glsl} +1 -1
  54. package/glsl3/{randomNoisex.glsl → NoiseDissolve.glsl} +1 -1
  55. package/glsl3/{perlin.glsl → PerlinDissolve.glsl} +1 -1
  56. package/glsl3/{pinwheel.glsl → Pinwheel.glsl} +1 -1
  57. package/glsl3/{pixelize.glsl → Pixelize.glsl} +1 -1
  58. package/glsl3/{powerKaleido.glsl → PowerKaleido.glsl} +1 -1
  59. package/glsl3/{Radial.glsl → RadialWipe.glsl} +1 -1
  60. package/glsl3/{randomsquares.glsl → RandomSquares.glsl} +1 -1
  61. package/glsl3/{Rectangle.glsl → RectangleCover.glsl} +1 -1
  62. package/glsl3/{RectangleCrop.glsl → RectangleIris.glsl} +1 -1
  63. package/glsl3/{Revolve_Left.glsl → Revolve.glsl} +1 -1
  64. package/glsl3/{ripple.glsl → Ripple.glsl} +1 -1
  65. package/glsl3/{rotateTransition.glsl → RotateFade.glsl} +1 -1
  66. package/glsl3/{rotate_scale_fade.glsl → RotateScaleFade.glsl} +1 -1
  67. package/glsl3/RotateScaleVanish.glsl +1 -1
  68. package/glsl3/{scale-in.glsl → ScaleIn.glsl} +1 -1
  69. package/glsl3/{fragment.glsl → Shatter.glsl} +1 -1
  70. package/glsl3/SimpleFlip.glsl +2 -1
  71. package/glsl3/{x_axis_translation.glsl → SlideAwayRight.glsl} +1 -1
  72. package/glsl3/{splitSlideInHorizontal.glsl → SplitSlideInHorizontal.glsl} +1 -1
  73. package/glsl3/{splitSlideInOutHorizontal.glsl → SplitSlideInOutHorizontal.glsl} +1 -1
  74. package/glsl3/{splitSlideInOutVertical.glsl → SplitSlideInOutVertical.glsl} +1 -1
  75. package/glsl3/{splitSlideInVertical.glsl → SplitSlideInVertical.glsl} +1 -1
  76. package/glsl3/{splitSlideOutHorizontal.glsl → SplitSlideOutHorizontal.glsl} +1 -1
  77. package/glsl3/{splitSlideOutVertical.glsl → SplitSlideOutVertical.glsl} +1 -1
  78. package/glsl3/{squareswire.glsl → SquaresWipe.glsl} +1 -1
  79. package/glsl3/{squeeze.glsl → Squeeze.glsl} +1 -1
  80. package/glsl3/StaticFade.glsl +3 -3
  81. package/glsl3/{static_wipe.glsl → StaticWipe.glsl} +2 -2
  82. package/glsl3/StereoViewer.glsl +1 -1
  83. package/glsl3/StripDatamoshGlitch.glsl +7 -5
  84. package/glsl3/{swap.glsl → Swap.glsl} +2 -2
  85. package/glsl3/{tangentMotionBlur.glsl → TangentMotionBlur.glsl} +12 -5
  86. package/glsl3/TopBottom.glsl +1 -1
  87. package/glsl3/{old_tv_lost_signal.glsl → TvLostSignal.glsl} +1 -1
  88. package/glsl3/{TVStatic.glsl → TvStatic.glsl} +2 -2
  89. package/glsl3/{undulatingBurnOut.glsl → UndulatingBurnOut.glsl} +3 -3
  90. package/glsl3/{wind.glsl → Wind.glsl} +1 -1
  91. package/glsl3/{windowblinds.glsl → WindowBlinds.glsl} +1 -1
  92. package/glsl3/{windowslice.glsl → WindowSlices.glsl} +1 -1
  93. package/glsl3/{wipeDown.glsl → WipeDown.glsl} +1 -1
  94. package/glsl3/{wipeLeft.glsl → WipeLeft.glsl} +1 -1
  95. package/glsl3/{wipeRight.glsl → WipeRight.glsl} +1 -1
  96. package/glsl3/{wipeUp.glsl → WipeUp.glsl} +1 -1
  97. package/glsl3/{zoomInOut.glsl → ZoomInOut.glsl} +1 -1
  98. package/glsl3/{ZoomLeftWipe.glsl → ZoomWipeLeft.glsl} +1 -1
  99. package/glsl3/{ZoomRigthWipe.glsl → ZoomWipeRight.glsl} +1 -1
  100. package/index.d.ts +1 -1
  101. package/index.js +1 -1
  102. package/layouts.json +778 -758
  103. package/llms-full.txt +1062 -1048
  104. package/llms.txt +136 -130
  105. package/msl/Bounce.metal +36 -31
  106. package/msl/{BowTieWithParameter.metal → BowTie.metal} +1 -1
  107. package/msl/{burn0.metal → BurnThrough.metal} +1 -1
  108. package/msl/ButterflyWaveScrawler.metal +86 -82
  109. package/msl/{chessboard.metal → Chessboard.metal} +1 -1
  110. package/msl/{circle.metal → CircleIris.metal} +14 -14
  111. package/msl/{circleopen.metal → CircleOpen.metal} +1 -1
  112. package/msl/{angular.metal → ClockWipe.metal} +1 -1
  113. package/msl/{coord-from-in.metal → ColorCoords.metal} +1 -1
  114. package/msl/{ColourDistance.metal → ColorDistance.metal} +1 -1
  115. package/msl/{colorphase.metal → ColorPhase.metal} +1 -1
  116. package/msl/ColorWrap.metal +119 -0
  117. package/msl/{crosswarp.metal → CrossWarp.metal} +1 -1
  118. package/msl/{crosshatch.metal → Crosshatch.metal} +1 -1
  119. package/msl/Cube.metal +259 -0
  120. package/msl/{directional-easing.metal → DirectionalEased.metal} +1 -1
  121. package/msl/{directionalwarp.metal → DirectionalWarp.metal} +1 -1
  122. package/msl/{directionalwipe.metal → DirectionalWipe.metal} +1 -1
  123. package/msl/{displacement.metal → DisplacementMap.metal} +1 -1
  124. package/msl/{DoomScreenTransition.metal → DoomMelt.metal} +1 -1
  125. package/msl/{doorway.metal → Doorway.metal} +3 -3
  126. package/msl/DreamyZoom.metal +81 -79
  127. package/msl/EdgeGlow.metal +294 -0
  128. package/msl/{fade.metal → Fade.metal} +1 -1
  129. package/msl/{fadecolor.metal → FadeColor.metal} +17 -16
  130. package/msl/{fadegrayscale.metal → FadeGrayscale.metal} +40 -38
  131. package/msl/{burn.metal → FlashFade.metal} +2 -2
  132. package/msl/{polar_function.metal → FlowerWipe.metal} +1 -1
  133. package/msl/FlyEye.metal +137 -0
  134. package/msl/{parametric_glitch.metal → GlitchBands.metal} +1 -1
  135. package/msl/GlitchDisplace.metal +177 -177
  136. package/msl/GlitchFlicker.metal +570 -0
  137. package/msl/GlitchMemories.metal +61 -57
  138. package/msl/{dissolve.metal → GlowDissolve.metal} +4 -6
  139. package/msl/{heart.metal → HeartWipe.metal} +1 -1
  140. package/msl/{hexagonalize.metal → Hexagonalize.metal} +1 -1
  141. package/msl/{HSVfade.metal → HsvFade.metal} +33 -30
  142. package/msl/InvertedPageCurl.metal +479 -471
  143. package/msl/{kaleidoscope.metal → Kaleidoscope.metal} +1 -1
  144. package/msl/{cannabisleaf.metal → LeafWipe.metal} +2 -2
  145. package/msl/LeftRight.metal +1 -1
  146. package/msl/LissajousTiles.metal +210 -0
  147. package/msl/{luma.metal → LumaWipe.metal} +1 -1
  148. package/msl/{luminance_melt.metal → LuminanceMelt.metal} +1 -1
  149. package/msl/{morph.metal → Morph.metal} +1 -1
  150. package/msl/{AdvancedMosaic.metal → MosaicBlend.metal} +1 -1
  151. package/msl/{mosaic_transition.metal → MosaicFade.metal} +1 -1
  152. package/msl/{multiply_blend.metal → MultiplyBlend.metal} +1 -1
  153. package/msl/{randomNoisex.metal → NoiseDissolve.metal} +1 -1
  154. package/msl/{perlin.metal → PerlinDissolve.metal} +1 -1
  155. package/msl/{pinwheel.metal → Pinwheel.metal} +1 -1
  156. package/msl/{pixelize.metal → Pixelize.metal} +1 -1
  157. package/msl/{powerKaleido.metal → PowerKaleido.metal} +1 -1
  158. package/msl/{Radial.metal → RadialWipe.metal} +1 -1
  159. package/msl/{randomsquares.metal → RandomSquares.metal} +1 -1
  160. package/msl/{Rectangle.metal → RectangleCover.metal} +1 -1
  161. package/msl/{RectangleCrop.metal → RectangleIris.metal} +1 -1
  162. package/msl/{Revolve_Left.metal → Revolve.metal} +1 -1
  163. package/msl/{ripple.metal → Ripple.metal} +1 -1
  164. package/msl/{rotateTransition.metal → RotateFade.metal} +1 -1
  165. package/msl/{rotate_scale_fade.metal → RotateScaleFade.metal} +1 -1
  166. package/msl/RotateScaleVanish.metal +1 -1
  167. package/msl/{scale-in.metal → ScaleIn.metal} +1 -1
  168. package/msl/{fragment.metal → Shatter.metal} +1 -1
  169. package/msl/SimpleFlip.metal +3 -4
  170. package/msl/{x_axis_translation.metal → SlideAwayRight.metal} +1 -1
  171. package/msl/{splitSlideInHorizontal.metal → SplitSlideInHorizontal.metal} +1 -1
  172. package/msl/{splitSlideInOutHorizontal.metal → SplitSlideInOutHorizontal.metal} +1 -1
  173. package/msl/{splitSlideInOutVertical.metal → SplitSlideInOutVertical.metal} +1 -1
  174. package/msl/{splitSlideInVertical.metal → SplitSlideInVertical.metal} +1 -1
  175. package/msl/{splitSlideOutHorizontal.metal → SplitSlideOutHorizontal.metal} +1 -1
  176. package/msl/{splitSlideOutVertical.metal → SplitSlideOutVertical.metal} +1 -1
  177. package/msl/{squareswire.metal → SquaresWipe.metal} +1 -1
  178. package/msl/{squeeze.metal → Squeeze.metal} +1 -1
  179. package/msl/StaticFade.metal +85 -80
  180. package/msl/{static_wipe.metal → StaticWipe.metal} +57 -56
  181. package/msl/StereoViewer.metal +7 -7
  182. package/msl/StripDatamoshGlitch.metal +497 -488
  183. package/msl/{swap.metal → Swap.metal} +4 -4
  184. package/msl/TangentMotionBlur.metal +607 -0
  185. package/msl/TopBottom.metal +1 -1
  186. package/msl/{old_tv_lost_signal.metal → TvLostSignal.metal} +1 -1
  187. package/msl/{TVStatic.metal → TvStatic.metal} +51 -43
  188. package/msl/{undulatingBurnOut.metal → UndulatingBurnOut.metal} +5 -5
  189. package/msl/{wind.metal → Wind.metal} +1 -1
  190. package/msl/{windowblinds.metal → WindowBlinds.metal} +1 -1
  191. package/msl/{windowslice.metal → WindowSlices.metal} +1 -1
  192. package/msl/{wipeDown.metal → WipeDown.metal} +1 -1
  193. package/msl/{wipeLeft.metal → WipeLeft.metal} +1 -1
  194. package/msl/{wipeRight.metal → WipeRight.metal} +1 -1
  195. package/msl/{wipeUp.metal → WipeUp.metal} +1 -1
  196. package/msl/{zoomInOut.metal → ZoomInOut.metal} +1 -1
  197. package/msl/{ZoomLeftWipe.metal → ZoomWipeLeft.metal} +1 -1
  198. package/msl/{ZoomRigthWipe.metal → ZoomWipeRight.metal} +1 -1
  199. package/package.json +1 -1
  200. package/skills/gl-transitions/SKILL.md +25 -18
  201. package/skills/gl-transitions/references/catalog.md +157 -156
  202. package/skills/gl-transitions/references/native.md +94 -0
  203. package/skills/gl-transitions/references/skia.md +35 -23
  204. package/skills/gl-transitions/references/video.md +37 -5
  205. package/skills/gl-transitions/references/webgl.md +1 -1
  206. package/sksl/Bounce.sksl +4 -3
  207. package/sksl/{BowTieWithParameter.sksl → BowTie.sksl} +1 -1
  208. package/sksl/{burn0.sksl → BurnThrough.sksl} +1 -1
  209. package/sksl/ButterflyWaveScrawler.sksl +3 -2
  210. package/sksl/{chessboard.sksl → Chessboard.sksl} +1 -1
  211. package/sksl/{circle.sksl → CircleIris.sksl} +3 -3
  212. package/sksl/{circleopen.sksl → CircleOpen.sksl} +1 -1
  213. package/sksl/{angular.sksl → ClockWipe.sksl} +1 -1
  214. package/sksl/{coord-from-in.sksl → ColorCoords.sksl} +1 -1
  215. package/sksl/{ColourDistance.sksl → ColorDistance.sksl} +1 -1
  216. package/sksl/{colorphase.sksl → ColorPhase.sksl} +1 -1
  217. package/sksl/ColorWrap.sksl +34 -0
  218. package/sksl/{crosswarp.sksl → CrossWarp.sksl} +1 -1
  219. package/sksl/{crosshatch.sksl → Crosshatch.sksl} +1 -1
  220. package/sksl/{cube.sksl → Cube.sksl} +2 -2
  221. package/sksl/{directional-easing.sksl → DirectionalEased.sksl} +1 -1
  222. package/sksl/{directionalwarp.sksl → DirectionalWarp.sksl} +1 -1
  223. package/sksl/{directionalwipe.sksl → DirectionalWipe.sksl} +1 -1
  224. package/sksl/{displacement.sksl → DisplacementMap.sksl} +1 -1
  225. package/sksl/{DoomScreenTransition.sksl → DoomMelt.sksl} +1 -1
  226. package/sksl/{doorway.sksl → Doorway.sksl} +2 -2
  227. package/sksl/DreamyZoom.sksl +2 -1
  228. package/sksl/{EdgeTransition.sksl → EdgeGlow.sksl} +9 -5
  229. package/sksl/{fade.sksl → Fade.sksl} +1 -1
  230. package/sksl/{fadecolor.sksl → FadeColor.sksl} +4 -4
  231. package/sksl/{fadegrayscale.sksl → FadeGrayscale.sksl} +3 -3
  232. package/sksl/{burn.sksl → FlashFade.sksl} +3 -3
  233. package/sksl/{polar_function.sksl → FlowerWipe.sksl} +1 -1
  234. package/sksl/{flyeye.sksl → FlyEye.sksl} +4 -3
  235. package/sksl/{parametric_glitch.sksl → GlitchBands.sksl} +1 -1
  236. package/sksl/GlitchDisplace.sksl +1 -2
  237. package/sksl/{Drop_Zone_Flicker.sksl → GlitchFlicker.sksl} +8 -6
  238. package/sksl/GlitchMemories.sksl +2 -1
  239. package/sksl/{dissolve.sksl → GlowDissolve.sksl} +2 -2
  240. package/sksl/{heart.sksl → HeartWipe.sksl} +1 -1
  241. package/sksl/{hexagonalize.sksl → Hexagonalize.sksl} +1 -1
  242. package/sksl/{HSVfade.sksl → HsvFade.sksl} +5 -5
  243. package/sksl/InvertedPageCurl.sksl +3 -2
  244. package/sksl/{kaleidoscope.sksl → Kaleidoscope.sksl} +1 -1
  245. package/sksl/{cannabisleaf.sksl → LeafWipe.sksl} +2 -2
  246. package/sksl/LeftRight.sksl +1 -1
  247. package/sksl/LissajousTiles.sksl +52 -0
  248. package/sksl/{luma.sksl → LumaWipe.sksl} +1 -1
  249. package/sksl/{luminance_melt.sksl → LuminanceMelt.sksl} +1 -1
  250. package/sksl/{morph.sksl → Morph.sksl} +1 -1
  251. package/sksl/{AdvancedMosaic.sksl → MosaicBlend.sksl} +1 -1
  252. package/sksl/{mosaic_transition.sksl → MosaicFade.sksl} +1 -1
  253. package/sksl/{multiply_blend.sksl → MultiplyBlend.sksl} +1 -1
  254. package/sksl/{randomNoisex.sksl → NoiseDissolve.sksl} +1 -1
  255. package/sksl/{perlin.sksl → PerlinDissolve.sksl} +1 -1
  256. package/sksl/{pinwheel.sksl → Pinwheel.sksl} +1 -1
  257. package/sksl/{pixelize.sksl → Pixelize.sksl} +1 -1
  258. package/sksl/{powerKaleido.sksl → PowerKaleido.sksl} +1 -1
  259. package/sksl/{Radial.sksl → RadialWipe.sksl} +1 -1
  260. package/sksl/{randomsquares.sksl → RandomSquares.sksl} +1 -1
  261. package/sksl/{Rectangle.sksl → RectangleCover.sksl} +1 -1
  262. package/sksl/{RectangleCrop.sksl → RectangleIris.sksl} +1 -1
  263. package/sksl/{Revolve_Left.sksl → Revolve.sksl} +1 -1
  264. package/sksl/{ripple.sksl → Ripple.sksl} +1 -1
  265. package/sksl/{rotateTransition.sksl → RotateFade.sksl} +1 -1
  266. package/sksl/{rotate_scale_fade.sksl → RotateScaleFade.sksl} +1 -1
  267. package/sksl/RotateScaleVanish.sksl +1 -1
  268. package/sksl/{scale-in.sksl → ScaleIn.sksl} +1 -1
  269. package/sksl/{fragment.sksl → Shatter.sksl} +1 -1
  270. package/sksl/SimpleFlip.sksl +2 -1
  271. package/sksl/{x_axis_translation.sksl → SlideAwayRight.sksl} +1 -1
  272. package/sksl/{splitSlideInHorizontal.sksl → SplitSlideInHorizontal.sksl} +1 -1
  273. package/sksl/{splitSlideInOutHorizontal.sksl → SplitSlideInOutHorizontal.sksl} +1 -1
  274. package/sksl/{splitSlideInOutVertical.sksl → SplitSlideInOutVertical.sksl} +1 -1
  275. package/sksl/{splitSlideInVertical.sksl → SplitSlideInVertical.sksl} +1 -1
  276. package/sksl/{splitSlideOutHorizontal.sksl → SplitSlideOutHorizontal.sksl} +1 -1
  277. package/sksl/{splitSlideOutVertical.sksl → SplitSlideOutVertical.sksl} +1 -1
  278. package/sksl/{squareswire.sksl → SquaresWipe.sksl} +1 -1
  279. package/sksl/{squeeze.sksl → Squeeze.sksl} +1 -1
  280. package/sksl/StaticFade.sksl +3 -3
  281. package/sksl/{static_wipe.sksl → StaticWipe.sksl} +2 -2
  282. package/sksl/StereoViewer.sksl +1 -1
  283. package/sksl/StripDatamoshGlitch.sksl +7 -5
  284. package/sksl/{swap.sksl → Swap.sksl} +2 -2
  285. package/sksl/{tangentMotionBlur.sksl → TangentMotionBlur.sksl} +12 -5
  286. package/sksl/TopBottom.sksl +1 -1
  287. package/sksl/{old_tv_lost_signal.sksl → TvLostSignal.sksl} +1 -1
  288. package/sksl/{TVStatic.sksl → TvStatic.sksl} +2 -2
  289. package/sksl/{undulatingBurnOut.sksl → UndulatingBurnOut.sksl} +3 -3
  290. package/sksl/{wind.sksl → Wind.sksl} +1 -1
  291. package/sksl/{windowblinds.sksl → WindowBlinds.sksl} +1 -1
  292. package/sksl/{windowslice.sksl → WindowSlices.sksl} +1 -1
  293. package/sksl/{wipeDown.sksl → WipeDown.sksl} +1 -1
  294. package/sksl/{wipeLeft.sksl → WipeLeft.sksl} +1 -1
  295. package/sksl/{wipeRight.sksl → WipeRight.sksl} +1 -1
  296. package/sksl/{wipeUp.sksl → WipeUp.sksl} +1 -1
  297. package/sksl/{zoomInOut.sksl → ZoomInOut.sksl} +1 -1
  298. package/sksl/{ZoomLeftWipe.sksl → ZoomWipeLeft.sksl} +1 -1
  299. package/sksl/{ZoomRigthWipe.sksl → ZoomWipeRight.sksl} +1 -1
  300. package/sksl/index.js +1 -1
  301. package/transitions/Bounce.glsl +4 -3
  302. package/transitions/ButterflyWaveScrawler.glsl +3 -2
  303. package/transitions/{circle.glsl → CircleIris.glsl} +2 -2
  304. package/transitions/ColorWrap.glsl +20 -0
  305. package/transitions/{cube.glsl → Cube.glsl} +1 -1
  306. package/transitions/{doorway.glsl → Doorway.glsl} +1 -1
  307. package/transitions/DreamyZoom.glsl +2 -1
  308. package/transitions/{EdgeTransition.glsl → EdgeGlow.glsl} +8 -4
  309. package/transitions/{fadecolor.glsl → FadeColor.glsl} +3 -3
  310. package/transitions/{fadegrayscale.glsl → FadeGrayscale.glsl} +2 -2
  311. package/transitions/{burn.glsl → FlashFade.glsl} +2 -2
  312. package/transitions/{flyeye.glsl → FlyEye.glsl} +3 -2
  313. package/transitions/GlitchDisplace.glsl +1 -2
  314. package/transitions/{Drop_Zone_Flicker.glsl → GlitchFlicker.glsl} +7 -5
  315. package/transitions/GlitchMemories.glsl +2 -1
  316. package/transitions/{dissolve.glsl → GlowDissolve.glsl} +1 -1
  317. package/transitions/{HSVfade.glsl → HsvFade.glsl} +4 -4
  318. package/transitions/InvertedPageCurl.glsl +3 -2
  319. package/transitions/{cannabisleaf.glsl → LeafWipe.glsl} +1 -1
  320. package/transitions/LeftRight.glsl +1 -1
  321. package/transitions/LissajousTiles.glsl +39 -0
  322. package/transitions/RotateScaleVanish.glsl +1 -1
  323. package/transitions/SimpleFlip.glsl +2 -1
  324. package/transitions/StaticFade.glsl +3 -3
  325. package/transitions/{static_wipe.glsl → StaticWipe.glsl} +1 -1
  326. package/transitions/StereoViewer.glsl +1 -1
  327. package/transitions/StripDatamoshGlitch.glsl +7 -5
  328. package/transitions/{swap.glsl → Swap.glsl} +1 -1
  329. package/transitions/{tangentMotionBlur.glsl → TangentMotionBlur.glsl} +11 -4
  330. package/transitions/TopBottom.glsl +1 -1
  331. package/transitions/{TVStatic.glsl → TvStatic.glsl} +1 -1
  332. package/transitions/{undulatingBurnOut.glsl → UndulatingBurnOut.glsl} +2 -2
  333. package/wgsl/Bounce.wgsl +36 -31
  334. package/wgsl/{BowTieWithParameter.wgsl → BowTie.wgsl} +1 -1
  335. package/wgsl/{burn0.wgsl → BurnThrough.wgsl} +1 -1
  336. package/wgsl/ButterflyWaveScrawler.wgsl +86 -82
  337. package/wgsl/{chessboard.wgsl → Chessboard.wgsl} +1 -1
  338. package/wgsl/{circle.wgsl → CircleIris.wgsl} +13 -13
  339. package/wgsl/{circleopen.wgsl → CircleOpen.wgsl} +1 -1
  340. package/wgsl/{angular.wgsl → ClockWipe.wgsl} +1 -1
  341. package/wgsl/{coord-from-in.wgsl → ColorCoords.wgsl} +1 -1
  342. package/wgsl/{ColourDistance.wgsl → ColorDistance.wgsl} +1 -1
  343. package/wgsl/{colorphase.wgsl → ColorPhase.wgsl} +1 -1
  344. package/wgsl/ColorWrap.wgsl +91 -0
  345. package/wgsl/{crosswarp.wgsl → CrossWarp.wgsl} +1 -1
  346. package/wgsl/{crosshatch.wgsl → Crosshatch.wgsl} +1 -1
  347. package/wgsl/Cube.wgsl +217 -0
  348. package/wgsl/{directional-easing.wgsl → DirectionalEased.wgsl} +1 -1
  349. package/wgsl/{directionalwarp.wgsl → DirectionalWarp.wgsl} +1 -1
  350. package/wgsl/{directionalwipe.wgsl → DirectionalWipe.wgsl} +1 -1
  351. package/wgsl/{displacement.wgsl → DisplacementMap.wgsl} +1 -1
  352. package/wgsl/{DoomScreenTransition.wgsl → DoomMelt.wgsl} +1 -1
  353. package/wgsl/{doorway.wgsl → Doorway.wgsl} +3 -3
  354. package/wgsl/DreamyZoom.wgsl +81 -79
  355. package/wgsl/EdgeGlow.wgsl +233 -0
  356. package/wgsl/{fade.wgsl → Fade.wgsl} +1 -1
  357. package/wgsl/{fadecolor.wgsl → FadeColor.wgsl} +15 -15
  358. package/wgsl/FadeGrayscale.wgsl +95 -0
  359. package/wgsl/{burn.wgsl → FlashFade.wgsl} +2 -2
  360. package/wgsl/{polar_function.wgsl → FlowerWipe.wgsl} +1 -1
  361. package/wgsl/FlyEye.wgsl +109 -0
  362. package/wgsl/{parametric_glitch.wgsl → GlitchBands.wgsl} +1 -1
  363. package/wgsl/GlitchDisplace.wgsl +177 -177
  364. package/wgsl/GlitchFlicker.wgsl +522 -0
  365. package/wgsl/GlitchMemories.wgsl +61 -57
  366. package/wgsl/{dissolve.wgsl → GlowDissolve.wgsl} +4 -6
  367. package/wgsl/{heart.wgsl → HeartWipe.wgsl} +1 -1
  368. package/wgsl/{hexagonalize.wgsl → Hexagonalize.wgsl} +1 -1
  369. package/wgsl/{HSVfade.wgsl → HsvFade.wgsl} +29 -26
  370. package/wgsl/InvertedPageCurl.wgsl +475 -467
  371. package/wgsl/{kaleidoscope.wgsl → Kaleidoscope.wgsl} +1 -1
  372. package/wgsl/{cannabisleaf.wgsl → LeafWipe.wgsl} +2 -2
  373. package/wgsl/LeftRight.wgsl +1 -1
  374. package/wgsl/LissajousTiles.wgsl +170 -0
  375. package/wgsl/{luma.wgsl → LumaWipe.wgsl} +1 -1
  376. package/wgsl/{luminance_melt.wgsl → LuminanceMelt.wgsl} +1 -1
  377. package/wgsl/{morph.wgsl → Morph.wgsl} +1 -1
  378. package/wgsl/{AdvancedMosaic.wgsl → MosaicBlend.wgsl} +1 -1
  379. package/wgsl/{mosaic_transition.wgsl → MosaicFade.wgsl} +1 -1
  380. package/wgsl/{multiply_blend.wgsl → MultiplyBlend.wgsl} +1 -1
  381. package/wgsl/{randomNoisex.wgsl → NoiseDissolve.wgsl} +1 -1
  382. package/wgsl/{perlin.wgsl → PerlinDissolve.wgsl} +1 -1
  383. package/wgsl/{pinwheel.wgsl → Pinwheel.wgsl} +1 -1
  384. package/wgsl/{pixelize.wgsl → Pixelize.wgsl} +1 -1
  385. package/wgsl/{powerKaleido.wgsl → PowerKaleido.wgsl} +1 -1
  386. package/wgsl/{Radial.wgsl → RadialWipe.wgsl} +1 -1
  387. package/wgsl/{randomsquares.wgsl → RandomSquares.wgsl} +1 -1
  388. package/wgsl/{Rectangle.wgsl → RectangleCover.wgsl} +1 -1
  389. package/wgsl/{RectangleCrop.wgsl → RectangleIris.wgsl} +1 -1
  390. package/wgsl/{Revolve_Left.wgsl → Revolve.wgsl} +1 -1
  391. package/wgsl/{ripple.wgsl → Ripple.wgsl} +1 -1
  392. package/wgsl/{rotateTransition.wgsl → RotateFade.wgsl} +1 -1
  393. package/wgsl/{rotate_scale_fade.wgsl → RotateScaleFade.wgsl} +1 -1
  394. package/wgsl/RotateScaleVanish.wgsl +1 -1
  395. package/wgsl/{scale-in.wgsl → ScaleIn.wgsl} +1 -1
  396. package/wgsl/{fragment.wgsl → Shatter.wgsl} +1 -1
  397. package/wgsl/SimpleFlip.wgsl +3 -4
  398. package/wgsl/{x_axis_translation.wgsl → SlideAwayRight.wgsl} +1 -1
  399. package/wgsl/{splitSlideInHorizontal.wgsl → SplitSlideInHorizontal.wgsl} +1 -1
  400. package/wgsl/{splitSlideInOutHorizontal.wgsl → SplitSlideInOutHorizontal.wgsl} +1 -1
  401. package/wgsl/{splitSlideInOutVertical.wgsl → SplitSlideInOutVertical.wgsl} +1 -1
  402. package/wgsl/{splitSlideInVertical.wgsl → SplitSlideInVertical.wgsl} +1 -1
  403. package/wgsl/{splitSlideOutHorizontal.wgsl → SplitSlideOutHorizontal.wgsl} +1 -1
  404. package/wgsl/{splitSlideOutVertical.wgsl → SplitSlideOutVertical.wgsl} +1 -1
  405. package/wgsl/{squareswire.wgsl → SquaresWipe.wgsl} +1 -1
  406. package/wgsl/{squeeze.wgsl → Squeeze.wgsl} +1 -1
  407. package/wgsl/StaticFade.wgsl +84 -80
  408. package/wgsl/StaticWipe.wgsl +118 -0
  409. package/wgsl/StereoViewer.wgsl +7 -7
  410. package/wgsl/StripDatamoshGlitch.wgsl +497 -488
  411. package/wgsl/{swap.wgsl → Swap.wgsl} +4 -4
  412. package/wgsl/TangentMotionBlur.wgsl +527 -0
  413. package/wgsl/TopBottom.wgsl +1 -1
  414. package/wgsl/{old_tv_lost_signal.wgsl → TvLostSignal.wgsl} +1 -1
  415. package/wgsl/TvStatic.wgsl +114 -0
  416. package/wgsl/{undulatingBurnOut.wgsl → UndulatingBurnOut.wgsl} +4 -4
  417. package/wgsl/{wind.wgsl → Wind.wgsl} +1 -1
  418. package/wgsl/{windowblinds.wgsl → WindowBlinds.wgsl} +1 -1
  419. package/wgsl/{windowslice.wgsl → WindowSlices.wgsl} +1 -1
  420. package/wgsl/{wipeDown.wgsl → WipeDown.wgsl} +1 -1
  421. package/wgsl/{wipeLeft.wgsl → WipeLeft.wgsl} +1 -1
  422. package/wgsl/{wipeRight.wgsl → WipeRight.wgsl} +1 -1
  423. package/wgsl/{wipeUp.wgsl → WipeUp.wgsl} +1 -1
  424. package/wgsl/{zoomInOut.wgsl → ZoomInOut.wgsl} +1 -1
  425. package/wgsl/{ZoomLeftWipe.wgsl → ZoomWipeLeft.wgsl} +1 -1
  426. package/wgsl/{ZoomRigthWipe.wgsl → ZoomWipeRight.wgsl} +1 -1
  427. package/glsl3/CircleCrop.glsl +0 -20
  428. package/glsl3/PuzzleRight.glsl +0 -57
  429. package/msl/CircleCrop.metal +0 -117
  430. package/msl/Drop_Zone_Flicker.metal +0 -561
  431. package/msl/EdgeTransition.metal +0 -277
  432. package/msl/PuzzleRight.metal +0 -262
  433. package/msl/cube.metal +0 -259
  434. package/msl/flyeye.metal +0 -133
  435. package/msl/tangentMotionBlur.metal +0 -583
  436. package/sksl/CircleCrop.sksl +0 -32
  437. package/sksl/PuzzleRight.sksl +0 -70
  438. package/transitions/CircleCrop.glsl +0 -19
  439. package/transitions/PuzzleRight.glsl +0 -56
  440. package/wgsl/CircleCrop.wgsl +0 -88
  441. package/wgsl/Drop_Zone_Flicker.wgsl +0 -513
  442. package/wgsl/EdgeTransition.wgsl +0 -216
  443. package/wgsl/PuzzleRight.wgsl +0 -230
  444. package/wgsl/TVStatic.wgsl +0 -106
  445. package/wgsl/cube.wgsl +0 -217
  446. package/wgsl/fadegrayscale.wgsl +0 -93
  447. package/wgsl/flyeye.wgsl +0 -105
  448. package/wgsl/static_wipe.wgsl +0 -117
  449. package/wgsl/tangentMotionBlur.wgsl +0 -503
  450. /package/transitions/{BowTieWithParameter.glsl → BowTie.glsl} +0 -0
  451. /package/transitions/{burn0.glsl → BurnThrough.glsl} +0 -0
  452. /package/transitions/{chessboard.glsl → Chessboard.glsl} +0 -0
  453. /package/transitions/{circleopen.glsl → CircleOpen.glsl} +0 -0
  454. /package/transitions/{angular.glsl → ClockWipe.glsl} +0 -0
  455. /package/transitions/{coord-from-in.glsl → ColorCoords.glsl} +0 -0
  456. /package/transitions/{ColourDistance.glsl → ColorDistance.glsl} +0 -0
  457. /package/transitions/{colorphase.glsl → ColorPhase.glsl} +0 -0
  458. /package/transitions/{crosswarp.glsl → CrossWarp.glsl} +0 -0
  459. /package/transitions/{crosshatch.glsl → Crosshatch.glsl} +0 -0
  460. /package/transitions/{directional-easing.glsl → DirectionalEased.glsl} +0 -0
  461. /package/transitions/{directionalwarp.glsl → DirectionalWarp.glsl} +0 -0
  462. /package/transitions/{directionalwipe.glsl → DirectionalWipe.glsl} +0 -0
  463. /package/transitions/{displacement.glsl → DisplacementMap.glsl} +0 -0
  464. /package/transitions/{DoomScreenTransition.glsl → DoomMelt.glsl} +0 -0
  465. /package/transitions/{fade.glsl → Fade.glsl} +0 -0
  466. /package/transitions/{polar_function.glsl → FlowerWipe.glsl} +0 -0
  467. /package/transitions/{parametric_glitch.glsl → GlitchBands.glsl} +0 -0
  468. /package/transitions/{heart.glsl → HeartWipe.glsl} +0 -0
  469. /package/transitions/{hexagonalize.glsl → Hexagonalize.glsl} +0 -0
  470. /package/transitions/{kaleidoscope.glsl → Kaleidoscope.glsl} +0 -0
  471. /package/transitions/{luma.glsl → LumaWipe.glsl} +0 -0
  472. /package/transitions/{luminance_melt.glsl → LuminanceMelt.glsl} +0 -0
  473. /package/transitions/{morph.glsl → Morph.glsl} +0 -0
  474. /package/transitions/{AdvancedMosaic.glsl → MosaicBlend.glsl} +0 -0
  475. /package/transitions/{mosaic_transition.glsl → MosaicFade.glsl} +0 -0
  476. /package/transitions/{multiply_blend.glsl → MultiplyBlend.glsl} +0 -0
  477. /package/transitions/{randomNoisex.glsl → NoiseDissolve.glsl} +0 -0
  478. /package/transitions/{perlin.glsl → PerlinDissolve.glsl} +0 -0
  479. /package/transitions/{pinwheel.glsl → Pinwheel.glsl} +0 -0
  480. /package/transitions/{pixelize.glsl → Pixelize.glsl} +0 -0
  481. /package/transitions/{powerKaleido.glsl → PowerKaleido.glsl} +0 -0
  482. /package/transitions/{Radial.glsl → RadialWipe.glsl} +0 -0
  483. /package/transitions/{randomsquares.glsl → RandomSquares.glsl} +0 -0
  484. /package/transitions/{Rectangle.glsl → RectangleCover.glsl} +0 -0
  485. /package/transitions/{RectangleCrop.glsl → RectangleIris.glsl} +0 -0
  486. /package/transitions/{Revolve_Left.glsl → Revolve.glsl} +0 -0
  487. /package/transitions/{ripple.glsl → Ripple.glsl} +0 -0
  488. /package/transitions/{rotateTransition.glsl → RotateFade.glsl} +0 -0
  489. /package/transitions/{rotate_scale_fade.glsl → RotateScaleFade.glsl} +0 -0
  490. /package/transitions/{scale-in.glsl → ScaleIn.glsl} +0 -0
  491. /package/transitions/{fragment.glsl → Shatter.glsl} +0 -0
  492. /package/transitions/{x_axis_translation.glsl → SlideAwayRight.glsl} +0 -0
  493. /package/transitions/{splitSlideInHorizontal.glsl → SplitSlideInHorizontal.glsl} +0 -0
  494. /package/transitions/{splitSlideInOutHorizontal.glsl → SplitSlideInOutHorizontal.glsl} +0 -0
  495. /package/transitions/{splitSlideInOutVertical.glsl → SplitSlideInOutVertical.glsl} +0 -0
  496. /package/transitions/{splitSlideInVertical.glsl → SplitSlideInVertical.glsl} +0 -0
  497. /package/transitions/{splitSlideOutHorizontal.glsl → SplitSlideOutHorizontal.glsl} +0 -0
  498. /package/transitions/{splitSlideOutVertical.glsl → SplitSlideOutVertical.glsl} +0 -0
  499. /package/transitions/{squareswire.glsl → SquaresWipe.glsl} +0 -0
  500. /package/transitions/{squeeze.glsl → Squeeze.glsl} +0 -0
  501. /package/transitions/{old_tv_lost_signal.glsl → TvLostSignal.glsl} +0 -0
  502. /package/transitions/{wind.glsl → Wind.glsl} +0 -0
  503. /package/transitions/{windowblinds.glsl → WindowBlinds.glsl} +0 -0
  504. /package/transitions/{windowslice.glsl → WindowSlices.glsl} +0 -0
  505. /package/transitions/{wipeDown.glsl → WipeDown.glsl} +0 -0
  506. /package/transitions/{wipeLeft.glsl → WipeLeft.glsl} +0 -0
  507. /package/transitions/{wipeRight.glsl → WipeRight.glsl} +0 -0
  508. /package/transitions/{wipeUp.glsl → WipeUp.glsl} +0 -0
  509. /package/transitions/{zoomInOut.glsl → ZoomInOut.glsl} +0 -0
  510. /package/transitions/{ZoomLeftWipe.glsl → ZoomWipeLeft.glsl} +0 -0
  511. /package/transitions/{ZoomRigthWipe.glsl → ZoomWipeRight.glsl} +0 -0
@@ -1,4 +1,4 @@
1
- // TVStatic — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/TVStatic.glsl
1
+ // TvStatic — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/TvStatic.glsl
2
2
  // Author: Brandon Anzaldi
3
3
  // License: MIT
4
4
  // Description: Cuts to full-screen TV static, then to the incoming image
@@ -28,16 +28,16 @@ float noise(
28
28
  a = 12.9898;
29
29
  b = 78.233;
30
30
  c = 43758.547;
31
- metal::float2 _e22 = co;
32
- float _e24 = uniforms.progress;
33
- float _e26 = a;
34
- float _e27 = b;
35
- dt = metal::dot(_e22 * _e24, metal::float2(_e26, _e27));
36
- float _e30 = dt;
37
- sn = _e30 - (metal::floor(_e30 / 3.14) * 3.14);
38
- float _e35 = sn;
39
- float _e37 = c;
40
- return metal::fract(metal::sin(_e35) * _e37);
31
+ metal::float2 _e23 = co;
32
+ float _e25 = uniforms.progress;
33
+ float _e27 = a;
34
+ float _e28 = b;
35
+ dt = metal::dot(_e23 * _e25, metal::float2(_e27, _e28));
36
+ float _e31 = dt;
37
+ sn = _e31 - (metal::floor(_e31 / 3.14) * 3.14);
38
+ float _e36 = sn;
39
+ float _e38 = c;
40
+ return metal::fract(metal::sin(_e36) * _e38);
41
41
  }
42
42
 
43
43
  metal::float4 getToColor(
@@ -45,10 +45,10 @@ metal::float4 getToColor(
45
45
  metal::sampler _sampler,
46
46
  metal::texture2d<float, metal::access::sample> _to
47
47
  ) {
48
- float _e18 = uv[0u];
49
- float _e20 = uv[1u];
50
- metal::float4 _e23 = _to.sample(_sampler, metal::float2(_e18, 1.0 - _e20), metal::level(0.0));
51
- return _e23;
48
+ float _e19 = uv[0u];
49
+ float _e21 = uv[1u];
50
+ metal::float4 _e24 = _to.sample(_sampler, metal::float2(_e19, 1.0 - _e21), metal::level(0.0));
51
+ return _e24;
52
52
  }
53
53
 
54
54
  metal::float4 getFromColor(
@@ -56,10 +56,10 @@ metal::float4 getFromColor(
56
56
  metal::texture2d<float, metal::access::sample> _from,
57
57
  metal::sampler _sampler
58
58
  ) {
59
- float _e18 = uv_1[0u];
60
- float _e20 = uv_1[1u];
61
- metal::float4 _e23 = _from.sample(_sampler, metal::float2(_e18, 1.0 - _e20), metal::level(0.0));
62
- return _e23;
59
+ float _e19 = uv_1[0u];
60
+ float _e21 = uv_1[1u];
61
+ metal::float4 _e24 = _from.sample(_sampler, metal::float2(_e19, 1.0 - _e21), metal::level(0.0));
62
+ return _e24;
63
63
  }
64
64
 
65
65
  metal::float4 transition(
@@ -72,27 +72,35 @@ metal::float4 transition(
72
72
  metal::float2 param = {};
73
73
  metal::float2 param_1 = {};
74
74
  metal::float2 param_2 = {};
75
- float _e21 = uniforms.progress;
76
- float _e23 = uniforms.offset;
77
- if (_e21 < _e23) {
78
- metal::float2 _e25 = p;
79
- param = _e25;
80
- metal::float4 _e26 = getFromColor(param, _from, _sampler);
81
- return _e26;
75
+ metal::float2 param_3 = {};
76
+ metal::float2 param_4 = {};
77
+ float _e24 = uniforms.progress;
78
+ float _e26 = uniforms.offset;
79
+ if (_e24 < _e26) {
80
+ metal::float2 _e28 = p;
81
+ param = _e28;
82
+ metal::float4 _e29 = getFromColor(param, _from, _sampler);
83
+ return _e29;
82
84
  } else {
83
- float _e28 = uniforms.progress;
84
- float _e30 = uniforms.offset;
85
- if (_e28 > (1.0 - _e30)) {
86
- metal::float2 _e33 = p;
87
- param_1 = _e33;
88
- metal::float4 _e34 = getToColor(param_1, _sampler, _to);
89
- return _e34;
85
+ float _e31 = uniforms.progress;
86
+ float _e33 = uniforms.offset;
87
+ if (_e31 > (1.0 - _e33)) {
88
+ metal::float2 _e36 = p;
89
+ param_1 = _e36;
90
+ metal::float4 _e37 = getToColor(param_1, _sampler, _to);
91
+ return _e37;
90
92
  } else {
91
- metal::float2 _e35 = p;
92
- param_2 = _e35;
93
- float _e36 = noise(param_2, uniforms);
94
- metal::float3 _e37 = metal::float3(_e36);
95
- return metal::float4(_e37.x, _e37.y, _e37.z, 1.0);
93
+ metal::float2 _e38 = p;
94
+ param_2 = _e38;
95
+ float _e39 = noise(param_2, uniforms);
96
+ metal::float3 _e40 = metal::float3(_e39);
97
+ metal::float2 _e41 = p;
98
+ param_3 = _e41;
99
+ metal::float4 _e42 = getFromColor(param_3, _from, _sampler);
100
+ metal::float2 _e44 = p;
101
+ param_4 = _e44;
102
+ metal::float4 _e45 = getToColor(param_4, _sampler, _to);
103
+ return metal::float4(_e40.x, _e40.y, _e40.z, metal::max(_e42.w, _e45.w));
96
104
  }
97
105
  }
98
106
  }
@@ -105,11 +113,11 @@ void main_1(
105
113
  thread metal::float4& _fragColor,
106
114
  thread metal::float2& _uv_1
107
115
  ) {
108
- metal::float2 param_3 = {};
109
- metal::float2 _e17 = _uv_1;
110
- param_3 = _e17;
111
- metal::float4 _e18 = transition(param_3, _from, _sampler, _to, uniforms);
112
- _fragColor = _e18;
116
+ metal::float2 param_5 = {};
117
+ metal::float2 _e18 = _uv_1;
118
+ param_5 = _e18;
119
+ metal::float4 _e19 = transition(param_5, _from, _sampler, _to, uniforms);
120
+ _fragColor = _e19;
113
121
  return;
114
122
  }
115
123
 
@@ -1,4 +1,4 @@
1
- // undulatingBurnOut — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/undulatingBurnOut.glsl
1
+ // UndulatingBurnOut — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/UndulatingBurnOut.glsl
2
2
  // Author: pthrasher
3
3
  // License: MIT
4
4
  // Description: A circle with a wavy edge burns out from the center to reveal the incoming image
@@ -17,7 +17,7 @@ struct Uniforms {
17
17
  char _pad3[4];
18
18
  metal::float2 center;
19
19
  char _pad4[8];
20
- metal::float3 color;
20
+ metal::float4 color;
21
21
  };
22
22
 
23
23
  metal::float4 getToColor(
@@ -173,9 +173,9 @@ metal::float4 transition(
173
173
  metal::float4 _e58 = cto;
174
174
  float _e59 = m;
175
175
  metal::float4 _e62 = cfrom;
176
- metal::float3 _e64 = uniforms.color;
177
- float _e71 = m;
178
- return metal::mix(metal::mix(_e57, _e58, metal::float4(_e59)), metal::mix(_e62, metal::float4(_e64.x, _e64.y, _e64.z, 1.0), metal::float4(0.75)), metal::float4(metal::step(_e71, -2.0)));
176
+ metal::float4 _e64 = uniforms.color;
177
+ float _e67 = m;
178
+ return metal::mix(metal::mix(_e57, _e58, metal::float4(_e59)), metal::mix(_e62, _e64, metal::float4(0.75)), metal::float4(metal::step(_e67, -2.0)));
179
179
  }
180
180
 
181
181
  void main_1(
@@ -1,4 +1,4 @@
1
- // wind — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/wind.glsl
1
+ // Wind — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/Wind.glsl
2
2
  // Author: gre
3
3
  // License: MIT
4
4
  // Description: A ragged left-to-right wipe, as if the image was blown away by the wind
@@ -1,4 +1,4 @@
1
- // windowblinds — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/windowblinds.glsl
1
+ // WindowBlinds — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/WindowBlinds.glsl
2
2
  // Author: Fabien Benetou
3
3
  // License: MIT
4
4
  // Description: A crossfade through horizontal window blinds
@@ -1,4 +1,4 @@
1
- // windowslice — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/windowslice.glsl
1
+ // WindowSlices — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/WindowSlices.glsl
2
2
  // Author: gre
3
3
  // License: MIT
4
4
  // Description: The incoming image appears through vertical slices that widen
@@ -1,4 +1,4 @@
1
- // wipeDown — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/wipeDown.glsl
1
+ // WipeDown — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/WipeDown.glsl
2
2
  // Author: Jake Nelson
3
3
  // License: MIT
4
4
  // Description: A hard-edged wipe from top to bottom
@@ -1,4 +1,4 @@
1
- // wipeLeft — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/wipeLeft.glsl
1
+ // WipeLeft — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/WipeLeft.glsl
2
2
  // Author: Jake Nelson
3
3
  // License: MIT
4
4
  // Description: A hard-edged wipe from right to left
@@ -1,4 +1,4 @@
1
- // wipeRight — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/wipeRight.glsl
1
+ // WipeRight — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/WipeRight.glsl
2
2
  // Author: Jake Nelson
3
3
  // License: MIT
4
4
  // Description: A hard-edged wipe from left to right
@@ -1,4 +1,4 @@
1
- // wipeUp — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/wipeUp.glsl
1
+ // WipeUp — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/WipeUp.glsl
2
2
  // Author: Jake Nelson
3
3
  // License: MIT
4
4
  // Description: A hard-edged wipe from bottom to top
@@ -1,4 +1,4 @@
1
- // zoomInOut — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/zoomInOut.glsl
1
+ // ZoomInOut — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/ZoomInOut.glsl
2
2
  // Author: OllyOllyOlly
3
3
  // License: MIT
4
4
  // Description: Zooms into the outgoing image until it blurs into a flat color, then out to the incoming one
@@ -1,4 +1,4 @@
1
- // ZoomLeftWipe — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/ZoomLeftWipe.glsl
1
+ // ZoomWipeLeft — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/ZoomWipeLeft.glsl
2
2
  // Author: Handk
3
3
  // License: MIT
4
4
  // Description: Zooms into the outgoing image, then the incoming one wipes in from right to left
@@ -1,4 +1,4 @@
1
- // ZoomRigthWipe — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/ZoomRigthWipe.glsl
1
+ // ZoomWipeRight — MSL, generated from https://github.com/gl-transitions/gl-transitions/blob/master/transitions/ZoomWipeRight.glsl
2
2
  // Author: Handk
3
3
  // License: MIT
4
4
  // Description: Zooms into the outgoing image, then the incoming one wipes in from left to right
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gl-transitions",
3
- "version": "1.76.1",
3
+ "version": "2.0.0",
4
4
  "description": "The open collection of GL Transitions",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
@@ -1,46 +1,53 @@
1
1
  ---
2
2
  name: gl-transitions
3
- description: Adds image and video transitions (fades, wipes, zooms, glitches, page curls...) from gl-transitions, an open collection of 125 GLSL shaders also compiled to SkSL. Use when the user wants a transition between two images, video clips, slides or scenes in WebGL, Skia (CanvasKit, React Native Skia), FFmpeg or editly, or names a gl-transition.
3
+ description: Adds image and video transitions (fades, wipes, zooms, glitches, page curls...) from gl-transitions, an open collection of 125 GLSL shaders, with SkSL, GLSL ES 3.00, WGSL and Metal versions of those that translate (see compatibility.json). Use when the user wants a transition between two images, video clips, slides or scenes in WebGL, WebGPU, Skia (CanvasKit, React Native Skia), Remotion, editly, FFmpeg, Rust, Swift (Metal, AVFoundation) or Android, or names a gl-transition.
4
4
  ---
5
5
 
6
6
  # gl-transitions
7
7
 
8
- Each transition is a GLSL function `vec4 transition(vec2 uv)` that blends an outgoing image into an incoming one as `progress` goes from 0 to 1. The npm package `gl-transitions` ships every transition as GLSL, as SkSL, and as a catalog (`gl-transitions.json`) with descriptions, tags and typed parameters.
8
+ Each transition is a GLSL function `vec4 transition(vec2 uv)` that blends an outgoing image into an incoming one as `progress` goes from 0 to 1. The npm package `gl-transitions` ships every transition as GLSL, plus SkSL, GLSL ES 3.00, WGSL and Metal versions of each one that translates (`compatibility.json`), and a catalog (`gl-transitions.json`) with descriptions, tags and typed parameters. Ready-made packages wrap it for React Native Skia, Remotion, Rust, Swift and Android.
9
9
 
10
10
  ## 1. Pick a transition
11
11
 
12
- Read `references/catalog.md` (by tag, then one line per transition). If it is missing, fetch `https://cdn.jsdelivr.net/npm/gl-transitions@1/skills/gl-transitions/references/catalog.md`.
12
+ Read `references/catalog.md` (by tag, then one line per transition). If it is missing, fetch `https://cdn.jsdelivr.net/npm/gl-transitions@2/skills/gl-transitions/references/catalog.md`.
13
13
 
14
14
  - Match the user's words against descriptions and tags (`wipe`, `zoom`, `glitch`, `3d`...). Offer 2 or 3 candidates when the request is vague, with their preview link `https://gl-transitions.com/editor/<name>`.
15
- - Prefer transitions without extra textures: `displacement` and `luma` need an additional image from the host.
16
- - Names are case-sensitive and stable (`crosswarp`, `CrossZoom`, `cube`).
15
+ - Prefer transitions without extra textures: `DisplacementMap` and `LumaWipe` need an additional image from the host.
16
+ - Names are PascalCase and case-sensitive (`CrossWarp`, `CrossZoom`, `Cube`). Version 2.0 renamed them: code written for 1.x (`crosswarp`, `cube`) needs the new names, listed in the package's CHANGELOG.md.
17
17
 
18
18
  ## 2. Get the source
19
19
 
20
20
  | Need | Where |
21
21
  |---|---|
22
- | JS/TS project | `npm install gl-transitions`, then `import transitions from "gl-transitions"` and `transitions.find((t) => t.name === "cube")` (`glsl`, `params`, `textures`; typed in `index.d.ts`) |
23
- | GLSL file | `node_modules/gl-transitions/transitions/<name>.glsl` or `https://cdn.jsdelivr.net/npm/gl-transitions@1/transitions/<name>.glsl` |
24
- | SkSL file | `node_modules/gl-transitions/sksl/<name>.sksl` or `https://cdn.jsdelivr.net/npm/gl-transitions@1/sksl/<name>.sksl` |
22
+ | JS/TS project | `npm install gl-transitions`, then `import transitions from "gl-transitions"` and `transitions.find((t) => t.name === "Cube")` (`glsl`, `params`, `textures`; typed in `index.d.ts`) |
23
+ | GLSL file | `node_modules/gl-transitions/transitions/<name>.glsl` or `https://cdn.jsdelivr.net/npm/gl-transitions@2/transitions/<name>.glsl` |
24
+ | SkSL file | `node_modules/gl-transitions/sksl/<name>.sksl` or `https://cdn.jsdelivr.net/npm/gl-transitions@2/sksl/<name>.sksl` |
25
+ | GLSL ES 3.00, WGSL, Metal file | `glsl3/<name>.glsl`, `wgsl/<name>.wgsl`, `msl/<name>.metal` at the same places; uniform layouts in `layouts.json`, contracts in the package README |
26
+ | Which targets a transition supports | `compatibility.json` (a target a compiler rejected has no file) |
25
27
 
26
- Pin the exact version (`gl-transitions@1.x.y`) in production URLs.
28
+ Pin the exact version (`gl-transitions@2.x.y`) in production URLs.
27
29
 
28
30
  ## 3. Wire it into the host
29
31
 
30
- The host defines `progress`, `ratio`, `getFromColor(uv)`, `getToColor(uv)` and one uniform per parameter. **Always set every parameter**, to its `default` from the catalog unless the user chose a value: an unset uniform is 0 and breaks most transitions.
32
+ The host defines `progress`, `ratio`, `getFromColor(uv)`, `getToColor(uv)` and one uniform per parameter. **Always set every parameter**, to its `default` from the catalog unless the user chose a value: an unset uniform is 0 and breaks most transitions. Prefer a ready-made package when one fits the host: they set the parameters left out to their defaults.
31
33
 
32
- | Host | Status | Read |
34
+ | Host | Use | Read |
33
35
  |---|---|---|
34
- | WebGL / WebGL 2, regl, raw GLSL | Works today | `references/webgl.md` |
35
- | CanvasKit (web, Node), React Native Skia, other Skia | Works today with the shipped SkSL | `references/skia.md` |
36
- | editly (Node video editing) | Works today: built in | `references/video.md` |
37
- | FFmpeg | Works with the third-party `ffmpeg-gl-transition` filter (custom FFmpeg build) | `references/video.md` |
38
- | Remotion | No adapter yet (planned: `@gl-transitions/remotion`); possible for images and videos with the WebGL recipe | `references/video.md` |
39
- | three.js, PixiJS, WGSL/WebGPU, Metal, Android, Flutter, Unity, Godot | Planned, not available yet | Use the WebGL recipe where GLSL is accepted |
36
+ | WebGL / WebGL 2, regl, raw GLSL | The GLSL source with a small wrapper | `references/webgl.md` |
37
+ | React Native Skia | `@gl-transitions/react-native-skia`: `<Transition>` component | `references/skia.md` |
38
+ | CanvasKit (web, Node), other Skia | The shipped SkSL | `references/skia.md` |
39
+ | Remotion | `@gl-transitions/remotion`: `glTransition()` presentation for `<TransitionSeries>` | `references/video.md` |
40
+ | editly (Node video editing) | Built in | `references/video.md` |
41
+ | FFmpeg | The third-party `ffmpeg-gl-transition` filter (custom FFmpeg build) | `references/video.md` |
42
+ | WebGPU (three.js WebGPU, Babylon.js), wgpu, Bevy | The shipped WGSL; in Rust, the `gl-transitions` crate | `references/native.md` |
43
+ | Rust (skia-safe, wgpu, Bevy, fframes) | Crate `gl-transitions`: sources, typed parameters, packed uniforms | `references/native.md` |
44
+ | Swift: iOS, macOS, tvOS, visionOS (Metal, AVFoundation) | Swift package `GLTransitions` | `references/native.md` |
45
+ | Android 13+ (Views, Jetpack Compose) | `com.gl-transitions:gl-transitions` (AGSL `RuntimeShader`) | `references/native.md` |
46
+ | three.js (WebGL), PixiJS, Flutter, Unity, Godot | No dedicated package | Adapt the WebGL recipe where GLSL is accepted (three.js also takes `glsl3/` with `glslVersion: THREE.GLSL3`); otherwise port the GLSL |
40
47
 
41
48
  ## 4. Check the result
42
49
 
43
- - At `progress = 0` the output must be the outgoing image, at `progress = 1` the incoming one (the specification; a few transitions are off by a pixel or a slight blur at the ends, e.g. `AdvancedMosaic`, `tangentMotionBlur`). Render both ends and one middle frame.
50
+ - At `progress = 0` the output must be the outgoing image, at `progress = 1` the incoming one (the specification; a few transitions are off by a pixel or a slight blur at the ends, e.g. `MosaicBlend`, `TangentMotionBlur`). Render both ends and one middle frame.
44
51
  - An upside-down result means the image rows are flipped: `uv` has its origin at the bottom left (see each reference).
45
52
  - A black or frozen result usually means a parameter was left unset or an extra texture is missing.
46
53
  - Credit the author and license from the catalog when the user ships the result (most are MIT).