shaders 3.2.475 → 4.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 (753) hide show
  1. package/LICENSE +21 -142
  2. package/README.md +192 -19
  3. package/dist/cli.js +2 -2
  4. package/dist/core/{AngularBlur-Cx1HVeYk.js → AngularBlur-BEBs-lRR.js} +2 -3
  5. package/dist/core/{Arc-D3FuqnDL.js → Arc-D-WnjM7T.js} +1 -3
  6. package/dist/core/{Ascii-Dhn0H0LB.js → Ascii-BGPIwMc3.js} +2 -5
  7. package/dist/core/{Aurora-BUfyvIyq.js → Aurora-DqJBPdMQ.js} +2 -11
  8. package/dist/core/{BarShift-v3D-9Lx4.js → BarShift-BcCOweUh.js} +2 -3
  9. package/dist/core/{BarnDoors-C5g6Sbze.js → BarnDoors-B9B-AmCV.js} +2 -3
  10. package/dist/core/{Beam-CV5g8m92.js → Beam-QG_9OS8I.js} +2 -3
  11. package/dist/core/{Bend-BFWQSHF7.js → Bend-Cy9VAowL.js} +1 -2
  12. package/dist/core/{Blob-CLvqov4O.js → Blob-C3txJeW0.js} +2 -10
  13. package/dist/core/{BlockDissolve-DER9y4PE.js → BlockDissolve-C1SFUys7.js} +2 -3
  14. package/dist/core/{BlockNoise-DpXWJkDL.js → BlockNoise-Cm3y8hce.js} +2 -4
  15. package/dist/core/{BlueNoise-CSQPDpkm.js → BlueNoise-BCLObOMm.js} +2 -4
  16. package/dist/core/{Blur-B-Tg7Sfr.js → Blur-Dg29SnXd.js} +1 -2
  17. package/dist/core/{Boids-BZo85-QR.js → Boids-rsGsPN5h.js} +2 -5
  18. package/dist/core/{BokehBlur-B1tY-T6q.js → BokehBlur-rFSFEnb0.js} +2 -3
  19. package/dist/core/{BrickPattern-DVhe3RgK.js → BrickPattern-DqN6JKEN.js} +2 -3
  20. package/dist/core/{BrightnessContrast-DBLjHzyE.js → BrightnessContrast-J9fCSBiC.js} +1 -3
  21. package/dist/core/{BrushedMetal-CpXTd3nZ.js → BrushedMetal-74wSZKjG.js} +3 -8
  22. package/dist/core/{Bulge-CHcE-9Oo.js → Bulge-BIk0oq8j.js} +1 -2
  23. package/dist/core/{CRTScreen-CyBtBJS4.js → CRTScreen-hEH-JNRd.js} +2 -3
  24. package/dist/core/{CarbonFiber-DK-0jUEs.js → CarbonFiber-CZdUDvRU.js} +3 -7
  25. package/dist/core/{Chalkboard-PmgH_OhS.js → Chalkboard-CClJHqvs.js} +2 -3
  26. package/dist/core/{ChannelBlur-J3MHHcGy.js → ChannelBlur-BEuEwQOC.js} +1 -2
  27. package/dist/core/{CheckerWipe-Dj2kjjDA.js → CheckerWipe-KuAWj2qg.js} +2 -3
  28. package/dist/core/{Checkerboard-eFWETR1S.js → Checkerboard-Rq9ze1W3.js} +2 -3
  29. package/dist/core/{Chevron-ColsT0Fy.js → Chevron-C1j6X2Ye.js} +2 -3
  30. package/dist/core/{ChromaFlow-DrdCgPGz.js → ChromaFlow-BgsCUYIl.js} +2 -5
  31. package/dist/core/{ChromaticAberration-C_It6mLf.js → ChromaticAberration-2_4tjQ0u.js} +2 -4
  32. package/dist/core/{Chrome-2WZpUHiT.js → Chrome-Be3z6C5i.js} +4 -10
  33. package/dist/core/{Circle-C-AKxSw4.js → Circle-e_qQI3tU.js} +1 -3
  34. package/dist/core/{ColorWheel-DfF0tqXE.js → ColorWheel-s5ep1H7d.js} +2 -3
  35. package/dist/core/{CompressionArtifacts-Zvwlutd7.js → CompressionArtifacts-OE9U9Qrq.js} +1 -3
  36. package/dist/core/{ConcentricSpin-tC8mylMA.js → ConcentricSpin-CLE_5yCJ.js} +1 -2
  37. package/dist/core/{ConicGradient-CNYvyjSs.js → ConicGradient-Cji2SgVO.js} +2 -4
  38. package/dist/core/{ContourLines-C4642NJd.js → ContourLines-wpPK00cF.js} +2 -3
  39. package/dist/core/{CornerPin-BF5gFRv9.js → CornerPin-gYU0Uf2m.js} +2 -3
  40. package/dist/core/{Crescent-wC0IwPjx.js → Crescent-viNc7Unp.js} +1 -2
  41. package/dist/core/{Cross-BO7JQKSq.js → Cross-DyQSsw_k.js} +1 -2
  42. package/dist/core/{Crystal-BK3ifbmV.js → Crystal-Vjj8azWg.js} +4 -9
  43. package/dist/core/{CurlNoise-UbI-Zda_.js → CurlNoise-C7PHjDht.js} +2 -4
  44. package/dist/core/{CursorRipples-rJlfKhyh.js → CursorRipples-BzPPNkA3.js} +3 -39
  45. package/dist/core/{CursorTrail-BuyQdFKJ.js → CursorTrail-cBj0AuQA.js} +2 -4
  46. package/dist/core/{DataMosh-C_ZI55Qq.js → DataMosh-5Yr9TyVx.js} +1 -3
  47. package/dist/core/{DiamondGradient-CPhUCUoq.js → DiamondGradient-DZM7HwF5.js} +2 -4
  48. package/dist/core/{DiamondWipe-y6uIpJM4.js → DiamondWipe-CqeT7lCt.js} +2 -3
  49. package/dist/core/{DiffuseBlur-BNxowfOL.js → DiffuseBlur-Y5hSDTZF.js} +2 -3
  50. package/dist/core/{DisplacementMap-BuM2b1nC.js → DisplacementMap-FobRx5Ie.js} +2 -3
  51. package/dist/core/{Dither-Bt1qdRag.js → Dither-50rqHpt9.js} +2 -3
  52. package/dist/core/{DotGrid-DJFnwMVS.js → DotGrid-B6AGLUbR.js} +3 -4
  53. package/dist/core/{DropShadow-C-IfgfyH.js → DropShadow-CEPpgatB.js} +2 -3
  54. package/dist/core/{Duotone-DML_9JhJ.js → Duotone-D76Kp7Pb.js} +2 -3
  55. package/dist/core/{Ellipse-BuNUnN8D.js → Ellipse-BGod1LeG.js} +1 -2
  56. package/dist/core/{Emboss-DvKk4zwp.js → Emboss-DMNFb_ww.js} +3 -6
  57. package/dist/core/{Engraving-DPFVnIjD.js → Engraving-Dj7bCATQ.js} +2 -3
  58. package/dist/core/{ErosionNoise-j_b7a5cl.js → ErosionNoise-4O68wJQZ.js} +2 -4
  59. package/dist/core/{Exposure-DALA5K55.js → Exposure-h-vapOpj.js} +1 -3
  60. package/dist/core/{FallingLines-CeMOKpxK.js → FallingLines-Dzop_89k.js} +2 -3
  61. package/dist/core/{FilmGrain-DsDYCjjs.js → FilmGrain-Bs8PCfdf.js} +1 -3
  62. package/dist/core/{FilmStock-DtDMkwF6.js → FilmStock-DBjVo6rL.js} +1 -4
  63. package/dist/core/{Flip-B9Av9MVn.js → Flip-CfrS4KfZ.js} +2 -3
  64. package/dist/core/{FloatingParticles-BcMOBX1m.js → FloatingParticles-D1R2tD2J.js} +2 -5
  65. package/dist/core/{FlowField-BunLIU80.js → FlowField-Slirm5AI.js} +2 -3
  66. package/dist/core/{Flower-CvqBYUCU.js → Flower-Ddlut7QZ.js} +1 -2
  67. package/dist/core/{FlowingGradient-DQ284uMb.js → FlowingGradient-CwIgTtbj.js} +2 -7
  68. package/dist/core/{FlutedGlass-BP7av96Y.js → FlutedGlass-CMMy2GJ5.js} +2 -4
  69. package/dist/core/{Fog-DyyljY9e.js → Fog-DjjUkcTZ.js} +2 -4
  70. package/dist/core/{Form3D-x-G-Lz4z.js → Form3D-DQDOHWpC.js} +2 -4
  71. package/dist/core/{FractalNoise-DTgEv-Hq.js → FractalNoise-BjI3IOIj.js} +2 -4
  72. package/dist/core/{Frost-BhMELsXw.js → Frost-CK12HnL1.js} +3 -8
  73. package/dist/core/{GaborNoise-B7kmxcRZ.js → GaborNoise-DKEIvvRJ.js} +3 -5
  74. package/dist/core/{Glass-BMCOKCUL.js → Glass-CzcOVD5Y.js} +3 -8
  75. package/dist/core/{GlassTiles-DgVooh8h.js → GlassTiles-gjhc563g.js} +1 -2
  76. package/dist/core/{Glitch-D0pvMdGd.js → Glitch-C_XAWltC.js} +1 -2
  77. package/dist/core/{Glow-CJ3i0al6.js → Glow-CrYCanBI.js} +1 -3
  78. package/dist/core/{Godrays-DOV1VQ9x.js → Godrays-BBTMOVLP.js} +2 -3
  79. package/dist/core/{Goo-sMwsU21Y.js → Goo-Brhjk8aS.js} +3 -8
  80. package/dist/core/{GradientMap-CCuimQDS.js → GradientMap-C5325QWw.js} +2 -4
  81. package/dist/core/{Grayscale-DR1xnpde.js → Grayscale-dPjs-wvf.js} +1 -2
  82. package/dist/core/{Grid-CCUodqje.js → Grid-UjEd3O76.js} +3 -4
  83. package/dist/core/{GridDistortion-DUnC2Z_Y.js → GridDistortion-vVgYya1U.js} +1 -5
  84. package/dist/core/{Group--MS8ZNKg.js → Group-KVdmAi5g.js} +1 -1
  85. package/dist/core/{HTMLInCanvas-D_Rc6bs1.js → HTMLInCanvas-CKr2u76R.js} +1 -2
  86. package/dist/core/{Halftone-CG1LNQkk.js → Halftone-pRV3TRUW.js} +2 -3
  87. package/dist/core/{Heart-qPxh2CWp.js → Heart-CX7MvvHZ.js} +1 -2
  88. package/dist/core/{Heatmap-BZDfR2vC.js → Heatmap-Dn6qyd2e.js} +3 -8
  89. package/dist/core/{HexGrid-DquaiXLF.js → HexGrid-BIfYhkfV.js} +3 -4
  90. package/dist/core/{Hologram-JAXPZFx0.js → Hologram-ou27baPQ.js} +3 -7
  91. package/dist/core/{Holographic-BBHJp93D.js → Holographic-CiHdBSMg.js} +3 -7
  92. package/dist/core/{HueShift-a1Hl7gFy.js → HueShift-CG7pcXfg.js} +1 -3
  93. package/dist/core/{ImageTexture-CLW3uX1b.js → ImageTexture-BiZuU58C.js} +1 -2
  94. package/dist/core/{InkFlow-Dfd_5vYf.js → InkFlow-D9_L7opB.js} +2 -5
  95. package/dist/core/{Invert-DBEURmcL.js → Invert-CHEaiQZO.js} +1 -2
  96. package/dist/core/{IrisWipe-DTlGb8v-.js → IrisWipe-x22vOQHm.js} +2 -3
  97. package/dist/core/Irradiance-7yq2K87_.js +389 -0
  98. package/dist/core/{IsometricCubes-BgmQXJXU.js → IsometricCubes-CkPGWr7M.js} +2 -3
  99. package/dist/core/{Kaleidoscope-0adfaQ5F.js → Kaleidoscope-CEC5m1Ww.js} +1 -2
  100. package/dist/core/{KeyFrames-BqANGVzW.js → KeyFrames-BMGEZsAZ.js} +2 -3
  101. package/dist/core/{LensDistortion-DVRKCZv8.js → LensDistortion-DKo8PiO5.js} +2 -3
  102. package/dist/core/{LensFlare-C41jY4jH.js → LensFlare-DMS-NUtK.js} +2 -3
  103. package/dist/core/LightEdge-DxmnCRls.js +315 -0
  104. package/dist/core/{LightLeak-GWrDFcI_.js → LightLeak-yoEsZtYg.js} +2 -4
  105. package/dist/core/{Line-DuV7dLdM.js → Line-D17XDUjO.js} +2 -3
  106. package/dist/core/{LinearBlur-Bft2CjmO.js → LinearBlur-CiyjPTUH.js} +2 -3
  107. package/dist/core/{LinearGradient-BzIE4ReW.js → LinearGradient-DfjKG70q.js} +2 -4
  108. package/dist/core/{LinearWipe-ArRG9OCp.js → LinearWipe-D9CtBg6S.js} +2 -3
  109. package/dist/core/{LiquidMetal-BgvfhyiQ.js → LiquidMetal-8EG6DwV6.js} +3 -8
  110. package/dist/core/{Liquify-B6EigQqP.js → Liquify-BySXF1OB.js} +1 -4
  111. package/dist/core/{MagneticFilings-Dj35dlIq.js → MagneticFilings-DNESH3Zs.js} +2 -5
  112. package/dist/core/{Marble-0kfSSCDj.js → Marble-C9WvdxrP.js} +2 -7
  113. package/dist/core/{MeshGradient-DY_rUhFv.js → MeshGradient-d9--RXOU.js} +2 -10
  114. package/dist/core/{Mirror-C1AIyKmb.js → Mirror-1V2FF2kD.js} +1 -2
  115. package/dist/core/{MultiPointGradient-B9z1J-d8.js → MultiPointGradient-cRA9ytgL.js} +2 -3
  116. package/dist/core/{Nebula-mZDwq-yl.js → Nebula-BRV-q74y.js} +4 -87
  117. package/dist/core/{Neon-CyQE26dS.js → Neon-4PemK9Rj.js} +3 -6
  118. package/dist/core/{NoiseDissolve-DQbBbxlP.js → NoiseDissolve-B7LgD46G.js} +2 -3
  119. package/dist/core/{ObjectTracker-CZd20LeZ.js → ObjectTracker-CdzDxhpy.js} +2 -3
  120. package/dist/core/{Obsidian-CjKezopV.js → Obsidian-2J1eX9kT.js} +3 -9
  121. package/dist/core/{PagePeel-ulnjqZzc.js → PagePeel-D-ziraOm.js} +1 -2
  122. package/dist/core/{Paper-c_1INiUk.js → Paper-BxzCLyzB.js} +1 -2
  123. package/dist/core/{Parallelogram-CnjzV4-0.js → Parallelogram-D4OflTwn.js} +1 -2
  124. package/dist/core/{ParticleField-yJztI6Ts.js → ParticleField-tWNicEDO.js} +1 -4
  125. package/dist/core/{ParticleFlow-DJYrNrb8.js → ParticleFlow-BiEYFyWR.js} +2 -6
  126. package/dist/core/{Particles-kT-8Aj5V.js → Particles-B7W4yWgo.js} +3 -7
  127. package/dist/core/{PerlinNoise-C_Pczp28.js → PerlinNoise-C-irUxp9.js} +3 -5
  128. package/dist/core/{Perspective-BrbfuYVk.js → Perspective-DlnAW-pe.js} +2 -3
  129. package/dist/core/{PixelSort-DoTMcLz4.js → PixelSort-BBOTYuOE.js} +1 -4
  130. package/dist/core/{PixelThrow-B8pxI6sI.js → PixelThrow-DCJb9Lxd.js} +2 -4
  131. package/dist/core/{Pixelate-DCU9U9Wb.js → Pixelate-CZdwB--K.js} +1 -2
  132. package/dist/core/{Plasma-Xe1I1Mmb.js → Plasma-CTOQJeqy.js} +2 -4
  133. package/dist/core/{Plastic-Ce9dVqPq.js → Plastic-DvyH9x-4.js} +3 -8
  134. package/dist/core/{PolarCoordinates-mtOsxdGf.js → PolarCoordinates-XhdDAOD0.js} +1 -2
  135. package/dist/core/{Polygon-Cv63keGU.js → Polygon-CLohB-Ly.js} +2 -4
  136. package/dist/core/{Posterize-QhGDzUuf.js → Posterize-BAQfnvmK.js} +1 -2
  137. package/dist/core/{Prism-DOXMcTrS.js → Prism-DJVCVAXX.js} +2 -6
  138. package/dist/core/{ProgressiveBlur-sSQrxqcr.js → ProgressiveBlur-Dirva1on.js} +2 -3
  139. package/dist/core/{RadialGradient-DWTDAQnq.js → RadialGradient-DuSKR8Ds.js} +2 -4
  140. package/dist/core/{RadialWipe-HfofRhY0.js → RadialWipe-n8tON7x2.js} +2 -3
  141. package/dist/core/{RandomBars-DspX9Utc.js → RandomBars-BYouiIgQ.js} +2 -3
  142. package/dist/core/{ReactionDiffusion-GsRfnqUY.js → ReactionDiffusion-CHDd3y2q.js} +2 -5
  143. package/dist/core/{RectangularCoordinates-DhPRrTPT.js → RectangularCoordinates-CYFfCawa.js} +1 -2
  144. package/dist/core/{ReflectivePlane-ej7XTkZ-.js → ReflectivePlane-DFTl5U9q.js} +2 -3
  145. package/dist/core/Repeater-CnbzXuAe.js +473 -0
  146. package/dist/core/{Ring-CC1LC05E.js → Ring-CGkHVSVd.js} +1 -2
  147. package/dist/core/{RippleWipe-CmmIx59a.js → RippleWipe-DLjPzY6u.js} +2 -3
  148. package/dist/core/{Ripples-ColS9_ej.js → Ripples-C2tITU62.js} +2 -3
  149. package/dist/core/{RoundedRect-BCL_4FLA.js → RoundedRect-sfNTUaCY.js} +1 -2
  150. package/dist/core/{Saturation-E77lSl0T.js → Saturation-BRkifYWj.js} +1 -3
  151. package/dist/core/{Scratches-ZHohp7K4.js → Scratches-D87O5C2K.js} +2 -4
  152. package/dist/core/{Sharpness-CgNxIvCA.js → Sharpness-BGv613Zw.js} +1 -3
  153. package/dist/core/Shatter-DuyCFU1f.js +328 -0
  154. package/dist/core/{SimplexNoise-CZf812YP.js → SimplexNoise-CQJvmqd-.js} +2 -4
  155. package/dist/core/{SineWave-CVHPlsdX.js → SineWave-BfOgSGMP.js} +2 -3
  156. package/dist/core/{SliceWipe-4Y_DLO0N.js → SliceWipe-CD_D99sl.js} +1 -2
  157. package/dist/core/{Smoke-CzjvGgBl.js → Smoke-BDQYKRP1.js} +2 -4
  158. package/dist/core/{SmokeFill-DkMjXE-D.js → SmokeFill-CPnzQtQv.js} +3 -8
  159. package/dist/core/{SmokeFlow-DQMNHV2s.js → SmokeFlow-BkPMjZq8.js} +2 -4
  160. package/dist/core/{Solarize-DmhOkKoO.js → Solarize-DSiS32QS.js} +1 -3
  161. package/dist/core/{SolidColor-CyYoqgG3.js → SolidColor-DEKpgy1c.js} +2 -3
  162. package/dist/core/Sparkle-BZur6gPW.js +178 -0
  163. package/dist/core/{Spherize-D2gNetxE.js → Spherize-D9Yg4n6O.js} +2 -3
  164. package/dist/core/{Spiral-BCO6OJXU.js → Spiral-BCacfEpT.js} +2 -3
  165. package/dist/core/{Star-9JERbdHT.js → Star-Dnw1ihk7.js} +1 -2
  166. package/dist/core/{Stone-92McvPwz.js → Stone-Cje-_vAg.js} +1 -3
  167. package/dist/core/{Strands-B6NfRExJ.js → Strands-CFRxS1G_.js} +2 -4
  168. package/dist/core/{Stretch-DbUOkCav.js → Stretch-DXVhfIqO.js} +1 -2
  169. package/dist/core/{Stripes-BG2zbwGV.js → Stripes-CCADWwyq.js} +2 -3
  170. package/dist/core/{StudioBackground-tpZpD080.js → StudioBackground-BlzYNAsu.js} +2 -6
  171. package/dist/core/{SunBurst-BMH4MKRL.js → SunBurst-CmWbI18r.js} +2 -3
  172. package/dist/core/{Surface3D-DUZMTBel.js → Surface3D-Dmh98-0V.js} +2 -6
  173. package/dist/core/{Swirl-CzOPAKx8.js → Swirl-CzI1qSVc.js} +2 -4
  174. package/dist/core/{Teardrop-aOr2VYQI.js → Teardrop-D24uulL0.js} +1 -2
  175. package/dist/core/{Text-CV3Lr3m0.js → Text-CrZKvBw6.js} +2 -6
  176. package/dist/core/{ThinFilm-CYOodpsx.js → ThinFilm-D7R2dt1O.js} +3 -6
  177. package/dist/core/{TiltShift-Cv80ZHW3.js → TiltShift-AMMDZBvf.js} +2 -3
  178. package/dist/core/{TimeTrail-fvJO2a1q.js → TimeTrail-BCYDP2ep.js} +2 -6
  179. package/dist/core/{Tint-D4m85tFF.js → Tint-DHb5wBN5.js} +2 -3
  180. package/dist/core/{Trapezoid-B-PkXCCJ.js → Trapezoid-CL5Fxvq7.js} +1 -2
  181. package/dist/core/{TriangularGrid-hMfK10up.js → TriangularGrid-Bp-SJS-H.js} +2 -3
  182. package/dist/core/{Tritone-n1wNQ1dI.js → Tritone-C0nx7OdC.js} +2 -3
  183. package/dist/core/{Truchet-BhmcbIE9.js → Truchet-DCetyDaq.js} +2 -3
  184. package/dist/core/{Twirl-D8gALHXr.js → Twirl-D_mv9KEi.js} +1 -2
  185. package/dist/core/{VHS-CaqSB2Op.js → VHS-Cp9aDjti.js} +1 -2
  186. package/dist/core/{VenetianBlinds-B1-WjIeY.js → VenetianBlinds-DUyvaT5w.js} +2 -3
  187. package/dist/core/{Vesica-Gh1CMA7n.js → Vesica-BpzrTPTA.js} +1 -2
  188. package/dist/core/{Vibrance-ixBSdj4B.js → Vibrance-DW3J-pvW.js} +1 -3
  189. package/dist/core/{VideoTexture-DVQ1YsW2.js → VideoTexture-zoKsSrex.js} +1 -2
  190. package/dist/core/{Vignette-B9v8l0So.js → Vignette-KKbP3qdZ.js} +2 -5
  191. package/dist/core/{Voronoi-CIHogO9V.js → Voronoi-Bp2-U6lm.js} +2 -5
  192. package/dist/core/Voxels-B3e3LHH5.js +469 -0
  193. package/dist/core/{Water-Dh4UB4UF.js → Water-CoYwvqKx.js} +3 -8
  194. package/dist/core/{Watercolor-C70_K8Lv.js → Watercolor-DUNjSIN1.js} +2 -4
  195. package/dist/core/{WaveDistortion-BCKxUa-p.js → WaveDistortion-Dp8ws0z1.js} +1 -2
  196. package/dist/core/{Waveform-BKMFhH8R.js → Waveform-DDBLB6zu.js} +2 -9
  197. package/dist/core/{WaveletNoise-CFpncHiR.js → WaveletNoise-CpBkzfRT.js} +2 -4
  198. package/dist/core/{Weave-CYgbepeB.js → Weave-cWkvSEAy.js} +2 -3
  199. package/dist/core/{WebcamTexture-B0vkMk_l.js → WebcamTexture-D484SXSE.js} +1 -2
  200. package/dist/core/{Wool-CLkJUMng.js → Wool-C9L7O9fD.js} +1 -3
  201. package/dist/core/{WorleyNoise-BxznxOxV.js → WorleyNoise-B5j5lDQZ.js} +2 -3
  202. package/dist/core/{ZoomBlur-DtujxMsW.js → ZoomBlur-bPC1dBu2.js} +2 -3
  203. package/dist/core/customShaders.d.ts +71 -0
  204. package/dist/core/customShaders.d.ts.map +1 -0
  205. package/dist/core/docs-manifest.json +29177 -0
  206. package/dist/core/gpu/composer.d.ts +2 -0
  207. package/dist/core/gpu/composer.d.ts.map +1 -1
  208. package/dist/core/gpu/contract.d.ts +15 -0
  209. package/dist/core/gpu/contract.d.ts.map +1 -1
  210. package/dist/core/gpu/frame.d.ts +5 -2
  211. package/dist/core/gpu/frame.d.ts.map +1 -1
  212. package/dist/core/gpu/index.d.ts.map +1 -1
  213. package/dist/core/gpu/kit/waves.d.ts +6 -0
  214. package/dist/core/gpu/kit/waves.d.ts.map +1 -1
  215. package/dist/core/gpu/scaffolds/sdfShape.d.ts +1 -1
  216. package/dist/core/gpu/scaffolds/sdfShape.d.ts.map +1 -1
  217. package/dist/core/gpu/support.d.ts +12 -0
  218. package/dist/core/gpu/support.d.ts.map +1 -1
  219. package/dist/core/index.d.ts +3 -2
  220. package/dist/core/index.d.ts.map +1 -1
  221. package/dist/core/index.js +238 -255
  222. package/dist/core/llms.txt +1558 -0
  223. package/dist/core/{noiseColor-_P7nIu_L.js → noiseColor-D_bPhJ4m.js} +2 -2
  224. package/dist/core/presetRenderer.d.ts +4 -0
  225. package/dist/core/presetRenderer.d.ts.map +1 -1
  226. package/dist/core/registry.js +204 -248
  227. package/dist/core/shaderRegistry-BaozBFyh.js +445 -0
  228. package/dist/core/shaderRegistry.d.ts.map +1 -1
  229. package/dist/core/shaders/AngularBlur/index.d.ts +1 -1
  230. package/dist/core/shaders/AngularBlur/index.d.ts.map +1 -1
  231. package/dist/core/shaders/AngularBlur/index.js +4 -10
  232. package/dist/core/shaders/Arc/index.js +4 -6
  233. package/dist/core/shaders/Ascii/index.d.ts +1 -1
  234. package/dist/core/shaders/Ascii/index.d.ts.map +1 -1
  235. package/dist/core/shaders/Ascii/index.js +4 -11
  236. package/dist/core/shaders/Aurora/index.js +4 -21
  237. package/dist/core/shaders/BarShift/index.js +4 -8
  238. package/dist/core/shaders/BarnDoors/index.js +4 -7
  239. package/dist/core/shaders/Beam/index.js +4 -11
  240. package/dist/core/shaders/Bend/index.js +4 -8
  241. package/dist/core/shaders/Blob/index.js +4 -18
  242. package/dist/core/shaders/BlockDissolve/index.js +4 -7
  243. package/dist/core/shaders/BlockNoise/index.d.ts +1 -1
  244. package/dist/core/shaders/BlockNoise/index.d.ts.map +1 -1
  245. package/dist/core/shaders/BlockNoise/index.js +5 -14
  246. package/dist/core/shaders/BlueNoise/index.d.ts +1 -1
  247. package/dist/core/shaders/BlueNoise/index.d.ts.map +1 -1
  248. package/dist/core/shaders/BlueNoise/index.js +5 -14
  249. package/dist/core/shaders/Blur/index.d.ts +1 -1
  250. package/dist/core/shaders/Blur/index.d.ts.map +1 -1
  251. package/dist/core/shaders/Blur/index.js +4 -10
  252. package/dist/core/shaders/Boids/index.js +4 -9
  253. package/dist/core/shaders/BokehBlur/index.js +4 -10
  254. package/dist/core/shaders/BrickPattern/index.d.ts +1 -1
  255. package/dist/core/shaders/BrickPattern/index.d.ts.map +1 -1
  256. package/dist/core/shaders/BrickPattern/index.js +4 -13
  257. package/dist/core/shaders/BrightnessContrast/index.js +4 -7
  258. package/dist/core/shaders/BrushedMetal/index.js +4 -11
  259. package/dist/core/shaders/Bulge/index.js +4 -8
  260. package/dist/core/shaders/CRTScreen/index.d.ts +2 -2
  261. package/dist/core/shaders/CRTScreen/index.d.ts.map +1 -1
  262. package/dist/core/shaders/CRTScreen/index.js +4 -10
  263. package/dist/core/shaders/CarbonFiber/index.js +4 -11
  264. package/dist/core/shaders/Chalkboard/index.d.ts +1 -1
  265. package/dist/core/shaders/Chalkboard/index.d.ts.map +1 -1
  266. package/dist/core/shaders/Chalkboard/index.js +4 -9
  267. package/dist/core/shaders/ChannelBlur/index.d.ts +1 -1
  268. package/dist/core/shaders/ChannelBlur/index.d.ts.map +1 -1
  269. package/dist/core/shaders/ChannelBlur/index.js +4 -10
  270. package/dist/core/shaders/CheckerWipe/index.js +4 -7
  271. package/dist/core/shaders/Checkerboard/index.d.ts +1 -1
  272. package/dist/core/shaders/Checkerboard/index.d.ts.map +1 -1
  273. package/dist/core/shaders/Checkerboard/index.js +4 -13
  274. package/dist/core/shaders/Chevron/index.d.ts +1 -1
  275. package/dist/core/shaders/Chevron/index.d.ts.map +1 -1
  276. package/dist/core/shaders/Chevron/index.js +4 -13
  277. package/dist/core/shaders/ChromaFlow/index.js +4 -8
  278. package/dist/core/shaders/ChromaticAberration/index.js +4 -11
  279. package/dist/core/shaders/Chrome/index.js +4 -10
  280. package/dist/core/shaders/Circle/index.js +4 -6
  281. package/dist/core/shaders/ColorWheel/index.js +4 -11
  282. package/dist/core/shaders/CompressionArtifacts/index.js +4 -7
  283. package/dist/core/shaders/ConcentricSpin/index.js +4 -8
  284. package/dist/core/shaders/ConicGradient/index.js +4 -11
  285. package/dist/core/shaders/ContourLines/index.js +4 -6
  286. package/dist/core/shaders/CornerPin/index.js +4 -8
  287. package/dist/core/shaders/Crescent/index.js +4 -5
  288. package/dist/core/shaders/Cross/index.js +4 -5
  289. package/dist/core/shaders/Crystal/index.js +4 -11
  290. package/dist/core/shaders/CurlNoise/index.d.ts +1 -1
  291. package/dist/core/shaders/CurlNoise/index.d.ts.map +1 -1
  292. package/dist/core/shaders/CurlNoise/index.js +5 -14
  293. package/dist/core/shaders/CursorRipples/index.js +4 -7
  294. package/dist/core/shaders/CursorTrail/index.js +4 -7
  295. package/dist/core/shaders/DataMosh/index.js +4 -7
  296. package/dist/core/shaders/DiamondGradient/index.js +4 -11
  297. package/dist/core/shaders/DiamondWipe/index.js +4 -7
  298. package/dist/core/shaders/DiffuseBlur/index.d.ts +1 -1
  299. package/dist/core/shaders/DiffuseBlur/index.d.ts.map +1 -1
  300. package/dist/core/shaders/DiffuseBlur/index.js +4 -10
  301. package/dist/core/shaders/DisplacementMap/index.js +4 -8
  302. package/dist/core/shaders/Dither/index.d.ts +1 -1
  303. package/dist/core/shaders/Dither/index.d.ts.map +1 -1
  304. package/dist/core/shaders/Dither/index.js +4 -13
  305. package/dist/core/shaders/DotGrid/index.d.ts +2 -2
  306. package/dist/core/shaders/DotGrid/index.d.ts.map +1 -1
  307. package/dist/core/shaders/DotGrid/index.js +4 -13
  308. package/dist/core/shaders/DropShadow/index.d.ts +1 -1
  309. package/dist/core/shaders/DropShadow/index.d.ts.map +1 -1
  310. package/dist/core/shaders/DropShadow/index.js +4 -10
  311. package/dist/core/shaders/Duotone/index.js +4 -6
  312. package/dist/core/shaders/Ellipse/index.js +4 -5
  313. package/dist/core/shaders/Emboss/index.js +4 -9
  314. package/dist/core/shaders/Engraving/index.js +4 -9
  315. package/dist/core/shaders/ErosionNoise/index.d.ts +1 -1
  316. package/dist/core/shaders/ErosionNoise/index.d.ts.map +1 -1
  317. package/dist/core/shaders/ErosionNoise/index.js +5 -14
  318. package/dist/core/shaders/Exposure/index.js +4 -7
  319. package/dist/core/shaders/FallingLines/index.d.ts +1 -1
  320. package/dist/core/shaders/FallingLines/index.d.ts.map +1 -1
  321. package/dist/core/shaders/FallingLines/index.js +4 -13
  322. package/dist/core/shaders/FilmGrain/index.js +4 -7
  323. package/dist/core/shaders/FilmStock/index.js +4 -13
  324. package/dist/core/shaders/Flip/index.js +4 -8
  325. package/dist/core/shaders/FloatingParticles/index.d.ts +1 -1
  326. package/dist/core/shaders/FloatingParticles/index.d.ts.map +1 -1
  327. package/dist/core/shaders/FloatingParticles/index.js +4 -9
  328. package/dist/core/shaders/FlowField/index.js +4 -8
  329. package/dist/core/shaders/Flower/index.js +4 -5
  330. package/dist/core/shaders/FlowingGradient/index.js +4 -15
  331. package/dist/core/shaders/FlutedGlass/index.js +4 -11
  332. package/dist/core/shaders/Fog/index.js +4 -7
  333. package/dist/core/shaders/Form3D/index.js +4 -7
  334. package/dist/core/shaders/FractalNoise/index.d.ts +1 -1
  335. package/dist/core/shaders/FractalNoise/index.d.ts.map +1 -1
  336. package/dist/core/shaders/FractalNoise/index.js +4 -13
  337. package/dist/core/shaders/Frost/index.js +4 -11
  338. package/dist/core/shaders/GaborNoise/index.d.ts +2 -2
  339. package/dist/core/shaders/GaborNoise/index.d.ts.map +1 -1
  340. package/dist/core/shaders/GaborNoise/index.js +5 -14
  341. package/dist/core/shaders/Glass/index.js +4 -11
  342. package/dist/core/shaders/GlassTiles/index.d.ts +1 -1
  343. package/dist/core/shaders/GlassTiles/index.d.ts.map +1 -1
  344. package/dist/core/shaders/GlassTiles/index.js +4 -8
  345. package/dist/core/shaders/Glitch/index.d.ts +1 -1
  346. package/dist/core/shaders/Glitch/index.d.ts.map +1 -1
  347. package/dist/core/shaders/Glitch/index.js +4 -10
  348. package/dist/core/shaders/Glow/index.d.ts +1 -1
  349. package/dist/core/shaders/Glow/index.d.ts.map +1 -1
  350. package/dist/core/shaders/Glow/index.js +4 -11
  351. package/dist/core/shaders/Godrays/index.js +4 -12
  352. package/dist/core/shaders/Goo/index.js +4 -11
  353. package/dist/core/shaders/GradientMap/index.js +4 -7
  354. package/dist/core/shaders/Grayscale/index.js +4 -6
  355. package/dist/core/shaders/Grid/index.d.ts +2 -2
  356. package/dist/core/shaders/Grid/index.d.ts.map +1 -1
  357. package/dist/core/shaders/Grid/index.js +4 -13
  358. package/dist/core/shaders/GridDistortion/index.js +4 -11
  359. package/dist/core/shaders/Group/index.js +4 -6
  360. package/dist/core/shaders/HTMLInCanvas/index.js +4 -7
  361. package/dist/core/shaders/Halftone/index.d.ts +1 -1
  362. package/dist/core/shaders/Halftone/index.d.ts.map +1 -1
  363. package/dist/core/shaders/Halftone/index.js +4 -13
  364. package/dist/core/shaders/Heart/index.js +4 -5
  365. package/dist/core/shaders/Heatmap/index.js +4 -11
  366. package/dist/core/shaders/HexGrid/index.d.ts +2 -2
  367. package/dist/core/shaders/HexGrid/index.d.ts.map +1 -1
  368. package/dist/core/shaders/HexGrid/index.js +4 -13
  369. package/dist/core/shaders/Hologram/index.js +4 -10
  370. package/dist/core/shaders/Holographic/index.js +4 -10
  371. package/dist/core/shaders/HueShift/index.js +4 -7
  372. package/dist/core/shaders/ImageTexture/index.js +4 -6
  373. package/dist/core/shaders/InkFlow/index.js +4 -8
  374. package/dist/core/shaders/Invert/index.js +4 -6
  375. package/dist/core/shaders/IrisWipe/index.js +4 -7
  376. package/dist/core/shaders/Irradiance/index.js +4 -13
  377. package/dist/core/shaders/IsometricCubes/index.d.ts +1 -1
  378. package/dist/core/shaders/IsometricCubes/index.d.ts.map +1 -1
  379. package/dist/core/shaders/IsometricCubes/index.js +4 -13
  380. package/dist/core/shaders/Kaleidoscope/index.js +4 -8
  381. package/dist/core/shaders/KeyFrames/index.js +4 -10
  382. package/dist/core/shaders/LensDistortion/index.js +4 -6
  383. package/dist/core/shaders/LensFlare/index.d.ts +1 -1
  384. package/dist/core/shaders/LensFlare/index.d.ts.map +1 -1
  385. package/dist/core/shaders/LensFlare/index.js +4 -12
  386. package/dist/core/shaders/LightEdge/index.js +4 -10
  387. package/dist/core/shaders/LightLeak/index.js +4 -12
  388. package/dist/core/shaders/Line/index.js +4 -10
  389. package/dist/core/shaders/LinearBlur/index.d.ts +1 -1
  390. package/dist/core/shaders/LinearBlur/index.d.ts.map +1 -1
  391. package/dist/core/shaders/LinearBlur/index.js +4 -10
  392. package/dist/core/shaders/LinearGradient/index.js +4 -11
  393. package/dist/core/shaders/LinearWipe/index.js +4 -7
  394. package/dist/core/shaders/LiquidMetal/index.js +4 -11
  395. package/dist/core/shaders/Liquify/index.js +4 -10
  396. package/dist/core/shaders/MagneticFilings/index.js +4 -9
  397. package/dist/core/shaders/Marble/index.d.ts +1 -1
  398. package/dist/core/shaders/Marble/index.d.ts.map +1 -1
  399. package/dist/core/shaders/Marble/index.js +4 -15
  400. package/dist/core/shaders/MeshGradient/index.js +4 -17
  401. package/dist/core/shaders/Mirror/index.js +4 -8
  402. package/dist/core/shaders/MultiPointGradient/index.js +4 -11
  403. package/dist/core/shaders/Nebula/index.js +4 -13
  404. package/dist/core/shaders/Neon/index.js +4 -9
  405. package/dist/core/shaders/NoiseDissolve/index.js +4 -7
  406. package/dist/core/shaders/ObjectTracker/index.js +4 -10
  407. package/dist/core/shaders/Obsidian/index.js +4 -15
  408. package/dist/core/shaders/PagePeel/index.js +4 -10
  409. package/dist/core/shaders/Paper/index.d.ts +1 -1
  410. package/dist/core/shaders/Paper/index.d.ts.map +1 -1
  411. package/dist/core/shaders/Paper/index.js +4 -8
  412. package/dist/core/shaders/Parallelogram/index.js +4 -5
  413. package/dist/core/shaders/ParticleField/index.js +4 -9
  414. package/dist/core/shaders/ParticleFlow/index.js +4 -10
  415. package/dist/core/shaders/Particles/index.js +4 -9
  416. package/dist/core/shaders/PerlinNoise/index.d.ts +2 -2
  417. package/dist/core/shaders/PerlinNoise/index.d.ts.map +1 -1
  418. package/dist/core/shaders/PerlinNoise/index.js +5 -14
  419. package/dist/core/shaders/Perspective/index.js +4 -8
  420. package/dist/core/shaders/PixelSort/index.js +4 -8
  421. package/dist/core/shaders/PixelThrow/index.js +4 -8
  422. package/dist/core/shaders/Pixelate/index.d.ts +1 -1
  423. package/dist/core/shaders/Pixelate/index.d.ts.map +1 -1
  424. package/dist/core/shaders/Pixelate/index.js +4 -10
  425. package/dist/core/shaders/Plasma/index.js +4 -11
  426. package/dist/core/shaders/Plastic/index.js +4 -11
  427. package/dist/core/shaders/PolarCoordinates/index.js +4 -8
  428. package/dist/core/shaders/Polygon/index.js +4 -6
  429. package/dist/core/shaders/Posterize/index.js +4 -6
  430. package/dist/core/shaders/Prism/index.js +4 -12
  431. package/dist/core/shaders/ProgressiveBlur/index.d.ts +1 -1
  432. package/dist/core/shaders/ProgressiveBlur/index.d.ts.map +1 -1
  433. package/dist/core/shaders/ProgressiveBlur/index.js +4 -10
  434. package/dist/core/shaders/RadialGradient/index.js +4 -11
  435. package/dist/core/shaders/RadialWipe/index.js +4 -7
  436. package/dist/core/shaders/RandomBars/index.js +4 -7
  437. package/dist/core/shaders/ReactionDiffusion/index.js +4 -8
  438. package/dist/core/shaders/RectangularCoordinates/index.js +4 -8
  439. package/dist/core/shaders/ReflectivePlane/index.js +4 -10
  440. package/dist/core/shaders/Repeater/index.js +4 -5
  441. package/dist/core/shaders/Ring/index.js +4 -5
  442. package/dist/core/shaders/RippleWipe/index.js +4 -7
  443. package/dist/core/shaders/Ripples/index.d.ts +1 -1
  444. package/dist/core/shaders/Ripples/index.d.ts.map +1 -1
  445. package/dist/core/shaders/Ripples/index.js +4 -13
  446. package/dist/core/shaders/RoundedRect/index.js +4 -5
  447. package/dist/core/shaders/Saturation/index.js +4 -7
  448. package/dist/core/shaders/Scratches/index.d.ts +1 -1
  449. package/dist/core/shaders/Scratches/index.d.ts.map +1 -1
  450. package/dist/core/shaders/Scratches/index.js +5 -14
  451. package/dist/core/shaders/Sharpness/index.d.ts +1 -1
  452. package/dist/core/shaders/Sharpness/index.d.ts.map +1 -1
  453. package/dist/core/shaders/Sharpness/index.js +4 -11
  454. package/dist/core/shaders/Shatter/index.js +4 -6
  455. package/dist/core/shaders/SimplexNoise/index.d.ts +1 -1
  456. package/dist/core/shaders/SimplexNoise/index.d.ts.map +1 -1
  457. package/dist/core/shaders/SimplexNoise/index.js +5 -14
  458. package/dist/core/shaders/SineWave/index.js +4 -10
  459. package/dist/core/shaders/SliceWipe/index.js +4 -8
  460. package/dist/core/shaders/Smoke/index.js +4 -7
  461. package/dist/core/shaders/SmokeFill/index.js +4 -10
  462. package/dist/core/shaders/SmokeFlow/index.js +4 -7
  463. package/dist/core/shaders/Solarize/index.js +4 -7
  464. package/dist/core/shaders/SolidColor/index.js +4 -11
  465. package/dist/core/shaders/Sparkle/index.d.ts +57 -0
  466. package/dist/core/shaders/Sparkle/index.d.ts.map +1 -0
  467. package/dist/core/shaders/Sparkle/index.js +5 -0
  468. package/dist/core/shaders/Spherize/index.d.ts +1 -1
  469. package/dist/core/shaders/Spherize/index.d.ts.map +1 -1
  470. package/dist/core/shaders/Spherize/index.js +4 -10
  471. package/dist/core/shaders/Spiral/index.js +4 -11
  472. package/dist/core/shaders/Star/index.js +4 -5
  473. package/dist/core/shaders/Stone/index.d.ts +1 -1
  474. package/dist/core/shaders/Stone/index.d.ts.map +1 -1
  475. package/dist/core/shaders/Stone/index.js +4 -14
  476. package/dist/core/shaders/Strands/index.d.ts +1 -1
  477. package/dist/core/shaders/Strands/index.d.ts.map +1 -1
  478. package/dist/core/shaders/Strands/index.js +4 -13
  479. package/dist/core/shaders/Stretch/index.js +4 -8
  480. package/dist/core/shaders/Stripes/index.d.ts +1 -1
  481. package/dist/core/shaders/Stripes/index.d.ts.map +1 -1
  482. package/dist/core/shaders/Stripes/index.js +4 -13
  483. package/dist/core/shaders/StudioBackground/index.js +4 -14
  484. package/dist/core/shaders/SunBurst/index.js +4 -12
  485. package/dist/core/shaders/Surface3D/index.js +4 -8
  486. package/dist/core/shaders/Swirl/index.js +4 -11
  487. package/dist/core/shaders/Teardrop/index.js +4 -5
  488. package/dist/core/shaders/Text/index.js +4 -12
  489. package/dist/core/shaders/ThinFilm/index.js +4 -9
  490. package/dist/core/shaders/TiltShift/index.d.ts +1 -1
  491. package/dist/core/shaders/TiltShift/index.d.ts.map +1 -1
  492. package/dist/core/shaders/TiltShift/index.js +4 -10
  493. package/dist/core/shaders/TimeTrail/index.js +4 -8
  494. package/dist/core/shaders/Tint/index.js +4 -6
  495. package/dist/core/shaders/Trapezoid/index.js +4 -5
  496. package/dist/core/shaders/TriangularGrid/index.d.ts +1 -1
  497. package/dist/core/shaders/TriangularGrid/index.d.ts.map +1 -1
  498. package/dist/core/shaders/TriangularGrid/index.js +4 -13
  499. package/dist/core/shaders/Tritone/index.js +4 -6
  500. package/dist/core/shaders/Truchet/index.d.ts +1 -1
  501. package/dist/core/shaders/Truchet/index.d.ts.map +1 -1
  502. package/dist/core/shaders/Truchet/index.js +4 -13
  503. package/dist/core/shaders/Twirl/index.js +4 -8
  504. package/dist/core/shaders/VHS/index.d.ts +1 -1
  505. package/dist/core/shaders/VHS/index.d.ts.map +1 -1
  506. package/dist/core/shaders/VHS/index.js +4 -10
  507. package/dist/core/shaders/VenetianBlinds/index.js +4 -7
  508. package/dist/core/shaders/Vesica/index.js +4 -5
  509. package/dist/core/shaders/Vibrance/index.js +4 -7
  510. package/dist/core/shaders/VideoTexture/index.js +4 -6
  511. package/dist/core/shaders/Vignette/index.js +4 -8
  512. package/dist/core/shaders/Voronoi/index.d.ts +1 -1
  513. package/dist/core/shaders/Voronoi/index.d.ts.map +1 -1
  514. package/dist/core/shaders/Voronoi/index.js +4 -13
  515. package/dist/core/shaders/Voxels/index.js +4 -14
  516. package/dist/core/shaders/Water/index.js +4 -11
  517. package/dist/core/shaders/Watercolor/index.d.ts +1 -1
  518. package/dist/core/shaders/Watercolor/index.d.ts.map +1 -1
  519. package/dist/core/shaders/Watercolor/index.js +4 -10
  520. package/dist/core/shaders/WaveDistortion/index.js +4 -8
  521. package/dist/core/shaders/Waveform/index.js +4 -16
  522. package/dist/core/shaders/WaveletNoise/index.d.ts +1 -1
  523. package/dist/core/shaders/WaveletNoise/index.d.ts.map +1 -1
  524. package/dist/core/shaders/WaveletNoise/index.js +5 -14
  525. package/dist/core/shaders/Weave/index.d.ts +1 -1
  526. package/dist/core/shaders/Weave/index.d.ts.map +1 -1
  527. package/dist/core/shaders/Weave/index.js +4 -13
  528. package/dist/core/shaders/WebcamTexture/index.js +4 -6
  529. package/dist/core/shaders/Wool/index.d.ts +1 -1
  530. package/dist/core/shaders/Wool/index.d.ts.map +1 -1
  531. package/dist/core/shaders/Wool/index.js +4 -14
  532. package/dist/core/shaders/WorleyNoise/index.d.ts +1 -1
  533. package/dist/core/shaders/WorleyNoise/index.d.ts.map +1 -1
  534. package/dist/core/shaders/WorleyNoise/index.js +4 -13
  535. package/dist/core/shaders/ZoomBlur/index.d.ts +1 -1
  536. package/dist/core/shaders/ZoomBlur/index.d.ts.map +1 -1
  537. package/dist/core/shaders/ZoomBlur/index.js +4 -10
  538. package/dist/core/std/effects/blurs.d.ts +656 -138
  539. package/dist/core/std/effects/blurs.d.ts.map +1 -1
  540. package/dist/core/std/effects/color.d.ts +209 -32
  541. package/dist/core/std/effects/color.d.ts.map +1 -1
  542. package/dist/core/std/effects/edgeGlow.d.ts +86 -17
  543. package/dist/core/std/effects/edgeGlow.d.ts.map +1 -1
  544. package/dist/core/std/effects/fracture.d.ts +72 -8
  545. package/dist/core/std/effects/fracture.d.ts.map +1 -1
  546. package/dist/core/std/effects/index.d.ts +15 -0
  547. package/dist/core/std/effects/index.d.ts.map +1 -0
  548. package/dist/core/std/effects/instances.d.ts +87 -8
  549. package/dist/core/std/effects/instances.d.ts.map +1 -1
  550. package/dist/core/std/effects/lens.d.ts +48 -12
  551. package/dist/core/std/effects/lens.d.ts.map +1 -1
  552. package/dist/core/std/effects/overlay.d.ts +63 -22
  553. package/dist/core/std/effects/overlay.d.ts.map +1 -1
  554. package/dist/core/std/effects/pointerFields.d.ts +45 -20
  555. package/dist/core/std/effects/pointerFields.d.ts.map +1 -1
  556. package/dist/core/std/effects/reveal.d.ts +118 -40
  557. package/dist/core/std/effects/reveal.d.ts.map +1 -1
  558. package/dist/core/std/effects/stylize.d.ts +139 -70
  559. package/dist/core/std/effects/stylize.d.ts.map +1 -1
  560. package/dist/core/std/filter.d.ts +72 -12
  561. package/dist/core/std/filter.d.ts.map +1 -1
  562. package/dist/core/std/frames.d.ts +91 -24
  563. package/dist/core/std/frames.d.ts.map +1 -1
  564. package/dist/core/std/index.d.ts +46 -8
  565. package/dist/core/std/index.d.ts.map +1 -1
  566. package/dist/core/std/index.js +4 -0
  567. package/dist/core/std/invoke.d.ts +107 -12
  568. package/dist/core/std/invoke.d.ts.map +1 -1
  569. package/dist/core/std/lists.d.ts +40 -10
  570. package/dist/core/std/lists.d.ts.map +1 -1
  571. package/dist/core/std/lower.d.ts +73 -1
  572. package/dist/core/std/lower.d.ts.map +1 -1
  573. package/dist/core/std/mask.d.ts +60 -17
  574. package/dist/core/std/mask.d.ts.map +1 -1
  575. package/dist/core/std/math.d.ts +484 -9
  576. package/dist/core/std/math.d.ts.map +1 -1
  577. package/dist/core/std/motion.d.ts +130 -10
  578. package/dist/core/std/motion.d.ts.map +1 -1
  579. package/dist/core/std/paint/compose.d.ts +57 -16
  580. package/dist/core/std/paint/compose.d.ts.map +1 -1
  581. package/dist/core/std/paint/fields.d.ts +376 -93
  582. package/dist/core/std/paint/fields.d.ts.map +1 -1
  583. package/dist/core/std/paint/figures.d.ts +32 -17
  584. package/dist/core/std/paint/figures.d.ts.map +1 -1
  585. package/dist/core/std/paint/gradients.d.ts +58 -25
  586. package/dist/core/std/paint/gradients.d.ts.map +1 -1
  587. package/dist/core/std/paint/light.d.ts +501 -77
  588. package/dist/core/std/paint/light.d.ts.map +1 -1
  589. package/dist/core/std/paint/materials.d.ts +678 -151
  590. package/dist/core/std/paint/materials.d.ts.map +1 -1
  591. package/dist/core/std/paint/media.d.ts +47 -32
  592. package/dist/core/std/paint/media.d.ts.map +1 -1
  593. package/dist/core/std/paint/noise.d.ts +436 -87
  594. package/dist/core/std/paint/noise.d.ts.map +1 -1
  595. package/dist/core/std/paint/patterns.d.ts +473 -91
  596. package/dist/core/std/paint/patterns.d.ts.map +1 -1
  597. package/dist/core/std/paint/radiance.d.ts +75 -29
  598. package/dist/core/std/paint/radiance.d.ts.map +1 -1
  599. package/dist/core/std/paint/volume.d.ts +68 -27
  600. package/dist/core/std/paint/volume.d.ts.map +1 -1
  601. package/dist/core/std/paint/voxels.d.ts +46 -26
  602. package/dist/core/std/paint/voxels.d.ts.map +1 -1
  603. package/dist/core/std/shape.d.ts +195 -1
  604. package/dist/core/std/shape.d.ts.map +1 -1
  605. package/dist/core/std/signal.d.ts +55 -15
  606. package/dist/core/std/signal.d.ts.map +1 -1
  607. package/dist/core/std/sim/agentForces.d.ts +441 -99
  608. package/dist/core/std/sim/agentForces.d.ts.map +1 -1
  609. package/dist/core/std/sim/agentFrame.d.ts +94 -20
  610. package/dist/core/std/sim/agentFrame.d.ts.map +1 -1
  611. package/dist/core/std/sim/agentRender.d.ts +187 -60
  612. package/dist/core/std/sim/agentRender.d.ts.map +1 -1
  613. package/dist/core/std/sim/agents.d.ts +99 -28
  614. package/dist/core/std/sim/agents.d.ts.map +1 -1
  615. package/dist/core/std/sim/feedback.d.ts +40 -19
  616. package/dist/core/std/sim/feedback.d.ts.map +1 -1
  617. package/dist/core/std/sim/fluids.d.ts +127 -63
  618. package/dist/core/std/sim/fluids.d.ts.map +1 -1
  619. package/dist/core/std/sim/grids.d.ts +200 -48
  620. package/dist/core/std/sim/grids.d.ts.map +1 -1
  621. package/dist/core/std/sim/index.d.ts +14 -0
  622. package/dist/core/std/sim/index.d.ts.map +1 -0
  623. package/dist/core/std/sim/shapeFields.d.ts +56 -0
  624. package/dist/core/std/sim/shapeFields.d.ts.map +1 -1
  625. package/dist/core/std/sim.d.ts +112 -10
  626. package/dist/core/std/sim.d.ts.map +1 -1
  627. package/dist/core/std/slots.d.ts +72 -6
  628. package/dist/core/std/slots.d.ts.map +1 -1
  629. package/dist/core/std/types.d.ts +97 -60
  630. package/dist/core/std/types.d.ts.map +1 -1
  631. package/dist/core/std/values.d.ts +33 -14
  632. package/dist/core/std/values.d.ts.map +1 -1
  633. package/dist/core/std/warps.d.ts +221 -76
  634. package/dist/core/std/warps.d.ts.map +1 -1
  635. package/dist/core/std/wgsl.d.ts +115 -0
  636. package/dist/core/std/wgsl.d.ts.map +1 -0
  637. package/dist/core/std-ClftfWpF.js +218889 -0
  638. package/dist/core/{support-GJphyuEe.js → support-D3W86vgR.js} +11 -1
  639. package/dist/core/telemetry/index.js +1 -1
  640. package/dist/core/utilities/transformations/index.js +1 -1
  641. package/dist/js/bundle.js +182 -180
  642. package/dist/js/createShader.d.ts.map +1 -1
  643. package/dist/js/createShader.js +4 -3
  644. package/dist/js/types.d.ts +5 -0
  645. package/dist/js/types.d.ts.map +1 -1
  646. package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
  647. package/dist/js/utils/generatePresetCode.js +35 -22
  648. package/dist/react/CustomShader.js +178 -0
  649. package/dist/react/Preview.js +1 -0
  650. package/dist/react/Shader.js +1 -1
  651. package/dist/react/Sparkle.js +226 -0
  652. package/dist/react/bundle.js +178 -176
  653. package/dist/react/components/Sparkle.d.ts +41 -0
  654. package/dist/react/components/Sparkle.d.ts.map +1 -0
  655. package/dist/react/engine/CustomShader.d.ts +37 -0
  656. package/dist/react/engine/CustomShader.d.ts.map +1 -0
  657. package/dist/react/engine/Preview.d.ts.map +1 -1
  658. package/dist/react/index.d.ts +5 -0
  659. package/dist/react/index.d.ts.map +1 -1
  660. package/dist/react/index.js +4 -2
  661. package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
  662. package/dist/react/utils/generatePresetCode.js +35 -22
  663. package/dist/registry.js +310 -58
  664. package/dist/solid/components/Sparkle.d.ts +38 -0
  665. package/dist/solid/components/Sparkle.d.ts.map +1 -0
  666. package/dist/solid/components/Sparkle.js +232 -0
  667. package/dist/solid/engine/CustomShader.d.ts +35 -0
  668. package/dist/solid/engine/CustomShader.d.ts.map +1 -0
  669. package/dist/solid/engine/CustomShader.js +160 -0
  670. package/dist/solid/engine/Preview.d.ts.map +1 -1
  671. package/dist/solid/engine/Preview.js +319 -317
  672. package/dist/solid/engine/Shader.js +1 -1
  673. package/dist/solid/index.d.ts +5 -0
  674. package/dist/solid/index.d.ts.map +1 -1
  675. package/dist/solid/index.js +95 -86
  676. package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
  677. package/dist/solid/utils/generatePresetCode.js +35 -22
  678. package/dist/svelte/components/Sparkle.svelte.d.ts +28 -0
  679. package/dist/svelte/engine/CustomShader.svelte.d.ts +40 -0
  680. package/dist/svelte/index.d.ts +4 -0
  681. package/dist/svelte/index.js +1237 -877
  682. package/dist/svelte/source/components/Sparkle.svelte +352 -0
  683. package/dist/svelte/source/engine/CustomShader.svelte +216 -0
  684. package/dist/svelte/source/engine/Preview.svelte +5 -3
  685. package/dist/svelte/source/index.js +4 -0
  686. package/dist/svelte/utils/generatePresetCode.js +35 -22
  687. package/dist/vue/CustomShader.js +3 -0
  688. package/dist/vue/CustomShader.vue_vue_type_script_setup_true_lang.js +173 -0
  689. package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
  690. package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
  691. package/dist/vue/Sparkle.js +3 -0
  692. package/dist/vue/Sparkle.vue_vue_type_script_setup_true_lang.js +233 -0
  693. package/dist/vue/components/Sparkle.vue.d.ts +63 -0
  694. package/dist/vue/components/Sparkle.vue.d.ts.map +1 -0
  695. package/dist/vue/index.d.ts +4 -0
  696. package/dist/vue/index.d.ts.map +1 -1
  697. package/dist/vue/index.js +4 -2
  698. package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
  699. package/dist/vue/utils/generatePresetCode.js +35 -22
  700. package/package.json +27 -2
  701. package/dist/core/Irradiance-DtC4tqNu.js +0 -4191
  702. package/dist/core/LightEdge-BV9bO8YB.js +0 -2339
  703. package/dist/core/Repeater-DU_EhoxD.js +0 -762
  704. package/dist/core/Shatter-DYKKCVD8.js +0 -1479
  705. package/dist/core/Voxels-LEG0c9YC.js +0 -8547
  706. package/dist/core/agents-CdLlm-5E.js +0 -5357
  707. package/dist/core/agents-DZaZ4n9_.js +0 -15709
  708. package/dist/core/blur-CrEChFnm.js +0 -8015
  709. package/dist/core/blurs-D5a6ad3o.js +0 -1751
  710. package/dist/core/canvasRaster-DDBkrdY8.js +0 -80
  711. package/dist/core/color-CY5teMWa.js +0 -3619
  712. package/dist/core/compose-DNU_Ut36.js +0 -46
  713. package/dist/core/device-m0ud8-Fn.js +0 -10
  714. package/dist/core/feedback-yfT0pT6A.js +0 -46
  715. package/dist/core/fields-CXwmEUsd.js +0 -475
  716. package/dist/core/figures-BRYcB-p2.js +0 -48
  717. package/dist/core/filter-BrhpSs3Z.js +0 -23
  718. package/dist/core/fluids-CBhAiGAx.js +0 -226
  719. package/dist/core/fonts-BUXTd9qb.js +0 -59
  720. package/dist/core/frames-Clw8-BpA.js +0 -78
  721. package/dist/core/glass-DIEus1UY.js +0 -2532
  722. package/dist/core/gradientPaints-Cx2bT20T.js +0 -6564
  723. package/dist/core/gradients-C15o7_xy.js +0 -159
  724. package/dist/core/grids-Cv99xcJg.js +0 -151
  725. package/dist/core/lens-ChO_HVpe.js +0 -352
  726. package/dist/core/light-Bba_Pie_.js +0 -271
  727. package/dist/core/lightfields-D120ZvMt.js +0 -2255
  728. package/dist/core/lower-DtoDQ7hV.js +0 -49452
  729. package/dist/core/mask-6rnSCir2.js +0 -28
  730. package/dist/core/materials-BjsiWqS0.js +0 -2944
  731. package/dist/core/math-7PlusTFx.js +0 -56
  732. package/dist/core/media-CgWmWvGq.js +0 -832
  733. package/dist/core/mediaLifecycle-BTPb5i1-.js +0 -320
  734. package/dist/core/motionBlur-DzaHMq9p.js +0 -6766
  735. package/dist/core/noise-G7a5U0ar.js +0 -546
  736. package/dist/core/noisePaints-B_axPpuv.js +0 -3619
  737. package/dist/core/noiseStylize-CUrW_HiC.js +0 -65
  738. package/dist/core/overlay-W4DAsSzP.js +0 -4712
  739. package/dist/core/patterns-RTt6Fek8.js +0 -9723
  740. package/dist/core/pointerFields-Ch_-cbCV.js +0 -2339
  741. package/dist/core/porters-CQwDd2t4.js +0 -30201
  742. package/dist/core/reveal-dbBiS7gE.js +0 -1688
  743. package/dist/core/sdf3d-BMqCSSPB.js +0 -21082
  744. package/dist/core/shaderRegistry-Bs0XOv9A.js +0 -443
  745. package/dist/core/shape-B2CoDi6l.js +0 -20
  746. package/dist/core/shapePaints-7HrXeLYX.js +0 -3354
  747. package/dist/core/signal-emJuvOI3.js +0 -34
  748. package/dist/core/slots-BqIef2iV.js +0 -32
  749. package/dist/core/stylize-CiN0ZaMu.js +0 -4541
  750. package/dist/core/tone-CsRho9qb.js +0 -763
  751. package/dist/core/warpMaps-Dbuleg2M.js +0 -10773
  752. package/dist/core/warps-gIr3RmZV.js +0 -276
  753. /package/dist/core/{transformations-CzFmhZww.js → transformations-P50Uo_Ju.js} +0 -0
package/LICENSE CHANGED
@@ -1,142 +1,21 @@
1
- Shader Effects License Agreement (v1.5)
2
-
3
- Effective Date: July 4, 2026
4
- Licensor: Shader Effects, Inc., a Delaware C-Corporation (“Shader Effects,” “we,” “us,” or “our”)
5
- Product: Shaders (including all npm packages, components, presets, generated code, and the design platform at shaders.com), together with our proprietary WebGPU rendering engine and all associated source code, algorithms, shader technology, and designs (collectively, the “Proprietary Technology”)
6
-
7
- 1. Acceptance
8
-
9
- By installing, using, or exporting code from Shaders, you (“Licensee”) agree to be bound by this License Agreement (“Agreement”). If you do not agree, you must not use or deploy Shaders or any of its components.
10
-
11
- 2. License Grant
12
-
13
- The Proprietary Technology is the exclusive intellectual property of Shader Effects, Inc. Subject to payment and compliance with this Agreement, Shader Effects grants you a limited, non-exclusive, non-transferable, worldwide license to use the Proprietary Technology, and to modify and integrate Shaders components and exported code in your own projects, according to the license plan purchased.
14
-
15
- Subscription License: You may use and deploy Shaders during your active subscription term. Upon cancellation or expiration, you may continue deploying any version released during your active term indefinitely, but you may not deploy or upgrade to newer versions until the license is renewed.
16
-
17
- Lifetime License: You may deploy all versions of Shaders released during the lifetime of the company and while the npm registry continues to host the licensed packages. Shader Effects makes no guarantee of ongoing updates, support, or compatibility beyond reasonable efforts to maintain them.
18
-
19
- Shaders is free to use for personal, non-commercial, and evaluation purposes. Commercial and production use — including client work, SaaS products, internal tools, and any public-facing deployment — requires an active Pro or Team license. A Pro license also unlocks additional features such as code export, Pro presets, priority support, and more.
20
-
21
- 3. License Tiers and Benefits
22
-
23
- Free Tier — Limitations:
24
-
25
- You may use the Proprietary Technology for non-commercial, personal projects, prototypes, and evaluation only.
26
-
27
- You may access the design editor, basic presets, and install the npm package to experiment with Shaders components.
28
-
29
- You may not use the Proprietary Technology, or any content or code produced with it, in a commercial or production context, including client work, SaaS products, internal tools, or any public-facing deployment.
30
-
31
- You may not sell, license, or redistribute content or code created with Shaders.
32
-
33
- You may not modify, decompile, reverse engineer, or attempt to extract the source code of the Proprietary Technology, except to the extent such restriction is prohibited by applicable law.
34
-
35
- Pro / Team Tier — Commercial License:
36
-
37
- You may use the Proprietary Technology for commercial purposes, including client work, SaaS products, and any public-facing deployment.
38
-
39
- You unlock code export, giving you clean, production-ready component code for Vue, React, Svelte, and other supported frameworks directly from the design editor.
40
-
41
- You gain access to Pro Presets, an exclusive library of premium, hand-crafted presets not available to free users.
42
-
43
- You receive a special role in the official Shaders Discord community with access to Pro-only channels.
44
-
45
- You receive priority support: prioritized assistance with technical questions and implementation guidance. Support is limited to answering questions about Shaders usage and troubleshooting. Direct code implementation, extended consulting, and hands-on project work require a separate support contract and may be available upon request for an additional fee.
46
-
47
- You may not resell or redistribute the Proprietary Technology itself, or provide direct access to it (including source code, build artifacts, or internal APIs) to any third party outside your organization.
48
-
49
- You may not create or power a competing tool, library, or service based on the Proprietary Technology.
50
-
51
- Pro benefits are tied to an active subscription. Upon expiration, access to Pro features (including code export and Pro presets) will be restricted, though previously exported code remains licensed per the terms in section 2.
52
-
53
- Any use beyond the permissions described above requires explicit written consent from Shader Effects, Inc.
54
-
55
- 4. Prohibited Uses
56
-
57
- You may not:
58
-
59
- Resell, sublicense, distribute, or repackage Shaders or its components as standalone items.
60
-
61
- Use Shaders to create or power a competing tool, library, or service (including design editors, component libraries, visual-effect builders, or shader packs).
62
-
63
- Redistribute Shaders presets (including modified versions of presets from the library) as downloadable files, preset libraries, or code packages. Using presets in your projects (including public websites and applications) is permitted; this restriction applies only to redistribution of the presets themselves.
64
-
65
- Modify or remove any copyright, trademark, or attribution notice (including “Powered by Shaders” references) contained within the code.
66
-
67
- Alter or circumvent license validation or metadata features.
68
-
69
- Publish or share exported Shaders code or presets publicly as a library or downloadable package.
70
-
71
- Use Shaders technology in SaaS products, design tools, or developer frameworks without a separate written OEM or partnership agreement with Shader Effects, Inc.
72
-
73
- Modify, decompile, reverse engineer, or attempt to extract the source code of the Proprietary Technology, except to the extent such restriction is prohibited by applicable law.
74
-
75
- Provide direct access to the Proprietary Technology (including source code, build artifacts, or internal APIs) to any third party outside your organization.
76
-
77
- Official open-source projects may use Shaders without a license key only for their promotional or documentation websites, provided Shaders is not a core or monetized part of the project.
78
-
79
- 5. Telemetry and Privacy
80
-
81
- Shaders may automatically collect and transmit limited, anonymous performance and usage data to Shader Effects' servers and third-party analytics services for the purposes of improving performance, reliability, and understanding how the library is used in production environments.
82
-
83
- Data Collected:
84
- - Performance metrics (frame rate, render times, component usage)
85
- - Domain name where Shaders is deployed (e.g., "example.com", without URL paths)
86
- - Browser family (e.g., Chrome, Firefox, Safari)
87
- - Device type (mobile, tablet, or desktop)
88
- - Renderer type (WebGPU)
89
-
90
- This data does not include personal information, IP addresses, user identifiers, or any data that can identify individual end users. Telemetry is sampled at a low rate (typically 1-5% of sessions) and respects Do Not Track browser settings.
91
-
92
- Opt-Out:
93
- You may disable telemetry collection entirely by setting the `disableTelemetry` prop on the Shader component or by configuring your environment to respect user privacy preferences. Even when enabled, telemetry will not collect data from users with Do Not Track enabled in their browser.
94
-
95
- By using Shaders, you acknowledge and consent to this limited data collection solely for these operational purposes.
96
-
97
- 6. Right to Promote Usage
98
-
99
- Shader Effects reserves the right to publicly identify and promote organizations, products, or websites that use Shaders in production environments, provided no confidential information is disclosed and the representation is factual.
100
-
101
- Licensees may request in writing to opt out of promotional use of their name or logo, and Shader Effects will honor such requests within a reasonable timeframe.
102
-
103
- 7. Intellectual Property
104
-
105
- All rights, title, and interest in Shaders and the Proprietary Technology—including but not limited to source code, algorithms, the rendering engine, design assets, presets, shaders, and trademarks—remain the exclusive property of Shader Effects, Inc.
106
- Licensees retain ownership of their implementation and integration code, but such work is considered derivative and remains subject to this Agreement.
107
-
108
- No ownership or IP rights are transferred under this Agreement. You may not claim or register any intellectual property derived from Shaders or the Proprietary Technology.
109
-
110
- 8. License Compliance and Revocation
111
-
112
- Shader Effects reserves the right to audit compliance and revoke, suspend, or deactivate licenses upon evidence of misuse, redistribution, or breach of this Agreement. Upon termination, you must immediately stop deploying or distributing Shaders in any production environment.
113
-
114
- 9. Disclaimer of Warranties
115
-
116
- SHADERS AND ALL ASSOCIATED COMPONENTS ARE PROVIDED “AS IS,” WITHOUT ANY WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR CONTINUOUS AVAILABILITY.
117
-
118
- Shader Effects makes no guarantee of uninterrupted access to npm packages, shaders.com, or hosted resources, and assumes no responsibility for maintaining historical versions beyond reasonable efforts.
119
-
120
- 10. Limitation of Liability
121
-
122
- TO THE MAXIMUM EXTENT PERMITTED BY LAW, SHADER EFFECTS, INC. SHALL NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS, DATA, BUSINESS INTERRUPTION, OR DAMAGES ARISING FROM THE USE OR INABILITY TO USE SHADERS.
123
-
124
- Shader Effects’ total liability under this Agreement shall not exceed the total fees paid by Licensee for the applicable license.
125
-
126
- 11. Governing Law and Venue
127
-
128
- This Agreement shall be governed by and construed in accordance with the laws of the State of Delaware and, where applicable, the State of Florida, without regard to conflict of law principles.
129
- Any dispute arising from or relating to this Agreement shall be resolved exclusively in the state or federal courts located in either Delaware or Florida, and each party irrevocably consents to the jurisdiction of those courts.
130
-
131
- 12. Entire Agreement
132
-
133
- This Agreement constitutes the entire understanding between Licensee and Shader Effects, Inc. regarding the use of Shaders and supersedes all prior agreements or understandings. Shader Effects reserves the right to update this Agreement, and continued use of Shaders constitutes acceptance of the latest version.
134
-
135
- 13. Contact
136
-
137
- Shader Effects, Inc.
138
- https://shaders.com
139
-
140
- Email: legal@shaders.com
141
-
142
- By using Shaders, you acknowledge that you have read, understood, and agree to be bound by the terms of this License Agreement.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Shader Effects Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,33 +1,206 @@
1
- # Shaders
2
-
3
- <img alt="image" src="https://shaders.com/og.jpg" />
1
+ <h1 align="center">Shaders</h1>
2
+ <h3 align="center">
3
+ WebGPU effects as components<br />for React, Vue, Svelte, Solid and JavaScript
4
+ </h3>
4
5
 
5
6
  <p align="center">
6
- <a href="https://www.npmjs.com/package/shaders" rel="noopener noreferrer nofollow" ><img src="https://img.shields.io/npm/v/shaders?color=0368FF&label=version" alt="npm version"></a>
7
- <a href="https://www.npmjs.com/package/shaders" rel="noopener noreferrer nofollow" ><img src="https://img.shields.io/npm/dm/shaders?color=8D30FF&label=npm" alt="npm downloads per month"></a>
7
+ <a href="https://www.npmjs.com/package/shaders" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/npm/v/shaders?color=0368FF&label=version" alt="npm version"></a>
8
+ <a href="https://www.npmjs.com/package/shaders" rel="noopener noreferrer nofollow"><img src="https://img.shields.io/npm/dm/shaders?color=8D30FF&label=npm" alt="npm downloads per month"></a>
8
9
  <a target="_blank" rel="noopener noreferrer nofollow" href="https://www.jsdelivr.com/package/npm/shaders"><img alt="jsDelivr hits (npm)" src="https://img.shields.io/jsdelivr/npm/hm/shaders?logo=jsdeliver&color=FF4FBA"></a>
9
- <a href="https://twitter.com/intent/user?screen_name=npm_i_shaders" target="_blank"><img alt="X (formerly Twitter) Follow" src="https://img.shields.io/twitter/follow/npm_i_shaders"></a>
10
+ <img alt="NPM License" src="https://img.shields.io/npm/l/shaders?color=FF2B6E">
10
11
  </p>
11
12
 
12
- ## The design platform for web shaders
13
+ <a href="https://shaders.com"><img alt="Shaders" src="https://shaders.com/og.jpg" /></a>
13
14
 
14
- Shaders is the design platform for creating production-ready WebGPU effects, used by over 10,000 design engineers. Design visually on an infinite canvas at [shaders.com](https://shaders.com), then ship your work as declarative components for Vue / Nuxt, React / Next, Svelte, Solid, or vanilla JS — all from this single package.
15
+ ```bash
16
+ npm install shaders
17
+ ```
15
18
 
16
- ### What's in v3
19
+ ## Table of Contents
17
20
 
18
- - **A redesigned visual editor** — design entire projects side by side on an infinite canvas, with familiar transform controls and instant feedback, then export clean framework components ready for production.
19
- - **A new proprietary rendering engine, built on TypeGPU** — fine-tuned for modern WebGPU, with production bundles averaging 3× smaller and in-browser shader compilation up to 25× faster.
20
- - **A huge component library** — gradients, distortions, materials, lighting, post-processing, and raymarched **3D shape effects** (spheres, boxes, procedural forms, even extruded SVGs), plus **text layers**. Compose them by nesting components, with blend modes, masking, and opacity at every level.
21
+ 1. [Why Shaders?](#why-shaders)
22
+ 2. [🧩 Components](#-components)
23
+ 3. [🎨 Design visually, export code](#-design-visually-export-code)
24
+ 4. [⌨️ CLI](#-cli)
25
+ 5. [🤖 Using Shaders with AI](#-using-shaders-with-ai)
26
+ 6. [⚡️ Shaders Pro](#-shaders-pro)
27
+ 7. [🧪 Build your own component](#-build-your-own-component)
28
+ 8. [👩🏻‍⚖️ License](#-license)
29
+ 9. [💎 Contribute](#-contribute)
21
30
 
22
- **Try it at [shaders.com](https://shaders.com), or watch [video tutorials](https://shaders.com/resources)** — and join the community on [Discord](https://discord.gg/Mfqmb2jCQT).
31
+ ## Why Shaders?
23
32
 
24
- ---
33
+ - **Real WebGPU, declarative API:** 200+ effects you drop in as components. Gradients, noise, glass, metal, light, distortions, transitions, blurs, cursor effects. Nest them, blend them, mask them.
34
+ - **A design editor that writes your code:** design on an infinite canvas at [shaders.com](https://shaders.com), then export the exact component tree for your framework. Free.
35
+ - **Every framework, one package:** first-class React, Vue, Svelte, Solid and JavaScript entries, with the same props everywhere.
36
+ - **Production-ready:** TypeScript, extensively optimized, typed props with reactive updates, SSR safe. Used on thousands of websites by 16,000+ design engineers.
25
37
 
26
- Shaders © Shader Effects, Inc.
38
+ ## 🧩 Components
39
+
40
+ Every effect is a component. `<Shader>` renders the canvas; its children are layers, evaluated top to bottom and blended on the GPU.
41
+
42
+ ### React
43
+
44
+ ```jsx
45
+ import { Shader, LinearGradient, CursorTrail } from 'shaders/react'
46
+
47
+ <Shader className="w-full h-64">
48
+ <LinearGradient colorA="#0f172a" colorB="#7c3aed" />
49
+ <CursorTrail />
50
+ </Shader>
51
+ ```
52
+
53
+ Get started with [Shaders for React](https://shaders.com/react).
54
+
55
+ ### Vue
56
+
57
+ ```html
58
+ <script setup>
59
+ import { Shader, LinearGradient, CursorTrail } from 'shaders/vue'
60
+ </script>
61
+
62
+ <template>
63
+ <Shader class="w-full h-64">
64
+ <LinearGradient colorA="#0f172a" colorB="#7c3aed" />
65
+ <CursorTrail />
66
+ </Shader>
67
+ </template>
68
+ ```
69
+
70
+ Get started with [Shaders for Vue](https://shaders.com/vue).
71
+
72
+ ### Svelte
73
+
74
+ ```svelte
75
+ <script>
76
+ import { Shader, LinearGradient, CursorTrail } from 'shaders/svelte'
77
+ </script>
78
+
79
+ <Shader class="w-full h-64">
80
+ <LinearGradient colorA="#0f172a" colorB="#7c3aed" />
81
+ <CursorTrail />
82
+ </Shader>
83
+ ```
84
+
85
+ Get started with [Shaders for Svelte](https://shaders.com/svelte).
86
+
87
+ ### Solid
88
+
89
+ ```tsx
90
+ import { Shader, LinearGradient, CursorTrail } from 'shaders/solid'
91
+
92
+ <Shader class="w-full h-64">
93
+ <LinearGradient colorA="#0f172a" colorB="#7c3aed" />
94
+ <CursorTrail />
95
+ </Shader>
96
+ ```
97
+
98
+ Get started with [Shaders for Solid](https://shaders.com/solid).
99
+
100
+ ### JavaScript
101
+
102
+ ```javascript
103
+ import { createShader } from 'shaders/js'
104
+
105
+ await createShader(document.getElementById('my-shader'), {
106
+ components: [
107
+ { type: 'LinearGradient', props: { colorA: '#0f172a', colorB: '#7c3aed' } },
108
+ { type: 'CursorTrail' },
109
+ ],
110
+ })
111
+ ```
112
+
113
+ Get started with [Shaders for JavaScript](https://shaders.com/javascript).
114
+
115
+ Browse all [200+ components](https://shaders.com/docs/components), each with a live preview and every prop documented.
116
+
117
+ ## 🎨 Design visually, export code
118
+
119
+ Most people don't write their effects by hand. They design them.
120
+
121
+ The [design editor](https://shaders.com/design-editor) at shaders.com is an infinite canvas where you stack components, tune every prop with real controls, drive props from the cursor or a timeline, and see the result live. When it looks right, **Export Code** gives you the component tree in your framework, ready to paste.
27
122
 
28
- Licensed under the [Shader Effects License Agreement](https://shaders.com/license).
123
+ Design and export are free with an account. Your work is saved as projects you can come back to.
29
124
 
30
- - **Free** for personal, non-commercial, and evaluation use — experiment with the design editor and the npm package.
31
- - **Commercial use requires an active Pro or Team license.** This includes client work, SaaS products, internal tools, and any public-facing deployment. Pro also unlocks code export, Pro presets, and priority support.
125
+ [Open the design editor](https://shaders.com/design-editor)
32
126
 
33
- Redistributing or repackaging Shaders, its presets, or exported code as standalone libraries or downloadable packages is not permitted — nor is building competing tools or services on the technology, embedding it in SaaS or developer tools without an OEM agreement, removing attribution, circumventing license validation, or reverse engineering. See the [full license](https://shaders.com/license) (Sections 3–4) for complete terms.
127
+ ## ⌨️ CLI
128
+
129
+ The CLI connects a codebase to your Shaders account, so the effects you design land in your project as real component files and stay in sync.
130
+
131
+ ```bash
132
+ npx shaders connect # link this codebase to a Shaders project
133
+ npx shaders install # pick shaders from that project; writes component files
134
+ npx shaders update # pull in what you changed in the editor
135
+ ```
136
+
137
+ It detects your framework, writes to your components folder, and records what it installed in a lock file. Nothing to install globally.
138
+
139
+ Read the [CLI guide](https://shaders.com/docs/guide/cli).
140
+
141
+ ## 🤖 Using Shaders with AI
142
+
143
+ Give your coding agent the same tools you have:
144
+
145
+ - **MCP server:** `npx shaders@latest install-mcp` configures Claude Code, Cursor, Codex, Windsurf, Copilot and others. Your agent can find, install and edit the shaders you design. Works on any account, free included. [MCP guide](https://shaders.com/docs/guide/mcp).
146
+ - **llms.txt:** [shaders.com/llms.txt](https://shaders.com/llms.txt) indexes every docs page, and [shaders.com/llms-full.txt](https://shaders.com/llms-full.txt) carries the full component reference with props, defaults and ranges.
147
+
148
+ ## ⚡️ Shaders Pro
149
+
150
+ Everything above is free. [Pro](https://shaders.com/pricing) adds the library and the workflow around it:
151
+
152
+ - **1,000+ production-ready presets**, organised into collections
153
+ - **55+ website sections**, complete and ready to drop in
154
+ - **HD video and image rendering** without a watermark
155
+ - **One-click install inside Framer** with the [Framer plugin](https://shaders.com/framer)
156
+ - **Unlimited version history** in the editor
157
+ - **Pro presets through the CLI and MCP**
158
+ - **Exclusive Discord role and channel**, priority support, all future updates
159
+
160
+ [See pricing](https://shaders.com/pricing)
161
+
162
+ ## 🧪 Build your own component
163
+
164
+ If you need a brand new component, you can write one. A component is a plain object passed to `defineShader`: a name, its props, and what to draw at each pixel. Mount it with `<CustomShader>` like any other component.
165
+
166
+ ```ts
167
+ import { defineShader, wgsl, transformColor, transformPosition } from 'shaders/std'
168
+
169
+ export const Halo = defineShader({
170
+ name: 'Halo',
171
+ props: {
172
+ color: { default: '#ffd166', transform: transformColor },
173
+ center: { default: { x: 0.5, y: 0.5 }, transform: transformPosition },
174
+ radius: { default: 0.6 },
175
+ },
176
+ paint: wgsl`
177
+ let d = length((uv - center) * vec2f(aspect, 1.0)) / radius;
178
+ return vec4f(color.rgb, 1.0 - smoothstep(0.8, 1.0, d));
179
+ `,
180
+ })
181
+ ```
182
+
183
+ The guide covers both ways to write the pixel part: composing it from the std primitives (experimental) or writing WGSL directly (stable). [Custom Components](https://shaders.com/docs/guide/custom-shaders) · [Primitives reference](https://shaders.com/docs/primitives)
184
+
185
+ ## 👩🏻‍⚖️ License
186
+
187
+ - The engine, every component and the framework bindings in this repository and the `shaders` npm package are [MIT licensed](./LICENSE).
188
+ - The design editor, presets, sections and other platform features at shaders.com are separate from this package and have their own [terms](https://shaders.com/license).
189
+
190
+ ## 💎 Contribute
191
+
192
+ Issues and pull requests are welcome. View the [contributing guide](./CONTRIBUTING.md) before starting, and for anything more than a bug fix, open an issue to discuss it before the PR.
193
+
194
+ The engine lives in `packages/core`, with one folder per component under `src/shaders/`. The framework packages are generated from it.
195
+
196
+ ```bash
197
+ pnpm install
198
+ pnpm lib:build # build every package (regenerates the registry and framework components)
199
+ pnpm test # the engine's test suite
200
+ ```
201
+
202
+ Say hello on [Discord](https://discord.gg/Mfqmb2jCQT).
203
+
204
+ ---
205
+
206
+ Shaders © Shader Effects, Inc.
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- /* shaders@3.2.475 CLI — npx shaders connect | install-mcp. https://shaders.com */
2
+ /* shaders@4.0.0 CLI — npx shaders connect | install-mcp. https://shaders.com */
3
3
  import { createRequire as __cliCreateRequire } from "module";
4
4
  const require = __cliCreateRequire(import.meta.url);
5
5
  var _D=Object.create;var zr=Object.defineProperty;var SD=Object.getOwnPropertyDescriptor;var TD=Object.getOwnPropertyNames;var $D=Object.getPrototypeOf,kD=Object.prototype.hasOwnProperty;var OD=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Yu=(e,t)=>()=>(e&&(t=e(e=0)),t);var z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),RD=(e,t)=>{for(var r in t)zr(e,r,{get:t[r],enumerable:!0})},ID=(e,t,r,u)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of TD(t))!kD.call(e,i)&&i!==r&&zr(e,i,{get:()=>t[i],enumerable:!(u=SD(t,i))||u.enumerable});return e};var Nt=(e,t,r)=>(r=e!=null?_D($D(e)):{},ID(t||!e||!e.__esModule?zr(r,"default",{value:e,enumerable:!0}):r,e));var wi={};RD(wi,{kCancel:()=>yi,prompt:()=>Ai});import ie,{stdin as tl,stdout as rl}from"node:process";import ri from"node:readline";import{WriteStream as nl}from"node:tty";function ul(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function il(){if(ni)return rn;ni=1;let e="\x1B",t=`${e}[`,r="\x07",u={to(n,o){return o?`${t}${o+1};${n+1}H`:`${t}${n+1}G`},move(n,o){let a="";return n<0?a+=`${t}${-n}D`:n>0&&(a+=`${t}${n}C`),o<0?a+=`${t}${-o}A`:o>0&&(a+=`${t}${o}B`),a},up:(n=1)=>`${t}${n}A`,down:(n=1)=>`${t}${n}B`,forward:(n=1)=>`${t}${n}C`,backward:(n=1)=>`${t}${n}D`,nextLine:(n=1)=>`${t}E`.repeat(n),prevLine:(n=1)=>`${t}F`.repeat(n),left:`${t}G`,hide:`${t}?25l`,show:`${t}?25h`,save:`${e}7`,restore:`${e}8`},i={up:(n=1)=>`${t}S`.repeat(n),down:(n=1)=>`${t}T`.repeat(n)},s={screen:`${t}2J`,up:(n=1)=>`${t}1J`.repeat(n),down:(n=1)=>`${t}J`.repeat(n),line:`${t}2K`,lineEnd:`${t}K`,lineStart:`${t}1K`,lines(n){let o="";for(let a=0;a<n;a++)o+=this.line+(a<n-1?u.up():"");return n&&(o+=u.left),o}};return rn={cursor:u,scroll:i,erase:s,beep:r},rn}function sl(){if(ui)return jt.exports;ui=1;let e=process||{},t=e.argv||[],r=e.env||{},u=!(r.NO_COLOR||t.includes("--no-color"))&&(!!r.FORCE_COLOR||t.includes("--color")||e.platform==="win32"||(e.stdout||{}).isTTY&&r.TERM!=="dumb"||!!r.CI),i=(o,a,D=o)=>c=>{let l=""+c,h=l.indexOf(a,o.length);return~h?o+s(l,a,D,h)+a:o+l+a},s=(o,a,D,c)=>{let l="",h=0;do l+=o.substring(h,c)+D,h=c+a.length,c=o.indexOf(a,h);while(~c);return l+o.substring(h)},n=(o=u)=>{let a=o?i:()=>String;return{isColorSupported:o,reset:a("\x1B[0m","\x1B[0m"),bold:a("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:a("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:a("\x1B[3m","\x1B[23m"),underline:a("\x1B[4m","\x1B[24m"),inverse:a("\x1B[7m","\x1B[27m"),hidden:a("\x1B[8m","\x1B[28m"),strikethrough:a("\x1B[9m","\x1B[29m"),black:a("\x1B[30m","\x1B[39m"),red:a("\x1B[31m","\x1B[39m"),green:a("\x1B[32m","\x1B[39m"),yellow:a("\x1B[33m","\x1B[39m"),blue:a("\x1B[34m","\x1B[39m"),magenta:a("\x1B[35m","\x1B[39m"),cyan:a("\x1B[36m","\x1B[39m"),white:a("\x1B[37m","\x1B[39m"),gray:a("\x1B[90m","\x1B[39m"),bgBlack:a("\x1B[40m","\x1B[49m"),bgRed:a("\x1B[41m","\x1B[49m"),bgGreen:a("\x1B[42m","\x1B[49m"),bgYellow:a("\x1B[43m","\x1B[49m"),bgBlue:a("\x1B[44m","\x1B[49m"),bgMagenta:a("\x1B[45m","\x1B[49m"),bgCyan:a("\x1B[46m","\x1B[49m"),bgWhite:a("\x1B[47m","\x1B[49m"),blackBright:a("\x1B[90m","\x1B[39m"),redBright:a("\x1B[91m","\x1B[39m"),greenBright:a("\x1B[92m","\x1B[39m"),yellowBright:a("\x1B[93m","\x1B[39m"),blueBright:a("\x1B[94m","\x1B[39m"),magentaBright:a("\x1B[95m","\x1B[39m"),cyanBright:a("\x1B[96m","\x1B[39m"),whiteBright:a("\x1B[97m","\x1B[39m"),bgBlackBright:a("\x1B[100m","\x1B[49m"),bgRedBright:a("\x1B[101m","\x1B[49m"),bgGreenBright:a("\x1B[102m","\x1B[49m"),bgYellowBright:a("\x1B[103m","\x1B[49m"),bgBlueBright:a("\x1B[104m","\x1B[49m"),bgMagentaBright:a("\x1B[105m","\x1B[49m"),bgCyanBright:a("\x1B[106m","\x1B[49m"),bgWhiteBright:a("\x1B[107m","\x1B[49m")}};return jt.exports=n(),jt.exports.createColors=n,jt.exports}function al({onlyFirst:e=!1}={}){let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}function di(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Dl,"")}function Fi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function it(e,t={}){if(typeof e!="string"||e.length===0||(t={ambiguousIsNarrow:!0,...t},e=di(e),e.length===0))return 0;e=e.replace(fl()," ");let r=t.ambiguousIsNarrow?1:2,u=0;for(let i of e){let s=i.codePointAt(0);if(!(s<=31||s>=127&&s<=159||s>=768&&s<=879))switch(cl.eastAsianWidth(i)){case"F":case"W":u+=2;break;case"A":u+=r;break;default:u+=1}}return u}function Fl(){let e=new Map;for(let[t,r]of Object.entries(O)){for(let[u,i]of Object.entries(r))O[u]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[u]=O[u],e.set(i[0],i[1]);Object.defineProperty(O,t,{value:r,enumerable:!1})}return Object.defineProperty(O,"codes",{value:e,enumerable:!1}),O.color.close="\x1B[39m",O.bgColor.close="\x1B[49m",O.color.ansi=ii(),O.color.ansi256=si(),O.color.ansi16m=oi(),O.bgColor.ansi=ii(nn),O.bgColor.ansi256=si(nn),O.bgColor.ansi16m=oi(nn),Object.defineProperties(O,{rgbToAnsi256:{value:(t,r,u)=>t===r&&r===u?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:t=>{let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[u]=r;u.length===3&&(u=[...u].map(s=>s+s).join(""));let i=Number.parseInt(u,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:t=>O.rgbToAnsi256(...O.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value:t=>{if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,u,i;if(t>=232)r=((t-232)*10+8)/255,u=r,i=r;else{t-=16;let o=t%36;r=Math.floor(t/36)/5,u=Math.floor(o/6)/5,i=o%6/5}let s=Math.max(r,u,i)*2;if(s===0)return 30;let n=30+(Math.round(i)<<2|Math.round(u)<<1|Math.round(r));return s===2&&(n+=60),n},enumerable:!1},rgbToAnsi:{value:(t,r,u)=>O.ansi256ToAnsi(O.rgbToAnsi256(t,r,u)),enumerable:!1},hexToAnsi:{value:t=>O.ansi256ToAnsi(O.hexToAnsi256(t)),enumerable:!1}}),O}function li(e,t,r){return String(e).normalize().replace(/\r\n/g,`
@@ -229,4 +229,4 @@ General:
229
229
  Supported agents:
230
230
  ${It().join(", ")}
231
231
 
232
- Docs: ${Vu}`)}function zm(e){let t={global:!1,yes:!1,agents:[],auth:!0,install:!0,force:!1,all:!1},r,u=[],i=(s,n)=>{let o=e[n];return(!o||o.startsWith("-"))&&he(`Missing value for ${s}`),o};for(let s=0;s<e.length;s++){let n=e[s];switch(n){case"-g":case"--global":t.global=!0;break;case"-y":case"--yes":t.yes=!0;break;case"--no-auth":t.auth=!1;break;case"--no-install":t.install=!1;break;case"--force":t.force=!0;break;case"--all":t.all=!0;break;case"-a":case"--agent":t.agents.push(...i(n,++s).split(",").map(o=>o.trim()).filter(Boolean));break;case"-f":case"--framework":t.framework=i(n,++s);break;case"-p":case"--project":t.project=i(n,++s);break;case"-h":case"--help":xD(),process.exit(0);break;case"-v":case"--version":console.log("3.2.475"),process.exit(0);break;default:n.startsWith("-")&&he(`Unknown option: ${n} (see npx shaders --help)`),r?u.push(n):r=n}}return{command:r,args:u,flags:t}}async function qm(){let{me:e}=await ge();m.success(`Signed in to ${te()}${e.email?` as ${e.email}`:""}`)}async function Jm(){let e=await Ni();m.success(e?"Signed out \u2014 stored credentials removed":"No stored credentials found")}async function Zm(){let{command:e,args:t,flags:r}=zm(process.argv.slice(2)),u=()=>{t.length&&he(`Unexpected argument: ${t[0]}`)};switch(e){case"connect":case"init":u(),await or(r);break;case"install":case"i":await Hs(t,r);break;case"open":u(),await Us();break;case"update":await Ws(t,r);break;case"login":u(),await qm();break;case"logout":u(),await Jm();break;case"install-mcp":u(),await wD(r);break;case"uninstall-mcp":u(),await bD(r);break;case void 0:case"help":xD();break;default:he(`Unknown command "${e}" (see npx shaders --help)`)}}Zm().catch(e=>{he(e instanceof Error?e.message:String(e))});
232
+ Docs: ${Vu}`)}function zm(e){let t={global:!1,yes:!1,agents:[],auth:!0,install:!0,force:!1,all:!1},r,u=[],i=(s,n)=>{let o=e[n];return(!o||o.startsWith("-"))&&he(`Missing value for ${s}`),o};for(let s=0;s<e.length;s++){let n=e[s];switch(n){case"-g":case"--global":t.global=!0;break;case"-y":case"--yes":t.yes=!0;break;case"--no-auth":t.auth=!1;break;case"--no-install":t.install=!1;break;case"--force":t.force=!0;break;case"--all":t.all=!0;break;case"-a":case"--agent":t.agents.push(...i(n,++s).split(",").map(o=>o.trim()).filter(Boolean));break;case"-f":case"--framework":t.framework=i(n,++s);break;case"-p":case"--project":t.project=i(n,++s);break;case"-h":case"--help":xD(),process.exit(0);break;case"-v":case"--version":console.log("4.0.0"),process.exit(0);break;default:n.startsWith("-")&&he(`Unknown option: ${n} (see npx shaders --help)`),r?u.push(n):r=n}}return{command:r,args:u,flags:t}}async function qm(){let{me:e}=await ge();m.success(`Signed in to ${te()}${e.email?` as ${e.email}`:""}`)}async function Jm(){let e=await Ni();m.success(e?"Signed out \u2014 stored credentials removed":"No stored credentials found")}async function Zm(){let{command:e,args:t,flags:r}=zm(process.argv.slice(2)),u=()=>{t.length&&he(`Unexpected argument: ${t[0]}`)};switch(e){case"connect":case"init":u(),await or(r);break;case"install":case"i":await Hs(t,r);break;case"open":u(),await Us();break;case"update":await Ws(t,r);break;case"login":u(),await qm();break;case"logout":u(),await Jm();break;case"install-mcp":u(),await wD(r);break;case"uninstall-mcp":u(),await bD(r);break;case void 0:case"help":xD();break;default:he(`Unknown command "${e}" (see npx shaders --help)`)}}Zm().catch(e=>{he(e instanceof Error?e.message:String(e))});
@@ -1,6 +1,5 @@
1
- import { c as p, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { c as transformPosition } from "./transformations-CzFmhZww.js";
3
- import { C as motionBlur, i as blurPath } from "./blurs-D5a6ad3o.js";
1
+ import { Ac as defineStd, Kt as blurPath, Ml as p, fn as motionBlur } from "./std-ClftfWpF.js";
2
+ import { c as transformPosition } from "./transformations-P50Uo_Ju.js";
4
3
  const componentDefinition = defineStd({
5
4
  name: "AngularBlur",
6
5
  role: "filter",
@@ -1,6 +1,4 @@
1
- import { t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { w as mul } from "./math-7PlusTFx.js";
3
- import { n as arc, t as APERTURE_TO_HALF_ANGLE } from "./shape-B2CoDi6l.js";
1
+ import { Ac as defineStd, dc as mul, ns as arc, ts as APERTURE_TO_HALF_ANGLE } from "./std-ClftfWpF.js";
4
2
  const componentDefinition = defineStd({
5
3
  role: "shape",
6
4
  name: "Arc",
@@ -1,8 +1,5 @@
1
- import { c as p, qr as f32, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { a as glyphFor, i as charGrid, n as cellSample, o as glyphTint } from "./stylize-CiN0ZaMu.js";
3
- import { t as createSwappableMediaTexture } from "./mediaLifecycle-BTPb5i1-.js";
4
- import { n as createFontDependentRaster, r as createRasterInvalidator, t as createCanvasRasterTarget } from "./canvasRaster-DDBkrdY8.js";
5
- import { i as transformBoolean } from "./transformations-CzFmhZww.js";
1
+ import { $f as f32, Ac as defineStd, B as charGrid, H as glyphTint, Ml as p, R as cellSample, V as glyphFor, _d as createFontDependentRaster, gd as createCanvasRasterTarget, vd as createRasterInvalidator, yd as createSwappableMediaTexture } from "./std-ClftfWpF.js";
2
+ import { i as transformBoolean } from "./transformations-P50Uo_Ju.js";
6
3
  var ATLAS_TEXTURE_SIZE = 2048;
7
4
  var GOOGLE_FONTS_MAP = {
8
5
  "JetBrains Mono": "JetBrains+Mono",
@@ -1,14 +1,5 @@
1
- import { c as p, o as uniformOf, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { t as animatedTime } from "./porters-CQwDd2t4.js";
3
- import { Z as volumeNoiseAt } from "./materials-BjsiWqS0.js";
4
- import { t as colorLadder3 } from "./fields-CXwmEUsd.js";
5
- import { k as wavyLine } from "./noise-G7a5U0ar.js";
6
- import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CzFmhZww.js";
7
- import { C as mix, D as pow, H as vec4, I as splat3, P as smoothstep, V as vec3, c as exp, g as hashPhase, i as clamp, n as add, o as div, w as mul, x as max, y as local, z as sub } from "./math-7PlusTFx.js";
8
- import { i as softBand } from "./mask-6rnSCir2.js";
9
- import { s as surfaceOf } from "./frames-Clw8-BpA.js";
10
- import { w as rayBands } from "./light-Bba_Pie_.js";
11
- import { r as layered } from "./compose-DNU_Ut36.js";
1
+ import { Ac as defineStd, Al as uniformOf, Dc as vec3, Dr as layered, Fa as rayBands, Gs as clamp, Ic as animatedTime, Is as softBand, Ml as p, Oc as vec4, Oo as colorLadder3, Sc as splat3, Tc as sub, Ws as add, Ys as exp, bc as smoothstep, ca as wavyLine, cc as max, dc as mul, dr as surfaceOf, ji as volumeNoiseAt, mc as pow, oc as local, qs as div, rc as hashPhase, uc as mix } from "./std-ClftfWpF.js";
2
+ import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
12
3
  var ARC_WAVES = [
13
4
  {
14
5
  freq: .7,
@@ -1,6 +1,5 @@
1
- import { c as p, t as defineStd, u as edgesPropConfig } from "./lower-DtoDQ7hV.js";
2
- import { r as transformAngle } from "./transformations-CzFmhZww.js";
3
- import { t as barOffset } from "./warps-gIr3RmZV.js";
1
+ import { Ac as defineStd, Ml as p, Pl as edgesPropConfig, Rn as barOffset } from "./std-ClftfWpF.js";
2
+ import { r as transformAngle } from "./transformations-P50Uo_Ju.js";
4
3
  const componentDefinition = defineStd({
5
4
  name: "BarShift",
6
5
  role: "warp",
@@ -1,6 +1,5 @@
1
- import { c as p, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { n as reveal, t as coverage } from "./reveal-dbBiS7gE.js";
3
- import { i as transformBoolean } from "./transformations-CzFmhZww.js";
1
+ import { Ac as defineStd, Ml as p, X as reveal, Y as coverage } from "./std-ClftfWpF.js";
2
+ import { i as transformBoolean } from "./transformations-P50Uo_Ju.js";
4
3
  const componentDefinition = defineStd({
5
4
  name: "BarnDoors",
6
5
  role: "filter",
@@ -1,6 +1,5 @@
1
- import { c as p, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CzFmhZww.js";
3
- import { n as beamPreconvertedFields, t as beam } from "./gradients-C15o7_xy.js";
1
+ import { Ac as defineStd, Co as beamPreconvertedFields, Ml as p, So as beam } from "./std-ClftfWpF.js";
2
+ import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
4
3
  const componentDefinition = defineStd({
5
4
  name: "Beam",
6
5
  role: "generator",
@@ -1,5 +1,4 @@
1
- import { c as p, t as defineStd, u as edgesPropConfig } from "./lower-DtoDQ7hV.js";
2
- import { n as bend } from "./warps-gIr3RmZV.js";
1
+ import { Ac as defineStd, Ml as p, Pl as edgesPropConfig, zn as bend } from "./std-ClftfWpF.js";
3
2
  const componentDefinition = defineStd({
4
3
  name: "Bend",
5
4
  role: "warp",
@@ -1,13 +1,5 @@
1
- import { a as resolveScalar, c as p, o as uniformOf, qr as f32, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { t as animatedTime, vt as colorStopsPropConfig } from "./porters-CQwDd2t4.js";
3
- import { b as stops } from "./fields-CXwmEUsd.js";
4
- import { O as waves } from "./noise-G7a5U0ar.js";
5
- import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CzFmhZww.js";
6
- import { H as vec4, P as smoothstep, V as vec3, n as add, w as mul, y as local } from "./math-7PlusTFx.js";
7
- import { a as softDisc } from "./mask-6rnSCir2.js";
8
- import { n as driveUnitDirection } from "./signal-emJuvOI3.js";
9
- import { i as rawSurfaceOf, t as centredFrame } from "./frames-Clw8-BpA.js";
10
- import { D as shine, c as domeNormal } from "./light-Bba_Pie_.js";
1
+ import { $f as f32, Ac as defineStd, Al as uniformOf, Dc as vec3, Ic as animatedTime, Ls as softDisc, Ml as p, Oc as vec4, Ra as shine, Ts as driveUnitDirection, Ws as add, bc as smoothstep, cr as rawSurfaceOf, dc as mul, ir as centredFrame, kl as resolveScalar, oc as local, ou as colorStopsPropConfig, qo as stops, sa as waves, va as domeNormal } from "./std-ClftfWpF.js";
2
+ import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
11
3
  var WOBBLE = [
12
4
  {
13
5
  amount: .15,
@@ -1,6 +1,5 @@
1
- import { c as p, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { n as reveal, t as coverage } from "./reveal-dbBiS7gE.js";
3
- import { i as transformBoolean } from "./transformations-CzFmhZww.js";
1
+ import { Ac as defineStd, Ml as p, X as reveal, Y as coverage } from "./std-ClftfWpF.js";
2
+ import { i as transformBoolean } from "./transformations-P50Uo_Ju.js";
4
3
  const componentDefinition = defineStd({
5
4
  name: "BlockDissolve",
6
5
  role: "filter",
@@ -1,7 +1,5 @@
1
- import { c as p, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { b as stops, c as noiseField, f as rampOver } from "./fields-CXwmEUsd.js";
3
- import { l as evolving, m as noiseTone, x as seededPlane } from "./noise-G7a5U0ar.js";
4
- import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-_P7nIu_L.js";
1
+ import { Ac as defineStd, Fo as noiseField, Ki as noiseTone, Ml as p, Vi as evolving, ea as seededPlane, qo as stops, zo as rampOver } from "./std-ClftfWpF.js";
2
+ import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-D_bPhJ4m.js";
5
3
  const componentDefinition = defineStd({
6
4
  name: "BlockNoise",
7
5
  role: "generator",
@@ -1,7 +1,5 @@
1
- import { c as p, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { b as stops, f as rampOver } from "./fields-CXwmEUsd.js";
3
- import { g as pixelGrid, m as noiseTone, n as blueSpeckle } from "./noise-G7a5U0ar.js";
4
- import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-_P7nIu_L.js";
1
+ import { Ac as defineStd, Ki as noiseTone, Ml as p, Pi as blueSpeckle, Yi as pixelGrid, qo as stops, zo as rampOver } from "./std-ClftfWpF.js";
2
+ import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-D_bPhJ4m.js";
5
3
  const componentDefinition = defineStd({
6
4
  name: "BlueNoise",
7
5
  role: "generator",
@@ -1,5 +1,4 @@
1
- import { c as p, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { y as gaussianBlur } from "./blurs-D5a6ad3o.js";
1
+ import { Ac as defineStd, Ml as p, cn as gaussianBlur } from "./std-ClftfWpF.js";
3
2
  const componentDefinition = defineStd({
4
3
  name: "Blur",
5
4
  role: "filter",
@@ -1,8 +1,5 @@
1
- import { Br as struct, Gn as typegpu_default, Ir as atomic, Mr as vec4f, Rr as textureStorage2d, Yr as u32, qr as f32, t as defineStd, zr as arrayOf } from "./lower-DtoDQ7hV.js";
2
- import { _ as integrator, g as force, n as renderAgents, t as agentSim } from "./agents-DZaZ4n9_.js";
3
- import { G as makeCpuValueGetter, K as readAgentFrame, V as SIZE_REF_RES, q as resolveRenderRes } from "./porters-CQwDd2t4.js";
4
- import { f as makeClusterFormationInit, v as orientedShapeOptions } from "./agents-CdLlm-5E.js";
5
- import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CzFmhZww.js";
1
+ import { $f as f32, Ac as defineStd, Jf as textureStorage2d, Kf as atomic, M as force, N as integrator, Sl as resolveRenderRes, Wf as vec4f, Xf as struct, Yf as arrayOf, _ as agentSim, bl as makeCpuValueGetter, du as makeClusterFormationInit, ep as u32, hu as orientedShapeOptions, v as renderAgents, xf as typegpu_default, xl as readAgentFrame, yl as SIZE_REF_RES } from "./std-ClftfWpF.js";
2
+ import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
6
3
  var MAX_AGENTS = 4096;
7
4
  var COUNT_MAX_MOBILE = 1200;
8
5
  var RES = resolveRenderRes({
@@ -1,6 +1,5 @@
1
- import { c as p, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { r as transformAngle } from "./transformations-CzFmhZww.js";
3
- import { a as bokehDefocus } from "./blurs-D5a6ad3o.js";
1
+ import { Ac as defineStd, Ml as p, qt as bokehDefocus } from "./std-ClftfWpF.js";
2
+ import { r as transformAngle } from "./transformations-P50Uo_Ju.js";
4
3
  const componentDefinition = defineStd({
5
4
  name: "BokehBlur",
6
5
  role: "filter",
@@ -1,6 +1,5 @@
1
- import { c as p, t as defineStd } from "./lower-DtoDQ7hV.js";
2
- import { C as strokeOver, D as vary, n as brickCourses } from "./patterns-RTt6Fek8.js";
3
- import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-CzFmhZww.js";
1
+ import { Ac as defineStd, Ga as brickCourses, Ml as p, mo as strokeOver, vo as vary } from "./std-ClftfWpF.js";
2
+ import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
4
3
  var field = brickCourses({
5
4
  cellsX: p("cellsX"),
6
5
  cellsY: p("cellsY"),