shaders 3.0.448 → 3.0.450

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 (443) hide show
  1. package/dist/cli.js +2 -2
  2. package/dist/core/{AngularBlur-xU811GPM.js → AngularBlur-4jt7bNoF.js} +15 -15
  3. package/dist/core/{Arc-DYvFxtGy.js → Arc-DXIfbBgd.js} +13 -12
  4. package/dist/core/{Ascii-ChE4BP7J.js → Ascii-GDof03Ca.js} +51 -53
  5. package/dist/core/{Aurora-BThE6pbb.js → Aurora-CS4vewUW.js} +63 -68
  6. package/dist/core/{BarShift-DdjkPSk3.js → BarShift-BtnYLQ0B.js} +31 -32
  7. package/dist/core/{BarnDoors-B_kxVuec.js → BarnDoors-Dw9K-amf.js} +21 -22
  8. package/dist/core/{Beam-C7zPHuIU.js → Beam-D_cyaMjJ.js} +32 -39
  9. package/dist/core/{Bend-CFcEjifF.js → Bend-CSs5UIh8.js} +27 -28
  10. package/dist/core/{Blob-CgUolAhz.js → Blob-h25zA5WH.js} +54 -60
  11. package/dist/core/{BlockDissolve-CLSxXB4e.js → BlockDissolve-CKN_KvLP.js} +21 -20
  12. package/dist/core/{BlockNoise-BgEJOicU.js → BlockNoise-DhKyd_F7.js} +16 -14
  13. package/dist/core/{BlueNoise-BqMtBLxM.js → BlueNoise-Auhzq4x5.js} +12 -10
  14. package/dist/core/{Blur-Xaa6jVPT.js → Blur-CcxMqYsu.js} +27 -27
  15. package/dist/core/{Boids-B8QUNxRL.js → Boids-D51U46GF.js} +916 -787
  16. package/dist/core/{BokehBlur-B5fql96U.js → BokehBlur-Cfaqbh3I.js} +104 -104
  17. package/dist/core/{BrickPattern-EAD5HD4e.js → BrickPattern-tASwilX0.js} +34 -38
  18. package/dist/core/{BrightnessContrast-mbv32DkA.js → BrightnessContrast-ZCKqJW7i.js} +9 -10
  19. package/dist/core/{BrushedMetal-B10fDdGt.js → BrushedMetal-B6gSVB28.js} +81 -84
  20. package/dist/core/{Bulge-C1Pq4DHk.js → Bulge-dCYtWP4S.js} +19 -19
  21. package/dist/core/{CRTScreen-Ctx0Mxtb.js → CRTScreen-CVY1lOGL.js} +35 -37
  22. package/dist/core/{CarbonFiber-DSSARe6R.js → CarbonFiber-Do9EONKv.js} +81 -84
  23. package/dist/core/{Chalkboard-C7srb54u.js → Chalkboard-0hyyGnYl.js} +59 -61
  24. package/dist/core/{ChannelBlur-DE3T4-pj.js → ChannelBlur-DcZKCKXi.js} +13 -15
  25. package/dist/core/{CheckerWipe-Dp49-iaT.js → CheckerWipe-BIE62tJ1.js} +23 -23
  26. package/dist/core/{Checkerboard-oVWtS0rz.js → Checkerboard-CRnfu63u.js} +31 -31
  27. package/dist/core/{Chevron-CCD5JTRA.js → Chevron-Ld_v4z9T.js} +20 -20
  28. package/dist/core/{ChromaFlow-BiE9Mes0.js → ChromaFlow-CTWeauIr.js} +32 -33
  29. package/dist/core/{ChromaticAberration-XEasUrD3.js → ChromaticAberration-CxuOb68m.js} +13 -13
  30. package/dist/core/{Circle-CvQ9duDU.js → Circle-XP1B5rsN.js} +14 -13
  31. package/dist/core/{ColorWheel-CXvfWAjN.js → ColorWheel-CFU_OmOW.js} +30 -34
  32. package/dist/core/{CompressionArtifacts-BDaP7XI6.js → CompressionArtifacts-Bc9xTdQP.js} +64 -66
  33. package/dist/core/{ConcentricSpin-D06hFXEb.js → ConcentricSpin-DTJytpAk.js} +39 -41
  34. package/dist/core/{ConicGradient-Cg6vy3gl.js → ConicGradient-C-4uDmQj.js} +17 -18
  35. package/dist/core/{ContourLines-Cg2Dlmcr.js → ContourLines-C8p6f-1y.js} +29 -30
  36. package/dist/core/{CornerPin-wtqiMUCa.js → CornerPin-CB92kX10.js} +55 -57
  37. package/dist/core/{Crescent-Co__JqEE.js → Crescent-Dk4nlG8T.js} +14 -13
  38. package/dist/core/{Cross-CFytbdrZ.js → Cross-DsnI1U8g.js} +14 -13
  39. package/dist/core/{Crystal-U7VqhbHy.js → Crystal-CR_sG2y7.js} +143 -152
  40. package/dist/core/{CurlNoise-BXWYh1Qi.js → CurlNoise-DJ27ih0F.js} +16 -14
  41. package/dist/core/{CursorRipples-APbH7SVR.js → CursorRipples-CuO3sZga.js} +59 -58
  42. package/dist/core/{CursorTrail-D5Fj0wGp.js → CursorTrail-d4xx4QpM.js} +72 -71
  43. package/dist/core/{DataMosh-CWRLpjU3.js → DataMosh-BhvE-2yC.js} +71 -73
  44. package/dist/core/{DiamondGradient-C_2VoEiQ.js → DiamondGradient-CtOVKrYf.js} +23 -25
  45. package/dist/core/{DiamondWipe-BkdNODD1.js → DiamondWipe-D-yiQBVj.js} +22 -22
  46. package/dist/core/{DiffuseBlur-Dl7S4KBW.js → DiffuseBlur-BDf-Czxz.js} +11 -12
  47. package/dist/core/{DisplacementMap-lv-qoLem.js → DisplacementMap-B_jf_2lj.js} +26 -26
  48. package/dist/core/{Dither-B33J_gJU.js → Dither-D3P6EJU8.js} +116 -119
  49. package/dist/core/{DotGrid-DaOhiRaL.js → DotGrid-BnSVhJlh.js} +37 -39
  50. package/dist/core/{DropShadow-C5Z2Rs2C.js → DropShadow-BSKVH3n3.js} +37 -37
  51. package/dist/core/{Duotone-x4cywJbU.js → Duotone-DfjYuK2u.js} +7 -7
  52. package/dist/core/{Ellipse-CrQ1XYjx.js → Ellipse-D7_1QKaa.js} +13 -12
  53. package/dist/core/{Emboss-DNwO5JcE.js → Emboss-ZiPslqzl.js} +76 -78
  54. package/dist/core/{Engraving-FsaRQiyI.js → Engraving-DsfkKajz.js} +57 -59
  55. package/dist/core/{ErosionNoise-CloHpdFT.js → ErosionNoise-SELArv9H.js} +13 -11
  56. package/dist/core/{Exposure-mO6KjYvc.js → Exposure-A7WlTOti.js} +4 -5
  57. package/dist/core/{FallingLines-D_1wHUkx.js → FallingLines-9PRMb_Ou.js} +40 -42
  58. package/dist/core/{FilmGrain-DDhrsw94.js → FilmGrain-SXzVDesw.js} +17 -18
  59. package/dist/core/{FilmStock-BaP2aTLu.js → FilmStock-RK4fk4m0.js} +74 -74
  60. package/dist/core/{Flip-DYuqyJva.js → Flip-DjoNWG4v.js} +10 -12
  61. package/dist/core/{FloatingParticles-DJwNpHtZ.js → FloatingParticles-D7vUF5g7.js} +637 -451
  62. package/dist/core/{FlowField-D4iGiDic.js → FlowField-tHrXhd1b.js} +24 -23
  63. package/dist/core/{Flower-D0MqoayS.js → Flower-BfehbmmG.js} +14 -13
  64. package/dist/core/{FlowingGradient-9Zu0Pu4a.js → FlowingGradient-BTKjkx5F.js} +38 -39
  65. package/dist/core/{FlutedGlass-C_clmShu.js → FlutedGlass-uFT7iy_9.js} +43 -43
  66. package/dist/core/{Fog-C_kY5pWB.js → Fog-Cu1CMATa.js} +172 -171
  67. package/dist/core/{Form3D-D4aXZGoJ.js → Form3D-D0ji-MeC.js} +259 -267
  68. package/dist/core/{FractalNoise-mMVLGmIv.js → FractalNoise-D9HYiOdr.js} +30 -28
  69. package/dist/core/{Frost-M53tZlcf.js → Frost-DQZZxdTk.js} +70 -73
  70. package/dist/core/{GaborNoise-BhXywN1d.js → GaborNoise-D7BP0K4g.js} +16 -14
  71. package/dist/core/{Glass-B9D_52op.js → Glass-CzCVnGn-.js} +6 -4
  72. package/dist/core/{GlassTiles-DIkGYgVE.js → GlassTiles-DJzPPqwz.js} +23 -26
  73. package/dist/core/{Glitch-CUOJt5VX.js → Glitch-D1Dx8__X.js} +84 -72
  74. package/dist/core/{Glow-D5AdnLvU.js → Glow-Bd9_o_Kv.js} +76 -77
  75. package/dist/core/{Godrays-BeQCWVw7.js → Godrays-DRPRWGPm.js} +52 -56
  76. package/dist/core/{Goo-C0_0QYne.js → Goo-28A_pNBg.js} +64 -65
  77. package/dist/core/{GradientMap-DOVK05_a.js → GradientMap-D8dv-1AX.js} +47 -50
  78. package/dist/core/{Grayscale-Uv_6LYA9.js → Grayscale-BlVXBVwW.js} +6 -6
  79. package/dist/core/{Grid-Dbp4DoXZ.js → Grid-D9vlHvs1.js} +46 -48
  80. package/dist/core/{GridDistortion-D_21zIrm.js → GridDistortion-BpqDvqj6.js} +63 -62
  81. package/dist/core/{Group-DXiB5Qrx.js → Group-bwQnJRec.js} +1 -1
  82. package/dist/core/{HTMLInCanvas-xXPLTYIv.js → HTMLInCanvas-gCf64ozE.js} +1 -1
  83. package/dist/core/{Halftone-DszIQsyx.js → Halftone-B_WouxiP.js} +59 -62
  84. package/dist/core/{Heart-COpnSJPD.js → Heart-Bmt2TLNz.js} +12 -11
  85. package/dist/core/{Heatmap-CMm8SD-P.js → Heatmap-Ruef741_.js} +57 -55
  86. package/dist/core/{HexGrid-B6wNW-45.js → HexGrid-By9k0YuI.js} +32 -35
  87. package/dist/core/{Hologram-XejRN51V.js → Hologram-Cf25ONOE.js} +62 -66
  88. package/dist/core/{Holographic-D1G_Ou1y.js → Holographic-C9RzYykt.js} +58 -61
  89. package/dist/core/{HueShift-BCDgYfJs.js → HueShift-V3gQVuIo.js} +7 -10
  90. package/dist/core/{ImageTexture-BE2Jlkg6.js → ImageTexture-DAUR2N5Q.js} +3 -2
  91. package/dist/core/{InkFlow-DJaJqula.js → InkFlow-DlP1gmr4.js} +156 -156
  92. package/dist/core/{Invert-DDmITZjt.js → Invert-K648khvD.js} +4 -4
  93. package/dist/core/{IrisWipe-BFs5DDSa.js → IrisWipe-Clkd_5CA.js} +20 -23
  94. package/dist/core/{IsometricCubes-ChKqYTIw.js → IsometricCubes-CzfAwpQ5.js} +37 -42
  95. package/dist/core/{Kaleidoscope-C8_-tC6T.js → Kaleidoscope-B9k6HkNn.js} +21 -21
  96. package/dist/core/{KeyFrames-xR9ZzHKj.js → KeyFrames-DX6JFhsy.js} +130 -129
  97. package/dist/core/{LensFlare-DHGNEDIX.js → LensFlare-G73cvrIG.js} +82 -84
  98. package/dist/core/{LightEdge-DYfhB3-7.js → LightEdge-D3i7HUR9.js} +106 -107
  99. package/dist/core/{LightLeak-CYjuMURe.js → LightLeak-B8yGreP-.js} +58 -59
  100. package/dist/core/{LinearBlur-CV7gKYHV.js → LinearBlur-BEzNPe0e.js} +14 -14
  101. package/dist/core/{LinearGradient-DAzw65UB.js → LinearGradient-XjXyaoii.js} +36 -37
  102. package/dist/core/{LinearWipe-DoDZF7y0.js → LinearWipe-Doj9aS5n.js} +20 -21
  103. package/dist/core/{LiquidMetal-C9OxRyE4.js → LiquidMetal-CWV_RQip.js} +70 -73
  104. package/dist/core/{Liquify-gNsuR7aA.js → Liquify-DWrgFruC.js} +67 -66
  105. package/dist/core/{MagneticFilings-CQ7zHEow.js → MagneticFilings-Co0V07-1.js} +996 -756
  106. package/dist/core/{Marble-BSSMSrv8.js → Marble-D13mDBvL.js} +22 -21
  107. package/dist/core/{Mirror-BZAUA2jk.js → Mirror-DvukM_eG.js} +18 -18
  108. package/dist/core/{MultiPointGradient-HSfAYB-u.js → MultiPointGradient-CyK_Ty9a.js} +30 -31
  109. package/dist/core/{Neon-D9d6Osal.js → Neon-DD8qY6H9.js} +102 -113
  110. package/dist/core/{NoiseDissolve-CnELvUG_.js → NoiseDissolve-CeX3VO8J.js} +23 -22
  111. package/dist/core/{ObjectTracker-COh35yTh.js → ObjectTracker-BWo8H1kh.js} +3 -3
  112. package/dist/core/{PagePeel-B6sjmvZ1.js → PagePeel-BL5IeBeD.js} +54 -58
  113. package/dist/core/{Paper-LfukraJk.js → Paper-BAq9MqtG.js} +16 -15
  114. package/dist/core/{Parallelogram-DBi0yAG3.js → Parallelogram-DYzFG9ci.js} +14 -13
  115. package/dist/core/{ParticleField-q7COY9YT.js → ParticleField-Bl4uztO7.js} +1489 -1340
  116. package/dist/core/{ParticleFlow-DiHWbIon.js → ParticleFlow-RPxLP8HC.js} +1422 -1149
  117. package/dist/core/{Particles-BFsKUAPx.js → Particles-BDEX4Fw2.js} +866 -656
  118. package/dist/core/{PerlinNoise-KV2GG0ts.js → PerlinNoise-BtXlaEd8.js} +16 -14
  119. package/dist/core/{Perspective-CJSrtEy5.js → Perspective-CdU5nAEn.js} +23 -25
  120. package/dist/core/{PixelSort-WD-Y6ZFu.js → PixelSort-C7TX1ClH.js} +109 -109
  121. package/dist/core/{PixelThrow-CnOXm7Hv.js → PixelThrow-DpKEZPMK.js} +35 -35
  122. package/dist/core/{Pixelate-XJI9f1oT.js → Pixelate-C2OQUtqr.js} +19 -19
  123. package/dist/core/{Plasma-C0dnSaw1.js → Plasma-DLq9HroF.js} +33 -32
  124. package/dist/core/{Plastic-DBv_6A7q.js → Plastic-C2hiOaXw.js} +82 -84
  125. package/dist/core/{PolarCoordinates-B8Cq2bzT.js → PolarCoordinates-Bumv-Hi3.js} +16 -18
  126. package/dist/core/{Polygon-ORM35JKg.js → Polygon-DOpR58g4.js} +16 -17
  127. package/dist/core/{Posterize-Dn-Vv2S1.js → Posterize-CVNOkDme.js} +5 -8
  128. package/dist/core/{Prism-CYLsGJHY.js → Prism-CCQ1BsBL.js} +36 -40
  129. package/dist/core/{ProgressiveBlur-BXUumCm5.js → ProgressiveBlur-Cprr1XSE.js} +63 -65
  130. package/dist/core/{RadialGradient-j6T56q1W.js → RadialGradient-CsmCSySC.js} +22 -23
  131. package/dist/core/{RadialWipe-Bz19qvls.js → RadialWipe-BAnsqol4.js} +25 -25
  132. package/dist/core/{RandomBars-3RlhwDYG.js → RandomBars-DdhtxO8o.js} +23 -23
  133. package/dist/core/{ReactionDiffusion-DdXavIVw.js → ReactionDiffusion-Bih4xEtV.js} +173 -175
  134. package/dist/core/{RectangularCoordinates-p3250IKV.js → RectangularCoordinates-CKKA2oY1.js} +14 -14
  135. package/dist/core/{ReflectivePlane-BOl9AEoO.js → ReflectivePlane-u3Tje37M.js} +35 -37
  136. package/dist/core/{Repeater-BMXmN95R.js → Repeater-C-agsqBS.js} +2 -2
  137. package/dist/core/{Ring-DKcROHDs.js → Ring-Cj7bR89h.js} +15 -14
  138. package/dist/core/{RippleWipe-QH8D0Y-2.js → RippleWipe-VL1MMd5o.js} +24 -27
  139. package/dist/core/{Ripples-8fFdo6aq.js → Ripples-B88TeopS.js} +18 -21
  140. package/dist/core/{RoundedRect-Cr76tP9o.js → RoundedRect-jn8_QLrT.js} +14 -13
  141. package/dist/core/{Saturation-Dqifs1x7.js → Saturation-dCNIhHq2.js} +8 -9
  142. package/dist/core/{Scratches-sa8JU4Eb.js → Scratches-Dz_1Ptk0.js} +16 -14
  143. package/dist/core/{Sharpness-IRuPd9nn.js → Sharpness-Bxq4YiRL.js} +21 -22
  144. package/dist/core/{Shatter-BYaxMvyd.js → Shatter-DsuYUr-1.js} +73 -72
  145. package/dist/core/{SimplexNoise-C2vmRzgy.js → SimplexNoise-CvalBPNF.js} +19 -17
  146. package/dist/core/{SineWave-BGAJyGFr.js → SineWave-XPK5BsPB.js} +20 -20
  147. package/dist/core/{SliceWipe-BOcCk5Se.js → SliceWipe-gSs_VRwf.js} +19 -19
  148. package/dist/core/{Smoke-B1twbhQ4.js → Smoke-kzRXFLW9.js} +156 -155
  149. package/dist/core/{SmokeFill-CAayneM2.js → SmokeFill-DQZeqiwX.js} +233 -231
  150. package/dist/core/{SmokeFlow-Ug8difAz.js → SmokeFlow-n23YvKoI.js} +143 -142
  151. package/dist/core/{Solarize-205KKROH.js → Solarize-DINiQSz1.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-BLY2eqBV.js} +31 -37
  154. package/dist/core/{Spiral-DY1c-N4F.js → Spiral-CWCmvI3m.js} +36 -36
  155. package/dist/core/{Star-DRxNaHHo.js → Star-9WSeF-vW.js} +14 -13
  156. package/dist/core/{Stone-CUdcvOWd.js → Stone-CVO2Ey8i.js} +2 -2
  157. package/dist/core/{Strands-CFxYJMFu.js → Strands-D9Sz1vX9.js} +47 -49
  158. package/dist/core/{Stretch-DYrVdt8A.js → Stretch-DMT2Y6kN.js} +19 -19
  159. package/dist/core/{Stripes-BvnoWdwn.js → Stripes-DPVbOQkX.js} +39 -39
  160. package/dist/core/{StudioBackground-srQGUpfZ.js → StudioBackground-5JgYClrr.js} +67 -68
  161. package/dist/core/{SunBurst-COsVDZ4e.js → SunBurst-Din5CIAU.js} +18 -20
  162. package/dist/core/{Surface3D-TsGPzdGm.js → Surface3D-CW2ApEgt.js} +1934 -1528
  163. package/dist/core/{Swirl-nXMWVY2X.js → Swirl-DrchXPfh.js} +18 -21
  164. package/dist/core/{Teardrop-Bjtkigk4.js → Teardrop-CDt_XA4d.js} +13 -12
  165. package/dist/core/{Text-BGdsqRl5.js → Text-o_dubJeo.js} +20 -21
  166. package/dist/core/{ThinFilm-DhMKI5e2.js → ThinFilm-d7IlUY62.js} +59 -67
  167. package/dist/core/{TiltShift-BwuYyXB6.js → TiltShift-DJVcMb_M.js} +66 -67
  168. package/dist/core/{TimeTrail-CE2XumxR.js → TimeTrail-D1Gir7BK.js} +1003 -1647
  169. package/dist/core/{Tint-BTmcGjEl.js → Tint-Cak_PyOJ.js} +25 -26
  170. package/dist/core/{Trapezoid-CiZCh8QS.js → Trapezoid-DnFhlKCD.js} +14 -13
  171. package/dist/core/{TriangularGrid-BnQOEljy.js → TriangularGrid-BE9CgVlb.js} +34 -36
  172. package/dist/core/{Tritone-Ta084wlF.js → Tritone-mqU9b4YZ.js} +7 -10
  173. package/dist/core/{Truchet-BxCh_IIp.js → Truchet-yLdaw6z4.js} +31 -33
  174. package/dist/core/{Twirl-Cw4jm59Q.js → Twirl-SA6uh8pI.js} +16 -16
  175. package/dist/core/{VHS-Nwk0E-tf.js → VHS-Ch-bVeit.js} +68 -69
  176. package/dist/core/{VenetianBlinds-BZ0sS97G.js → VenetianBlinds-CboEoPIZ.js} +22 -23
  177. package/dist/core/{Vesica-Cf1KiSzK.js → Vesica-DmJWzk7E.js} +13 -12
  178. package/dist/core/{Vibrance-qWGvLkrW.js → Vibrance-7rW_G3qT.js} +7 -8
  179. package/dist/core/{VideoTexture-48ylVDvN.js → VideoTexture-Ctk5_1F8.js} +34 -39
  180. package/dist/core/{Vignette-CK_Li7v2.js → Vignette-DXtlR5LT.js} +20 -22
  181. package/dist/core/{Voronoi-DMYFDwIS.js → Voronoi-B0ZrQ6QO.js} +33 -37
  182. package/dist/core/{Water-D74wbHmn.js → Water-DfwGqSnM.js} +101 -108
  183. package/dist/core/{Watercolor-zo8-4Vqx.js → Watercolor-BAShYSu7.js} +305 -389
  184. package/dist/core/{WaveDistortion-BLrvGOzF.js → WaveDistortion-Cj4QBBKm.js} +80 -82
  185. package/dist/core/{WaveletNoise-a5OpO8-D.js → WaveletNoise-DYiU_ziD.js} +16 -14
  186. package/dist/core/{Weave-D1D3kuUg.js → Weave-DVefdB9i.js} +28 -31
  187. package/dist/core/{WebcamTexture-pBETyQYG.js → WebcamTexture-BO9jNxcP.js} +7 -7
  188. package/dist/core/{Wool-CMnWPdy9.js → Wool-D304TmpD.js} +2 -2
  189. package/dist/core/{WorleyNoise-BAEo0duh.js → WorleyNoise-B5FBTklZ.js} +69 -70
  190. package/dist/core/{ZoomBlur-CnBNmcfx.js → ZoomBlur-DxySopLs.js} +12 -12
  191. package/dist/core/agents-c-JjGH1b.js +1440 -0
  192. package/dist/core/blur-DKmdsW6d.js +2247 -0
  193. package/dist/core/compute-BoeIXi0l.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-BZUKQxSE.js +29857 -0
  197. package/dist/core/{glass-sOqjtPJD.js → glass-BVqgjSPg.js} +164 -172
  198. package/dist/core/gpu/index.d.ts.map +1 -1
  199. package/dist/core/gpu/kit/agents.d.ts +17 -1
  200. package/dist/core/gpu/kit/agents.d.ts.map +1 -1
  201. package/dist/core/gpu/passManager.d.ts +6 -2
  202. package/dist/core/gpu/passManager.d.ts.map +1 -1
  203. package/dist/core/gpu/textures.d.ts +2 -2
  204. package/dist/core/gpu/textures.d.ts.map +1 -1
  205. package/dist/core/index.js +324 -226
  206. package/dist/core/media-Ds6MRfGR.js +757 -0
  207. package/dist/core/noise-Cq0KUOSC.js +12033 -0
  208. package/dist/core/noiseColor-CQyzqpVZ.js +103 -0
  209. package/dist/core/{noiseColor-CRpf22bk.js → noiseColor-DjCUZ_8u.js} +2 -2
  210. package/dist/core/noiseStylize-fKVcJbGK.js +359 -0
  211. package/dist/core/porters-DogLzpKT.js +991 -0
  212. package/dist/core/presetRenderer.d.ts.map +1 -1
  213. package/dist/core/registry.js +208 -199
  214. package/dist/core/sdf-o99ONcMJ.js +5174 -0
  215. package/dist/core/shaderRegistry-BSrnuqx-.js +425 -0
  216. package/dist/core/shaders/AngularBlur/index.js +5 -4
  217. package/dist/core/shaders/Arc/index.js +7 -4
  218. package/dist/core/shaders/Ascii/index.js +5 -4
  219. package/dist/core/shaders/Aurora/index.js +6 -4
  220. package/dist/core/shaders/BarShift/index.js +5 -4
  221. package/dist/core/shaders/BarnDoors/index.js +5 -4
  222. package/dist/core/shaders/Beam/index.js +5 -4
  223. package/dist/core/shaders/Bend/index.js +5 -4
  224. package/dist/core/shaders/Blob/index.js +5 -4
  225. package/dist/core/shaders/BlockDissolve/index.js +6 -4
  226. package/dist/core/shaders/BlockNoise/index.js +8 -5
  227. package/dist/core/shaders/BlueNoise/index.js +8 -5
  228. package/dist/core/shaders/Blur/index.js +6 -4
  229. package/dist/core/shaders/Boids/index.d.ts +3 -3
  230. package/dist/core/shaders/Boids/index.d.ts.map +1 -1
  231. package/dist/core/shaders/Boids/index.js +9 -5
  232. package/dist/core/shaders/BokehBlur/index.js +6 -4
  233. package/dist/core/shaders/BrickPattern/index.js +5 -4
  234. package/dist/core/shaders/BrightnessContrast/index.js +5 -4
  235. package/dist/core/shaders/BrushedMetal/index.js +11 -6
  236. package/dist/core/shaders/Bulge/index.js +5 -4
  237. package/dist/core/shaders/CRTScreen/index.js +5 -4
  238. package/dist/core/shaders/CarbonFiber/index.js +11 -6
  239. package/dist/core/shaders/Chalkboard/index.js +5 -4
  240. package/dist/core/shaders/ChannelBlur/index.js +6 -4
  241. package/dist/core/shaders/CheckerWipe/index.js +5 -4
  242. package/dist/core/shaders/Checkerboard/index.js +5 -4
  243. package/dist/core/shaders/Chevron/index.js +5 -4
  244. package/dist/core/shaders/ChromaFlow/index.js +6 -4
  245. package/dist/core/shaders/ChromaticAberration/index.js +5 -4
  246. package/dist/core/shaders/Circle/index.js +7 -4
  247. package/dist/core/shaders/ColorWheel/index.js +5 -4
  248. package/dist/core/shaders/CompressionArtifacts/index.js +5 -4
  249. package/dist/core/shaders/ConcentricSpin/index.js +5 -4
  250. package/dist/core/shaders/ConicGradient/index.js +5 -4
  251. package/dist/core/shaders/ContourLines/index.js +5 -4
  252. package/dist/core/shaders/CornerPin/index.js +5 -4
  253. package/dist/core/shaders/Crescent/index.js +7 -4
  254. package/dist/core/shaders/Cross/index.js +7 -4
  255. package/dist/core/shaders/Crystal/index.js +11 -6
  256. package/dist/core/shaders/CurlNoise/index.js +8 -5
  257. package/dist/core/shaders/CursorRipples/index.js +5 -4
  258. package/dist/core/shaders/CursorTrail/index.js +5 -4
  259. package/dist/core/shaders/DataMosh/index.js +5 -4
  260. package/dist/core/shaders/DiamondGradient/index.js +5 -4
  261. package/dist/core/shaders/DiamondWipe/index.js +5 -4
  262. package/dist/core/shaders/DiffuseBlur/index.js +5 -4
  263. package/dist/core/shaders/DisplacementMap/index.js +5 -4
  264. package/dist/core/shaders/Dither/index.js +5 -4
  265. package/dist/core/shaders/DotGrid/index.js +5 -4
  266. package/dist/core/shaders/DropShadow/index.js +5 -4
  267. package/dist/core/shaders/Duotone/index.js +5 -4
  268. package/dist/core/shaders/Ellipse/index.js +7 -4
  269. package/dist/core/shaders/Emboss/index.js +10 -6
  270. package/dist/core/shaders/Engraving/index.js +6 -4
  271. package/dist/core/shaders/ErosionNoise/index.js +8 -5
  272. package/dist/core/shaders/Exposure/index.js +5 -4
  273. package/dist/core/shaders/FallingLines/index.js +5 -4
  274. package/dist/core/shaders/FilmGrain/index.js +5 -4
  275. package/dist/core/shaders/FilmStock/index.js +6 -4
  276. package/dist/core/shaders/Flip/index.js +5 -4
  277. package/dist/core/shaders/FloatingParticles/index.d.ts +9 -4
  278. package/dist/core/shaders/FloatingParticles/index.d.ts.map +1 -1
  279. package/dist/core/shaders/FloatingParticles/index.js +9 -5
  280. package/dist/core/shaders/FlowField/index.js +6 -4
  281. package/dist/core/shaders/Flower/index.js +7 -4
  282. package/dist/core/shaders/FlowingGradient/index.js +6 -4
  283. package/dist/core/shaders/FlutedGlass/index.js +5 -4
  284. package/dist/core/shaders/Fog/index.js +5 -4
  285. package/dist/core/shaders/Form3D/index.js +5 -4
  286. package/dist/core/shaders/FractalNoise/index.js +7 -4
  287. package/dist/core/shaders/Frost/index.js +11 -6
  288. package/dist/core/shaders/GaborNoise/index.js +8 -5
  289. package/dist/core/shaders/Glass/index.js +11 -6
  290. package/dist/core/shaders/GlassTiles/index.js +5 -4
  291. package/dist/core/shaders/Glitch/index.d.ts +1 -1
  292. package/dist/core/shaders/Glitch/index.d.ts.map +1 -1
  293. package/dist/core/shaders/Glitch/index.js +5 -4
  294. package/dist/core/shaders/Glow/index.js +6 -4
  295. package/dist/core/shaders/Godrays/index.js +5 -4
  296. package/dist/core/shaders/Goo/index.js +10 -6
  297. package/dist/core/shaders/GradientMap/index.js +5 -4
  298. package/dist/core/shaders/Grayscale/index.js +5 -4
  299. package/dist/core/shaders/Grid/index.js +5 -4
  300. package/dist/core/shaders/GridDistortion/index.js +5 -4
  301. package/dist/core/shaders/Group/index.js +5 -4
  302. package/dist/core/shaders/HTMLInCanvas/index.js +5 -4
  303. package/dist/core/shaders/Halftone/index.js +5 -4
  304. package/dist/core/shaders/Heart/index.js +7 -4
  305. package/dist/core/shaders/Heatmap/index.js +11 -6
  306. package/dist/core/shaders/HexGrid/index.js +5 -4
  307. package/dist/core/shaders/Hologram/index.js +11 -6
  308. package/dist/core/shaders/Holographic/index.js +11 -6
  309. package/dist/core/shaders/HueShift/index.js +5 -4
  310. package/dist/core/shaders/ImageTexture/index.js +7 -5
  311. package/dist/core/shaders/InkFlow/index.js +5 -4
  312. package/dist/core/shaders/Invert/index.js +5 -4
  313. package/dist/core/shaders/IrisWipe/index.js +5 -4
  314. package/dist/core/shaders/IsometricCubes/index.js +5 -4
  315. package/dist/core/shaders/Kaleidoscope/index.js +5 -4
  316. package/dist/core/shaders/KeyFrames/index.js +5 -4
  317. package/dist/core/shaders/LensFlare/index.js +5 -4
  318. package/dist/core/shaders/LightEdge/index.js +11 -6
  319. package/dist/core/shaders/LightLeak/index.js +6 -4
  320. package/dist/core/shaders/LinearBlur/index.js +5 -4
  321. package/dist/core/shaders/LinearGradient/index.js +5 -4
  322. package/dist/core/shaders/LinearWipe/index.js +5 -4
  323. package/dist/core/shaders/LiquidMetal/index.js +11 -6
  324. package/dist/core/shaders/Liquify/index.js +5 -4
  325. package/dist/core/shaders/MagneticFilings/index.d.ts +0 -2
  326. package/dist/core/shaders/MagneticFilings/index.d.ts.map +1 -1
  327. package/dist/core/shaders/MagneticFilings/index.js +9 -5
  328. package/dist/core/shaders/Marble/index.js +6 -4
  329. package/dist/core/shaders/Mirror/index.js +5 -4
  330. package/dist/core/shaders/MultiPointGradient/index.js +5 -4
  331. package/dist/core/shaders/Neon/index.js +9 -5
  332. package/dist/core/shaders/NoiseDissolve/index.js +6 -4
  333. package/dist/core/shaders/ObjectTracker/index.js +6 -5
  334. package/dist/core/shaders/PagePeel/index.js +5 -4
  335. package/dist/core/shaders/Paper/index.js +6 -4
  336. package/dist/core/shaders/Parallelogram/index.js +7 -4
  337. package/dist/core/shaders/ParticleField/index.d.ts +10 -5
  338. package/dist/core/shaders/ParticleField/index.d.ts.map +1 -1
  339. package/dist/core/shaders/ParticleField/index.js +9 -5
  340. package/dist/core/shaders/ParticleFlow/index.d.ts +10 -4
  341. package/dist/core/shaders/ParticleFlow/index.d.ts.map +1 -1
  342. package/dist/core/shaders/ParticleFlow/index.js +9 -5
  343. package/dist/core/shaders/Particles/index.d.ts +4 -3
  344. package/dist/core/shaders/Particles/index.d.ts.map +1 -1
  345. package/dist/core/shaders/Particles/index.js +12 -6
  346. package/dist/core/shaders/PerlinNoise/index.js +8 -5
  347. package/dist/core/shaders/Perspective/index.js +5 -4
  348. package/dist/core/shaders/PixelSort/index.js +5 -4
  349. package/dist/core/shaders/PixelThrow/index.js +6 -4
  350. package/dist/core/shaders/Pixelate/index.js +5 -4
  351. package/dist/core/shaders/Plasma/index.js +6 -4
  352. package/dist/core/shaders/Plastic/index.js +11 -6
  353. package/dist/core/shaders/PolarCoordinates/index.js +5 -4
  354. package/dist/core/shaders/Polygon/index.js +7 -4
  355. package/dist/core/shaders/Posterize/index.js +5 -4
  356. package/dist/core/shaders/Prism/index.js +5 -4
  357. package/dist/core/shaders/ProgressiveBlur/index.js +6 -4
  358. package/dist/core/shaders/RadialGradient/index.js +5 -4
  359. package/dist/core/shaders/RadialWipe/index.js +5 -4
  360. package/dist/core/shaders/RandomBars/index.js +6 -4
  361. package/dist/core/shaders/ReactionDiffusion/index.js +5 -4
  362. package/dist/core/shaders/RectangularCoordinates/index.js +5 -4
  363. package/dist/core/shaders/ReflectivePlane/index.js +6 -4
  364. package/dist/core/shaders/Repeater/index.js +5 -4
  365. package/dist/core/shaders/Ring/index.js +7 -4
  366. package/dist/core/shaders/RippleWipe/index.js +5 -4
  367. package/dist/core/shaders/Ripples/index.js +5 -4
  368. package/dist/core/shaders/RoundedRect/index.js +7 -4
  369. package/dist/core/shaders/Saturation/index.js +5 -4
  370. package/dist/core/shaders/Scratches/index.js +8 -5
  371. package/dist/core/shaders/Sharpness/index.js +5 -4
  372. package/dist/core/shaders/Shatter/index.js +6 -4
  373. package/dist/core/shaders/SimplexNoise/index.js +7 -4
  374. package/dist/core/shaders/SineWave/index.js +5 -4
  375. package/dist/core/shaders/SliceWipe/index.js +5 -4
  376. package/dist/core/shaders/Smoke/index.js +5 -4
  377. package/dist/core/shaders/SmokeFill/index.js +10 -6
  378. package/dist/core/shaders/SmokeFlow/index.js +5 -4
  379. package/dist/core/shaders/Solarize/index.js +5 -4
  380. package/dist/core/shaders/SolidColor/index.js +2 -2
  381. package/dist/core/shaders/Spherize/index.js +5 -4
  382. package/dist/core/shaders/Spiral/index.js +5 -4
  383. package/dist/core/shaders/Star/index.js +7 -4
  384. package/dist/core/shaders/Stone/index.js +4 -3
  385. package/dist/core/shaders/Strands/index.js +5 -4
  386. package/dist/core/shaders/Stretch/index.js +5 -4
  387. package/dist/core/shaders/Stripes/index.js +5 -4
  388. package/dist/core/shaders/StudioBackground/index.js +5 -4
  389. package/dist/core/shaders/SunBurst/index.js +5 -4
  390. package/dist/core/shaders/Surface3D/index.d.ts +4 -2
  391. package/dist/core/shaders/Surface3D/index.d.ts.map +1 -1
  392. package/dist/core/shaders/Surface3D/index.js +7 -4
  393. package/dist/core/shaders/Swirl/index.js +5 -4
  394. package/dist/core/shaders/Teardrop/index.js +7 -4
  395. package/dist/core/shaders/Text/index.js +6 -5
  396. package/dist/core/shaders/ThinFilm/index.js +9 -5
  397. package/dist/core/shaders/TiltShift/index.js +6 -4
  398. package/dist/core/shaders/TimeTrail/index.d.ts +47 -1
  399. package/dist/core/shaders/TimeTrail/index.d.ts.map +1 -1
  400. package/dist/core/shaders/TimeTrail/index.js +7 -5
  401. package/dist/core/shaders/Tint/index.js +5 -4
  402. package/dist/core/shaders/Trapezoid/index.js +7 -4
  403. package/dist/core/shaders/TriangularGrid/index.js +5 -4
  404. package/dist/core/shaders/Tritone/index.js +5 -4
  405. package/dist/core/shaders/Truchet/index.js +5 -4
  406. package/dist/core/shaders/Twirl/index.js +5 -4
  407. package/dist/core/shaders/VHS/index.js +5 -4
  408. package/dist/core/shaders/VenetianBlinds/index.js +5 -4
  409. package/dist/core/shaders/Vesica/index.js +7 -4
  410. package/dist/core/shaders/Vibrance/index.js +5 -4
  411. package/dist/core/shaders/VideoTexture/index.js +6 -5
  412. package/dist/core/shaders/Vignette/index.js +5 -4
  413. package/dist/core/shaders/Voronoi/index.js +5 -4
  414. package/dist/core/shaders/Water/index.js +11 -6
  415. package/dist/core/shaders/Watercolor/index.d.ts +1 -1
  416. package/dist/core/shaders/Watercolor/index.d.ts.map +1 -1
  417. package/dist/core/shaders/Watercolor/index.js +6 -4
  418. package/dist/core/shaders/WaveDistortion/index.js +5 -4
  419. package/dist/core/shaders/WaveletNoise/index.js +8 -5
  420. package/dist/core/shaders/Weave/index.js +5 -4
  421. package/dist/core/shaders/WebcamTexture/index.js +7 -5
  422. package/dist/core/shaders/Wool/index.js +4 -3
  423. package/dist/core/shaders/WorleyNoise/index.js +5 -4
  424. package/dist/core/shaders/ZoomBlur/index.js +5 -4
  425. package/dist/core/shapeEffectBounds-Dg4GQ5vW.js +19213 -0
  426. package/dist/core/utilities/transformations/index.js +1 -1
  427. package/dist/js/bundle.js +188 -184
  428. package/dist/js/createShader.js +1 -1
  429. package/dist/react/Shader.js +1 -1
  430. package/dist/react/bundle.js +197 -193
  431. package/dist/registry.js +0 -1
  432. package/dist/solid/engine/Shader.js +1 -1
  433. package/dist/svelte/index.js +1 -1
  434. package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
  435. package/package.json +1 -1
  436. package/dist/core/coords-BkIjixe_.js +0 -55724
  437. package/dist/core/noiseStylize-J6sFKoTh.js +0 -65
  438. package/dist/core/porters-BmU6G9TR.js +0 -321
  439. package/dist/core/shaderRegistry-D75z2sND.js +0 -425
  440. package/dist/core/shapeEffectBounds-PQqKLQXO.js +0 -406
  441. /package/dist/core/{fonts-DwhbVe2B.js → fonts-v_F1SFl9.js} +0 -0
  442. /package/dist/core/{naturalSize-Caz3-kRv.js → naturalSize-B679wTgN.js} +0 -0
  443. /package/dist/core/{transformations-t0d2-uSX.js → transformations-CsPUHppB.js} +0 -0
@@ -1,10 +1,12 @@
1
- import { At as applyEdgeHandlingExpr, Bt as ZERO, Ht as call, J as std, Tn as d, U as BLUR_MAP_FORMAT, X as createGuardedCompute, cn as unpremultiplyAlpha, n as tgpu, q as createVariableGaussianBlurCompute } from "./coords-BkIjixe_.js";
2
- import { s as transformEdges } from "./transformations-t0d2-uSX.js";
1
+ import { At as mix, N as unpremultiplyAlpha, Ot as max, Qt as struct, Ut as data_exports, Vt as step, d as ZERO, et as src_default, ln as u32, nt as std_exports, on as vec4f, ot as textureStore, p as call, qt as textureStorage2d, rn as vec2u, sn as f32, t as applyEdgeHandlingExpr, tn as vec2f, zt as smoothstep } from "./edges-BZUKQxSE.js";
2
+ import { n as createGuardedCompute } from "./compute-BoeIXi0l.js";
3
+ import { a as createVariableGaussianBlurCompute, t as BLUR_MAP_FORMAT } from "./blur-DKmdsW6d.js";
4
+ import { s as transformEdges } from "./transformations-CsPUHppB.js";
3
5
  var HALF_KERNEL = 30;
4
6
  var BLUR_TO_RADIUS_PX = 12;
5
- const reflectedPlaneUV = tgpu.fn([d.vec2f, d.f32], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, floorY) => {
7
+ const reflectedPlaneUV = src_default.fn([vec2f, f32], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, floorY) => {
6
8
  "use gpu";
7
- return d.vec2f(uv.x, __tsover_sub(__tsover_mul(floorY, 2), uv.y));
9
+ return vec2f(uv.x, __tsover_sub(__tsover_mul(floorY, 2), uv.y));
8
10
  }), {
9
11
  v: 1,
10
12
  name: void 0,
@@ -45,29 +47,25 @@ const reflectedPlaneUV = tgpu.fn([d.vec2f, d.f32], d.vec2f)(/* @__PURE__ */ (($)
45
47
  ]]]],
46
48
  "externalNames": ["d"]
47
49
  },
48
- externals: () => ({ d })
50
+ externals: () => ({ d: data_exports })
49
51
  }) && $.f)({}));
50
- const reflectivePlaneCompose = tgpu.fn([
51
- d.vec4f,
52
- d.vec4f,
53
- d.f32,
54
- d.f32,
55
- d.f32,
56
- d.f32
57
- ], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((original, refl, uvY, floorY, distance, falloff) => {
52
+ const reflectivePlaneCompose = src_default.fn([
53
+ vec4f,
54
+ vec4f,
55
+ f32,
56
+ f32,
57
+ f32,
58
+ f32
59
+ ], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((original, refl, uvY, floorY, distance, falloff) => {
58
60
  "use gpu";
59
- const distBelow = std.max(__tsover_sub(uvY, floorY), 0);
60
- const distanceMax = std.max(distance, .001);
61
- const fadeWidth = std.max(__tsover_mul(distanceMax, falloff), 1e-4);
61
+ const distBelow = max(__tsover_sub(uvY, floorY), 0);
62
+ const distanceMax = max(distance, .001);
63
+ const fadeWidth = max(__tsover_mul(distanceMax, falloff), 1e-4);
62
64
  const fadeStart = __tsover_sub(distanceMax, fadeWidth);
63
- const visibility = __tsover_sub(1, std.smoothstep(fadeStart, distanceMax, distBelow));
65
+ const visibility = __tsover_sub(1, smoothstep(fadeStart, distanceMax, distBelow));
64
66
  const effReflA = __tsover_mul(refl.w, visibility);
65
67
  const oneMinusReflA = __tsover_sub(1, effReflA);
66
- const belowRgb = refl.xyz.mul(visibility).add(original.xyz.mul(oneMinusReflA));
67
- const belowA = __tsover_add(effReflA, __tsover_mul(original.w, oneMinusReflA));
68
- const belowFloor = d.vec4f(belowRgb, belowA);
69
- const isBelowFloor = std.step(floorY, uvY);
70
- return std.mix(original, belowFloor, d.vec4f(isBelowFloor));
68
+ return mix(original, vec4f(refl.xyz.mul(visibility).add(original.xyz.mul(oneMinusReflA)), __tsover_add(effReflA, __tsover_mul(original.w, oneMinusReflA))), vec4f(step(floorY, uvY)));
71
69
  }), {
72
70
  v: 1,
73
71
  name: void 0,
@@ -311,33 +309,33 @@ const reflectivePlaneCompose = tgpu.fn([
311
309
  "externalNames": ["std", "d"]
312
310
  },
313
311
  externals: () => ({
314
- std,
315
- d
312
+ std: std_exports,
313
+ d: data_exports
316
314
  })
317
315
  }) && $.f)({}));
318
316
  function reflectiveFillParams() {
319
- return d.struct({
320
- height: d.f32,
321
- blurAmount: d.f32,
322
- blurDistance: d.f32
317
+ return struct({
318
+ height: f32,
319
+ blurAmount: f32,
320
+ blurDistance: f32
323
321
  });
324
322
  }
325
323
  function buildReflectivePlaneFillGraph(computeWidth, computeHeight) {
326
324
  const Params = reflectiveFillParams();
327
- const layout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(tgpu.bindGroupLayout({
328
- blurMap: { storageTexture: d.textureStorage2d(BLUR_MAP_FORMAT, "write-only") },
325
+ const layout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(src_default.bindGroupLayout({
326
+ blurMap: { storageTexture: textureStorage2d(BLUR_MAP_FORMAT, "write-only") },
329
327
  params: { uniform: Params }
330
328
  }), "layout");
331
329
  return {
332
330
  layout,
333
- kernel: tgpu.fn([d.u32, d.u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
331
+ kernel: src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
334
332
  "use gpu";
335
333
  const p = layout.$.params;
336
- const v = __tsover_div(__tsover_add(d.f32(cy), .5), computeHeight);
337
- const distBelowAtOutput = std.max(__tsover_sub(p.height, v), 0);
338
- const ramp = std.smoothstep(0, p.blurDistance, distBelowAtOutput);
334
+ const v = __tsover_div(__tsover_add(f32(cy), .5), computeHeight);
335
+ const distBelowAtOutput = max(__tsover_sub(p.height, v), 0);
336
+ const ramp = smoothstep(0, p.blurDistance, distBelowAtOutput);
339
337
  const radius = __tsover_mul(__tsover_mul(p.blurAmount, ramp), BLUR_TO_RADIUS_PX);
340
- std.textureStore(layout.$.blurMap, d.vec2u(cx, cy), d.vec4f(radius, 0, 0, 1));
338
+ textureStore(layout.$.blurMap, vec2u(cx, cy), vec4f(radius, 0, 0, 1));
341
339
  }), {
342
340
  v: 1,
343
341
  name: void 0,
@@ -501,9 +499,9 @@ function buildReflectivePlaneFillGraph(computeWidth, computeHeight) {
501
499
  },
502
500
  externals: () => ({
503
501
  layout,
504
- d,
502
+ d: data_exports,
505
503
  computeHeight,
506
- std,
504
+ std: std_exports,
507
505
  BLUR_TO_RADIUS_PX
508
506
  })
509
507
  }) && $.f)({})).$name("reflectivePlaneFillBlurMap"),
@@ -1,5 +1,5 @@
1
- import { Bt as ZERO, Gt as expr, Ht as call, Xt as formatFloat, Yt as Expr, cn as unpremultiplyAlpha } from "./coords-BkIjixe_.js";
2
- import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
1
+ import { N as unpremultiplyAlpha, b as Expr, d as ZERO, g as expr, p as call, x as formatFloat } from "./edges-BZUKQxSE.js";
2
+ import { i as transformBoolean } from "./transformations-CsPUHppB.js";
3
3
  const componentDefinition = {
4
4
  name: "Repeater",
5
5
  category: "Distortions",
@@ -1,18 +1,19 @@
1
- import { C as ShapeMask, F as sdf_exports, Ht as call, Jt as vec4, N as ringSdf, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
2
- import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
3
- const ringShape = tgpu.fn([
4
- d.vec2f,
5
- d.f32,
6
- d.f32,
7
- d.f32,
8
- d.f32,
9
- d.f32,
10
- d.vec2f,
11
- d.f32
1
+ import { H as mixColorsLinear, U as mixColorsVariants, Ut as data_exports, et as src_default, p as call, sn as f32, tn as vec2f, y as vec4 } from "./edges-BZUKQxSE.js";
2
+ import { h as sdf_exports, n as ShapeMask, p as ringSdf, v as strokeMaskFromSdf } from "./sdf-o99ONcMJ.js";
3
+ import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CsPUHppB.js";
4
+ const ringShape = src_default.fn([
5
+ vec2f,
6
+ f32,
7
+ f32,
8
+ f32,
9
+ f32,
10
+ f32,
11
+ vec2f,
12
+ f32
12
13
  ], ShapeMask)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((center, radius, thickness, softness, strokeThickness, strokePosition, uv, aspect) => {
13
14
  "use gpu";
14
- const aspectUV = d.vec2f(__tsover_mul(uv.x, aspect), uv.y);
15
- const centerPos = d.vec2f(__tsover_mul(center.x, aspect), __tsover_sub(1, center.y));
15
+ const aspectUV = vec2f(__tsover_mul(uv.x, aspect), uv.y);
16
+ const centerPos = vec2f(__tsover_mul(center.x, aspect), __tsover_sub(1, center.y));
16
17
  return strokeMaskFromSdf(ringSdf(__tsover_sub(aspectUV.x, centerPos.x), __tsover_sub(aspectUV.y, centerPos.y), radius, thickness), softness, strokeThickness, strokePosition);
17
18
  }), {
18
19
  v: 1,
@@ -182,7 +183,7 @@ const ringShape = tgpu.fn([
182
183
  "externalNames": ["d", "sdf"]
183
184
  },
184
185
  externals: () => ({
185
- d,
186
+ d: data_exports,
186
187
  sdf: sdf_exports
187
188
  })
188
189
  }) && $.f)({}));
@@ -1,32 +1,29 @@
1
- import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
2
- import { c as transformPosition, i as transformBoolean } from "./transformations-t0d2-uSX.js";
3
- const rippleWipeMask = tgpu.fn([
4
- d.vec4f,
5
- d.vec2f,
6
- d.f32,
7
- d.vec2f,
8
- d.f32,
9
- d.f32,
10
- d.f32,
11
- d.f32
12
- ], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, uv, aspect, center, rings, progress, feather, invert) => {
1
+ import { Dt as length, Ot as max, Tt as floor, Ut as data_exports, d as ZERO, et as src_default, mt as select, nt as std_exports, on as vec4f, p as call, sn as f32, tn as vec2f, yt as clamp, zt as smoothstep } from "./edges-BZUKQxSE.js";
2
+ import { c as transformPosition, i as transformBoolean } from "./transformations-CsPUHppB.js";
3
+ const rippleWipeMask = src_default.fn([
4
+ vec4f,
5
+ vec2f,
6
+ f32,
7
+ vec2f,
8
+ f32,
9
+ f32,
10
+ f32,
11
+ f32
12
+ ], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, uv, aspect, center, rings, progress, feather, invert) => {
13
13
  "use gpu";
14
14
  const cx = __tsover_mul(center.x, aspect);
15
15
  const cy = __tsover_sub(1, center.y);
16
- const rel = d.vec2f(__tsover_sub(__tsover_mul(uv.x, aspect), cx), __tsover_sub(uv.y, cy));
17
- const dist = std.length(rel);
18
- const dx = std.max(cx, __tsover_sub(aspect, cx));
19
- const dy = std.max(cy, __tsover_sub(1, cy));
20
- const maxDist = std.length(d.vec2f(dx, dy));
21
- const rNorm = __tsover_div(dist, std.max(maxDist, 1e-4));
22
- const n = std.max(rings, 1);
23
- const ringIdx = std.floor(__tsover_mul(rNorm, n));
24
- let coord = std.clamp(__tsover_div(__tsover_add(ringIdx, .5), n), 0, 1);
25
- coord = std.select(coord, __tsover_sub(1, coord), invert > 0);
26
- const f = std.max(feather, 1e-4);
16
+ const dist = length(vec2f(__tsover_sub(__tsover_mul(uv.x, aspect), cx), __tsover_sub(uv.y, cy)));
17
+ const maxDist = length(vec2f(max(cx, __tsover_sub(aspect, cx)), max(cy, __tsover_sub(1, cy))));
18
+ const rNorm = __tsover_div(dist, max(maxDist, 1e-4));
19
+ const n = max(rings, 1);
20
+ const ringIdx = floor(__tsover_mul(rNorm, n));
21
+ let coord = clamp(__tsover_div(__tsover_add(ringIdx, .5), n), 0, 1);
22
+ coord = select(coord, __tsover_sub(1, coord), invert > 0);
23
+ const f = max(feather, 1e-4);
27
24
  const front = __tsover_sub(__tsover_mul(progress, __tsover_add(1, __tsover_mul(2, f))), f);
28
- const reveal = std.smoothstep(__tsover_sub(front, f), __tsover_add(front, f), coord);
29
- return d.vec4f(color.x, color.y, color.z, __tsover_mul(color.w, reveal));
25
+ const reveal = smoothstep(__tsover_sub(front, f), __tsover_add(front, f), coord);
26
+ return vec4f(color.x, color.y, color.z, __tsover_mul(color.w, reveal));
30
27
  }), {
31
28
  v: 1,
32
29
  name: void 0,
@@ -408,8 +405,8 @@ const rippleWipeMask = tgpu.fn([
408
405
  "externalNames": ["d", "std"]
409
406
  },
410
407
  externals: () => ({
411
- d,
412
- std
408
+ d: data_exports,
409
+ std: std_exports
413
410
  })
414
411
  }) && $.f)({}));
415
412
  const componentDefinition = {
@@ -1,25 +1,22 @@
1
- import { Ht as call, J as std, Tn as d, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
2
- import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
3
- import { t as animatedTime } from "./porters-BmU6G9TR.js";
4
- const ripplesMask = tgpu.fn([
5
- d.vec2f,
6
- d.f32,
7
- d.f32,
8
- d.f32,
9
- d.f32,
10
- d.f32,
11
- d.vec2f,
12
- d.vec2f
13
- ], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((center, frequency, softness, thickness, phase, animTime, uv, viewport) => {
1
+ import { Dt as length, H as mixColorsLinear, Rt as sin, Ut as data_exports, et as src_default, nt as std_exports, p as call, sn as f32, tn as vec2f, zt as smoothstep } from "./edges-BZUKQxSE.js";
2
+ import { t as animatedTime } from "./porters-DogLzpKT.js";
3
+ import { a as transformColor, c as transformPosition } from "./transformations-CsPUHppB.js";
4
+ const ripplesMask = src_default.fn([
5
+ vec2f,
6
+ f32,
7
+ f32,
8
+ f32,
9
+ f32,
10
+ f32,
11
+ vec2f,
12
+ vec2f
13
+ ], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((center, frequency, softness, thickness, phase, animTime, uv, viewport) => {
14
14
  "use gpu";
15
15
  const aspect = __tsover_div(viewport.x, viewport.y);
16
- const dx = __tsover_sub(__tsover_mul(uv.x, aspect), __tsover_mul(center.x, aspect));
17
- const dy = __tsover_sub(uv.y, __tsover_sub(1, center.y));
18
- const dist = std.length(d.vec2f(dx, dy));
19
- const waveInput = __tsover_add(__tsover_sub(__tsover_mul(dist, frequency), animTime), phase);
20
- const baseWave = std.sin(waveInput);
16
+ const dist = length(vec2f(__tsover_sub(__tsover_mul(uv.x, aspect), __tsover_mul(center.x, aspect)), __tsover_sub(uv.y, __tsover_sub(1, center.y))));
17
+ const baseWave = sin(__tsover_add(__tsover_sub(__tsover_mul(dist, frequency), animTime), phase));
21
18
  const thicknessThreshold = __tsover_sub(__tsover_mul(thickness, 2), 1);
22
- const banded = std.smoothstep(__tsover_sub(thicknessThreshold, softness), __tsover_add(thicknessThreshold, softness), baseWave);
19
+ const banded = smoothstep(__tsover_sub(thicknessThreshold, softness), __tsover_add(thicknessThreshold, softness), baseWave);
23
20
  return __tsover_sub(1, banded);
24
21
  }), {
25
22
  v: 1,
@@ -235,8 +232,8 @@ const ripplesMask = tgpu.fn([
235
232
  "externalNames": ["std", "d"]
236
233
  },
237
234
  externals: () => ({
238
- std,
239
- d
235
+ std: std_exports,
236
+ d: data_exports
240
237
  })
241
238
  }) && $.f)({}));
242
239
  const componentDefinition = {
@@ -1,16 +1,17 @@
1
- import { C as ShapeMask, F as sdf_exports, Ht as call, I as shapeLocalCoords, Jt as vec4, P as roundedRectSdf, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
2
- import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
3
- const roundedRectShape = tgpu.fn([
4
- d.vec2f,
5
- d.f32,
6
- d.f32,
7
- d.f32,
8
- d.f32,
9
- d.f32,
10
- d.f32,
11
- d.f32,
12
- d.vec2f,
13
- d.f32
1
+ import { H as mixColorsLinear, U as mixColorsVariants, et as src_default, p as call, sn as f32, tn as vec2f, y as vec4 } from "./edges-BZUKQxSE.js";
2
+ import { g as shapeLocalCoords, h as sdf_exports, m as roundedRectSdf, n as ShapeMask, v as strokeMaskFromSdf } from "./sdf-o99ONcMJ.js";
3
+ import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CsPUHppB.js";
4
+ const roundedRectShape = src_default.fn([
5
+ vec2f,
6
+ f32,
7
+ f32,
8
+ f32,
9
+ f32,
10
+ f32,
11
+ f32,
12
+ f32,
13
+ vec2f,
14
+ f32
14
15
  ], ShapeMask)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((center, width, height, rounding, rotation, softness, strokeThickness, strokePosition, uv, aspect) => {
15
16
  "use gpu";
16
17
  const local = shapeLocalCoords(center, rotation, uv, aspect);
@@ -1,11 +1,10 @@
1
- import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
2
- const saturationColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, intensity) => {
1
+ import { At as mix, St as dot, Ut as data_exports, d as ZERO, et as src_default, in as vec3f, nt as std_exports, on as vec4f, p as call, sn as f32 } from "./edges-BZUKQxSE.js";
2
+ const saturationColor = src_default.fn([vec4f, f32], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, intensity) => {
3
3
  "use gpu";
4
- const rgb = d.vec3f(color.x, color.y, color.z);
5
- const luminance = std.dot(rgb, d.vec3f(.2126, .7152, .0722));
6
- const gray = d.vec3f(luminance, luminance, luminance);
7
- const saturated = std.mix(gray, rgb, d.vec3f(intensity));
8
- return d.vec4f(saturated.x, saturated.y, saturated.z, color.w);
4
+ const rgb = vec3f(color.x, color.y, color.z);
5
+ const luminance = dot(rgb, vec3f(.2126, .7152, .0722));
6
+ const saturated = mix(vec3f(luminance, luminance, luminance), rgb, vec3f(intensity));
7
+ return vec4f(saturated.x, saturated.y, saturated.z, color.w);
9
8
  }), {
10
9
  v: 1,
11
10
  name: void 0,
@@ -148,8 +147,8 @@ const saturationColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($)
148
147
  "externalNames": ["d", "std"]
149
148
  },
150
149
  externals: () => ({
151
- d,
152
- std
150
+ d: data_exports,
151
+ std: std_exports
153
152
  })
154
153
  }) && $.f)({}));
155
154
  const componentDefinition = {
@@ -1,17 +1,19 @@
1
- import { Ht as call, J as std, Tn as d, _t as scratches12, et as toneAndColorExpr, n as tgpu, pt as noise_exports } from "./coords-BkIjixe_.js";
2
- import { t as animatedTime } from "./porters-BmU6G9TR.js";
3
- import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-CRpf22bk.js";
4
- const scratchesField = tgpu.fn([
5
- d.vec2f,
6
- d.vec2f,
7
- d.f32,
8
- d.f32,
9
- d.f32,
10
- d.f32
11
- ], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, viewport, scale, seed, animTime, thickness) => {
1
+ import { Ct as exp, Ut as data_exports, et as src_default, nt as std_exports, p as call, sn as f32, tn as vec2f } from "./edges-BZUKQxSE.js";
2
+ import { t as animatedTime } from "./porters-DogLzpKT.js";
3
+ import { _ as scratches12, p as noise_exports } from "./noise-Cq0KUOSC.js";
4
+ import { n as toneAndColorExpr } from "./noiseColor-CQyzqpVZ.js";
5
+ import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-DjCUZ_8u.js";
6
+ const scratchesField = src_default.fn([
7
+ vec2f,
8
+ vec2f,
9
+ f32,
10
+ f32,
11
+ f32,
12
+ f32
13
+ ], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, viewport, scale, seed, animTime, thickness) => {
12
14
  "use gpu";
13
15
  const aspect = __tsover_div(viewport.x, viewport.y);
14
- return scratches12(d.vec2f(__tsover_mul(uv.x, aspect), uv.y).mul(std.exp(scale)).add(seed), animTime, thickness);
16
+ return scratches12(vec2f(__tsover_mul(uv.x, aspect), uv.y).mul(exp(scale)).add(seed), animTime, thickness);
15
17
  }), {
16
18
  v: 1,
17
19
  name: void 0,
@@ -137,8 +139,8 @@ const scratchesField = tgpu.fn([
137
139
  ]
138
140
  },
139
141
  externals: () => ({
140
- d,
141
- std,
142
+ d: data_exports,
143
+ std: std_exports,
142
144
  noise: noise_exports
143
145
  })
144
146
  }) && $.f)({}));
@@ -1,12 +1,12 @@
1
- import { Bt as ZERO, Ht as call, J as std, Kt as floatE, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
2
- const sharpnessTapUV = tgpu.fn([
3
- d.vec2f,
4
- d.vec2f,
5
- d.f32,
6
- d.f32
7
- ], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, viewport, dirX, dirY) => {
1
+ import { N as unpremultiplyAlpha, Ut as data_exports, _ as floatE, d as ZERO, et as src_default, in as vec3f, nt as std_exports, on as vec4f, p as call, sn as f32, tn as vec2f, yt as clamp } from "./edges-BZUKQxSE.js";
2
+ const sharpnessTapUV = src_default.fn([
3
+ vec2f,
4
+ vec2f,
5
+ f32,
6
+ f32
7
+ ], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, viewport, dirX, dirY) => {
8
8
  "use gpu";
9
- return d.vec2f(__tsover_add(uv.x, __tsover_div(dirX, viewport.x)), __tsover_add(uv.y, __tsover_div(dirY, viewport.y)));
9
+ return vec2f(__tsover_add(uv.x, __tsover_div(dirX, viewport.x)), __tsover_add(uv.y, __tsover_div(dirY, viewport.y)));
10
10
  }), {
11
11
  v: 1,
12
12
  name: void 0,
@@ -76,22 +76,21 @@ const sharpnessTapUV = tgpu.fn([
76
76
  ]]]],
77
77
  "externalNames": ["d"]
78
78
  },
79
- externals: () => ({ d })
79
+ externals: () => ({ d: data_exports })
80
80
  }) && $.f)({}));
81
- const sharpnessCompose = tgpu.fn([
82
- d.vec4f,
83
- d.vec4f,
84
- d.vec4f,
85
- d.vec4f,
86
- d.vec4f,
87
- d.f32
88
- ], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((center, top, bottom, left, right, amount) => {
81
+ const sharpnessCompose = src_default.fn([
82
+ vec4f,
83
+ vec4f,
84
+ vec4f,
85
+ vec4f,
86
+ vec4f,
87
+ f32
88
+ ], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((center, top, bottom, left, right, amount) => {
89
89
  "use gpu";
90
90
  const centerWeight = __tsover_add(1, __tsover_mul(amount, 4));
91
91
  const neighborWeight = __tsover_mul(amount, -1);
92
- const rgb = center.xyz.mul(centerWeight).add(top.xyz.mul(neighborWeight)).add(bottom.xyz.mul(neighborWeight)).add(left.xyz.mul(neighborWeight)).add(right.xyz.mul(neighborWeight));
93
- const clamped = std.clamp(rgb, d.vec3f(0, 0, 0), d.vec3f(1, 1, 1));
94
- return d.vec4f(clamped.x, clamped.y, clamped.z, center.w);
92
+ const clamped = clamp(center.xyz.mul(centerWeight).add(top.xyz.mul(neighborWeight)).add(bottom.xyz.mul(neighborWeight)).add(left.xyz.mul(neighborWeight)).add(right.xyz.mul(neighborWeight)), vec3f(0, 0, 0), vec3f(1, 1, 1));
93
+ return vec4f(clamped.x, clamped.y, clamped.z, center.w);
95
94
  }), {
96
95
  v: 1,
97
96
  name: void 0,
@@ -324,8 +323,8 @@ const sharpnessCompose = tgpu.fn([
324
323
  "externalNames": ["std", "d"]
325
324
  },
326
325
  externals: () => ({
327
- std,
328
- d
326
+ std: std_exports,
327
+ d: data_exports
329
328
  })
330
329
  }) && $.f)({}));
331
330
  const componentDefinition = {