shaders 3.0.447 → 3.0.449

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 (416) hide show
  1. package/dist/cli.js +2 -2
  2. package/dist/core/{AngularBlur-xU811GPM.js → AngularBlur-DU1WmNHt.js} +15 -15
  3. package/dist/core/{Arc-DYvFxtGy.js → Arc-C8QmYsiZ.js} +13 -12
  4. package/dist/core/{Ascii-ChE4BP7J.js → Ascii-BaQ6MZTc.js} +51 -53
  5. package/dist/core/{Aurora-BThE6pbb.js → Aurora-B6lOg6M4.js} +63 -68
  6. package/dist/core/{BarShift-DdjkPSk3.js → BarShift-CFK-CzF9.js} +31 -32
  7. package/dist/core/{BarnDoors-B_kxVuec.js → BarnDoors-DWs_0xtH.js} +21 -22
  8. package/dist/core/{Beam-C7zPHuIU.js → Beam-Cgc4EYnj.js} +32 -39
  9. package/dist/core/{Bend-CFcEjifF.js → Bend-oof5pE1H.js} +27 -28
  10. package/dist/core/{Blob-CgUolAhz.js → Blob-cfvDCv0i.js} +54 -60
  11. package/dist/core/{BlockDissolve-CLSxXB4e.js → BlockDissolve-C7yJzYGZ.js} +21 -20
  12. package/dist/core/{BlockNoise-BgEJOicU.js → BlockNoise-DaM9YDAH.js} +16 -14
  13. package/dist/core/{BlueNoise-BqMtBLxM.js → BlueNoise-BMMRTsMw.js} +12 -10
  14. package/dist/core/{Blur-Xaa6jVPT.js → Blur-Be7sX4v9.js} +27 -27
  15. package/dist/core/{Boids-B8QUNxRL.js → Boids-C9S69THK.js} +151 -149
  16. package/dist/core/{BokehBlur-B5fql96U.js → BokehBlur-DSkKZ_yy.js} +104 -104
  17. package/dist/core/{BrickPattern-EAD5HD4e.js → BrickPattern-BY7h4hyx.js} +34 -38
  18. package/dist/core/{BrightnessContrast-mbv32DkA.js → BrightnessContrast-DFc0gSUv.js} +9 -10
  19. package/dist/core/{BrushedMetal-B10fDdGt.js → BrushedMetal-B06tUygH.js} +81 -84
  20. package/dist/core/{Bulge-C1Pq4DHk.js → Bulge-BpSOQfH0.js} +19 -19
  21. package/dist/core/{CRTScreen-Ctx0Mxtb.js → CRTScreen-DdGcEvk2.js} +35 -37
  22. package/dist/core/{CarbonFiber-DSSARe6R.js → CarbonFiber-Dy7Osb3V.js} +81 -84
  23. package/dist/core/{Chalkboard-C7srb54u.js → Chalkboard-wRYj23wL.js} +59 -61
  24. package/dist/core/{ChannelBlur-DE3T4-pj.js → ChannelBlur-DKD9GUpc.js} +13 -15
  25. package/dist/core/{CheckerWipe-Dp49-iaT.js → CheckerWipe-D0WmsSKg.js} +23 -23
  26. package/dist/core/{Checkerboard-oVWtS0rz.js → Checkerboard-2sQYJks9.js} +31 -31
  27. package/dist/core/{Chevron-CCD5JTRA.js → Chevron-D3oPw2-i.js} +20 -20
  28. package/dist/core/{ChromaFlow-BiE9Mes0.js → ChromaFlow-px9KG_h6.js} +32 -33
  29. package/dist/core/{ChromaticAberration-XEasUrD3.js → ChromaticAberration-DLFROPJV.js} +13 -13
  30. package/dist/core/{Circle-CvQ9duDU.js → Circle-0CqIPN3a.js} +14 -13
  31. package/dist/core/{ColorWheel-CXvfWAjN.js → ColorWheel-CMtn8slz.js} +30 -34
  32. package/dist/core/{CompressionArtifacts-BDaP7XI6.js → CompressionArtifacts-D7dpVg47.js} +64 -66
  33. package/dist/core/{ConcentricSpin-D06hFXEb.js → ConcentricSpin-BPk-_egF.js} +39 -41
  34. package/dist/core/{ConicGradient-Cg6vy3gl.js → ConicGradient-B-tEhmfR.js} +17 -18
  35. package/dist/core/{ContourLines-Cg2Dlmcr.js → ContourLines-BlgCWFSy.js} +29 -30
  36. package/dist/core/{CornerPin-wtqiMUCa.js → CornerPin-DB3G2i_y.js} +55 -57
  37. package/dist/core/{Crescent-Co__JqEE.js → Crescent-CFzPQKll.js} +14 -13
  38. package/dist/core/{Cross-CFytbdrZ.js → Cross-Cstl9nDg.js} +14 -13
  39. package/dist/core/{Crystal-U7VqhbHy.js → Crystal-CEeqF1Xa.js} +143 -152
  40. package/dist/core/{CurlNoise-BXWYh1Qi.js → CurlNoise-uvTKk4Wa.js} +16 -14
  41. package/dist/core/{CursorRipples-APbH7SVR.js → CursorRipples-B46VApbY.js} +59 -58
  42. package/dist/core/{CursorTrail-D5Fj0wGp.js → CursorTrail-DzYRTzzA.js} +72 -71
  43. package/dist/core/{DataMosh-CWRLpjU3.js → DataMosh-Ysev5-c_.js} +71 -73
  44. package/dist/core/{DiamondGradient-C_2VoEiQ.js → DiamondGradient-pTOwPuAl.js} +23 -25
  45. package/dist/core/{DiamondWipe-BkdNODD1.js → DiamondWipe-D6u1P2xH.js} +22 -22
  46. package/dist/core/{DiffuseBlur-Dl7S4KBW.js → DiffuseBlur-BX0cfwyh.js} +11 -12
  47. package/dist/core/{DisplacementMap-lv-qoLem.js → DisplacementMap-DMNivtcV.js} +26 -26
  48. package/dist/core/{Dither-B33J_gJU.js → Dither-Cxu-hSc_.js} +116 -119
  49. package/dist/core/{DotGrid-DaOhiRaL.js → DotGrid-CbNHebie.js} +37 -39
  50. package/dist/core/{DropShadow-C5Z2Rs2C.js → DropShadow-DFyuEA17.js} +37 -37
  51. package/dist/core/{Duotone-x4cywJbU.js → Duotone-CgueO-jZ.js} +7 -7
  52. package/dist/core/{Ellipse-CrQ1XYjx.js → Ellipse-DxRnSw__.js} +13 -12
  53. package/dist/core/{Emboss-DNwO5JcE.js → Emboss-BJxzjZmZ.js} +76 -78
  54. package/dist/core/{Engraving-FsaRQiyI.js → Engraving-DmQCj8vU.js} +57 -59
  55. package/dist/core/{ErosionNoise-CloHpdFT.js → ErosionNoise-7ekcAfBb.js} +13 -11
  56. package/dist/core/{Exposure-mO6KjYvc.js → Exposure-avEereLn.js} +4 -5
  57. package/dist/core/{FallingLines-D_1wHUkx.js → FallingLines-BINyHi3N.js} +40 -42
  58. package/dist/core/{FilmGrain-DDhrsw94.js → FilmGrain-B-pZBxiK.js} +17 -18
  59. package/dist/core/{FilmStock-BaP2aTLu.js → FilmStock-BJfso8f3.js} +74 -74
  60. package/dist/core/{Flip-DYuqyJva.js → Flip-Dbwe0zh8.js} +10 -12
  61. package/dist/core/{FloatingParticles-DJwNpHtZ.js → FloatingParticles-CoQ01il5.js} +97 -94
  62. package/dist/core/{FlowField-D4iGiDic.js → FlowField-CU6S3Jar.js} +24 -23
  63. package/dist/core/{Flower-D0MqoayS.js → Flower-R7HIopNH.js} +14 -13
  64. package/dist/core/{FlowingGradient-9Zu0Pu4a.js → FlowingGradient-D66Y9Wgq.js} +38 -39
  65. package/dist/core/{FlutedGlass-C_clmShu.js → FlutedGlass-WAaeW92l.js} +43 -43
  66. package/dist/core/{Fog-C_kY5pWB.js → Fog-BChoF6fi.js} +172 -171
  67. package/dist/core/{Form3D-D4aXZGoJ.js → Form3D-DajWNpAi.js} +259 -267
  68. package/dist/core/{FractalNoise-mMVLGmIv.js → FractalNoise-DIrQ3eQj.js} +30 -28
  69. package/dist/core/{Frost-M53tZlcf.js → Frost-B_3JSI2H.js} +70 -73
  70. package/dist/core/{GaborNoise-BhXywN1d.js → GaborNoise-4FWeA9yr.js} +16 -14
  71. package/dist/core/{Glass-B9D_52op.js → Glass-wOhmSf3v.js} +6 -4
  72. package/dist/core/{GlassTiles-DIkGYgVE.js → GlassTiles-DgdAiEuy.js} +23 -26
  73. package/dist/core/{Glitch-CUOJt5VX.js → Glitch-BOiywFUR.js} +60 -65
  74. package/dist/core/{Glow-D5AdnLvU.js → Glow-C2cEWdNE.js} +76 -77
  75. package/dist/core/{Godrays-BeQCWVw7.js → Godrays-DAZB2GSn.js} +52 -56
  76. package/dist/core/{Goo-C0_0QYne.js → Goo-B_WAqWYW.js} +64 -65
  77. package/dist/core/{GradientMap-DOVK05_a.js → GradientMap-DxsOInED.js} +47 -50
  78. package/dist/core/{Grayscale-Uv_6LYA9.js → Grayscale-DSHs9mZd.js} +6 -6
  79. package/dist/core/{Grid-Dbp4DoXZ.js → Grid-aO3wzf4X.js} +46 -48
  80. package/dist/core/{GridDistortion-D_21zIrm.js → GridDistortion-DsHsHda7.js} +63 -62
  81. package/dist/core/{Group-DXiB5Qrx.js → Group-CCcDbysC.js} +1 -1
  82. package/dist/core/{HTMLInCanvas-xXPLTYIv.js → HTMLInCanvas-B2OooKKr.js} +1 -1
  83. package/dist/core/{Halftone-DszIQsyx.js → Halftone-3a3rz4ln.js} +59 -62
  84. package/dist/core/{Heart-COpnSJPD.js → Heart-CzO0_GoB.js} +12 -11
  85. package/dist/core/{Heatmap-CMm8SD-P.js → Heatmap-DPtUc8YG.js} +57 -55
  86. package/dist/core/{HexGrid-B6wNW-45.js → HexGrid-CN5A0m5j.js} +32 -35
  87. package/dist/core/{Hologram-XejRN51V.js → Hologram-DoKRhChe.js} +62 -66
  88. package/dist/core/{Holographic-D1G_Ou1y.js → Holographic-BWyW5z_h.js} +58 -61
  89. package/dist/core/{HueShift-BCDgYfJs.js → HueShift-C0p8EGk-.js} +7 -10
  90. package/dist/core/{ImageTexture-BE2Jlkg6.js → ImageTexture-BnwkbXAW.js} +3 -2
  91. package/dist/core/{InkFlow-DJaJqula.js → InkFlow-BH86usRX.js} +156 -156
  92. package/dist/core/{Invert-DDmITZjt.js → Invert-BIjy9ddK.js} +4 -4
  93. package/dist/core/{IrisWipe-BFs5DDSa.js → IrisWipe-lpU7lucQ.js} +20 -23
  94. package/dist/core/{IsometricCubes-ChKqYTIw.js → IsometricCubes-CIieztxI.js} +37 -42
  95. package/dist/core/{Kaleidoscope-C8_-tC6T.js → Kaleidoscope-CUMvqmfN.js} +21 -21
  96. package/dist/core/{KeyFrames-xR9ZzHKj.js → KeyFrames-mI1J02zX.js} +130 -129
  97. package/dist/core/{LensFlare-DHGNEDIX.js → LensFlare-ChQK_hJN.js} +82 -84
  98. package/dist/core/{LightEdge-DYfhB3-7.js → LightEdge-Rg-zMpGb.js} +106 -107
  99. package/dist/core/{LightLeak-CYjuMURe.js → LightLeak-D1CxVo9A.js} +58 -59
  100. package/dist/core/{LinearBlur-CV7gKYHV.js → LinearBlur-DJBkHfs8.js} +14 -14
  101. package/dist/core/{LinearGradient-DAzw65UB.js → LinearGradient-DCRYBS4Q.js} +36 -37
  102. package/dist/core/{LinearWipe-DoDZF7y0.js → LinearWipe-Cxfs1tIO.js} +20 -21
  103. package/dist/core/{LiquidMetal-C9OxRyE4.js → LiquidMetal-oscNnbsr.js} +70 -73
  104. package/dist/core/{Liquify-gNsuR7aA.js → Liquify-CJwl6Wef.js} +67 -66
  105. package/dist/core/{MagneticFilings-CQ7zHEow.js → MagneticFilings-DAOFLjAQ.js} +125 -125
  106. package/dist/core/{Marble-BSSMSrv8.js → Marble-Cr4Iaq38.js} +22 -21
  107. package/dist/core/{Mirror-BZAUA2jk.js → Mirror-BwOuv3TP.js} +18 -18
  108. package/dist/core/{MultiPointGradient-HSfAYB-u.js → MultiPointGradient-CSowH0-7.js} +30 -31
  109. package/dist/core/{Neon-D9d6Osal.js → Neon-CPIvbGSB.js} +102 -113
  110. package/dist/core/{NoiseDissolve-CnELvUG_.js → NoiseDissolve-ByahROgQ.js} +23 -22
  111. package/dist/core/{ObjectTracker-COh35yTh.js → ObjectTracker-DMCr6kHz.js} +3 -3
  112. package/dist/core/{PagePeel-B6sjmvZ1.js → PagePeel-Coq0hc8R.js} +54 -58
  113. package/dist/core/{Paper-LfukraJk.js → Paper-CLlhc3fn.js} +16 -15
  114. package/dist/core/{Parallelogram-DBi0yAG3.js → Parallelogram-Be8RQBV7.js} +14 -13
  115. package/dist/core/{ParticleField-q7COY9YT.js → ParticleField-DDO-Tk9X.js} +154 -150
  116. package/dist/core/{ParticleFlow-DiHWbIon.js → ParticleFlow-B89PWVem.js} +210 -208
  117. package/dist/core/{Particles-BFsKUAPx.js → Particles-D8rP46SB.js} +207 -209
  118. package/dist/core/{PerlinNoise-KV2GG0ts.js → PerlinNoise-_whB3Y3m.js} +16 -14
  119. package/dist/core/{Perspective-CJSrtEy5.js → Perspective-BJuQWHOr.js} +23 -25
  120. package/dist/core/{PixelSort-WD-Y6ZFu.js → PixelSort-CJfXD6g0.js} +109 -109
  121. package/dist/core/{PixelThrow-CnOXm7Hv.js → PixelThrow-BaTI5PzH.js} +35 -35
  122. package/dist/core/{Pixelate-XJI9f1oT.js → Pixelate-D7Dto_8I.js} +19 -19
  123. package/dist/core/{Plasma-C0dnSaw1.js → Plasma-DWIDcCnn.js} +33 -32
  124. package/dist/core/{Plastic-DBv_6A7q.js → Plastic-CWAOd2i9.js} +82 -84
  125. package/dist/core/{PolarCoordinates-B8Cq2bzT.js → PolarCoordinates-DQM3dLK3.js} +16 -18
  126. package/dist/core/{Polygon-ORM35JKg.js → Polygon-CFmLohBu.js} +16 -17
  127. package/dist/core/{Posterize-Dn-Vv2S1.js → Posterize-B8PHXwhy.js} +5 -8
  128. package/dist/core/{Prism-CYLsGJHY.js → Prism-C5VS4TLU.js} +36 -40
  129. package/dist/core/{ProgressiveBlur-BXUumCm5.js → ProgressiveBlur-BcGcteLH.js} +63 -65
  130. package/dist/core/{RadialGradient-j6T56q1W.js → RadialGradient-D3UoKiGu.js} +22 -23
  131. package/dist/core/{RadialWipe-Bz19qvls.js → RadialWipe-DXfAH0Ug.js} +25 -25
  132. package/dist/core/{RandomBars-3RlhwDYG.js → RandomBars-BVsp1Q7v.js} +23 -23
  133. package/dist/core/{ReactionDiffusion-DdXavIVw.js → ReactionDiffusion-DknxOF-o.js} +173 -175
  134. package/dist/core/{RectangularCoordinates-p3250IKV.js → RectangularCoordinates-DFQm4y6H.js} +14 -14
  135. package/dist/core/{ReflectivePlane-BOl9AEoO.js → ReflectivePlane-BDlGBzo1.js} +35 -37
  136. package/dist/core/{Repeater-BMXmN95R.js → Repeater-DHW6eDAm.js} +2 -2
  137. package/dist/core/{Ring-DKcROHDs.js → Ring-3brC5en8.js} +15 -14
  138. package/dist/core/{RippleWipe-QH8D0Y-2.js → RippleWipe-DQfXGjRv.js} +24 -27
  139. package/dist/core/{Ripples-8fFdo6aq.js → Ripples-DajR3Cl5.js} +18 -21
  140. package/dist/core/{RoundedRect-Cr76tP9o.js → RoundedRect-CfkYNmkV.js} +14 -13
  141. package/dist/core/{Saturation-Dqifs1x7.js → Saturation-BPTssGSs.js} +8 -9
  142. package/dist/core/{Scratches-sa8JU4Eb.js → Scratches-A-AyASZm.js} +16 -14
  143. package/dist/core/{Sharpness-IRuPd9nn.js → Sharpness-Di39DpCB.js} +21 -22
  144. package/dist/core/{Shatter-BYaxMvyd.js → Shatter-CWf3HtjN.js} +73 -72
  145. package/dist/core/{SimplexNoise-C2vmRzgy.js → SimplexNoise-DpZ2jtdk.js} +19 -17
  146. package/dist/core/{SineWave-BGAJyGFr.js → SineWave-CZuksvHn.js} +20 -20
  147. package/dist/core/{SliceWipe-BOcCk5Se.js → SliceWipe-BwL2D3HR.js} +19 -19
  148. package/dist/core/{Smoke-B1twbhQ4.js → Smoke-BsUkbTI1.js} +156 -155
  149. package/dist/core/{SmokeFill-CAayneM2.js → SmokeFill-CaDMgNW-.js} +233 -231
  150. package/dist/core/{SmokeFlow-Ug8difAz.js → SmokeFlow-CLfsAbPS.js} +143 -142
  151. package/dist/core/{Solarize-205KKROH.js → Solarize-ALjXXAf0.js} +12 -14
  152. package/dist/core/{SolidColor-B4pj8onb.js → SolidColor-Cu_9b_my.js} +1 -1
  153. package/dist/core/{Spherize-DUQxwwCL.js → Spherize-SBfCc9Wk.js} +31 -37
  154. package/dist/core/{Spiral-DY1c-N4F.js → Spiral-iRrT222n.js} +36 -36
  155. package/dist/core/{Star-DRxNaHHo.js → Star-DL3d_HqY.js} +14 -13
  156. package/dist/core/{Stone-CUdcvOWd.js → Stone-OTsCM-rr.js} +2 -2
  157. package/dist/core/{Strands-CFxYJMFu.js → Strands-DjoQgGnd.js} +47 -49
  158. package/dist/core/{Stretch-DYrVdt8A.js → Stretch-CdzhxnbM.js} +19 -19
  159. package/dist/core/{Stripes-BvnoWdwn.js → Stripes-CsBgKYdp.js} +39 -39
  160. package/dist/core/{StudioBackground-srQGUpfZ.js → StudioBackground-D8EdrLg5.js} +67 -68
  161. package/dist/core/{SunBurst-COsVDZ4e.js → SunBurst-ErBFL-nF.js} +18 -20
  162. package/dist/core/{Surface3D-TsGPzdGm.js → Surface3D-CLjX61TZ.js} +144 -144
  163. package/dist/core/{Swirl-nXMWVY2X.js → Swirl-DDQif_lC.js} +18 -21
  164. package/dist/core/{Teardrop-Bjtkigk4.js → Teardrop-CvpdElTs.js} +13 -12
  165. package/dist/core/{Text-BGdsqRl5.js → Text-vyzeMvhl.js} +20 -21
  166. package/dist/core/{ThinFilm-DhMKI5e2.js → ThinFilm-CbkMTbD2.js} +59 -67
  167. package/dist/core/{TiltShift-BwuYyXB6.js → TiltShift-BVMyB8lF.js} +66 -67
  168. package/dist/core/{TimeTrail-CE2XumxR.js → TimeTrail-CuFGvzFi.js} +91 -94
  169. package/dist/core/{Tint-BTmcGjEl.js → Tint-C6zMMsYH.js} +25 -26
  170. package/dist/core/{Trapezoid-CiZCh8QS.js → Trapezoid-kFuxWONU.js} +14 -13
  171. package/dist/core/{TriangularGrid-BnQOEljy.js → TriangularGrid-FIrpI_qE.js} +34 -36
  172. package/dist/core/{Tritone-Ta084wlF.js → Tritone-DyLGtOug.js} +7 -10
  173. package/dist/core/{Truchet-BxCh_IIp.js → Truchet-B4NI56Zz.js} +31 -33
  174. package/dist/core/{Twirl-Cw4jm59Q.js → Twirl-CuzhWXfj.js} +16 -16
  175. package/dist/core/{VHS-Nwk0E-tf.js → VHS-DYbzndAZ.js} +68 -69
  176. package/dist/core/{VenetianBlinds-BZ0sS97G.js → VenetianBlinds-DVopy3xp.js} +22 -23
  177. package/dist/core/{Vesica-Cf1KiSzK.js → Vesica-Cd-XyG3F.js} +13 -12
  178. package/dist/core/{Vibrance-qWGvLkrW.js → Vibrance-CvXatkfO.js} +7 -8
  179. package/dist/core/{VideoTexture-48ylVDvN.js → VideoTexture-C5PS6Vly.js} +34 -39
  180. package/dist/core/{Vignette-CK_Li7v2.js → Vignette-DtBpWWxW.js} +20 -22
  181. package/dist/core/{Voronoi-DMYFDwIS.js → Voronoi-CRH2cGlR.js} +33 -37
  182. package/dist/core/{Water-D74wbHmn.js → Water-CneenzRZ.js} +101 -108
  183. package/dist/core/{Watercolor-zo8-4Vqx.js → Watercolor-B343pgM-.js} +63 -64
  184. package/dist/core/{WaveDistortion-BLrvGOzF.js → WaveDistortion-DHz1FxLT.js} +80 -82
  185. package/dist/core/{WaveletNoise-a5OpO8-D.js → WaveletNoise-CsLE9gbM.js} +16 -14
  186. package/dist/core/{Weave-D1D3kuUg.js → Weave-CQEF71nr.js} +28 -31
  187. package/dist/core/{WebcamTexture-pBETyQYG.js → WebcamTexture-BcsYFM_g.js} +7 -7
  188. package/dist/core/{Wool-CMnWPdy9.js → Wool-BFSicimy.js} +2 -2
  189. package/dist/core/{WorleyNoise-BAEo0duh.js → WorleyNoise-BKq3es5v.js} +69 -70
  190. package/dist/core/{ZoomBlur-CnBNmcfx.js → ZoomBlur-Bu1SlmS2.js} +12 -12
  191. package/dist/core/agents-Bv3--qPL.js +997 -0
  192. package/dist/core/blur-tvWOoxKt.js +2247 -0
  193. package/dist/core/compute-BjeJ0sIA.js +31 -0
  194. package/dist/core/dataEncoding-CEmpiitu.js +24 -0
  195. package/dist/core/device-BODv_4aH.js +10 -0
  196. package/dist/core/edges-BXNBKxSN.js +29857 -0
  197. package/dist/core/{glass-sOqjtPJD.js → glass-IfoQ8Prf.js} +164 -172
  198. package/dist/core/gpu/index.d.ts.map +1 -1
  199. package/dist/core/index.js +320 -229
  200. package/dist/core/media-B9BNeMPu.js +757 -0
  201. package/dist/core/noise-wTSHXgFz.js +12033 -0
  202. package/dist/core/noiseColor-CPakiKNF.js +103 -0
  203. package/dist/core/{noiseColor-CRpf22bk.js → noiseColor-DscZM9CO.js} +2 -2
  204. package/dist/core/noiseStylize-BXpflWPW.js +359 -0
  205. package/dist/core/porters-DBK1Aipq.js +991 -0
  206. package/dist/core/presetRenderer.d.ts.map +1 -1
  207. package/dist/core/registry.js +208 -199
  208. package/dist/core/sdf-R0EN3EvS.js +5174 -0
  209. package/dist/core/shaderRegistry-CcvE7wN0.js +425 -0
  210. package/dist/core/shaders/AngularBlur/index.js +5 -4
  211. package/dist/core/shaders/Arc/index.js +7 -4
  212. package/dist/core/shaders/Ascii/index.js +5 -4
  213. package/dist/core/shaders/Aurora/index.js +6 -4
  214. package/dist/core/shaders/BarShift/index.js +5 -4
  215. package/dist/core/shaders/BarnDoors/index.js +5 -4
  216. package/dist/core/shaders/Beam/index.js +5 -4
  217. package/dist/core/shaders/Bend/index.js +5 -4
  218. package/dist/core/shaders/Blob/index.js +5 -4
  219. package/dist/core/shaders/BlockDissolve/index.js +6 -4
  220. package/dist/core/shaders/BlockNoise/index.js +8 -5
  221. package/dist/core/shaders/BlueNoise/index.js +8 -5
  222. package/dist/core/shaders/Blur/index.js +6 -4
  223. package/dist/core/shaders/Boids/index.js +7 -4
  224. package/dist/core/shaders/BokehBlur/index.js +6 -4
  225. package/dist/core/shaders/BrickPattern/index.js +5 -4
  226. package/dist/core/shaders/BrightnessContrast/index.js +5 -4
  227. package/dist/core/shaders/BrushedMetal/index.js +11 -6
  228. package/dist/core/shaders/Bulge/index.js +5 -4
  229. package/dist/core/shaders/CRTScreen/index.js +5 -4
  230. package/dist/core/shaders/CarbonFiber/index.js +11 -6
  231. package/dist/core/shaders/Chalkboard/index.js +5 -4
  232. package/dist/core/shaders/ChannelBlur/index.js +6 -4
  233. package/dist/core/shaders/CheckerWipe/index.js +5 -4
  234. package/dist/core/shaders/Checkerboard/index.js +5 -4
  235. package/dist/core/shaders/Chevron/index.js +5 -4
  236. package/dist/core/shaders/ChromaFlow/index.js +6 -4
  237. package/dist/core/shaders/ChromaticAberration/index.js +5 -4
  238. package/dist/core/shaders/Circle/index.js +7 -4
  239. package/dist/core/shaders/ColorWheel/index.js +5 -4
  240. package/dist/core/shaders/CompressionArtifacts/index.js +5 -4
  241. package/dist/core/shaders/ConcentricSpin/index.js +5 -4
  242. package/dist/core/shaders/ConicGradient/index.js +5 -4
  243. package/dist/core/shaders/ContourLines/index.js +5 -4
  244. package/dist/core/shaders/CornerPin/index.js +5 -4
  245. package/dist/core/shaders/Crescent/index.js +7 -4
  246. package/dist/core/shaders/Cross/index.js +7 -4
  247. package/dist/core/shaders/Crystal/index.js +11 -6
  248. package/dist/core/shaders/CurlNoise/index.js +8 -5
  249. package/dist/core/shaders/CursorRipples/index.js +5 -4
  250. package/dist/core/shaders/CursorTrail/index.js +5 -4
  251. package/dist/core/shaders/DataMosh/index.js +5 -4
  252. package/dist/core/shaders/DiamondGradient/index.js +5 -4
  253. package/dist/core/shaders/DiamondWipe/index.js +5 -4
  254. package/dist/core/shaders/DiffuseBlur/index.js +5 -4
  255. package/dist/core/shaders/DisplacementMap/index.js +5 -4
  256. package/dist/core/shaders/Dither/index.js +5 -4
  257. package/dist/core/shaders/DotGrid/index.js +5 -4
  258. package/dist/core/shaders/DropShadow/index.js +5 -4
  259. package/dist/core/shaders/Duotone/index.js +5 -4
  260. package/dist/core/shaders/Ellipse/index.js +7 -4
  261. package/dist/core/shaders/Emboss/index.js +10 -6
  262. package/dist/core/shaders/Engraving/index.js +6 -4
  263. package/dist/core/shaders/ErosionNoise/index.js +8 -5
  264. package/dist/core/shaders/Exposure/index.js +5 -4
  265. package/dist/core/shaders/FallingLines/index.js +5 -4
  266. package/dist/core/shaders/FilmGrain/index.js +5 -4
  267. package/dist/core/shaders/FilmStock/index.js +6 -4
  268. package/dist/core/shaders/Flip/index.js +5 -4
  269. package/dist/core/shaders/FloatingParticles/index.js +7 -4
  270. package/dist/core/shaders/FlowField/index.js +6 -4
  271. package/dist/core/shaders/Flower/index.js +7 -4
  272. package/dist/core/shaders/FlowingGradient/index.js +6 -4
  273. package/dist/core/shaders/FlutedGlass/index.js +5 -4
  274. package/dist/core/shaders/Fog/index.js +5 -4
  275. package/dist/core/shaders/Form3D/index.js +5 -4
  276. package/dist/core/shaders/FractalNoise/index.js +7 -4
  277. package/dist/core/shaders/Frost/index.js +11 -6
  278. package/dist/core/shaders/GaborNoise/index.js +8 -5
  279. package/dist/core/shaders/Glass/index.js +11 -6
  280. package/dist/core/shaders/GlassTiles/index.js +5 -4
  281. package/dist/core/shaders/Glitch/index.js +5 -4
  282. package/dist/core/shaders/Glow/index.js +6 -4
  283. package/dist/core/shaders/Godrays/index.js +5 -4
  284. package/dist/core/shaders/Goo/index.js +10 -6
  285. package/dist/core/shaders/GradientMap/index.js +5 -4
  286. package/dist/core/shaders/Grayscale/index.js +5 -4
  287. package/dist/core/shaders/Grid/index.js +5 -4
  288. package/dist/core/shaders/GridDistortion/index.js +5 -4
  289. package/dist/core/shaders/Group/index.js +5 -4
  290. package/dist/core/shaders/HTMLInCanvas/index.js +5 -4
  291. package/dist/core/shaders/Halftone/index.js +5 -4
  292. package/dist/core/shaders/Heart/index.js +7 -4
  293. package/dist/core/shaders/Heatmap/index.js +11 -6
  294. package/dist/core/shaders/HexGrid/index.js +5 -4
  295. package/dist/core/shaders/Hologram/index.js +11 -6
  296. package/dist/core/shaders/Holographic/index.js +11 -6
  297. package/dist/core/shaders/HueShift/index.js +5 -4
  298. package/dist/core/shaders/ImageTexture/index.js +7 -5
  299. package/dist/core/shaders/InkFlow/index.js +5 -4
  300. package/dist/core/shaders/Invert/index.js +5 -4
  301. package/dist/core/shaders/IrisWipe/index.js +5 -4
  302. package/dist/core/shaders/IsometricCubes/index.js +5 -4
  303. package/dist/core/shaders/Kaleidoscope/index.js +5 -4
  304. package/dist/core/shaders/KeyFrames/index.js +5 -4
  305. package/dist/core/shaders/LensFlare/index.js +5 -4
  306. package/dist/core/shaders/LightEdge/index.js +11 -6
  307. package/dist/core/shaders/LightLeak/index.js +6 -4
  308. package/dist/core/shaders/LinearBlur/index.js +5 -4
  309. package/dist/core/shaders/LinearGradient/index.js +5 -4
  310. package/dist/core/shaders/LinearWipe/index.js +5 -4
  311. package/dist/core/shaders/LiquidMetal/index.js +11 -6
  312. package/dist/core/shaders/Liquify/index.js +5 -4
  313. package/dist/core/shaders/MagneticFilings/index.js +7 -4
  314. package/dist/core/shaders/Marble/index.js +6 -4
  315. package/dist/core/shaders/Mirror/index.js +5 -4
  316. package/dist/core/shaders/MultiPointGradient/index.js +5 -4
  317. package/dist/core/shaders/Neon/index.js +9 -5
  318. package/dist/core/shaders/NoiseDissolve/index.js +6 -4
  319. package/dist/core/shaders/ObjectTracker/index.js +6 -5
  320. package/dist/core/shaders/PagePeel/index.js +5 -4
  321. package/dist/core/shaders/Paper/index.js +6 -4
  322. package/dist/core/shaders/Parallelogram/index.js +7 -4
  323. package/dist/core/shaders/ParticleField/index.js +8 -4
  324. package/dist/core/shaders/ParticleFlow/index.js +7 -4
  325. package/dist/core/shaders/Particles/index.js +11 -5
  326. package/dist/core/shaders/PerlinNoise/index.js +8 -5
  327. package/dist/core/shaders/Perspective/index.js +5 -4
  328. package/dist/core/shaders/PixelSort/index.js +5 -4
  329. package/dist/core/shaders/PixelThrow/index.js +6 -4
  330. package/dist/core/shaders/Pixelate/index.js +5 -4
  331. package/dist/core/shaders/Plasma/index.js +6 -4
  332. package/dist/core/shaders/Plastic/index.js +11 -6
  333. package/dist/core/shaders/PolarCoordinates/index.js +5 -4
  334. package/dist/core/shaders/Polygon/index.js +7 -4
  335. package/dist/core/shaders/Posterize/index.js +5 -4
  336. package/dist/core/shaders/Prism/index.js +5 -4
  337. package/dist/core/shaders/ProgressiveBlur/index.js +6 -4
  338. package/dist/core/shaders/RadialGradient/index.js +5 -4
  339. package/dist/core/shaders/RadialWipe/index.js +5 -4
  340. package/dist/core/shaders/RandomBars/index.js +6 -4
  341. package/dist/core/shaders/ReactionDiffusion/index.js +5 -4
  342. package/dist/core/shaders/RectangularCoordinates/index.js +5 -4
  343. package/dist/core/shaders/ReflectivePlane/index.js +6 -4
  344. package/dist/core/shaders/Repeater/index.js +5 -4
  345. package/dist/core/shaders/Ring/index.js +7 -4
  346. package/dist/core/shaders/RippleWipe/index.js +5 -4
  347. package/dist/core/shaders/Ripples/index.js +5 -4
  348. package/dist/core/shaders/RoundedRect/index.js +7 -4
  349. package/dist/core/shaders/Saturation/index.js +5 -4
  350. package/dist/core/shaders/Scratches/index.js +8 -5
  351. package/dist/core/shaders/Sharpness/index.js +5 -4
  352. package/dist/core/shaders/Shatter/index.js +6 -4
  353. package/dist/core/shaders/SimplexNoise/index.js +7 -4
  354. package/dist/core/shaders/SineWave/index.js +5 -4
  355. package/dist/core/shaders/SliceWipe/index.js +5 -4
  356. package/dist/core/shaders/Smoke/index.js +5 -4
  357. package/dist/core/shaders/SmokeFill/index.js +10 -6
  358. package/dist/core/shaders/SmokeFlow/index.js +5 -4
  359. package/dist/core/shaders/Solarize/index.js +5 -4
  360. package/dist/core/shaders/SolidColor/index.js +2 -2
  361. package/dist/core/shaders/Spherize/index.js +5 -4
  362. package/dist/core/shaders/Spiral/index.js +5 -4
  363. package/dist/core/shaders/Star/index.js +7 -4
  364. package/dist/core/shaders/Stone/index.js +4 -3
  365. package/dist/core/shaders/Strands/index.js +5 -4
  366. package/dist/core/shaders/Stretch/index.js +5 -4
  367. package/dist/core/shaders/Stripes/index.js +5 -4
  368. package/dist/core/shaders/StudioBackground/index.js +5 -4
  369. package/dist/core/shaders/SunBurst/index.js +5 -4
  370. package/dist/core/shaders/Surface3D/index.js +6 -4
  371. package/dist/core/shaders/Swirl/index.js +5 -4
  372. package/dist/core/shaders/Teardrop/index.js +7 -4
  373. package/dist/core/shaders/Text/index.js +6 -5
  374. package/dist/core/shaders/ThinFilm/index.js +9 -5
  375. package/dist/core/shaders/TiltShift/index.js +6 -4
  376. package/dist/core/shaders/TimeTrail/index.js +5 -4
  377. package/dist/core/shaders/Tint/index.js +5 -4
  378. package/dist/core/shaders/Trapezoid/index.js +7 -4
  379. package/dist/core/shaders/TriangularGrid/index.js +5 -4
  380. package/dist/core/shaders/Tritone/index.js +5 -4
  381. package/dist/core/shaders/Truchet/index.js +5 -4
  382. package/dist/core/shaders/Twirl/index.js +5 -4
  383. package/dist/core/shaders/VHS/index.js +5 -4
  384. package/dist/core/shaders/VenetianBlinds/index.js +5 -4
  385. package/dist/core/shaders/Vesica/index.js +7 -4
  386. package/dist/core/shaders/Vibrance/index.js +5 -4
  387. package/dist/core/shaders/VideoTexture/index.js +6 -5
  388. package/dist/core/shaders/Vignette/index.js +5 -4
  389. package/dist/core/shaders/Voronoi/index.js +5 -4
  390. package/dist/core/shaders/Water/index.js +11 -6
  391. package/dist/core/shaders/Watercolor/index.js +5 -4
  392. package/dist/core/shaders/WaveDistortion/index.js +5 -4
  393. package/dist/core/shaders/WaveletNoise/index.js +8 -5
  394. package/dist/core/shaders/Weave/index.js +5 -4
  395. package/dist/core/shaders/WebcamTexture/index.js +7 -5
  396. package/dist/core/shaders/Wool/index.js +4 -3
  397. package/dist/core/shaders/WorleyNoise/index.js +5 -4
  398. package/dist/core/shaders/ZoomBlur/index.js +5 -4
  399. package/dist/core/shapeEffectBounds-CtKwBX8c.js +19213 -0
  400. package/dist/core/utilities/transformations/index.js +1 -1
  401. package/dist/js/bundle.js +188 -184
  402. package/dist/js/createShader.js +1 -1
  403. package/dist/react/Shader.js +1 -1
  404. package/dist/react/bundle.js +197 -193
  405. package/dist/solid/engine/Shader.js +1 -1
  406. package/dist/svelte/index.js +1 -1
  407. package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
  408. package/package.json +1 -1
  409. package/dist/core/coords-BkIjixe_.js +0 -55724
  410. package/dist/core/noiseStylize-J6sFKoTh.js +0 -65
  411. package/dist/core/porters-BmU6G9TR.js +0 -321
  412. package/dist/core/shaderRegistry-D75z2sND.js +0 -425
  413. package/dist/core/shapeEffectBounds-PQqKLQXO.js +0 -406
  414. /package/dist/core/{fonts-DwhbVe2B.js → fonts-v_F1SFl9.js} +0 -0
  415. /package/dist/core/{naturalSize-Caz3-kRv.js → naturalSize-B679wTgN.js} +0 -0
  416. /package/dist/core/{transformations-t0d2-uSX.js → transformations-CsPUHppB.js} +0 -0
@@ -0,0 +1,991 @@
1
+ import { $t as vec2f, B as labToRgb, Et as max, I as convertMixSpaceToP3, J as oklchToOklab, L as convertP3ToMixSpaceCPU, P as MixStep, R as hslToRgb, Ut as arrayOf, V as lchToLab, Vt as data_exports, W as mixPreconvertedInSpace, X as sRGBToP3, _t as clamp, an as f32, cn as __export, et as src_default, g as expr, in as vec4f, nn as vec3f, nt as std_exports, on as i32, p as call, q as oklabToRgb, y as vec4, z as hsvToRgb } from "./edges-BXNBKxSN.js";
2
+ import { a as transformColor, c as transformPosition, n as setColorSpaceMode, o as transformColorSpace, u as Color } from "./transformations-CsPUHppB.js";
3
+ var colorStops_exports = /* @__PURE__ */ __export({
4
+ MAX_COLOR_STOPS: () => 8,
5
+ colorStopsPropConfig: () => colorStopsPropConfig$1,
6
+ colorStopsTransform: () => colorStopsTransform$1,
7
+ gradientStopsInSpace: () => gradientStopsInSpace,
8
+ mixColorStops: () => mixColorStops,
9
+ mixColorStopsRuntime: () => mixColorStopsRuntime,
10
+ packConvertedStops: () => packConvertedStops,
11
+ packStops: () => packStops,
12
+ resolveStops: () => resolveStops$1,
13
+ sortStops: () => sortStops$1
14
+ });
15
+ const MAX_COLOR_STOPS = 8;
16
+ const colorStopsTransform$1 = (value) => value;
17
+ function sortStops$1(stops) {
18
+ return stops.map((stop, index) => ({
19
+ stop,
20
+ index
21
+ })).sort((a, b) => a.stop.position - b.stop.position || a.index - b.index).map(({ stop }) => stop);
22
+ }
23
+ function resolveStops$1(props) {
24
+ if (Array.isArray(props.stops) && props.stops.length > 0) return sortStops$1(props.stops);
25
+ return [{
26
+ color: props.colorA ?? "#1aff00",
27
+ position: 0
28
+ }, {
29
+ color: props.colorB ?? "#0000ff",
30
+ position: 1
31
+ }];
32
+ }
33
+ function packStops(stops, toRGBA) {
34
+ const colors = new Array(32).fill(0);
35
+ const positions = new Array(8).fill(0);
36
+ const sorted = Array.isArray(stops) && stops.length > 0 ? sortStops$1(stops) : [];
37
+ const n = Math.min(sorted.length, 8);
38
+ for (let i = 0; i < n; i++) {
39
+ const c = toRGBA(sorted[i].color);
40
+ colors[i * 4] = c[0];
41
+ colors[i * 4 + 1] = c[1];
42
+ colors[i * 4 + 2] = c[2];
43
+ colors[i * 4 + 3] = c[3];
44
+ positions[i] = sorted[i].position;
45
+ }
46
+ return {
47
+ colors,
48
+ positions,
49
+ stopCount: n
50
+ };
51
+ }
52
+ function packConvertedStops(colors, stopCount, colorSpaceMode) {
53
+ const out = new Array(24).fill(0);
54
+ for (let i = 0; i < stopCount; i++) {
55
+ const c = convertP3ToMixSpaceCPU(colors[i * 4], colors[i * 4 + 1], colors[i * 4 + 2], colorSpaceMode);
56
+ out[i * 3] = c[0];
57
+ out[i * 3 + 1] = c[1];
58
+ out[i * 3 + 2] = c[2];
59
+ }
60
+ return out;
61
+ }
62
+ var initStep = src_default.fn([vec3f, f32], MixStep)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((conv, alpha) => {
63
+ "use gpu";
64
+ return MixStep({
65
+ conv,
66
+ alpha
67
+ });
68
+ }), {
69
+ v: 1,
70
+ name: void 0,
71
+ ast: {
72
+ "params": [{
73
+ "type": "i",
74
+ "name": "conv"
75
+ }, {
76
+ "type": "i",
77
+ "name": "alpha"
78
+ }],
79
+ "body": [0, [[10, [
80
+ 6,
81
+ "MixStep",
82
+ [[104, {
83
+ "conv": "conv",
84
+ "alpha": "alpha"
85
+ }]]
86
+ ]]]],
87
+ "externalNames": ["MixStep"]
88
+ },
89
+ externals: () => ({ MixStep })
90
+ }) && $.f)({}));
91
+ var gradientSegmentStep = src_default.fn([
92
+ MixStep,
93
+ vec3f,
94
+ f32,
95
+ f32,
96
+ f32,
97
+ f32
98
+ ], MixStep)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((running, convI, alphaI, tClamped, posA, posB) => {
99
+ "use gpu";
100
+ const seg = clamp(__tsover_div(__tsover_sub(tClamped, posA), max(__tsover_sub(posB, posA), 1e-6)), 0, 1);
101
+ return mixPreconvertedInSpace(running.conv, running.alpha, convI, alphaI, seg);
102
+ }), {
103
+ v: 1,
104
+ name: void 0,
105
+ ast: {
106
+ "params": [
107
+ {
108
+ "type": "i",
109
+ "name": "running"
110
+ },
111
+ {
112
+ "type": "i",
113
+ "name": "convI"
114
+ },
115
+ {
116
+ "type": "i",
117
+ "name": "alphaI"
118
+ },
119
+ {
120
+ "type": "i",
121
+ "name": "tClamped"
122
+ },
123
+ {
124
+ "type": "i",
125
+ "name": "posA"
126
+ },
127
+ {
128
+ "type": "i",
129
+ "name": "posB"
130
+ }
131
+ ],
132
+ "body": [0, [[
133
+ 13,
134
+ "seg",
135
+ [
136
+ 6,
137
+ [
138
+ 7,
139
+ "std",
140
+ "clamp"
141
+ ],
142
+ [
143
+ [
144
+ 1,
145
+ [
146
+ 1,
147
+ "tClamped",
148
+ "-",
149
+ "posA"
150
+ ],
151
+ "/",
152
+ [
153
+ 6,
154
+ [
155
+ 7,
156
+ "std",
157
+ "max"
158
+ ],
159
+ [[
160
+ 1,
161
+ "posB",
162
+ "-",
163
+ "posA"
164
+ ], [5, "0.000001"]]
165
+ ]
166
+ ],
167
+ [5, "0"],
168
+ [5, "1"]
169
+ ]
170
+ ]
171
+ ], [10, [
172
+ 6,
173
+ "mixPreconvertedInSpace",
174
+ [
175
+ [
176
+ 7,
177
+ "running",
178
+ "conv"
179
+ ],
180
+ [
181
+ 7,
182
+ "running",
183
+ "alpha"
184
+ ],
185
+ "convI",
186
+ "alphaI",
187
+ "seg"
188
+ ]
189
+ ]]]],
190
+ "externalNames": ["std", "mixPreconvertedInSpace"]
191
+ },
192
+ externals: () => ({
193
+ std: std_exports,
194
+ mixPreconvertedInSpace
195
+ })
196
+ }) && $.f)({}));
197
+ var stepConv = src_default.fn([MixStep], vec3f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((s) => {
198
+ "use gpu";
199
+ return s.conv;
200
+ }), {
201
+ v: 1,
202
+ name: void 0,
203
+ ast: {
204
+ "params": [{
205
+ "type": "i",
206
+ "name": "s"
207
+ }],
208
+ "body": [0, [[10, [
209
+ 7,
210
+ "s",
211
+ "conv"
212
+ ]]]],
213
+ "externalNames": []
214
+ },
215
+ externals: () => ({})
216
+ }) && $.f)({}));
217
+ var stepAlpha = src_default.fn([MixStep], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((s) => {
218
+ "use gpu";
219
+ return s.alpha;
220
+ }), {
221
+ v: 1,
222
+ name: void 0,
223
+ ast: {
224
+ "params": [{
225
+ "type": "i",
226
+ "name": "s"
227
+ }],
228
+ "body": [0, [[10, [
229
+ 7,
230
+ "s",
231
+ "alpha"
232
+ ]]]],
233
+ "externalNames": []
234
+ },
235
+ externals: () => ({})
236
+ }) && $.f)({}));
237
+ var packRGBA = src_default.fn([vec3f, f32], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((rgb, a) => {
238
+ "use gpu";
239
+ return vec4f(rgb, a);
240
+ }), {
241
+ v: 1,
242
+ name: void 0,
243
+ ast: {
244
+ "params": [{
245
+ "type": "i",
246
+ "name": "rgb"
247
+ }, {
248
+ "type": "i",
249
+ "name": "a"
250
+ }],
251
+ "body": [0, [[10, [
252
+ 6,
253
+ [
254
+ 7,
255
+ "d",
256
+ "vec4f"
257
+ ],
258
+ ["rgb", "a"]
259
+ ]]]],
260
+ "externalNames": ["d"]
261
+ },
262
+ externals: () => ({ d: data_exports })
263
+ }) && $.f)({}));
264
+ function mixColorStops(stopCount, colorSpaceMode, t, stops) {
265
+ if (stopCount <= 1) return null;
266
+ const tClamped = clamp(t, 0, 1);
267
+ let step = initStep(stops.convAt(0), stops.alphaAt(0));
268
+ for (let i = 1; i < stopCount; i++) step = gradientSegmentStep(step, stops.convAt(i), stops.alphaAt(i), tClamped, stops.positionAt(i - 1), stops.positionAt(i));
269
+ return packRGBA(convertMixSpaceToP3(stepConv(step), colorSpaceMode), stepAlpha(step));
270
+ }
271
+ const gradientStopsInSpace = src_default.fn([
272
+ f32,
273
+ arrayOf(vec4f, 8),
274
+ arrayOf(vec4f, 8 / 4),
275
+ arrayOf(vec3f, 8),
276
+ f32
277
+ ], MixStep)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((t, colors, positions, converted, stopCount) => {
278
+ "use gpu";
279
+ const clampedT = clamp(t, 0, 1);
280
+ const n = i32(stopCount);
281
+ const c0 = converted[0];
282
+ let conv = vec3f(c0.x, c0.y, c0.z);
283
+ let alpha = colors[0].w;
284
+ for (let i = 1; i < n; i++) {
285
+ const va = positions[__tsover_sub(i, 1) >> 2];
286
+ const vb = positions[i >> 2];
287
+ const posA = va[__tsover_sub(i, 1) & 3];
288
+ const posB = vb[i & 3];
289
+ const seg = clamp(__tsover_div(__tsover_sub(clampedT, posA), max(__tsover_sub(posB, posA), 1e-6)), 0, 1);
290
+ const step = mixPreconvertedInSpace(conv, alpha, converted[i], colors[i].w, seg);
291
+ conv = vec3f(step.conv.x, step.conv.y, step.conv.z);
292
+ alpha = step.alpha;
293
+ }
294
+ return MixStep({
295
+ conv,
296
+ alpha
297
+ });
298
+ }), {
299
+ v: 1,
300
+ name: void 0,
301
+ ast: {
302
+ "params": [
303
+ {
304
+ "type": "i",
305
+ "name": "t"
306
+ },
307
+ {
308
+ "type": "i",
309
+ "name": "colors"
310
+ },
311
+ {
312
+ "type": "i",
313
+ "name": "positions"
314
+ },
315
+ {
316
+ "type": "i",
317
+ "name": "converted"
318
+ },
319
+ {
320
+ "type": "i",
321
+ "name": "stopCount"
322
+ }
323
+ ],
324
+ "body": [0, [
325
+ [
326
+ 13,
327
+ "clampedT",
328
+ [
329
+ 6,
330
+ [
331
+ 7,
332
+ "std",
333
+ "clamp"
334
+ ],
335
+ [
336
+ "t",
337
+ [5, "0"],
338
+ [5, "1"]
339
+ ]
340
+ ]
341
+ ],
342
+ [
343
+ 13,
344
+ "n",
345
+ [
346
+ 6,
347
+ [
348
+ 7,
349
+ "d",
350
+ "i32"
351
+ ],
352
+ ["stopCount"]
353
+ ]
354
+ ],
355
+ [
356
+ 13,
357
+ "c0",
358
+ [
359
+ 8,
360
+ "converted",
361
+ [5, "0"]
362
+ ]
363
+ ],
364
+ [
365
+ 12,
366
+ "conv",
367
+ [
368
+ 6,
369
+ [
370
+ 7,
371
+ "d",
372
+ "vec3f"
373
+ ],
374
+ [
375
+ [
376
+ 7,
377
+ "c0",
378
+ "x"
379
+ ],
380
+ [
381
+ 7,
382
+ "c0",
383
+ "y"
384
+ ],
385
+ [
386
+ 7,
387
+ "c0",
388
+ "z"
389
+ ]
390
+ ]
391
+ ]
392
+ ],
393
+ [
394
+ 12,
395
+ "alpha",
396
+ [
397
+ 7,
398
+ [
399
+ 8,
400
+ "colors",
401
+ [5, "0"]
402
+ ],
403
+ "w"
404
+ ]
405
+ ],
406
+ [
407
+ 14,
408
+ [
409
+ 12,
410
+ "i",
411
+ [5, "1"]
412
+ ],
413
+ [
414
+ 1,
415
+ "i",
416
+ "<",
417
+ "n"
418
+ ],
419
+ [
420
+ 102,
421
+ "++",
422
+ "i"
423
+ ],
424
+ [0, [
425
+ [
426
+ 13,
427
+ "va",
428
+ [
429
+ 8,
430
+ "positions",
431
+ [
432
+ 1,
433
+ [
434
+ 1,
435
+ "i",
436
+ "-",
437
+ [5, "1"]
438
+ ],
439
+ ">>",
440
+ [5, "2"]
441
+ ]
442
+ ]
443
+ ],
444
+ [
445
+ 13,
446
+ "vb",
447
+ [
448
+ 8,
449
+ "positions",
450
+ [
451
+ 1,
452
+ "i",
453
+ ">>",
454
+ [5, "2"]
455
+ ]
456
+ ]
457
+ ],
458
+ [
459
+ 13,
460
+ "posA",
461
+ [
462
+ 8,
463
+ "va",
464
+ [
465
+ 1,
466
+ [
467
+ 1,
468
+ "i",
469
+ "-",
470
+ [5, "1"]
471
+ ],
472
+ "&",
473
+ [5, "3"]
474
+ ]
475
+ ]
476
+ ],
477
+ [
478
+ 13,
479
+ "posB",
480
+ [
481
+ 8,
482
+ "vb",
483
+ [
484
+ 1,
485
+ "i",
486
+ "&",
487
+ [5, "3"]
488
+ ]
489
+ ]
490
+ ],
491
+ [
492
+ 13,
493
+ "seg",
494
+ [
495
+ 6,
496
+ [
497
+ 7,
498
+ "std",
499
+ "clamp"
500
+ ],
501
+ [
502
+ [
503
+ 1,
504
+ [
505
+ 1,
506
+ "clampedT",
507
+ "-",
508
+ "posA"
509
+ ],
510
+ "/",
511
+ [
512
+ 6,
513
+ [
514
+ 7,
515
+ "std",
516
+ "max"
517
+ ],
518
+ [[
519
+ 1,
520
+ "posB",
521
+ "-",
522
+ "posA"
523
+ ], [5, "0.000001"]]
524
+ ]
525
+ ],
526
+ [5, "0"],
527
+ [5, "1"]
528
+ ]
529
+ ]
530
+ ],
531
+ [
532
+ 13,
533
+ "step",
534
+ [
535
+ 6,
536
+ "mixPreconvertedInSpace",
537
+ [
538
+ "conv",
539
+ "alpha",
540
+ [
541
+ 8,
542
+ "converted",
543
+ "i"
544
+ ],
545
+ [
546
+ 7,
547
+ [
548
+ 8,
549
+ "colors",
550
+ "i"
551
+ ],
552
+ "w"
553
+ ],
554
+ "seg"
555
+ ]
556
+ ]
557
+ ],
558
+ [
559
+ 2,
560
+ "conv",
561
+ "=",
562
+ [
563
+ 6,
564
+ [
565
+ 7,
566
+ "d",
567
+ "vec3f"
568
+ ],
569
+ [
570
+ [
571
+ 7,
572
+ [
573
+ 7,
574
+ "step",
575
+ "conv"
576
+ ],
577
+ "x"
578
+ ],
579
+ [
580
+ 7,
581
+ [
582
+ 7,
583
+ "step",
584
+ "conv"
585
+ ],
586
+ "y"
587
+ ],
588
+ [
589
+ 7,
590
+ [
591
+ 7,
592
+ "step",
593
+ "conv"
594
+ ],
595
+ "z"
596
+ ]
597
+ ]
598
+ ]
599
+ ],
600
+ [
601
+ 2,
602
+ "alpha",
603
+ "=",
604
+ [
605
+ 7,
606
+ "step",
607
+ "alpha"
608
+ ]
609
+ ]
610
+ ]]
611
+ ],
612
+ [10, [
613
+ 6,
614
+ "MixStep",
615
+ [[104, {
616
+ "conv": "conv",
617
+ "alpha": "alpha"
618
+ }]]
619
+ ]]
620
+ ]],
621
+ "externalNames": [
622
+ "std",
623
+ "d",
624
+ "mixPreconvertedInSpace",
625
+ "MixStep"
626
+ ]
627
+ },
628
+ externals: () => ({
629
+ std: std_exports,
630
+ d: data_exports,
631
+ mixPreconvertedInSpace,
632
+ MixStep
633
+ })
634
+ }) && $.f)({}));
635
+ function backConvertToP3(conv, colorSpaceMode) {
636
+ switch (colorSpaceMode) {
637
+ case 1: return call(sRGBToP3, "sRGBToP3", [call(oklabToRgb, "oklabToRgb", [call(oklchToOklab, "oklchToOklab", [conv])])]);
638
+ case 2: return call(sRGBToP3, "sRGBToP3", [call(oklabToRgb, "oklabToRgb", [conv])]);
639
+ case 3: return call(sRGBToP3, "sRGBToP3", [call(hslToRgb, "hslToRgb", [conv])]);
640
+ case 4: return call(sRGBToP3, "sRGBToP3", [call(hsvToRgb, "hsvToRgb", [conv])]);
641
+ case 5: return call(sRGBToP3, "sRGBToP3", [call(labToRgb, "labToRgb", [call(lchToLab, "lchToLab", [conv])])]);
642
+ default: return conv;
643
+ }
644
+ }
645
+ function mixColorStopsRuntime(t, uniforms, colorSpaceMode) {
646
+ const acc = call(gradientStopsInSpace, "gradientStopsInSpace", [
647
+ t,
648
+ uniforms.colorsArray,
649
+ uniforms.positionsArray,
650
+ uniforms.convertedColorsArray,
651
+ uniforms.stopCount
652
+ ]);
653
+ return vec4(backConvertToP3(acc.member("conv"), colorSpaceMode), acc.member("alpha"));
654
+ }
655
+ function colorStopsPropConfig$1() {
656
+ return {
657
+ default: null,
658
+ transform: colorStopsTransform$1,
659
+ compileTimeWhen: (previousValue, newValue) => {
660
+ const effective = (v) => {
661
+ const n = Array.isArray(v) ? v.length : 0;
662
+ return n > 1 ? n : 0;
663
+ };
664
+ return effective(previousValue) !== effective(newValue);
665
+ },
666
+ description: "Multi-stop gradient colors (overrides Color A / Color B when set)",
667
+ ui: {
668
+ type: "gradient-stops",
669
+ label: "Colors",
670
+ group: "Colors"
671
+ }
672
+ };
673
+ }
674
+ const MAX_COLOR_STOPS$1 = 8;
675
+ const colorStopsTransform = (value) => value;
676
+ function sortStops(stops) {
677
+ return stops.map((stop, index) => ({
678
+ stop,
679
+ index
680
+ })).sort((a, b) => a.stop.position - b.stop.position || a.index - b.index).map(({ stop }) => stop);
681
+ }
682
+ function resolveStops(props) {
683
+ if (Array.isArray(props.stops) && props.stops.length > 0) return sortStops(props.stops);
684
+ return [{
685
+ color: props.colorA ?? "#1aff00",
686
+ position: 0
687
+ }, {
688
+ color: props.colorB ?? "#0000ff",
689
+ position: 1
690
+ }];
691
+ }
692
+ function colorStopsPropConfig() {
693
+ return {
694
+ default: null,
695
+ transform: colorStopsTransform,
696
+ compileTimeWhen: (previousValue, newValue) => {
697
+ const effective = (v) => {
698
+ const n = Array.isArray(v) ? v.length : 0;
699
+ return n > 1 ? n : 0;
700
+ };
701
+ return effective(previousValue) !== effective(newValue);
702
+ },
703
+ description: "Multi-stop gradient colors (overrides Color A / Color B when set)",
704
+ ui: {
705
+ type: "gradient-stops",
706
+ label: "Colors",
707
+ group: "Colors"
708
+ }
709
+ };
710
+ }
711
+ var gpuColorSpaceMode = "p3-linear";
712
+ function setColorSpaceModeGpu(mode) {
713
+ gpuColorSpaceMode = mode;
714
+ try {
715
+ setColorSpaceMode(mode);
716
+ } catch {}
717
+ }
718
+ function parseColorChannelsGpu(value) {
719
+ try {
720
+ const parsed = new Color(value);
721
+ const targetSpace = gpuColorSpaceMode === "srgb" ? "srgb-linear" : "p3-linear";
722
+ const coords = parsed.to(targetSpace).coords;
723
+ const alpha = Number(parsed.alpha);
724
+ return {
725
+ r: Number.isFinite(coords?.[0]) ? coords[0] : 0,
726
+ g: Number.isFinite(coords?.[1]) ? coords[1] : 0,
727
+ b: Number.isFinite(coords?.[2]) ? coords[2] : 0,
728
+ a: Number.isFinite(alpha) ? alpha : 1
729
+ };
730
+ } catch {
731
+ return {
732
+ r: 0,
733
+ g: 0,
734
+ b: 0,
735
+ a: 0
736
+ };
737
+ }
738
+ }
739
+ function transformColorGpu(value) {
740
+ const { r, g, b, a } = parseColorChannelsGpu(value);
741
+ return vec4f(r, g, b, a);
742
+ }
743
+ function colorToRGBA(value) {
744
+ const c = transformColorGpu(value);
745
+ return [
746
+ c.x,
747
+ c.y,
748
+ c.z,
749
+ c.w
750
+ ];
751
+ }
752
+ function parsePositionAxis(val, isVertical) {
753
+ if (typeof val === "number") return val;
754
+ if (typeof val === "object" && val !== null) return val.value;
755
+ const str = val.toLowerCase().trim();
756
+ if (isVertical) {
757
+ if (str === "top") return 0;
758
+ if (str === "bottom") return 1;
759
+ if (str === "center") return .5;
760
+ } else {
761
+ if (str === "left") return 0;
762
+ if (str === "right") return 1;
763
+ if (str === "center") return .5;
764
+ }
765
+ console.warn(`Invalid position value: ${val}. Defaulting to center.`);
766
+ return .5;
767
+ }
768
+ function transformPositionGpu(value) {
769
+ let x = .5;
770
+ let y = .5;
771
+ if (typeof value === "string") {
772
+ const parts = value.toLowerCase().trim().split(/\s+/);
773
+ if (parts.includes("left")) x = 0;
774
+ else if (parts.includes("right")) x = 1;
775
+ else if (parts.includes("center") || parts.length === 1 && (parts[0] === "top" || parts[0] === "bottom")) x = .5;
776
+ if (parts.includes("top")) y = 0;
777
+ else if (parts.includes("bottom")) y = 1;
778
+ else if (parts.includes("center") || parts.length === 1 && (parts[0] === "left" || parts[0] === "right")) y = .5;
779
+ if (parts.length === 1 && parts[0] === "center") {
780
+ x = .5;
781
+ y = .5;
782
+ }
783
+ } else if (typeof value === "object" && value !== null) {
784
+ x = parsePositionAxis(value.x, false);
785
+ y = parsePositionAxis(value.y, true);
786
+ } else console.warn(`Invalid position value provided: ${value}. Defaulting to center.`);
787
+ return vec2f(x, 1 - y);
788
+ }
789
+ function gpuTransformFor(propTransform) {
790
+ if (!propTransform) return void 0;
791
+ if (propTransform === transformColor) return transformColorGpu;
792
+ if (propTransform === transformPosition) return transformPositionGpu;
793
+ if (propTransform === colorStopsTransform) return colorStopsTransform;
794
+ return propTransform;
795
+ }
796
+ function setShaderCanvasDimensions(width, height) {
797
+ if (width > 0);
798
+ if (height > 0);
799
+ }
800
+ function isDimensionalValue(v) {
801
+ return v != null && typeof v === "object" && typeof v.value === "number" && (v.unit === "px" || v.unit === "uv");
802
+ }
803
+ function buildExtraSizeProps(props) {
804
+ if (!props) return void 0;
805
+ let out;
806
+ for (const [name, cfg] of Object.entries(props)) {
807
+ const d = cfg?.ui?.dimensional;
808
+ if (d === "canvas-height" || d === "half-canvas-height" || d === "canvas-width" || d === "count-canvas-height") (out ??= /* @__PURE__ */ new Map()).set(name, d);
809
+ }
810
+ return out;
811
+ }
812
+ function buildDimensionalPlan(decl, extraSizeProps) {
813
+ const pb = decl?.propBindings;
814
+ const positionProps = /* @__PURE__ */ new Set();
815
+ const sizeProps = /* @__PURE__ */ new Map();
816
+ if (pb) for (const axis of [
817
+ "x",
818
+ "y",
819
+ "width",
820
+ "height"
821
+ ]) {
822
+ const b = pb[axis];
823
+ if (!b) continue;
824
+ if (b.as === "position-x" || b.as === "position-y") positionProps.add(b.prop);
825
+ else if (b.as === "canvas-height" || b.as === "half-canvas-height") sizeProps.set(b.prop, b.as);
826
+ }
827
+ if (extraSizeProps) for (const [prop, conv] of extraSizeProps) sizeProps.set(prop, conv);
828
+ return positionProps.size > 0 || sizeProps.size > 0 ? {
829
+ positionProps,
830
+ sizeProps
831
+ } : null;
832
+ }
833
+ var resolveOriginEdges = (origin) => ({
834
+ ox: origin.includes("left") ? "start" : origin.includes("right") ? "end" : "center",
835
+ oy: origin.includes("top") ? "start" : origin.includes("bottom") ? "end" : "center"
836
+ });
837
+ var resolveOriginCenter = (anchorUV, edge, he) => edge === "start" ? anchorUV + he : edge === "end" ? anchorUV - he : anchorUV;
838
+ function bindingSizePx(binding, v, width, height) {
839
+ const toPx = (val, dim) => isDimensionalValue(val) ? val.unit === "px" ? val.value : val.value * dim : typeof val === "number" ? val * dim : 0;
840
+ if (binding.as === "canvas-height") return toPx(v, height);
841
+ if (binding.as === "half-canvas-height") return toPx(v, 2 * height);
842
+ if (binding.as === "canvas-width") return toPx(v, width);
843
+ return 0;
844
+ }
845
+ function boxHalfExtentsUV(decl, props, width, height) {
846
+ if (decl?.computeBounds) {
847
+ const b = decl.computeBounds(props, width, height);
848
+ return {
849
+ hwx: width > 0 ? b.widthPx / width / 2 : 0,
850
+ hhy: height > 0 ? b.heightPx / height / 2 : 0
851
+ };
852
+ }
853
+ const pb = decl?.propBindings;
854
+ let hwx = 0, hhy = 0;
855
+ if (pb?.width && width > 0) hwx = bindingSizePx(pb.width, props[pb.width.prop], width, height) / (2 * width);
856
+ if (pb?.height && height > 0) hhy = bindingSizePx(pb.height, props[pb.height.prop], width, height) / (2 * height);
857
+ return {
858
+ hwx,
859
+ hhy
860
+ };
861
+ }
862
+ function resolvePositionAxis(v, dim, edge, he) {
863
+ let anchorUV;
864
+ if (isDimensionalValue(v)) if (v.unit === "px") {
865
+ const gap = dim > 0 ? v.value / dim : 0;
866
+ anchorUV = edge === "end" ? 1 - gap : edge === "center" ? .5 + gap : gap;
867
+ } else anchorUV = v.value;
868
+ else if (typeof v === "number") anchorUV = v;
869
+ else return v;
870
+ return resolveOriginCenter(anchorUV, edge, he);
871
+ }
872
+ function resolveSize(v, conversion, width, height) {
873
+ if (v.unit !== "px") return v.value;
874
+ if (conversion === "canvas-width") return width > 0 ? v.value / width : v.value;
875
+ if (height <= 0) return v.value;
876
+ if (conversion === "count-canvas-height") return v.value > 0 ? height / v.value : v.value;
877
+ return conversion === "canvas-height" ? v.value / height : v.value / (2 * height);
878
+ }
879
+ function resolveDimensionalProp(decl, propName, rawValue, origin, width, height, extraSizeProps, he) {
880
+ const plan = buildDimensionalPlan(decl, extraSizeProps);
881
+ if (!plan) return rawValue;
882
+ const { ox, oy } = resolveOriginEdges(origin);
883
+ if (plan.positionProps.has(propName)) {
884
+ if (!rawValue || typeof rawValue !== "object") return rawValue;
885
+ return {
886
+ ...rawValue,
887
+ x: resolvePositionAxis(rawValue.x, width, ox, he?.hwx ?? 0),
888
+ y: resolvePositionAxis(rawValue.y, height, oy, he?.hhy ?? 0)
889
+ };
890
+ }
891
+ const conversion = plan.sizeProps.get(propName);
892
+ if (conversion && isDimensionalValue(rawValue)) return resolveSize(rawValue, conversion, width, height);
893
+ return rawValue;
894
+ }
895
+ function isDimensionalProp(decl, propName, extraSizeProps) {
896
+ const plan = buildDimensionalPlan(decl, extraSizeProps);
897
+ if (!plan) return false;
898
+ return plan.positionProps.has(propName) || plan.sizeProps.has(propName);
899
+ }
900
+ function createGpuUniformsMap(definition, reactiveProps, _instanceId) {
901
+ const uniformsMap = {};
902
+ const decl = definition.boundingBoxDeclaration;
903
+ const extraSizeProps = buildExtraSizeProps(definition.props);
904
+ const activeColorSpaceMode = resolveColorSpaceMode(definition.props, reactiveProps);
905
+ for (const [propName, propConfig] of Object.entries(definition.props)) {
906
+ const transform = propConfig.transform;
907
+ if (transform === colorStopsTransform) {
908
+ expandColorStops(uniformsMap, propName, propConfig, reactiveProps[propName], activeColorSpaceMode);
909
+ continue;
910
+ }
911
+ const rawValue = reactiveProps[propName];
912
+ let value = rawValue;
913
+ if (value === null || value === void 0) value = propConfig.default;
914
+ if (value === null || value === void 0) {
915
+ console.error(`[Shaders] Uniform "${propName}" is null/undefined after fallback. PropConfig:`, {
916
+ propName,
917
+ initialValue: rawValue,
918
+ default: propConfig.default,
919
+ hasTransform: !!transform
920
+ });
921
+ value = 0;
922
+ }
923
+ const gpuTransform = gpuTransformFor(transform);
924
+ const isDim = isDimensionalProp(decl, propName, extraSizeProps);
925
+ const cpu = !gpuTransform && !isDim && (typeof value === "string" || typeof value === "object" && value !== null && !Array.isArray(value));
926
+ uniformsMap[propName] = {
927
+ value,
928
+ transform: gpuTransform,
929
+ compileTime: propConfig.compileTime || false,
930
+ ...propConfig.compileTimeWhen ? {
931
+ compileTimeWhen: propConfig.compileTimeWhen,
932
+ _lastCompiledValue: rawValue ?? propConfig.default
933
+ } : {},
934
+ ...isDim ? { _rawDimensional: rawValue } : {},
935
+ ...cpu ? { cpu: true } : {}
936
+ };
937
+ }
938
+ return uniformsMap;
939
+ }
940
+ function resolveColorSpaceMode(props, reactiveProps) {
941
+ for (const [name, cfg] of Object.entries(props)) if (cfg.transform === transformColorSpace) {
942
+ const raw = reactiveProps[name] ?? cfg.default;
943
+ return typeof raw === "string" ? transformColorSpace(raw) : 0;
944
+ }
945
+ return 0;
946
+ }
947
+ function expandColorStops(uniformsMap, propName, propConfig, rawValue, colorSpaceMode) {
948
+ const stops = rawValue ?? null;
949
+ const packed = packStops(stops, colorToRGBA);
950
+ const converted = packConvertedStops(packed.colors, packed.stopCount, colorSpaceMode);
951
+ uniformsMap[propName] = {
952
+ value: stops,
953
+ transform: colorStopsTransform,
954
+ cpu: true,
955
+ compileTime: propConfig.compileTime || false,
956
+ ...propConfig.compileTimeWhen ? {
957
+ compileTimeWhen: propConfig.compileTimeWhen,
958
+ _lastCompiledValue: stops ?? propConfig.default
959
+ } : {}
960
+ };
961
+ uniformsMap.colorsArray = {
962
+ value: packed.colors,
963
+ schema: arrayOf(vec4f, 8)
964
+ };
965
+ uniformsMap.positionsArray = {
966
+ value: packed.positions,
967
+ schema: arrayOf(vec4f, 8 / 4)
968
+ };
969
+ uniformsMap.convertedColorsArray = {
970
+ value: converted,
971
+ schema: arrayOf(vec3f, 8)
972
+ };
973
+ uniformsMap.stopCount = {
974
+ value: packed.stopCount,
975
+ schema: f32
976
+ };
977
+ }
978
+ const rootPassthrough = {
979
+ name: "Root",
980
+ props: {},
981
+ fragment: ({ childNode }) => childNode ?? expr("vec4f(0.0, 0.0, 0.0, 0.0)")
982
+ };
983
+ function animatedTime(params, seedName, fieldName = "_animTime") {
984
+ const base = params.props.member(fieldName);
985
+ if (seedName) {
986
+ const seed = params.uniforms[seedName];
987
+ if (seed) return base.add(seed);
988
+ }
989
+ return base;
990
+ }
991
+ export { packConvertedStops as C, mixColorStopsRuntime as S, resolveStops as _, boxHalfExtentsUV as a, colorStops_exports as b, isDimensionalProp as c, setShaderCanvasDimensions as d, colorToRGBA as f, colorStopsTransform as g, colorStopsPropConfig as h, bindingSizePx as i, isDimensionalValue as l, MAX_COLOR_STOPS$1 as m, rootPassthrough as n, buildDimensionalPlan as o, setColorSpaceModeGpu as p, createGpuUniformsMap as r, buildExtraSizeProps as s, animatedTime as t, resolveDimensionalProp as u, sortStops as v, packStops as w, gradientStopsInSpace as x, MAX_COLOR_STOPS as y };