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