shaders 3.1.457 → 3.1.458

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 (432) hide show
  1. package/dist/cli.js +2 -2
  2. package/dist/core/{AngularBlur-CIw_xeFr.js → AngularBlur-BzY7RJ8k.js} +16 -32
  3. package/dist/core/{Arc-Dh0gjBrJ.js → Arc-mmJuqIrG.js} +15 -26
  4. package/dist/core/{Ascii-CUk527uY.js → Ascii-D67jsGPT.js} +64 -165
  5. package/dist/core/{Aurora-CJ7evt-F.js → Aurora-CpHlaOfW.js} +93 -289
  6. package/dist/core/{BarShift-BrOamln6.js → BarShift-B9wsOKYJ.js} +33 -68
  7. package/dist/core/{BarnDoors-D_lVAMPJ.js → BarnDoors-C7Uzc1at.js} +16 -28
  8. package/dist/core/{Beam-KKNLzfKR.js → Beam-8CoTk23e.js} +22 -62
  9. package/dist/core/{Bend-CRuu6NuH.js → Bend-BYVoLE8C.js} +50 -161
  10. package/dist/core/{Blob-1mhEIcv5.js → Blob--way9kNy.js} +62 -189
  11. package/dist/core/{BlockDissolve-B9xWZC6U.js → BlockDissolve-f5fwwXWH.js} +17 -32
  12. package/dist/core/{BlockNoise-DQUBYM1N.js → BlockNoise-BpIuLPlC.js} +17 -29
  13. package/dist/core/{BlueNoise-BN1q4V6k.js → BlueNoise-C2tYHQRB.js} +14 -23
  14. package/dist/core/{Blur-Bc8evwsz.js → Blur-CmE46Bvp.js} +41 -114
  15. package/dist/core/{Boids-C7NstB5L.js → Boids-BgsVOmp1.js} +227 -734
  16. package/dist/core/{BokehBlur-CWQm00ut.js → BokehBlur-CU5Qphip.js} +197 -722
  17. package/dist/core/{BrickPattern-CIejlS9-.js → BrickPattern-BIpInb0P.js} +41 -99
  18. package/dist/core/{BrightnessContrast-Bs8AV0he.js → BrightnessContrast-BAJYnvFu.js} +12 -22
  19. package/dist/core/{BrushedMetal-D2X_nM8z.js → BrushedMetal-C4a9G-dt.js} +113 -358
  20. package/dist/core/{Bulge-CdhRTWSH.js → Bulge-C7eYFYDP.js} +19 -46
  21. package/dist/core/{CRTScreen-BxnPxDw9.js → CRTScreen-CfCxUiP4.js} +34 -94
  22. package/dist/core/{CarbonFiber-BFogRBFa.js → CarbonFiber-CDWj-Oc3.js} +123 -420
  23. package/dist/core/{Chalkboard-DEuq4TWm.js → Chalkboard-BfiyhSfN.js} +86 -212
  24. package/dist/core/{ChannelBlur-Oz40DKPZ.js → ChannelBlur-D2pxXWLQ.js} +17 -45
  25. package/dist/core/{CheckerWipe-yv4dK6n5.js → CheckerWipe-Cxy0pc7v.js} +18 -36
  26. package/dist/core/{Checkerboard-BFFF9ajX.js → Checkerboard-Bdaf19G4.js} +12 -17
  27. package/dist/core/{Chevron-BHbGhnrT.js → Chevron-BsdILsaY.js} +28 -57
  28. package/dist/core/{ChromaFlow-BXw1jQkn.js → ChromaFlow-DGTgGdzI.js} +31 -86
  29. package/dist/core/{ChromaticAberration-CWhYEGDU.js → ChromaticAberration-npr_Zzu7.js} +15 -30
  30. package/dist/core/{Chrome-DdV9RY9D.js → Chrome-DirY2YRZ.js} +156 -546
  31. package/dist/core/{Circle-DGvP0Svo.js → Circle-CLO08218.js} +15 -31
  32. package/dist/core/{ColorWheel-BOfvt3mc.js → ColorWheel-D5Hfl4t7.js} +57 -128
  33. package/dist/core/{CompressionArtifacts-Cm0iOzys.js → CompressionArtifacts-DVlRMU-H.js} +119 -374
  34. package/dist/core/{ConcentricSpin-B3GHzoS1.js → ConcentricSpin-Dls_rak9.js} +41 -98
  35. package/dist/core/{ConicGradient-1RKI-gOR.js → ConicGradient-BjVmRAul.js} +18 -31
  36. package/dist/core/{ContourLines-DDzxvg9k.js → ContourLines-BKcyS-lX.js} +37 -81
  37. package/dist/core/{CornerPin-VFPI_Jzq.js → CornerPin-CrTdyHSy.js} +96 -268
  38. package/dist/core/{Crescent-DL6EeZZp.js → Crescent-C77DCA2i.js} +14 -23
  39. package/dist/core/{Cross-DQIgZt-C.js → Cross-C8SURmac.js} +14 -23
  40. package/dist/core/{Crystal-CB_U2g2k.js → Crystal-WbJgiOqh.js} +206 -753
  41. package/dist/core/{CurlNoise-FmbuZEYt.js → CurlNoise-BiFV2K5L.js} +17 -34
  42. package/dist/core/{CursorRipples-C1hLNWzZ.js → CursorRipples-hIYlb09k.js} +73 -200
  43. package/dist/core/{CursorTrail-CPW8orHG.js → CursorTrail-CjTJ9OJ0.js} +81 -172
  44. package/dist/core/{DataMosh-C_esIK54.js → DataMosh-Cmo5-E5_.js} +134 -521
  45. package/dist/core/{DiamondGradient-CjnjxWEM.js → DiamondGradient-DIxg1EP9.js} +31 -66
  46. package/dist/core/{DiamondWipe-Cscn7Dyy.js → DiamondWipe-D4T1q5ia.js} +17 -36
  47. package/dist/core/{DiffuseBlur-DmPHOfr_.js → DiffuseBlur-okj7zVss.js} +13 -22
  48. package/dist/core/{DisplacementMap-B-cVoGbC.js → DisplacementMap-CHB6_h0f.js} +31 -69
  49. package/dist/core/{Dither-CBsFenFW.js → Dither-DTnkeWP0.js} +161 -438
  50. package/dist/core/{DotGrid-CbxlW08N.js → DotGrid-BJBEwt4L.js} +36 -77
  51. package/dist/core/{DropShadow-B4msUftn.js → DropShadow-CPT5vr4K.js} +39 -86
  52. package/dist/core/{Duotone-DF3dn0kC.js → Duotone-BWuTPBIw.js} +14 -26
  53. package/dist/core/{Ellipse-WuGsM7Gr.js → Ellipse-gVe3stQJ.js} +14 -23
  54. package/dist/core/{Emboss-D5RYAc-U.js → Emboss-DOPfz-ox.js} +85 -200
  55. package/dist/core/{Engraving-CmNKAHmF.js → Engraving-YNrPy-c7.js} +82 -222
  56. package/dist/core/{ErosionNoise-DdHtOQl4.js → ErosionNoise-X_2sjC-x.js} +14 -23
  57. package/dist/core/{Exposure-BSsbosYN.js → Exposure-xVgsHAWw.js} +7 -12
  58. package/dist/core/{FallingLines-1q5WgiKa.js → FallingLines-DPHJRCvy.js} +68 -205
  59. package/dist/core/{FilmGrain-CgvcPFDC.js → FilmGrain-CDuL4T8C.js} +22 -51
  60. package/dist/core/{FilmStock-Bgn9OyQY.js → FilmStock-BmMC2ewO.js} +89 -264
  61. package/dist/core/{Flip-DJuox9qR.js → Flip-DhpEvnT7.js} +13 -26
  62. package/dist/core/{FloatingParticles-BGig0_Ks.js → FloatingParticles-Dx3J-Pbe.js} +177 -459
  63. package/dist/core/{FlowField-0I_PwtkD.js → FlowField-CLbiu5Xo.js} +38 -120
  64. package/dist/core/{Flower--1qeeCuA.js → Flower-nF4Zq0eP.js} +14 -23
  65. package/dist/core/{FlowingGradient-DMZ1E9ix.js → FlowingGradient-aNCwZ9nh.js} +61 -185
  66. package/dist/core/{FlutedGlass-CqSVa4kd.js → FlutedGlass-m19MvmKj.js} +44 -124
  67. package/dist/core/{Fog-DxFsHnT2.js → Fog-DVclS-y4.js} +125 -330
  68. package/dist/core/{Form3D-CabM27VZ.js → Form3D-Cv6l3hHQ.js} +328 -974
  69. package/dist/core/{FractalNoise-DPhwf7-X.js → FractalNoise-BMRqE4LG.js} +26 -55
  70. package/dist/core/{Frost-BL4zkGjj.js → Frost-Cqc7t9TR.js} +115 -422
  71. package/dist/core/{GaborNoise-GkEvNPeg.js → GaborNoise-BL4TH_Yh.js} +15 -24
  72. package/dist/core/{Glass-DPa3OWjZ.js → Glass-D5jcM7J7.js} +6 -6
  73. package/dist/core/{GlassTiles-B4Y8x78X.js → GlassTiles-BeKB3vfh.js} +29 -90
  74. package/dist/core/{Glitch-D-QTlz5D.js → Glitch-BmJj_vgQ.js} +83 -295
  75. package/dist/core/{Glow-C3VfGUb6.js → Glow-wdFqXqWh.js} +11 -20
  76. package/dist/core/{Godrays-pfr82Onh.js → Godrays-CQ7Gpeni.js} +68 -179
  77. package/dist/core/{Goo-BPaUKk1S.js → Goo-nc_51UOr.js} +92 -323
  78. package/dist/core/{GradientMap-DQ4IbzIx.js → GradientMap-BU9r1enO.js} +61 -141
  79. package/dist/core/{Grayscale-Bpp1Q2KT.js → Grayscale-CGtMggTH.js} +13 -25
  80. package/dist/core/{Grid-CQRC0rPf.js → Grid-BFx6ufzG.js} +51 -122
  81. package/dist/core/{GridDistortion-CAKSKhII.js → GridDistortion-B-Hq3rLo.js} +80 -195
  82. package/dist/core/{Group-UvbIuzy-.js → Group-DnA_clLB.js} +1 -1
  83. package/dist/core/{HTMLInCanvas-CMxSuq5H.js → HTMLInCanvas-DhCIQ97w.js} +2 -2
  84. package/dist/core/{Halftone-SiFx0wAg.js → Halftone-eX0AaYyB.js} +114 -283
  85. package/dist/core/{Heart-DLQnxsbQ.js → Heart-98zfiijj.js} +14 -23
  86. package/dist/core/{Heatmap-DhvtrL45.js → Heatmap-BCV4Pq0O.js} +92 -271
  87. package/dist/core/{HexGrid-DsEQNWJB.js → HexGrid-BlRlo8z4.js} +46 -117
  88. package/dist/core/{Hologram-DR88qD5X.js → Hologram-B5iMaK95.js} +87 -258
  89. package/dist/core/{Holographic-DKc_nNnT.js → Holographic-DBdODPjj.js} +99 -333
  90. package/dist/core/{HueShift-B7l4vcZP.js → HueShift-AsoQKt_z.js} +16 -33
  91. package/dist/core/{ImageTexture-D41xKACO.js → ImageTexture-CRL52DxI.js} +3 -3
  92. package/dist/core/{InkFlow-Bd4RXQmm.js → InkFlow-JMUVdkv1.js} +60 -148
  93. package/dist/core/{Invert-CEfJB0WN.js → Invert-BWV7zcBe.js} +7 -12
  94. package/dist/core/{IrisWipe-O6dc-Aq2.js → IrisWipe-5LICL9Oq.js} +14 -23
  95. package/dist/core/{IsometricCubes-BBK6Ec0q.js → IsometricCubes-DGFF6e8t.js} +61 -180
  96. package/dist/core/{Kaleidoscope-DQFV4-lX.js → Kaleidoscope-B7F2_L9x.js} +28 -69
  97. package/dist/core/{KeyFrames-BjH6gHSf.js → KeyFrames-CVH9NNY6.js} +298 -1172
  98. package/dist/core/{LensDistortion-BcodYk7_.js → LensDistortion-_QcaFbkh.js} +3 -3
  99. package/dist/core/{LensFlare-DLjQYsbx.js → LensFlare-h0EG0UVt.js} +119 -396
  100. package/dist/core/{LightEdge-CF0k0vMa.js → LightEdge-DO7stYlD.js} +169 -491
  101. package/dist/core/{LightLeak-Bu6xFjg-.js → LightLeak-BxqXrUyh.js} +80 -268
  102. package/dist/core/{Line-CRGYWOyW.js → Line-BtfkwqKJ.js} +79 -315
  103. package/dist/core/{LinearBlur-DGfbbIWb.js → LinearBlur-D0_W0tKF.js} +17 -33
  104. package/dist/core/{LinearGradient--54vTgc2.js → LinearGradient-BiATK9p7.js} +63 -145
  105. package/dist/core/{LinearWipe-0nTDgTcZ.js → LinearWipe-B1GFY0IT.js} +14 -23
  106. package/dist/core/{LiquidMetal-Bhenyeg-.js → LiquidMetal-07eJWR7z.js} +106 -341
  107. package/dist/core/{Liquify-Bg2tEc64.js → Liquify-CfPGxRC3.js} +72 -194
  108. package/dist/core/{MagneticFilings-Bn5DZWor.js → MagneticFilings-5iGBn4fr.js} +191 -545
  109. package/dist/core/{Marble-DixQe_Tu.js → Marble-RK87t7fT.js} +30 -88
  110. package/dist/core/{MeshGradient-Ca3pe_wB.js → MeshGradient-DxUlAoDr.js} +127 -341
  111. package/dist/core/{Mirror-DObS_qYr.js → Mirror-Bn0fpWtr.js} +26 -67
  112. package/dist/core/{MultiPointGradient-CtFBgPK6.js → MultiPointGradient-C44VD_6j.js} +26 -50
  113. package/dist/core/{Neon-m8PtEGdE.js → Neon-aO0w94H6.js} +119 -337
  114. package/dist/core/{NoiseDissolve-CB-Xj99z.js → NoiseDissolve-BYyXZMjF.js} +23 -64
  115. package/dist/core/{ObjectTracker-DQbxNZtb.js → ObjectTracker-ZgeKRvaK.js} +5 -5
  116. package/dist/core/{PagePeel-DOapA4QF.js → PagePeel-DqrIEWWF.js} +67 -215
  117. package/dist/core/{Paper-CVx1rZ1-.js → Paper-q-nDnqsG.js} +19 -45
  118. package/dist/core/{Parallelogram-BUR2Mg0g.js → Parallelogram-Cppv2GJm.js} +14 -23
  119. package/dist/core/{ParticleField-rfpfY_wr.js → ParticleField-B-O9nxdw.js} +247 -765
  120. package/dist/core/{ParticleFlow-DnZTqxMa.js → ParticleFlow-DVgTyGq4.js} +283 -840
  121. package/dist/core/{Particles-wfjtqAvF.js → Particles-B49_QWS_.js} +381 -1131
  122. package/dist/core/{PerlinNoise-B3PkQS1F.js → PerlinNoise-CZVb7VEh.js} +17 -29
  123. package/dist/core/{Perspective-Bp1nozq3.js → Perspective-Bl3AmawJ.js} +27 -73
  124. package/dist/core/{PixelSort-DF5Mm0uT.js → PixelSort-7VoL4Ck8.js} +174 -500
  125. package/dist/core/{PixelThrow-ANJ0F294.js → PixelThrow-CPqOSAmc.js} +25 -56
  126. package/dist/core/{Pixelate-Bl29QKdg.js → Pixelate-jMtbtFMG.js} +35 -109
  127. package/dist/core/{Plasma-DdEQKNa7.js → Plasma-DbilAdXY.js} +23 -47
  128. package/dist/core/{Plastic-RGRWPbc0.js → Plastic-DX61wGBx.js} +125 -379
  129. package/dist/core/{PolarCoordinates-kNqucXuj.js → PolarCoordinates-KOCO2sd-.js} +19 -44
  130. package/dist/core/{Polygon-Cg1Yb-TF.js → Polygon-Citu4Kgl.js} +18 -36
  131. package/dist/core/{Posterize-Bjfq_Et8.js → Posterize-D2-WcAiP.js} +18 -45
  132. package/dist/core/{Prism-CGeOs8pX.js → Prism-DYPWHdaf.js} +52 -144
  133. package/dist/core/{ProgressiveBlur-DHvM4Y4m.js → ProgressiveBlur-CTxD1yoj.js} +87 -223
  134. package/dist/core/{RadialGradient-CiFbgiiX.js → RadialGradient-B6I7KijG.js} +30 -63
  135. package/dist/core/{RadialWipe-BRvtJQN-.js → RadialWipe-CtjMG_pj.js} +14 -23
  136. package/dist/core/{RandomBars-BFJiR8ml.js → RandomBars-C6ksDuSF.js} +21 -47
  137. package/dist/core/{ReactionDiffusion-COFwdqMo.js → ReactionDiffusion-BzipteCn.js} +274 -755
  138. package/dist/core/{RectangularCoordinates-s25JfGDt.js → RectangularCoordinates-CfdZ347a.js} +18 -39
  139. package/dist/core/{ReflectivePlane-DP8vG4-U.js → ReflectivePlane-Cpv1p9O3.js} +48 -109
  140. package/dist/core/{Repeater-B6_lpYav.js → Repeater-H17zapDG.js} +2 -2
  141. package/dist/core/{Ring-CEaC7ILp.js → Ring-CDpyGwQ6.js} +15 -31
  142. package/dist/core/{RippleWipe-UrrIoCor.js → RippleWipe-BqL3WbjT.js} +20 -41
  143. package/dist/core/{Ripples-Cdha1qtk.js → Ripples-OFXx87jz.js} +16 -31
  144. package/dist/core/{RoundedRect-CLsMHcTd.js → RoundedRect-CuFSyEfW.js} +14 -23
  145. package/dist/core/{Saturation-Bpjxowys.js → Saturation-DjHX8rx2.js} +18 -45
  146. package/dist/core/{Scratches-RZkkhOMp.js → Scratches-Glgspe1m.js} +16 -33
  147. package/dist/core/{Sharpness-fFikIkE3.js → Sharpness-CSOtgpDq.js} +19 -40
  148. package/dist/core/{Shatter-C_v-Y_F_.js → Shatter-ydD72wnA.js} +79 -199
  149. package/dist/core/{SimplexNoise-CD-iTgJm.js → SimplexNoise-hkOBRbAM.js} +19 -35
  150. package/dist/core/{SineWave-D4hvW_8O.js → SineWave-Bp_0CoHZ.js} +20 -42
  151. package/dist/core/{SliceWipe-pGIB0xIc.js → SliceWipe-B77JxKQI.js} +31 -86
  152. package/dist/core/{Smoke-NgL8_Wlw.js → Smoke-BMhBhfbI.js} +50 -142
  153. package/dist/core/{SmokeFill-Cd-U58Bx.js → SmokeFill-L_3k9mKj.js} +173 -497
  154. package/dist/core/{SmokeFlow-BhjNSfcC.js → SmokeFlow-BNzNH5BF.js} +41 -102
  155. package/dist/core/{Solarize-DD2cjiZ7.js → Solarize-C7kAzXW_.js} +20 -50
  156. package/dist/core/{SolidColor-CmSX4SHb.js → SolidColor-Bp_KSGbp.js} +1 -1
  157. package/dist/core/{Spherize-Cpbor3M3.js → Spherize-Bj2nPPwK.js} +43 -125
  158. package/dist/core/{Spiral-BLM63kmf.js → Spiral-D3pxBQUb.js} +46 -115
  159. package/dist/core/{Star-UzeNW_jo.js → Star-CEH9XN1n.js} +14 -23
  160. package/dist/core/{Stone-B6MARs4o.js → Stone-DwYVLkb6.js} +2 -2
  161. package/dist/core/{Strands-DR_owki5.js → Strands-C3KJK5qj.js} +73 -224
  162. package/dist/core/{Stretch-Zhc5gz72.js → Stretch-D4dxm3Eq.js} +25 -62
  163. package/dist/core/{Stripes-C_i7QbEn.js → Stripes-C189VJJp.js} +27 -46
  164. package/dist/core/{StudioBackground-CZipQCG_.js → StudioBackground-DBftmr1t.js} +63 -207
  165. package/dist/core/{SunBurst-BKj7bLZn.js → SunBurst-BWiu3_T9.js} +20 -43
  166. package/dist/core/{Surface3D-BlexrpDJ.js → Surface3D-BHj5scrr.js} +236 -806
  167. package/dist/core/{Swirl-CKMRfpSx.js → Swirl-CG20s_S3.js} +35 -126
  168. package/dist/core/{Teardrop-Dcfd14iX.js → Teardrop-CaZaZqiU.js} +14 -23
  169. package/dist/core/{Text-2KkuVHxV.js → Text-BbSkUuRh.js} +26 -64
  170. package/dist/core/{ThinFilm-B7CTONK1.js → ThinFilm-DT5F71JM.js} +77 -202
  171. package/dist/core/{TiltShift-Yfz7yOnT.js → TiltShift-Bkj3TL8G.js} +90 -238
  172. package/dist/core/{TimeTrail-3YRaIap8.js → TimeTrail-DNI1as8t.js} +173 -403
  173. package/dist/core/{Tint-6e9QqUg4.js → Tint-C9ivnlbq.js} +35 -89
  174. package/dist/core/{Trapezoid-CTww_GcP.js → Trapezoid-Ba413G93.js} +14 -23
  175. package/dist/core/{TriangularGrid-DfrUVI8m.js → TriangularGrid-Cq7BdUyV.js} +50 -126
  176. package/dist/core/{Tritone-DmtMlvKc.js → Tritone-C4qZhK3A.js} +17 -41
  177. package/dist/core/{Truchet-B3__IHji.js → Truchet-BXK_Ot95.js} +60 -152
  178. package/dist/core/{Twirl-ECiB1asy.js → Twirl-BZDpTksa.js} +18 -41
  179. package/dist/core/{VHS-BIaAlx98.js → VHS-Ge_vluLk.js} +97 -295
  180. package/dist/core/{VenetianBlinds-DWnvvXJC.js → VenetianBlinds-Dp92230V.js} +16 -28
  181. package/dist/core/{Vesica-iFL8Vjcf.js → Vesica-5kOz3lTP.js} +14 -23
  182. package/dist/core/{Vibrance-CDeIsI81.js → Vibrance-B0y3zjRl.js} +18 -45
  183. package/dist/core/{VideoTexture-UIOWDMK6.js → VideoTexture-COYSXvPe.js} +3 -3
  184. package/dist/core/{Vignette-F2HgCda5.js → Vignette-BD_9PM6J.js} +23 -56
  185. package/dist/core/{Voronoi-DsHYdzB3.js → Voronoi-DIpQvBqc.js} +21 -46
  186. package/dist/core/{Water-T5GXFBCm.js → Water-D6Y7PaqY.js} +179 -639
  187. package/dist/core/{Watercolor-yog8LZOs.js → Watercolor-gXjW0cmP.js} +59 -184
  188. package/dist/core/{WaveDistortion-BWVqDVI3.js → WaveDistortion-CFVOiujJ.js} +84 -178
  189. package/dist/core/{WaveletNoise-pL_M8jha.js → WaveletNoise-Bm_C1dRt.js} +15 -24
  190. package/dist/core/{Weave-kQlWbHa6.js → Weave-a9i8xeTZ.js} +34 -74
  191. package/dist/core/{WebcamTexture-Barzo30S.js → WebcamTexture-BFP7WQuM.js} +13 -22
  192. package/dist/core/{Wool-CYzG-VrW.js → Wool-BwM9vbek.js} +2 -2
  193. package/dist/core/{WorleyNoise-Cju8qU_5.js → WorleyNoise-DsKMQk7S.js} +30 -56
  194. package/dist/core/{ZoomBlur-DqJUm1uw.js → ZoomBlur-DiEaGrqE.js} +10 -19
  195. package/dist/core/{aa-zeNRf4Lz.js → aa-C759fSpb.js} +108 -277
  196. package/dist/core/{agents-C_kohsYu.js → agents-BrNOCcxk.js} +246 -298
  197. package/dist/core/{bevel-ogqjoZKV.js → bevel-1wa44FF7.js} +14 -34
  198. package/dist/core/{blur-CZuIxzX6.js → blur-fsxhpklK.js} +314 -925
  199. package/dist/core/{cells-C72CLFsJ.js → cells-CmYMp4aV.js} +92 -191
  200. package/dist/core/{cellular-qYnxKdPx.js → cellular-7Xgxfk7O.js} +134 -385
  201. package/dist/core/derivative-p1TouwZG.js +93 -0
  202. package/dist/core/{device-B0ZwBfOg.js → device-DWPzs8TD.js} +528 -778
  203. package/dist/core/{edges-CD7gCAto.js → edges-BvIjDyJK.js} +11467 -13731
  204. package/dist/core/{fields-DgMkoZ6o.js → fields-DORoQP7V.js} +96 -260
  205. package/dist/core/{geom-B_TNdMNk.js → geom-D1eEB6WE.js} +110 -219
  206. package/dist/core/{glass-D8xs_kIG.js → glass-DEHkelE5.js} +164 -391
  207. package/dist/core/index.js +253 -246
  208. package/dist/core/{lightfields-ffHoLyJn.js → lightfields-Btxs_pA3.js} +125 -320
  209. package/dist/core/{lighting-D3jc6qOc.js → lighting-CT_di0hW.js} +111 -248
  210. package/dist/core/{media-fQMXfvXd.js → media-B4AiE8Wu.js} +63 -141
  211. package/dist/core/{mediaLifecycle-yHZ8w5aj.js → mediaLifecycle-DHrjB2zB.js} +1 -1
  212. package/dist/core/{noise-DX5Y_I--.js → noise-Be9_Xz5F.js} +939 -2742
  213. package/dist/core/{noiseColor-DYhX5Js1.js → noiseColor-CCePJCFN.js} +3 -3
  214. package/dist/core/{noiseColor-DRDY44sf.js → noiseColor-D0SCfBYp.js} +2 -2
  215. package/dist/core/{noiseStylize-BZD5cOJl.js → noiseStylize-B7Mis4X3.js} +20 -35
  216. package/dist/core/{porters-DUtQounc.js → porters-BnG6v9YC.js} +762 -2282
  217. package/dist/core/{propConfigs-k3hs8KYL.js → propConfigs-CvzF7Ot8.js} +1 -1
  218. package/dist/core/registry.js +225 -224
  219. package/dist/core/{reveal-DhktaT1C.js → reveal-BPF3DkX1.js} +99 -258
  220. package/dist/core/{sdf3d-CP87OlsQ.js → sdf3d-OWBwV8hi.js} +931 -3004
  221. package/dist/core/shaderRegistry-CnWd3DKN.js +433 -0
  222. package/dist/core/shaders/AngularBlur/index.js +8 -8
  223. package/dist/core/shaders/Arc/index.js +7 -7
  224. package/dist/core/shaders/Ascii/index.js +9 -9
  225. package/dist/core/shaders/Aurora/index.js +11 -10
  226. package/dist/core/shaders/BarShift/index.js +8 -8
  227. package/dist/core/shaders/BarnDoors/index.js +9 -9
  228. package/dist/core/shaders/Beam/index.js +10 -10
  229. package/dist/core/shaders/Bend/index.js +8 -8
  230. package/dist/core/shaders/Blob/index.js +7 -7
  231. package/dist/core/shaders/BlockDissolve/index.js +11 -10
  232. package/dist/core/shaders/BlockNoise/index.js +15 -14
  233. package/dist/core/shaders/BlueNoise/index.js +15 -14
  234. package/dist/core/shaders/Blur/index.js +8 -8
  235. package/dist/core/shaders/Boids/index.js +11 -10
  236. package/dist/core/shaders/BokehBlur/index.js +9 -9
  237. package/dist/core/shaders/BrickPattern/index.js +12 -11
  238. package/dist/core/shaders/BrightnessContrast/index.js +7 -7
  239. package/dist/core/shaders/BrushedMetal/index.js +14 -13
  240. package/dist/core/shaders/Bulge/index.js +7 -7
  241. package/dist/core/shaders/CRTScreen/index.js +7 -7
  242. package/dist/core/shaders/CarbonFiber/index.js +14 -13
  243. package/dist/core/shaders/Chalkboard/index.js +9 -8
  244. package/dist/core/shaders/ChannelBlur/index.js +8 -8
  245. package/dist/core/shaders/CheckerWipe/index.js +9 -9
  246. package/dist/core/shaders/Checkerboard/index.js +10 -9
  247. package/dist/core/shaders/Chevron/index.js +10 -9
  248. package/dist/core/shaders/ChromaFlow/index.js +7 -7
  249. package/dist/core/shaders/ChromaticAberration/index.js +7 -7
  250. package/dist/core/shaders/Chrome/index.js +14 -13
  251. package/dist/core/shaders/Circle/index.js +7 -7
  252. package/dist/core/shaders/ColorWheel/index.js +9 -9
  253. package/dist/core/shaders/CompressionArtifacts/index.js +7 -7
  254. package/dist/core/shaders/ConcentricSpin/index.js +8 -8
  255. package/dist/core/shaders/ConicGradient/index.js +11 -11
  256. package/dist/core/shaders/ContourLines/index.js +9 -8
  257. package/dist/core/shaders/CornerPin/index.js +7 -7
  258. package/dist/core/shaders/Crescent/index.js +7 -7
  259. package/dist/core/shaders/Cross/index.js +7 -7
  260. package/dist/core/shaders/Crystal/index.js +13 -12
  261. package/dist/core/shaders/CurlNoise/index.js +15 -14
  262. package/dist/core/shaders/CursorRipples/index.js +8 -8
  263. package/dist/core/shaders/CursorTrail/index.js +8 -8
  264. package/dist/core/shaders/DataMosh/index.js +9 -8
  265. package/dist/core/shaders/DiamondGradient/index.js +11 -11
  266. package/dist/core/shaders/DiamondWipe/index.js +9 -9
  267. package/dist/core/shaders/DiffuseBlur/index.js +9 -8
  268. package/dist/core/shaders/DisplacementMap/index.js +8 -8
  269. package/dist/core/shaders/Dither/index.js +9 -8
  270. package/dist/core/shaders/DotGrid/index.js +12 -11
  271. package/dist/core/shaders/DropShadow/index.js +9 -9
  272. package/dist/core/shaders/Duotone/index.js +7 -7
  273. package/dist/core/shaders/Ellipse/index.js +7 -7
  274. package/dist/core/shaders/Emboss/index.js +9 -9
  275. package/dist/core/shaders/Engraving/index.js +10 -9
  276. package/dist/core/shaders/ErosionNoise/index.js +15 -14
  277. package/dist/core/shaders/Exposure/index.js +7 -7
  278. package/dist/core/shaders/FallingLines/index.js +10 -9
  279. package/dist/core/shaders/FilmGrain/index.js +9 -8
  280. package/dist/core/shaders/FilmStock/index.js +8 -8
  281. package/dist/core/shaders/Flip/index.js +7 -7
  282. package/dist/core/shaders/FloatingParticles/index.js +11 -10
  283. package/dist/core/shaders/FlowField/index.js +10 -9
  284. package/dist/core/shaders/Flower/index.js +7 -7
  285. package/dist/core/shaders/FlowingGradient/index.js +10 -9
  286. package/dist/core/shaders/FlutedGlass/index.js +8 -8
  287. package/dist/core/shaders/Fog/index.js +11 -10
  288. package/dist/core/shaders/Form3D/index.js +8 -8
  289. package/dist/core/shaders/FractalNoise/index.js +14 -13
  290. package/dist/core/shaders/Frost/index.js +13 -12
  291. package/dist/core/shaders/GaborNoise/index.js +15 -14
  292. package/dist/core/shaders/Glass/index.js +10 -10
  293. package/dist/core/shaders/GlassTiles/index.js +8 -8
  294. package/dist/core/shaders/Glitch/index.js +9 -8
  295. package/dist/core/shaders/Glow/index.js +8 -8
  296. package/dist/core/shaders/Godrays/index.js +12 -11
  297. package/dist/core/shaders/Goo/index.js +10 -10
  298. package/dist/core/shaders/GradientMap/index.js +8 -8
  299. package/dist/core/shaders/Grayscale/index.js +7 -7
  300. package/dist/core/shaders/Grid/index.js +12 -11
  301. package/dist/core/shaders/GridDistortion/index.js +7 -7
  302. package/dist/core/shaders/Group/index.js +7 -7
  303. package/dist/core/shaders/HTMLInCanvas/index.js +8 -8
  304. package/dist/core/shaders/Halftone/index.js +8 -8
  305. package/dist/core/shaders/Heart/index.js +7 -7
  306. package/dist/core/shaders/Heatmap/index.js +12 -11
  307. package/dist/core/shaders/HexGrid/index.js +12 -11
  308. package/dist/core/shaders/Hologram/index.js +12 -11
  309. package/dist/core/shaders/Holographic/index.js +13 -12
  310. package/dist/core/shaders/HueShift/index.js +8 -8
  311. package/dist/core/shaders/ImageTexture/index.js +7 -7
  312. package/dist/core/shaders/InkFlow/index.js +8 -8
  313. package/dist/core/shaders/Invert/index.js +7 -7
  314. package/dist/core/shaders/IrisWipe/index.js +9 -9
  315. package/dist/core/shaders/IsometricCubes/index.js +12 -11
  316. package/dist/core/shaders/Kaleidoscope/index.js +8 -8
  317. package/dist/core/shaders/KeyFrames/index.js +8 -8
  318. package/dist/core/shaders/LensDistortion/index.js +7 -7
  319. package/dist/core/shaders/LensFlare/index.js +11 -11
  320. package/dist/core/shaders/LightEdge/index.js +12 -11
  321. package/dist/core/shaders/LightLeak/index.js +12 -11
  322. package/dist/core/shaders/Line/index.js +7 -7
  323. package/dist/core/shaders/LinearBlur/index.js +9 -9
  324. package/dist/core/shaders/LinearGradient/index.js +9 -9
  325. package/dist/core/shaders/LinearWipe/index.js +9 -9
  326. package/dist/core/shaders/LiquidMetal/index.js +14 -13
  327. package/dist/core/shaders/Liquify/index.js +7 -7
  328. package/dist/core/shaders/MagneticFilings/index.js +11 -10
  329. package/dist/core/shaders/Marble/index.js +11 -10
  330. package/dist/core/shaders/MeshGradient/index.js +15 -14
  331. package/dist/core/shaders/Mirror/index.js +8 -8
  332. package/dist/core/shaders/MultiPointGradient/index.js +8 -8
  333. package/dist/core/shaders/Neon/index.js +7 -7
  334. package/dist/core/shaders/NoiseDissolve/index.js +11 -10
  335. package/dist/core/shaders/ObjectTracker/index.js +10 -10
  336. package/dist/core/shaders/PagePeel/index.js +8 -8
  337. package/dist/core/shaders/Paper/index.js +9 -8
  338. package/dist/core/shaders/Parallelogram/index.js +7 -7
  339. package/dist/core/shaders/ParticleField/index.js +11 -10
  340. package/dist/core/shaders/ParticleFlow/index.js +11 -10
  341. package/dist/core/shaders/Particles/index.js +12 -11
  342. package/dist/core/shaders/PerlinNoise/index.js +15 -14
  343. package/dist/core/shaders/Perspective/index.js +8 -8
  344. package/dist/core/shaders/PixelSort/index.js +9 -8
  345. package/dist/core/shaders/PixelThrow/index.js +7 -7
  346. package/dist/core/shaders/Pixelate/index.js +7 -7
  347. package/dist/core/shaders/Plasma/index.js +14 -13
  348. package/dist/core/shaders/Plastic/index.js +13 -12
  349. package/dist/core/shaders/PolarCoordinates/index.js +8 -8
  350. package/dist/core/shaders/Polygon/index.js +7 -7
  351. package/dist/core/shaders/Posterize/index.js +7 -7
  352. package/dist/core/shaders/Prism/index.js +7 -7
  353. package/dist/core/shaders/ProgressiveBlur/index.js +9 -9
  354. package/dist/core/shaders/RadialGradient/index.js +11 -11
  355. package/dist/core/shaders/RadialWipe/index.js +9 -9
  356. package/dist/core/shaders/RandomBars/index.js +11 -10
  357. package/dist/core/shaders/ReactionDiffusion/index.js +11 -10
  358. package/dist/core/shaders/RectangularCoordinates/index.js +8 -8
  359. package/dist/core/shaders/ReflectivePlane/index.js +8 -8
  360. package/dist/core/shaders/Repeater/index.js +7 -7
  361. package/dist/core/shaders/Ring/index.js +7 -7
  362. package/dist/core/shaders/RippleWipe/index.js +9 -9
  363. package/dist/core/shaders/Ripples/index.js +7 -7
  364. package/dist/core/shaders/RoundedRect/index.js +7 -7
  365. package/dist/core/shaders/Saturation/index.js +7 -7
  366. package/dist/core/shaders/Scratches/index.js +12 -11
  367. package/dist/core/shaders/Sharpness/index.js +7 -7
  368. package/dist/core/shaders/Shatter/index.js +7 -7
  369. package/dist/core/shaders/SimplexNoise/index.js +15 -14
  370. package/dist/core/shaders/SineWave/index.js +8 -8
  371. package/dist/core/shaders/SliceWipe/index.js +8 -8
  372. package/dist/core/shaders/Smoke/index.js +8 -8
  373. package/dist/core/shaders/SmokeFill/index.js +10 -10
  374. package/dist/core/shaders/SmokeFlow/index.js +8 -8
  375. package/dist/core/shaders/Solarize/index.js +7 -7
  376. package/dist/core/shaders/SolidColor/index.js +2 -2
  377. package/dist/core/shaders/Spherize/index.js +7 -7
  378. package/dist/core/shaders/Spiral/index.js +9 -8
  379. package/dist/core/shaders/Star/index.js +7 -7
  380. package/dist/core/shaders/Stone/index.js +6 -5
  381. package/dist/core/shaders/Strands/index.js +8 -8
  382. package/dist/core/shaders/Stretch/index.js +8 -8
  383. package/dist/core/shaders/Stripes/index.js +11 -10
  384. package/dist/core/shaders/StudioBackground/index.js +10 -10
  385. package/dist/core/shaders/SunBurst/index.js +10 -10
  386. package/dist/core/shaders/Surface3D/index.js +10 -9
  387. package/dist/core/shaders/Swirl/index.js +7 -7
  388. package/dist/core/shaders/Teardrop/index.js +7 -7
  389. package/dist/core/shaders/Text/index.js +11 -11
  390. package/dist/core/shaders/ThinFilm/index.js +9 -9
  391. package/dist/core/shaders/TiltShift/index.js +9 -9
  392. package/dist/core/shaders/TimeTrail/index.js +7 -7
  393. package/dist/core/shaders/Tint/index.js +7 -7
  394. package/dist/core/shaders/Trapezoid/index.js +7 -7
  395. package/dist/core/shaders/TriangularGrid/index.js +12 -11
  396. package/dist/core/shaders/Tritone/index.js +7 -7
  397. package/dist/core/shaders/Truchet/index.js +12 -11
  398. package/dist/core/shaders/Twirl/index.js +7 -7
  399. package/dist/core/shaders/VHS/index.js +9 -8
  400. package/dist/core/shaders/VenetianBlinds/index.js +9 -9
  401. package/dist/core/shaders/Vesica/index.js +7 -7
  402. package/dist/core/shaders/Vibrance/index.js +7 -7
  403. package/dist/core/shaders/VideoTexture/index.js +7 -7
  404. package/dist/core/shaders/Vignette/index.js +7 -7
  405. package/dist/core/shaders/Voronoi/index.js +12 -12
  406. package/dist/core/shaders/Water/index.js +13 -12
  407. package/dist/core/shaders/Watercolor/index.js +9 -8
  408. package/dist/core/shaders/WaveDistortion/index.js +8 -8
  409. package/dist/core/shaders/WaveletNoise/index.js +15 -14
  410. package/dist/core/shaders/Weave/index.js +12 -11
  411. package/dist/core/shaders/WebcamTexture/index.js +9 -9
  412. package/dist/core/shaders/Wool/index.js +6 -5
  413. package/dist/core/shaders/WorleyNoise/index.js +13 -13
  414. package/dist/core/shaders/ZoomBlur/index.js +8 -8
  415. package/dist/core/telemetry/index.js +1 -1
  416. package/dist/core/{tone-DPUvX6X0.js → tone-DgOOeWNY.js} +67 -137
  417. package/dist/core/utilities/transformations/index.js +1 -1
  418. package/dist/js/bundle.js +202 -187
  419. package/dist/js/createShader.js +1 -1
  420. package/dist/react/Shader.js +1 -1
  421. package/dist/react/bundle.js +198 -183
  422. package/dist/solid/engine/Shader.js +1 -1
  423. package/dist/svelte/index.js +1 -1
  424. package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
  425. package/package.json +2 -2
  426. package/dist/core/shaderRegistry-BIDNV71c.js +0 -433
  427. /package/dist/core/{canvasRaster-BB2bNhS7.js → canvasRaster-B41z007g.js} +0 -0
  428. /package/dist/core/{constants-DoOzbl5b.js → constants-BKlzQFdJ.js} +0 -0
  429. /package/dist/core/{fonts-DPf2-jCd.js → fonts-BMxmjoBM.js} +0 -0
  430. /package/dist/core/{pointer-DGDGF-yO.js → pointer-DKBz1Qcc.js} +0 -0
  431. /package/dist/core/{support-6QRFK3xB.js → support-DVuLvN48.js} +0 -0
  432. /package/dist/core/{transformations-B-zNWNdd.js → transformations-u-UZrXjj.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { Dt as floor, F as blend_exports, Gt as data_exports, I as unpremultiplyAlpha, Jt as texture2d, St as cos, Yt as textureStorage2d, an as vec2u, at as std_exports, cn as vec4f, dn as i32, en as struct, f as ZERO, fn as u32, gt as select, h as call, lt as textureStore, on as vec3f, qt as arrayOf, rn as vec2f, rt as src_default, st as textureLoad, un as f32, x as vec4, xt as clamp } from "./edges-CD7gCAto.js";
2
- import { M as createGuardedCompute } from "./device-B0ZwBfOg.js";
1
+ import { Ft as vec3f, Gt as textureStorage2d, Kt as arrayOf, Lt as vec4f, Mt as vec2f, P as unpremultiplyAlpha, Pt as vec2u, Wt as texture2d, b as vec4, cn as i32, ct as clamp, d as ZERO, et as typegpu_default, ln as u32, lt as cos, m as call, mt as floor, qt as struct, rt as select, sn as f32 } from "./edges-BvIjDyJK.js";
2
+ import { I as textureLoad, M as createGuardedCompute, R as textureStore } from "./device-DWPzs8TD.js";
3
3
  var LUMA_QUANT = [
4
4
  16,
5
5
  11,
@@ -136,16 +136,16 @@ var COS_LUT_FLAT = [];
136
136
  for (let k = 0; k < 8; k++) for (let u = 0; u < 8; u++) COS_LUT_FLAT[k * 8 + u] = Math.cos((2 * k + 1) * u * Math.PI / 16);
137
137
  var SQRT1_2 = Math.SQRT1_2;
138
138
  var PI_OVER_16 = Math.PI / 16;
139
- var COS_LUT = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(src_default.const(arrayOf(f32, 64), COS_LUT_FLAT), "COS_LUT");
140
- var LUMA_QUANT_C = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(src_default.const(arrayOf(f32, 64), LUMA_QUANT), "LUMA_QUANT_C");
141
- var CHROMA_QUANT_C = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(src_default.const(arrayOf(f32, 64), CHROMA_QUANT), "CHROMA_QUANT_C");
139
+ var COS_LUT = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(typegpu_default.const(arrayOf(f32, 64), COS_LUT_FLAT), "COS_LUT");
140
+ var LUMA_QUANT_C = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(typegpu_default.const(arrayOf(f32, 64), LUMA_QUANT), "LUMA_QUANT_C");
141
+ var CHROMA_QUANT_C = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(typegpu_default.const(arrayOf(f32, 64), CHROMA_QUANT), "CHROMA_QUANT_C");
142
142
  var N_LUMA = 6;
143
143
  var SCALE_N = 4;
144
144
  var BLOCK_PX = 8 * SCALE_N;
145
145
  var STRIDE = SCALE_N;
146
146
  var MAX_CELLS = 1024;
147
147
  var CELL_FORMAT = "rgba16float";
148
- const jpegBlockRgb = src_default.fn([
148
+ const jpegBlockRgb = typegpu_default.fn([
149
149
  arrayOf(vec3f, 64),
150
150
  f32,
151
151
  f32,
@@ -198,7 +198,7 @@ const jpegBlockRgb = src_default.fn([
198
198
  const Cr = __tsover_div(__tsover_mul(floor(__tsover_add(__tsover_div(GdcCr, qChroma), .5)), qChroma), 8);
199
199
  return clamp(vec3f(__tsover_add(Y, __tsover_mul(Cr, 1.402)), __tsover_sub(__tsover_sub(Y, __tsover_mul(Cb, .344136)), __tsover_mul(Cr, .714136)), __tsover_add(Y, __tsover_mul(Cb, 1.772))), vec3f(0, 0, 0), vec3f(1, 1, 1));
200
200
  }), {
201
- v: 1,
201
+ v: 2,
202
202
  name: void 0,
203
203
  ast: {
204
204
  "params": [
@@ -225,11 +225,7 @@ const jpegBlockRgb = src_default.fn([
225
225
  "qualityC",
226
226
  [
227
227
  6,
228
- [
229
- 7,
230
- "std",
231
- "clamp"
232
- ],
228
+ "std.clamp",
233
229
  [
234
230
  "quality",
235
231
  [5, "1"],
@@ -242,11 +238,7 @@ const jpegBlockRgb = src_default.fn([
242
238
  "qScale",
243
239
  [
244
240
  6,
245
- [
246
- 7,
247
- "std",
248
- "select"
249
- ],
241
+ "std.select",
250
242
  [
251
243
  [
252
244
  1,
@@ -281,16 +273,8 @@ const jpegBlockRgb = src_default.fn([
281
273
  6,
282
274
  [
283
275
  6,
284
- [
285
- 7,
286
- "d",
287
- "arrayOf"
288
- ],
289
- [[
290
- 7,
291
- "d",
292
- "f32"
293
- ], [5, "64"]]
276
+ "d.arrayOf",
277
+ ["d.f32", [5, "64"]]
294
278
  ],
295
279
  []
296
280
  ]
@@ -302,16 +286,8 @@ const jpegBlockRgb = src_default.fn([
302
286
  6,
303
287
  [
304
288
  6,
305
- [
306
- 7,
307
- "d",
308
- "arrayOf"
309
- ],
310
- [[
311
- 7,
312
- "d",
313
- "f32"
314
- ], [5, "64"]]
289
+ "d.arrayOf",
290
+ ["d.f32", [5, "64"]]
315
291
  ],
316
292
  []
317
293
  ]
@@ -323,16 +299,8 @@ const jpegBlockRgb = src_default.fn([
323
299
  6,
324
300
  [
325
301
  6,
326
- [
327
- 7,
328
- "d",
329
- "arrayOf"
330
- ],
331
- [[
332
- 7,
333
- "d",
334
- "f32"
335
- ], [5, "64"]]
302
+ "d.arrayOf",
303
+ ["d.f32", [5, "64"]]
336
304
  ],
337
305
  []
338
306
  ]
@@ -536,16 +504,8 @@ const jpegBlockRgb = src_default.fn([
536
504
  6,
537
505
  [
538
506
  6,
539
- [
540
- 7,
541
- "d",
542
- "arrayOf"
543
- ],
544
- [[
545
- 7,
546
- "d",
547
- "f32"
548
- ], [
507
+ "d.arrayOf",
508
+ ["d.f32", [
549
509
  1,
550
510
  [5, "8"],
551
511
  "*",
@@ -597,11 +557,7 @@ const jpegBlockRgb = src_default.fn([
597
557
  "sum",
598
558
  [
599
559
  6,
600
- [
601
- 7,
602
- "d",
603
- "f32"
604
- ],
560
+ "d.f32",
605
561
  [[5, "0"]]
606
562
  ]
607
563
  ],
@@ -700,11 +656,7 @@ const jpegBlockRgb = src_default.fn([
700
656
  "acc",
701
657
  [
702
658
  6,
703
- [
704
- 7,
705
- "d",
706
- "f32"
707
- ],
659
+ "d.f32",
708
660
  [[5, "0"]]
709
661
  ]
710
662
  ],
@@ -732,11 +684,7 @@ const jpegBlockRgb = src_default.fn([
732
684
  "av",
733
685
  [
734
686
  6,
735
- [
736
- 7,
737
- "std",
738
- "select"
739
- ],
687
+ "std.select",
740
688
  [
741
689
  [5, "1"],
742
690
  "SQRT1_2",
@@ -754,11 +702,7 @@ const jpegBlockRgb = src_default.fn([
754
702
  "cy",
755
703
  [
756
704
  6,
757
- [
758
- 7,
759
- "std",
760
- "cos"
761
- ],
705
+ "std.cos",
762
706
  [[
763
707
  1,
764
708
  [
@@ -777,11 +721,7 @@ const jpegBlockRgb = src_default.fn([
777
721
  1,
778
722
  [
779
723
  6,
780
- [
781
- 7,
782
- "d",
783
- "f32"
784
- ],
724
+ "d.f32",
785
725
  ["v"]
786
726
  ],
787
727
  "*",
@@ -814,11 +754,7 @@ const jpegBlockRgb = src_default.fn([
814
754
  "au",
815
755
  [
816
756
  6,
817
- [
818
- 7,
819
- "std",
820
- "select"
821
- ],
757
+ "std.select",
822
758
  [
823
759
  [5, "1"],
824
760
  "SQRT1_2",
@@ -836,11 +772,7 @@ const jpegBlockRgb = src_default.fn([
836
772
  "colSum",
837
773
  [
838
774
  6,
839
- [
840
- 7,
841
- "d",
842
- "f32"
843
- ],
775
+ "d.f32",
844
776
  [[5, "0"]]
845
777
  ]
846
778
  ],
@@ -938,19 +870,11 @@ const jpegBlockRgb = src_default.fn([
938
870
  1,
939
871
  [
940
872
  6,
941
- [
942
- 7,
943
- "std",
944
- "clamp"
945
- ],
873
+ "std.clamp",
946
874
  [
947
875
  [
948
876
  6,
949
- [
950
- 7,
951
- "std",
952
- "floor"
953
- ],
877
+ "std.floor",
954
878
  [[
955
879
  1,
956
880
  [
@@ -1001,11 +925,7 @@ const jpegBlockRgb = src_default.fn([
1001
925
  1,
1002
926
  [
1003
927
  6,
1004
- [
1005
- 7,
1006
- "std",
1007
- "floor"
1008
- ],
928
+ "std.floor",
1009
929
  [[
1010
930
  1,
1011
931
  [
@@ -1027,11 +947,7 @@ const jpegBlockRgb = src_default.fn([
1027
947
  "cx",
1028
948
  [
1029
949
  6,
1030
- [
1031
- 7,
1032
- "std",
1033
- "cos"
1034
- ],
950
+ "std.cos",
1035
951
  [[
1036
952
  1,
1037
953
  [
@@ -1050,11 +966,7 @@ const jpegBlockRgb = src_default.fn([
1050
966
  1,
1051
967
  [
1052
968
  6,
1053
- [
1054
- 7,
1055
- "d",
1056
- "f32"
1057
- ],
969
+ "d.f32",
1058
970
  ["u"]
1059
971
  ],
1060
972
  "*",
@@ -1118,11 +1030,7 @@ const jpegBlockRgb = src_default.fn([
1118
1030
  "sumCb",
1119
1031
  [
1120
1032
  6,
1121
- [
1122
- 7,
1123
- "d",
1124
- "f32"
1125
- ],
1033
+ "d.f32",
1126
1034
  [[5, "0"]]
1127
1035
  ]
1128
1036
  ],
@@ -1131,11 +1039,7 @@ const jpegBlockRgb = src_default.fn([
1131
1039
  "sumCr",
1132
1040
  [
1133
1041
  6,
1134
- [
1135
- 7,
1136
- "d",
1137
- "f32"
1138
- ],
1042
+ "d.f32",
1139
1043
  [[5, "0"]]
1140
1044
  ]
1141
1045
  ],
@@ -1194,19 +1098,11 @@ const jpegBlockRgb = src_default.fn([
1194
1098
  1,
1195
1099
  [
1196
1100
  6,
1197
- [
1198
- 7,
1199
- "std",
1200
- "clamp"
1201
- ],
1101
+ "std.clamp",
1202
1102
  [
1203
1103
  [
1204
1104
  6,
1205
- [
1206
- 7,
1207
- "std",
1208
- "floor"
1209
- ],
1105
+ "std.floor",
1210
1106
  [[
1211
1107
  1,
1212
1108
  [
@@ -1269,11 +1165,7 @@ const jpegBlockRgb = src_default.fn([
1269
1165
  1,
1270
1166
  [
1271
1167
  6,
1272
- [
1273
- 7,
1274
- "std",
1275
- "floor"
1276
- ],
1168
+ "std.floor",
1277
1169
  [[
1278
1170
  1,
1279
1171
  [
@@ -1302,11 +1194,7 @@ const jpegBlockRgb = src_default.fn([
1302
1194
  1,
1303
1195
  [
1304
1196
  6,
1305
- [
1306
- 7,
1307
- "std",
1308
- "floor"
1309
- ],
1197
+ "std.floor",
1310
1198
  [[
1311
1199
  1,
1312
1200
  [
@@ -1383,19 +1271,11 @@ const jpegBlockRgb = src_default.fn([
1383
1271
  ],
1384
1272
  [10, [
1385
1273
  6,
1386
- [
1387
- 7,
1388
- "std",
1389
- "clamp"
1390
- ],
1274
+ "std.clamp",
1391
1275
  [
1392
1276
  [
1393
1277
  6,
1394
- [
1395
- 7,
1396
- "d",
1397
- "vec3f"
1398
- ],
1278
+ "d.vec3f",
1399
1279
  [
1400
1280
  "r",
1401
1281
  "g",
@@ -1404,11 +1284,7 @@ const jpegBlockRgb = src_default.fn([
1404
1284
  ],
1405
1285
  [
1406
1286
  6,
1407
- [
1408
- 7,
1409
- "d",
1410
- "vec3f"
1411
- ],
1287
+ "d.vec3f",
1412
1288
  [
1413
1289
  [5, "0"],
1414
1290
  [5, "0"],
@@ -1417,11 +1293,7 @@ const jpegBlockRgb = src_default.fn([
1417
1293
  ],
1418
1294
  [
1419
1295
  6,
1420
- [
1421
- 7,
1422
- "d",
1423
- "vec3f"
1424
- ],
1296
+ "d.vec3f",
1425
1297
  [
1426
1298
  [5, "1"],
1427
1299
  [5, "1"],
@@ -1430,37 +1302,32 @@ const jpegBlockRgb = src_default.fn([
1430
1302
  ]
1431
1303
  ]
1432
1304
  ]]
1433
- ]],
1434
- "externalNames": [
1435
- "std",
1436
- "d",
1437
- "N_LUMA",
1438
- "COS_LUT",
1439
- "SQRT1_2",
1440
- "PI_OVER_16",
1441
- "LUMA_QUANT_C",
1442
- "CHROMA_QUANT_C"
1443
- ]
1305
+ ]]
1444
1306
  },
1445
- externals: () => ({
1446
- std: std_exports,
1447
- d: data_exports,
1448
- N_LUMA,
1449
- COS_LUT,
1450
- SQRT1_2,
1451
- PI_OVER_16,
1452
- LUMA_QUANT_C,
1453
- CHROMA_QUANT_C
1454
- })
1307
+ externals: {
1308
+ "std.clamp": () => clamp,
1309
+ "std.select": () => select,
1310
+ "d.arrayOf": () => arrayOf,
1311
+ "d.f32": () => f32,
1312
+ "N_LUMA": () => N_LUMA,
1313
+ "COS_LUT": () => COS_LUT,
1314
+ "SQRT1_2": () => SQRT1_2,
1315
+ "std.cos": () => cos,
1316
+ "PI_OVER_16": () => PI_OVER_16,
1317
+ "std.floor": () => floor,
1318
+ "LUMA_QUANT_C": () => LUMA_QUANT_C,
1319
+ "CHROMA_QUANT_C": () => CHROMA_QUANT_C,
1320
+ "d.vec3f": () => vec3f
1321
+ }
1455
1322
  }) && $.f)({}));
1456
- const compressionCellUV = src_default.fn([vec2f, vec2f], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, viewport) => {
1323
+ const compressionCellUV = typegpu_default.fn([vec2f, vec2f], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, viewport) => {
1457
1324
  "use gpu";
1458
1325
  const pPix = floor(uv.mul(viewport));
1459
1326
  const cellX = clamp(floor(__tsover_div(pPix.x, STRIDE)), 0, __tsover_sub(MAX_CELLS, 1));
1460
1327
  const cellY = clamp(floor(__tsover_div(pPix.y, STRIDE)), 0, __tsover_sub(MAX_CELLS, 1));
1461
1328
  return vec2f(__tsover_div(__tsover_add(cellX, .5), MAX_CELLS), __tsover_div(__tsover_add(cellY, .5), MAX_CELLS));
1462
1329
  }), {
1463
- v: 1,
1330
+ v: 2,
1464
1331
  name: void 0,
1465
1332
  ast: {
1466
1333
  "params": [{
@@ -1476,11 +1343,7 @@ const compressionCellUV = src_default.fn([vec2f, vec2f], vec2f)(/* @__PURE__ */
1476
1343
  "pPix",
1477
1344
  [
1478
1345
  6,
1479
- [
1480
- 7,
1481
- "std",
1482
- "floor"
1483
- ],
1346
+ "std.floor",
1484
1347
  [[
1485
1348
  6,
1486
1349
  [
@@ -1497,19 +1360,11 @@ const compressionCellUV = src_default.fn([vec2f, vec2f], vec2f)(/* @__PURE__ */
1497
1360
  "cellX",
1498
1361
  [
1499
1362
  6,
1500
- [
1501
- 7,
1502
- "std",
1503
- "clamp"
1504
- ],
1363
+ "std.clamp",
1505
1364
  [
1506
1365
  [
1507
1366
  6,
1508
- [
1509
- 7,
1510
- "std",
1511
- "floor"
1512
- ],
1367
+ "std.floor",
1513
1368
  [[
1514
1369
  1,
1515
1370
  [
@@ -1536,19 +1391,11 @@ const compressionCellUV = src_default.fn([vec2f, vec2f], vec2f)(/* @__PURE__ */
1536
1391
  "cellY",
1537
1392
  [
1538
1393
  6,
1539
- [
1540
- 7,
1541
- "std",
1542
- "clamp"
1543
- ],
1394
+ "std.clamp",
1544
1395
  [
1545
1396
  [
1546
1397
  6,
1547
- [
1548
- 7,
1549
- "std",
1550
- "floor"
1551
- ],
1398
+ "std.floor",
1552
1399
  [[
1553
1400
  1,
1554
1401
  [
@@ -1572,11 +1419,7 @@ const compressionCellUV = src_default.fn([vec2f, vec2f], vec2f)(/* @__PURE__ */
1572
1419
  ],
1573
1420
  [10, [
1574
1421
  6,
1575
- [
1576
- 7,
1577
- "d",
1578
- "vec2f"
1579
- ],
1422
+ "d.vec2f",
1580
1423
  [[
1581
1424
  1,
1582
1425
  [
@@ -1599,20 +1442,15 @@ const compressionCellUV = src_default.fn([vec2f, vec2f], vec2f)(/* @__PURE__ */
1599
1442
  "MAX_CELLS"
1600
1443
  ]]
1601
1444
  ]]
1602
- ]],
1603
- "externalNames": [
1604
- "std",
1605
- "STRIDE",
1606
- "MAX_CELLS",
1607
- "d"
1608
- ]
1445
+ ]]
1609
1446
  },
1610
- externals: () => ({
1611
- std: std_exports,
1612
- STRIDE,
1613
- MAX_CELLS,
1614
- d: data_exports
1615
- })
1447
+ externals: {
1448
+ "std.floor": () => floor,
1449
+ "std.clamp": () => clamp,
1450
+ "STRIDE": () => STRIDE,
1451
+ "MAX_CELLS": () => MAX_CELLS,
1452
+ "d.vec2f": () => vec2f
1453
+ }
1616
1454
  }) && $.f)({}));
1617
1455
  function compressionParams() {
1618
1456
  return struct({
@@ -1623,14 +1461,14 @@ function compressionParams() {
1623
1461
  }
1624
1462
  function buildCompressionGraph() {
1625
1463
  const Params = compressionParams();
1626
- const layout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(src_default.bindGroupLayout({
1464
+ const layout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(typegpu_default.bindGroupLayout({
1627
1465
  input: { texture: texture2d(f32) },
1628
1466
  cellTex: { storageTexture: textureStorage2d(CELL_FORMAT, "write-only") },
1629
1467
  params: { uniform: Params }
1630
1468
  }), "layout");
1631
1469
  return {
1632
1470
  layout,
1633
- kernel: src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
1471
+ kernel: typegpu_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
1634
1472
  "use gpu";
1635
1473
  const p = layout.$.params;
1636
1474
  const cellXf = f32(cx);
@@ -1655,7 +1493,7 @@ function buildCompressionGraph() {
1655
1493
  const rgb = jpegBlockRgb(block, localX, localY, p.quality);
1656
1494
  textureStore(layout.$.cellTex, vec2u(cx, cy), vec4f(rgb, 1));
1657
1495
  }), {
1658
- v: 1,
1496
+ v: 2,
1659
1497
  name: void 0,
1660
1498
  ast: {
1661
1499
  "params": [{
@@ -1684,11 +1522,7 @@ function buildCompressionGraph() {
1684
1522
  "cellXf",
1685
1523
  [
1686
1524
  6,
1687
- [
1688
- 7,
1689
- "d",
1690
- "f32"
1691
- ],
1525
+ "d.f32",
1692
1526
  ["cx"]
1693
1527
  ]
1694
1528
  ],
@@ -1697,11 +1531,7 @@ function buildCompressionGraph() {
1697
1531
  "cellYf",
1698
1532
  [
1699
1533
  6,
1700
- [
1701
- 7,
1702
- "d",
1703
- "f32"
1704
- ],
1534
+ "d.f32",
1705
1535
  ["cy"]
1706
1536
  ]
1707
1537
  ],
@@ -1710,11 +1540,7 @@ function buildCompressionGraph() {
1710
1540
  "blockCol",
1711
1541
  [
1712
1542
  6,
1713
- [
1714
- 7,
1715
- "std",
1716
- "floor"
1717
- ],
1543
+ "std.floor",
1718
1544
  [[
1719
1545
  1,
1720
1546
  "cellXf",
@@ -1728,11 +1554,7 @@ function buildCompressionGraph() {
1728
1554
  "blockRow",
1729
1555
  [
1730
1556
  6,
1731
- [
1732
- 7,
1733
- "std",
1734
- "floor"
1735
- ],
1557
+ "std.floor",
1736
1558
  [[
1737
1559
  1,
1738
1560
  "cellYf",
@@ -1798,16 +1620,8 @@ function buildCompressionGraph() {
1798
1620
  6,
1799
1621
  [
1800
1622
  6,
1801
- [
1802
- 7,
1803
- "d",
1804
- "arrayOf"
1805
- ],
1806
- [[
1807
- 7,
1808
- "d",
1809
- "vec3f"
1810
- ], [5, "64"]]
1623
+ "d.arrayOf",
1624
+ ["d.vec3f", [5, "64"]]
1811
1625
  ],
1812
1626
  []
1813
1627
  ]
@@ -1817,11 +1631,7 @@ function buildCompressionGraph() {
1817
1631
  "wm1",
1818
1632
  [
1819
1633
  6,
1820
- [
1821
- 7,
1822
- "d",
1823
- "i32"
1824
- ],
1634
+ "d.i32",
1825
1635
  [[
1826
1636
  1,
1827
1637
  [
@@ -1839,11 +1649,7 @@ function buildCompressionGraph() {
1839
1649
  "hm1",
1840
1650
  [
1841
1651
  6,
1842
- [
1843
- 7,
1844
- "d",
1845
- "i32"
1846
- ],
1652
+ "d.i32",
1847
1653
  [[
1848
1654
  1,
1849
1655
  [
@@ -1906,11 +1712,7 @@ function buildCompressionGraph() {
1906
1712
  1,
1907
1713
  [
1908
1714
  6,
1909
- [
1910
- 7,
1911
- "d",
1912
- "f32"
1913
- ],
1715
+ "d.f32",
1914
1716
  ["x"]
1915
1717
  ],
1916
1718
  "*",
@@ -1939,11 +1741,7 @@ function buildCompressionGraph() {
1939
1741
  1,
1940
1742
  [
1941
1743
  6,
1942
- [
1943
- 7,
1944
- "d",
1945
- "f32"
1946
- ],
1744
+ "d.f32",
1947
1745
  ["y"]
1948
1746
  ],
1949
1747
  "*",
@@ -1964,19 +1762,11 @@ function buildCompressionGraph() {
1964
1762
  "ix",
1965
1763
  [
1966
1764
  6,
1967
- [
1968
- 7,
1969
- "std",
1970
- "clamp"
1971
- ],
1765
+ "std.clamp",
1972
1766
  [
1973
1767
  [
1974
1768
  6,
1975
- [
1976
- 7,
1977
- "d",
1978
- "i32"
1979
- ],
1769
+ "d.i32",
1980
1770
  ["px"]
1981
1771
  ],
1982
1772
  [5, "0"],
@@ -1989,19 +1779,11 @@ function buildCompressionGraph() {
1989
1779
  "iy",
1990
1780
  [
1991
1781
  6,
1992
- [
1993
- 7,
1994
- "std",
1995
- "clamp"
1996
- ],
1782
+ "std.clamp",
1997
1783
  [
1998
1784
  [
1999
1785
  6,
2000
- [
2001
- 7,
2002
- "d",
2003
- "i32"
2004
- ],
1786
+ "d.i32",
2005
1787
  ["py"]
2006
1788
  ],
2007
1789
  [5, "0"],
@@ -2014,11 +1796,7 @@ function buildCompressionGraph() {
2014
1796
  "texel",
2015
1797
  [
2016
1798
  6,
2017
- [
2018
- 7,
2019
- "std",
2020
- "textureLoad"
2021
- ],
1799
+ "std.textureLoad",
2022
1800
  [
2023
1801
  [
2024
1802
  7,
@@ -2031,26 +1809,14 @@ function buildCompressionGraph() {
2031
1809
  ],
2032
1810
  [
2033
1811
  6,
2034
- [
2035
- 7,
2036
- "d",
2037
- "vec2u"
2038
- ],
1812
+ "d.vec2u",
2039
1813
  [[
2040
1814
  6,
2041
- [
2042
- 7,
2043
- "d",
2044
- "u32"
2045
- ],
1815
+ "d.u32",
2046
1816
  ["ix"]
2047
1817
  ], [
2048
1818
  6,
2049
- [
2050
- 7,
2051
- "d",
2052
- "u32"
2053
- ],
1819
+ "d.u32",
2054
1820
  ["iy"]
2055
1821
  ]]
2056
1822
  ],
@@ -2080,11 +1846,7 @@ function buildCompressionGraph() {
2080
1846
  7,
2081
1847
  [
2082
1848
  6,
2083
- [
2084
- 7,
2085
- "blend",
2086
- "unpremultiplyAlpha"
2087
- ],
1849
+ "blend.unpremultiplyAlpha",
2088
1850
  ["texel"]
2089
1851
  ],
2090
1852
  "xyz"
@@ -2113,11 +1875,7 @@ function buildCompressionGraph() {
2113
1875
  ],
2114
1876
  [
2115
1877
  6,
2116
- [
2117
- 7,
2118
- "std",
2119
- "textureStore"
2120
- ],
1878
+ "std.textureStore",
2121
1879
  [
2122
1880
  [
2123
1881
  7,
@@ -2130,44 +1888,36 @@ function buildCompressionGraph() {
2130
1888
  ],
2131
1889
  [
2132
1890
  6,
2133
- [
2134
- 7,
2135
- "d",
2136
- "vec2u"
2137
- ],
1891
+ "d.vec2u",
2138
1892
  ["cx", "cy"]
2139
1893
  ],
2140
1894
  [
2141
1895
  6,
2142
- [
2143
- 7,
2144
- "d",
2145
- "vec4f"
2146
- ],
1896
+ "d.vec4f",
2147
1897
  ["rgb", [5, "1"]]
2148
1898
  ]
2149
1899
  ]
2150
1900
  ]
2151
- ]],
2152
- "externalNames": [
2153
- "layout",
2154
- "d",
2155
- "std",
2156
- "BLOCK_PX",
2157
- "STRIDE",
2158
- "blend",
2159
- "jpegBlockRgb"
2160
- ]
1901
+ ]]
2161
1902
  },
2162
- externals: () => ({
2163
- layout,
2164
- d: data_exports,
2165
- std: std_exports,
2166
- BLOCK_PX,
2167
- STRIDE,
2168
- blend: blend_exports,
2169
- jpegBlockRgb
2170
- })
1903
+ externals: {
1904
+ "layout": () => layout,
1905
+ "d.f32": () => f32,
1906
+ "std.floor": () => floor,
1907
+ "BLOCK_PX": () => BLOCK_PX,
1908
+ "d.arrayOf": () => arrayOf,
1909
+ "d.vec3f": () => vec3f,
1910
+ "d.i32": () => i32,
1911
+ "STRIDE": () => STRIDE,
1912
+ "std.clamp": () => clamp,
1913
+ "std.textureLoad": () => textureLoad,
1914
+ "d.vec2u": () => vec2u,
1915
+ "d.u32": () => u32,
1916
+ "blend.unpremultiplyAlpha": () => unpremultiplyAlpha,
1917
+ "jpegBlockRgb": () => jpegBlockRgb,
1918
+ "std.textureStore": () => textureStore,
1919
+ "d.vec4f": () => vec4f
1920
+ }
2171
1921
  }) && $.f)({})).$name("compressionCell"),
2172
1922
  Params
2173
1923
  };
@@ -2213,7 +1963,7 @@ const componentDefinition = {
2213
1963
  "use gpu";
2214
1964
  graph.kernel(cx, cy);
2215
1965
  }), {
2216
- v: 1,
1966
+ v: 2,
2217
1967
  name: void 0,
2218
1968
  ast: {
2219
1969
  "params": [{
@@ -2225,16 +1975,11 @@ const componentDefinition = {
2225
1975
  }],
2226
1976
  "body": [0, [[
2227
1977
  6,
2228
- [
2229
- 7,
2230
- "graph",
2231
- "kernel"
2232
- ],
1978
+ "graph.kernel",
2233
1979
  ["cx", "cy"]
2234
- ]]],
2235
- "externalNames": ["graph"]
1980
+ ]]]
2236
1981
  },
2237
- externals: () => ({ graph })
1982
+ externals: { "graph.kernel": () => graph.kernel }
2238
1983
  }) && $.f)({}), {});
2239
1984
  let bound = pipeline;
2240
1985
  let inputBound = false;