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,8 +1,8 @@
1
- import { At as max, Gt as data_exports, I as unpremultiplyAlpha, Jt as texture2d, Rt as round, Vt as smoothstep, 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, 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, wt as dot, xt as clamp } from "./edges-CD7gCAto.js";
2
- import { s as TWO_PI$1, t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
3
- import { M as createGuardedCompute } from "./device-B0ZwBfOg.js";
4
- import { a as REMAP_WINDOW_FIELDS, i as MAP_SOURCE_DIM_FIELDS, n as DEFAULT_COMPUTE_HEIGHT, o as applyRemapWindow, p as mapSourceScalar, r as DEFAULT_COMPUTE_WIDTH, s as blur_exports } from "./blur-CZuIxzX6.js";
5
- import { r as transformAngle } from "./transformations-B-zNWNdd.js";
1
+ import { Ft as vec3f, Gt as textureStorage2d, Kt as arrayOf, Lt as vec4f, Mt as vec2f, Ot as smoothstep, P as unpremultiplyAlpha, Pt as vec2u, Tt as round, Wt as texture2d, _t as max, cn as i32, ct as clamp, d as ZERO, dt as dot, et as typegpu_default, ln as u32, m as call, qt as struct, sn as f32 } from "./edges-BvIjDyJK.js";
2
+ import { I as textureLoad, M as createGuardedCompute, R as textureStore } from "./device-DWPzs8TD.js";
3
+ import { s as TWO_PI$1, t as DEG_TO_RAD$1 } from "./constants-BKlzQFdJ.js";
4
+ import { a as REMAP_WINDOW_FIELDS, f as mapSourceScalar, i as MAP_SOURCE_DIM_FIELDS, n as DEFAULT_COMPUTE_HEIGHT, o as applyRemapWindow, r as DEFAULT_COMPUTE_WIDTH } from "./blur-fsxhpklK.js";
5
+ import { r as transformAngle } from "./transformations-u-UZrXjj.js";
6
6
  var GOLDEN_ANGLE = Math.PI * (3 - Math.sqrt(5));
7
7
  var TWO_PI = TWO_PI$1;
8
8
  var DEG_TO_RAD = DEG_TO_RAD$1;
@@ -178,7 +178,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
178
178
  const TAPS = tapCount;
179
179
  const Params = bokehParams();
180
180
  const TapArray = arrayOf(vec4f, TAPS);
181
- const layout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(src_default.bindGroupLayout({
181
+ const layout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(typegpu_default.bindGroupLayout({
182
182
  input: { texture: texture2d(f32) },
183
183
  output: { storageTexture: textureStorage2d(OUTPUT_FORMAT, "write-only") },
184
184
  params: { uniform: Params },
@@ -186,7 +186,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
186
186
  }), "layout");
187
187
  return {
188
188
  layout,
189
- kernel: src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
189
+ kernel: typegpu_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
190
190
  "use gpu";
191
191
  const p = layout.$.params;
192
192
  const radius = p.radius;
@@ -240,7 +240,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
240
240
  textureStore(layout.$.output, vec2u(cx, cy), vec4f(accum.mul(invW), __tsover_mul(alphaAccum, invW)));
241
241
  }
242
242
  }), {
243
- v: 1,
243
+ v: 2,
244
244
  name: void 0,
245
245
  ast: {
246
246
  "params": [{
@@ -286,11 +286,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
286
286
  1,
287
287
  [
288
288
  6,
289
- [
290
- 7,
291
- "d",
292
- "f32"
293
- ],
289
+ "d.f32",
294
290
  ["cx"]
295
291
  ],
296
292
  "+",
@@ -323,11 +319,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
323
319
  1,
324
320
  [
325
321
  6,
326
- [
327
- 7,
328
- "d",
329
- "f32"
330
- ],
322
+ "d.f32",
331
323
  ["cy"]
332
324
  ],
333
325
  "+",
@@ -352,11 +344,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
352
344
  "inputWm1",
353
345
  [
354
346
  6,
355
- [
356
- 7,
357
- "d",
358
- "i32"
359
- ],
347
+ "d.i32",
360
348
  [[
361
349
  1,
362
350
  [
@@ -374,11 +362,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
374
362
  "inputHm1",
375
363
  [
376
364
  6,
377
- [
378
- 7,
379
- "d",
380
- "i32"
381
- ],
365
+ "d.i32",
382
366
  [[
383
367
  1,
384
368
  [
@@ -405,26 +389,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
405
389
  "sx",
406
390
  [
407
391
  6,
408
- [
409
- 7,
410
- "std",
411
- "clamp"
412
- ],
392
+ "std.clamp",
413
393
  [
414
394
  [
415
395
  6,
416
- [
417
- 7,
418
- "d",
419
- "i32"
420
- ],
396
+ "d.i32",
421
397
  [[
422
398
  6,
423
- [
424
- 7,
425
- "std",
426
- "round"
427
- ],
399
+ "std.round",
428
400
  ["inputCx"]
429
401
  ]]
430
402
  ],
@@ -438,26 +410,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
438
410
  "sy",
439
411
  [
440
412
  6,
441
- [
442
- 7,
443
- "std",
444
- "clamp"
445
- ],
413
+ "std.clamp",
446
414
  [
447
415
  [
448
416
  6,
449
- [
450
- 7,
451
- "d",
452
- "i32"
453
- ],
417
+ "d.i32",
454
418
  [[
455
419
  6,
456
- [
457
- 7,
458
- "std",
459
- "round"
460
- ],
420
+ "std.round",
461
421
  ["inputCy"]
462
422
  ]]
463
423
  ],
@@ -471,11 +431,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
471
431
  "texel",
472
432
  [
473
433
  6,
474
- [
475
- 7,
476
- "std",
477
- "textureLoad"
478
- ],
434
+ "std.textureLoad",
479
435
  [
480
436
  [
481
437
  7,
@@ -488,26 +444,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
488
444
  ],
489
445
  [
490
446
  6,
491
- [
492
- 7,
493
- "d",
494
- "vec2u"
495
- ],
447
+ "d.vec2u",
496
448
  [[
497
449
  6,
498
- [
499
- 7,
500
- "d",
501
- "u32"
502
- ],
450
+ "d.u32",
503
451
  ["sx"]
504
452
  ], [
505
453
  6,
506
- [
507
- 7,
508
- "d",
509
- "u32"
510
- ],
454
+ "d.u32",
511
455
  ["sy"]
512
456
  ]]
513
457
  ],
@@ -517,11 +461,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
517
461
  ],
518
462
  [
519
463
  6,
520
- [
521
- 7,
522
- "std",
523
- "textureStore"
524
- ],
464
+ "std.textureStore",
525
465
  [
526
466
  [
527
467
  7,
@@ -534,11 +474,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
534
474
  ],
535
475
  [
536
476
  6,
537
- [
538
- 7,
539
- "d",
540
- "vec2u"
541
- ],
477
+ "d.vec2u",
542
478
  ["cx", "cy"]
543
479
  ],
544
480
  "texel"
@@ -596,11 +532,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
596
532
  "accum",
597
533
  [
598
534
  6,
599
- [
600
- 7,
601
- "d",
602
- "vec3f"
603
- ],
535
+ "d.vec3f",
604
536
  [
605
537
  [5, "0"],
606
538
  [5, "0"],
@@ -613,11 +545,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
613
545
  "alphaAccum",
614
546
  [
615
547
  6,
616
- [
617
- 7,
618
- "d",
619
- "f32"
620
- ],
548
+ "d.f32",
621
549
  [[5, "0"]]
622
550
  ]
623
551
  ],
@@ -626,11 +554,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
626
554
  "wSum",
627
555
  [
628
556
  6,
629
- [
630
- 7,
631
- "d",
632
- "f32"
633
- ],
557
+ "d.f32",
634
558
  [[5, "0"]]
635
559
  ]
636
560
  ],
@@ -731,11 +655,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
731
655
  "off",
732
656
  [
733
657
  6,
734
- [
735
- 7,
736
- "d",
737
- "vec2f"
738
- ],
658
+ "d.vec2f",
739
659
  [[
740
660
  1,
741
661
  "ox",
@@ -754,26 +674,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
754
674
  "sx",
755
675
  [
756
676
  6,
757
- [
758
- 7,
759
- "std",
760
- "clamp"
761
- ],
677
+ "std.clamp",
762
678
  [
763
679
  [
764
680
  6,
765
- [
766
- 7,
767
- "d",
768
- "i32"
769
- ],
681
+ "d.i32",
770
682
  [[
771
683
  6,
772
- [
773
- 7,
774
- "std",
775
- "round"
776
- ],
684
+ "std.round",
777
685
  [[
778
686
  1,
779
687
  "inputCx",
@@ -796,26 +704,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
796
704
  "sy",
797
705
  [
798
706
  6,
799
- [
800
- 7,
801
- "std",
802
- "clamp"
803
- ],
707
+ "std.clamp",
804
708
  [
805
709
  [
806
710
  6,
807
- [
808
- 7,
809
- "d",
810
- "i32"
811
- ],
711
+ "d.i32",
812
712
  [[
813
713
  6,
814
- [
815
- 7,
816
- "std",
817
- "round"
818
- ],
714
+ "std.round",
819
715
  [[
820
716
  1,
821
717
  "inputCy",
@@ -838,11 +734,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
838
734
  "base",
839
735
  [
840
736
  6,
841
- [
842
- 7,
843
- "std",
844
- "textureLoad"
845
- ],
737
+ "std.textureLoad",
846
738
  [
847
739
  [
848
740
  7,
@@ -855,26 +747,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
855
747
  ],
856
748
  [
857
749
  6,
858
- [
859
- 7,
860
- "d",
861
- "vec2u"
862
- ],
750
+ "d.vec2u",
863
751
  [[
864
752
  6,
865
- [
866
- 7,
867
- "d",
868
- "u32"
869
- ],
753
+ "d.u32",
870
754
  ["sx"]
871
755
  ], [
872
756
  6,
873
- [
874
- 7,
875
- "d",
876
- "u32"
877
- ],
757
+ "d.u32",
878
758
  ["sy"]
879
759
  ]]
880
760
  ],
@@ -937,26 +817,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
937
817
  "rx",
938
818
  [
939
819
  6,
940
- [
941
- 7,
942
- "std",
943
- "clamp"
944
- ],
820
+ "std.clamp",
945
821
  [
946
822
  [
947
823
  6,
948
- [
949
- 7,
950
- "d",
951
- "i32"
952
- ],
824
+ "d.i32",
953
825
  [[
954
826
  6,
955
- [
956
- 7,
957
- "std",
958
- "round"
959
- ],
827
+ "std.round",
960
828
  [[
961
829
  1,
962
830
  "inputCx",
@@ -979,26 +847,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
979
847
  "ry",
980
848
  [
981
849
  6,
982
- [
983
- 7,
984
- "std",
985
- "clamp"
986
- ],
850
+ "std.clamp",
987
851
  [
988
852
  [
989
853
  6,
990
- [
991
- 7,
992
- "d",
993
- "i32"
994
- ],
854
+ "d.i32",
995
855
  [[
996
856
  6,
997
- [
998
- 7,
999
- "std",
1000
- "round"
1001
- ],
857
+ "std.round",
1002
858
  [[
1003
859
  1,
1004
860
  "inputCy",
@@ -1024,11 +880,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1024
880
  7,
1025
881
  [
1026
882
  6,
1027
- [
1028
- 7,
1029
- "std",
1030
- "textureLoad"
1031
- ],
883
+ "std.textureLoad",
1032
884
  [
1033
885
  [
1034
886
  7,
@@ -1041,26 +893,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1041
893
  ],
1042
894
  [
1043
895
  6,
1044
- [
1045
- 7,
1046
- "d",
1047
- "vec2u"
1048
- ],
896
+ "d.vec2u",
1049
897
  [[
1050
898
  6,
1051
- [
1052
- 7,
1053
- "d",
1054
- "u32"
1055
- ],
899
+ "d.u32",
1056
900
  ["rx"]
1057
901
  ], [
1058
902
  6,
1059
- [
1060
- 7,
1061
- "d",
1062
- "u32"
1063
- ],
903
+ "d.u32",
1064
904
  ["ry"]
1065
905
  ]]
1066
906
  ],
@@ -1098,26 +938,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1098
938
  "bx",
1099
939
  [
1100
940
  6,
1101
- [
1102
- 7,
1103
- "std",
1104
- "clamp"
1105
- ],
941
+ "std.clamp",
1106
942
  [
1107
943
  [
1108
944
  6,
1109
- [
1110
- 7,
1111
- "d",
1112
- "i32"
1113
- ],
945
+ "d.i32",
1114
946
  [[
1115
947
  6,
1116
- [
1117
- 7,
1118
- "std",
1119
- "round"
1120
- ],
948
+ "std.round",
1121
949
  [[
1122
950
  1,
1123
951
  "inputCx",
@@ -1140,26 +968,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1140
968
  "by",
1141
969
  [
1142
970
  6,
1143
- [
1144
- 7,
1145
- "std",
1146
- "clamp"
1147
- ],
971
+ "std.clamp",
1148
972
  [
1149
973
  [
1150
974
  6,
1151
- [
1152
- 7,
1153
- "d",
1154
- "i32"
1155
- ],
975
+ "d.i32",
1156
976
  [[
1157
977
  6,
1158
- [
1159
- 7,
1160
- "std",
1161
- "round"
1162
- ],
978
+ "std.round",
1163
979
  [[
1164
980
  1,
1165
981
  "inputCy",
@@ -1185,11 +1001,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1185
1001
  7,
1186
1002
  [
1187
1003
  6,
1188
- [
1189
- 7,
1190
- "std",
1191
- "textureLoad"
1192
- ],
1004
+ "std.textureLoad",
1193
1005
  [
1194
1006
  [
1195
1007
  7,
@@ -1202,26 +1014,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1202
1014
  ],
1203
1015
  [
1204
1016
  6,
1205
- [
1206
- 7,
1207
- "d",
1208
- "vec2u"
1209
- ],
1017
+ "d.vec2u",
1210
1018
  [[
1211
1019
  6,
1212
- [
1213
- 7,
1214
- "d",
1215
- "u32"
1216
- ],
1020
+ "d.u32",
1217
1021
  ["bx"]
1218
1022
  ], [
1219
1023
  6,
1220
- [
1221
- 7,
1222
- "d",
1223
- "u32"
1224
- ],
1024
+ "d.u32",
1225
1025
  ["by"]
1226
1026
  ]]
1227
1027
  ],
@@ -1238,11 +1038,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1238
1038
  "col",
1239
1039
  [
1240
1040
  6,
1241
- [
1242
- 7,
1243
- "d",
1244
- "vec3f"
1245
- ],
1041
+ "d.vec3f",
1246
1042
  [
1247
1043
  "colR",
1248
1044
  [
@@ -1259,22 +1055,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1259
1055
  "lum",
1260
1056
  [
1261
1057
  6,
1262
- [
1263
- 7,
1264
- "std",
1265
- "dot"
1266
- ],
1058
+ "std.dot",
1267
1059
  [[
1268
1060
  7,
1269
1061
  "base",
1270
1062
  "xyz"
1271
1063
  ], [
1272
1064
  6,
1273
- [
1274
- 7,
1275
- "d",
1276
- "vec3f"
1277
- ],
1065
+ "d.vec3f",
1278
1066
  [
1279
1067
  [5, "0.2126"],
1280
1068
  [5, "0.7152"],
@@ -1288,11 +1076,7 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1288
1076
  "hi",
1289
1077
  [
1290
1078
  6,
1291
- [
1292
- 7,
1293
- "std",
1294
- "smoothstep"
1295
- ],
1079
+ "std.smoothstep",
1296
1080
  [
1297
1081
  "threshold",
1298
1082
  [
@@ -1398,22 +1182,14 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1398
1182
  "/",
1399
1183
  [
1400
1184
  6,
1401
- [
1402
- 7,
1403
- "std",
1404
- "max"
1405
- ],
1185
+ "std.max",
1406
1186
  ["wSum", [5, "0.0001"]]
1407
1187
  ]
1408
1188
  ]
1409
1189
  ],
1410
1190
  [
1411
1191
  6,
1412
- [
1413
- 7,
1414
- "std",
1415
- "textureStore"
1416
- ],
1192
+ "std.textureStore",
1417
1193
  [
1418
1194
  [
1419
1195
  7,
@@ -1426,20 +1202,12 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1426
1202
  ],
1427
1203
  [
1428
1204
  6,
1429
- [
1430
- 7,
1431
- "d",
1432
- "vec2u"
1433
- ],
1205
+ "d.vec2u",
1434
1206
  ["cx", "cy"]
1435
1207
  ],
1436
1208
  [
1437
1209
  6,
1438
- [
1439
- 7,
1440
- "d",
1441
- "vec4f"
1442
- ],
1210
+ "d.vec4f",
1443
1211
  [[
1444
1212
  6,
1445
1213
  [
@@ -1459,28 +1227,30 @@ function buildBokehGraph(computeWidth, computeHeight, tapCount) {
1459
1227
  ]
1460
1228
  ]]
1461
1229
  ]
1462
- ]],
1463
- "externalNames": [
1464
- "layout",
1465
- "d",
1466
- "computeWidth",
1467
- "computeHeight",
1468
- "PASSTHROUGH_RADIUS",
1469
- "std",
1470
- "TAPS",
1471
- "HIGHLIGHT_KNEE"
1472
- ]
1230
+ ]]
1473
1231
  },
1474
- externals: () => ({
1475
- layout,
1476
- d: data_exports,
1477
- computeWidth,
1478
- computeHeight,
1479
- PASSTHROUGH_RADIUS,
1480
- std: std_exports,
1481
- TAPS,
1482
- HIGHLIGHT_KNEE
1483
- })
1232
+ externals: {
1233
+ "layout": () => layout,
1234
+ "d.f32": () => f32,
1235
+ "computeWidth": () => computeWidth,
1236
+ "computeHeight": () => computeHeight,
1237
+ "d.i32": () => i32,
1238
+ "PASSTHROUGH_RADIUS": () => PASSTHROUGH_RADIUS,
1239
+ "std.clamp": () => clamp,
1240
+ "std.round": () => round,
1241
+ "std.textureLoad": () => textureLoad,
1242
+ "d.vec2u": () => vec2u,
1243
+ "d.u32": () => u32,
1244
+ "std.textureStore": () => textureStore,
1245
+ "d.vec3f": () => vec3f,
1246
+ "TAPS": () => TAPS,
1247
+ "d.vec2f": () => vec2f,
1248
+ "std.dot": () => dot,
1249
+ "std.smoothstep": () => smoothstep,
1250
+ "HIGHLIGHT_KNEE": () => HIGHLIGHT_KNEE,
1251
+ "std.max": () => max,
1252
+ "d.vec4f": () => vec4f
1253
+ }
1484
1254
  }) && $.f)({})).$name("bokehGather"),
1485
1255
  Params,
1486
1256
  TapArray
@@ -1491,7 +1261,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1491
1261
  const Params = bokehMapParams();
1492
1262
  const TapArray = arrayOf(vec4f, TAPS);
1493
1263
  const channelScalar = mapSourceScalar(channel);
1494
- const layout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(src_default.bindGroupLayout({
1264
+ const layout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(typegpu_default.bindGroupLayout({
1495
1265
  input: { texture: texture2d(f32) },
1496
1266
  source: { texture: texture2d(f32) },
1497
1267
  output: { storageTexture: textureStorage2d(OUTPUT_FORMAT, "write-only") },
@@ -1500,7 +1270,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1500
1270
  }), "layout");
1501
1271
  return {
1502
1272
  layout,
1503
- kernel: src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
1273
+ kernel: typegpu_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
1504
1274
  "use gpu";
1505
1275
  const p = layout.$.params;
1506
1276
  const inputCx = __tsover_sub(__tsover_div(__tsover_mul(__tsover_add(f32(cx), .5), p.inputWidth), computeWidth), .5);
@@ -1559,7 +1329,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1559
1329
  textureStore(layout.$.output, vec2u(cx, cy), vec4f(accum.mul(invW), __tsover_mul(alphaAccum, invW)));
1560
1330
  }
1561
1331
  }), {
1562
- v: 1,
1332
+ v: 2,
1563
1333
  name: void 0,
1564
1334
  ast: {
1565
1335
  "params": [{
@@ -1596,11 +1366,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1596
1366
  1,
1597
1367
  [
1598
1368
  6,
1599
- [
1600
- 7,
1601
- "d",
1602
- "f32"
1603
- ],
1369
+ "d.f32",
1604
1370
  ["cx"]
1605
1371
  ],
1606
1372
  "+",
@@ -1633,11 +1399,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1633
1399
  1,
1634
1400
  [
1635
1401
  6,
1636
- [
1637
- 7,
1638
- "d",
1639
- "f32"
1640
- ],
1402
+ "d.f32",
1641
1403
  ["cy"]
1642
1404
  ],
1643
1405
  "+",
@@ -1662,11 +1424,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1662
1424
  "inputWm1",
1663
1425
  [
1664
1426
  6,
1665
- [
1666
- 7,
1667
- "d",
1668
- "i32"
1669
- ],
1427
+ "d.i32",
1670
1428
  [[
1671
1429
  1,
1672
1430
  [
@@ -1684,11 +1442,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1684
1442
  "inputHm1",
1685
1443
  [
1686
1444
  6,
1687
- [
1688
- 7,
1689
- "d",
1690
- "i32"
1691
- ],
1445
+ "d.i32",
1692
1446
  [[
1693
1447
  1,
1694
1448
  [
@@ -1710,11 +1464,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1710
1464
  1,
1711
1465
  [
1712
1466
  6,
1713
- [
1714
- 7,
1715
- "d",
1716
- "f32"
1717
- ],
1467
+ "d.f32",
1718
1468
  ["cx"]
1719
1469
  ],
1720
1470
  "+",
@@ -1733,11 +1483,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1733
1483
  1,
1734
1484
  [
1735
1485
  6,
1736
- [
1737
- 7,
1738
- "d",
1739
- "f32"
1740
- ],
1486
+ "d.f32",
1741
1487
  ["cy"]
1742
1488
  ],
1743
1489
  "+",
@@ -1752,26 +1498,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1752
1498
  "srcX",
1753
1499
  [
1754
1500
  6,
1755
- [
1756
- 7,
1757
- "std",
1758
- "clamp"
1759
- ],
1501
+ "std.clamp",
1760
1502
  [
1761
1503
  [
1762
1504
  6,
1763
- [
1764
- 7,
1765
- "d",
1766
- "i32"
1767
- ],
1505
+ "d.i32",
1768
1506
  [[
1769
1507
  6,
1770
- [
1771
- 7,
1772
- "std",
1773
- "round"
1774
- ],
1508
+ "std.round",
1775
1509
  [[
1776
1510
  1,
1777
1511
  "u",
@@ -1794,26 +1528,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1794
1528
  "srcY",
1795
1529
  [
1796
1530
  6,
1797
- [
1798
- 7,
1799
- "std",
1800
- "clamp"
1801
- ],
1531
+ "std.clamp",
1802
1532
  [
1803
1533
  [
1804
1534
  6,
1805
- [
1806
- 7,
1807
- "d",
1808
- "i32"
1809
- ],
1535
+ "d.i32",
1810
1536
  [[
1811
1537
  6,
1812
- [
1813
- 7,
1814
- "std",
1815
- "round"
1816
- ],
1538
+ "std.round",
1817
1539
  [[
1818
1540
  1,
1819
1541
  "v",
@@ -1836,11 +1558,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1836
1558
  "mapSample",
1837
1559
  [
1838
1560
  6,
1839
- [
1840
- 7,
1841
- "std",
1842
- "textureLoad"
1843
- ],
1561
+ "std.textureLoad",
1844
1562
  [
1845
1563
  [
1846
1564
  7,
@@ -1853,26 +1571,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1853
1571
  ],
1854
1572
  [
1855
1573
  6,
1856
- [
1857
- 7,
1858
- "d",
1859
- "vec2u"
1860
- ],
1574
+ "d.vec2u",
1861
1575
  [[
1862
1576
  6,
1863
- [
1864
- 7,
1865
- "d",
1866
- "u32"
1867
- ],
1577
+ "d.u32",
1868
1578
  ["srcX"]
1869
1579
  ], [
1870
1580
  6,
1871
- [
1872
- 7,
1873
- "d",
1874
- "u32"
1875
- ],
1581
+ "d.u32",
1876
1582
  ["srcY"]
1877
1583
  ]]
1878
1584
  ],
@@ -1885,11 +1591,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1885
1591
  "remapped",
1886
1592
  [
1887
1593
  6,
1888
- [
1889
- 7,
1890
- "blur",
1891
- "applyRemapWindow"
1892
- ],
1594
+ "blur.applyRemapWindow",
1893
1595
  [
1894
1596
  [
1895
1597
  6,
@@ -1948,26 +1650,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1948
1650
  "sx",
1949
1651
  [
1950
1652
  6,
1951
- [
1952
- 7,
1953
- "std",
1954
- "clamp"
1955
- ],
1653
+ "std.clamp",
1956
1654
  [
1957
1655
  [
1958
1656
  6,
1959
- [
1960
- 7,
1961
- "d",
1962
- "i32"
1963
- ],
1657
+ "d.i32",
1964
1658
  [[
1965
1659
  6,
1966
- [
1967
- 7,
1968
- "std",
1969
- "round"
1970
- ],
1660
+ "std.round",
1971
1661
  ["inputCx"]
1972
1662
  ]]
1973
1663
  ],
@@ -1981,26 +1671,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
1981
1671
  "sy",
1982
1672
  [
1983
1673
  6,
1984
- [
1985
- 7,
1986
- "std",
1987
- "clamp"
1988
- ],
1674
+ "std.clamp",
1989
1675
  [
1990
1676
  [
1991
1677
  6,
1992
- [
1993
- 7,
1994
- "d",
1995
- "i32"
1996
- ],
1678
+ "d.i32",
1997
1679
  [[
1998
1680
  6,
1999
- [
2000
- 7,
2001
- "std",
2002
- "round"
2003
- ],
1681
+ "std.round",
2004
1682
  ["inputCy"]
2005
1683
  ]]
2006
1684
  ],
@@ -2014,11 +1692,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2014
1692
  "texel",
2015
1693
  [
2016
1694
  6,
2017
- [
2018
- 7,
2019
- "std",
2020
- "textureLoad"
2021
- ],
1695
+ "std.textureLoad",
2022
1696
  [
2023
1697
  [
2024
1698
  7,
@@ -2031,26 +1705,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2031
1705
  ],
2032
1706
  [
2033
1707
  6,
2034
- [
2035
- 7,
2036
- "d",
2037
- "vec2u"
2038
- ],
1708
+ "d.vec2u",
2039
1709
  [[
2040
1710
  6,
2041
- [
2042
- 7,
2043
- "d",
2044
- "u32"
2045
- ],
1711
+ "d.u32",
2046
1712
  ["sx"]
2047
1713
  ], [
2048
1714
  6,
2049
- [
2050
- 7,
2051
- "d",
2052
- "u32"
2053
- ],
1715
+ "d.u32",
2054
1716
  ["sy"]
2055
1717
  ]]
2056
1718
  ],
@@ -2060,11 +1722,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2060
1722
  ],
2061
1723
  [
2062
1724
  6,
2063
- [
2064
- 7,
2065
- "std",
2066
- "textureStore"
2067
- ],
1725
+ "std.textureStore",
2068
1726
  [
2069
1727
  [
2070
1728
  7,
@@ -2077,11 +1735,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2077
1735
  ],
2078
1736
  [
2079
1737
  6,
2080
- [
2081
- 7,
2082
- "d",
2083
- "vec2u"
2084
- ],
1738
+ "d.vec2u",
2085
1739
  ["cx", "cy"]
2086
1740
  ],
2087
1741
  "texel"
@@ -2139,11 +1793,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2139
1793
  "accum",
2140
1794
  [
2141
1795
  6,
2142
- [
2143
- 7,
2144
- "d",
2145
- "vec3f"
2146
- ],
1796
+ "d.vec3f",
2147
1797
  [
2148
1798
  [5, "0"],
2149
1799
  [5, "0"],
@@ -2156,11 +1806,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2156
1806
  "alphaAccum",
2157
1807
  [
2158
1808
  6,
2159
- [
2160
- 7,
2161
- "d",
2162
- "f32"
2163
- ],
1809
+ "d.f32",
2164
1810
  [[5, "0"]]
2165
1811
  ]
2166
1812
  ],
@@ -2169,11 +1815,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2169
1815
  "wSum",
2170
1816
  [
2171
1817
  6,
2172
- [
2173
- 7,
2174
- "d",
2175
- "f32"
2176
- ],
1818
+ "d.f32",
2177
1819
  [[5, "0"]]
2178
1820
  ]
2179
1821
  ],
@@ -2274,11 +1916,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2274
1916
  "off",
2275
1917
  [
2276
1918
  6,
2277
- [
2278
- 7,
2279
- "d",
2280
- "vec2f"
2281
- ],
1919
+ "d.vec2f",
2282
1920
  [[
2283
1921
  1,
2284
1922
  "ox",
@@ -2297,26 +1935,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2297
1935
  "sx",
2298
1936
  [
2299
1937
  6,
2300
- [
2301
- 7,
2302
- "std",
2303
- "clamp"
2304
- ],
1938
+ "std.clamp",
2305
1939
  [
2306
1940
  [
2307
1941
  6,
2308
- [
2309
- 7,
2310
- "d",
2311
- "i32"
2312
- ],
1942
+ "d.i32",
2313
1943
  [[
2314
1944
  6,
2315
- [
2316
- 7,
2317
- "std",
2318
- "round"
2319
- ],
1945
+ "std.round",
2320
1946
  [[
2321
1947
  1,
2322
1948
  "inputCx",
@@ -2339,26 +1965,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2339
1965
  "sy",
2340
1966
  [
2341
1967
  6,
2342
- [
2343
- 7,
2344
- "std",
2345
- "clamp"
2346
- ],
1968
+ "std.clamp",
2347
1969
  [
2348
1970
  [
2349
1971
  6,
2350
- [
2351
- 7,
2352
- "d",
2353
- "i32"
2354
- ],
1972
+ "d.i32",
2355
1973
  [[
2356
1974
  6,
2357
- [
2358
- 7,
2359
- "std",
2360
- "round"
2361
- ],
1975
+ "std.round",
2362
1976
  [[
2363
1977
  1,
2364
1978
  "inputCy",
@@ -2381,11 +1995,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2381
1995
  "base",
2382
1996
  [
2383
1997
  6,
2384
- [
2385
- 7,
2386
- "std",
2387
- "textureLoad"
2388
- ],
1998
+ "std.textureLoad",
2389
1999
  [
2390
2000
  [
2391
2001
  7,
@@ -2398,26 +2008,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2398
2008
  ],
2399
2009
  [
2400
2010
  6,
2401
- [
2402
- 7,
2403
- "d",
2404
- "vec2u"
2405
- ],
2011
+ "d.vec2u",
2406
2012
  [[
2407
2013
  6,
2408
- [
2409
- 7,
2410
- "d",
2411
- "u32"
2412
- ],
2014
+ "d.u32",
2413
2015
  ["sx"]
2414
2016
  ], [
2415
2017
  6,
2416
- [
2417
- 7,
2418
- "d",
2419
- "u32"
2420
- ],
2018
+ "d.u32",
2421
2019
  ["sy"]
2422
2020
  ]]
2423
2021
  ],
@@ -2480,26 +2078,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2480
2078
  "rx",
2481
2079
  [
2482
2080
  6,
2483
- [
2484
- 7,
2485
- "std",
2486
- "clamp"
2487
- ],
2081
+ "std.clamp",
2488
2082
  [
2489
2083
  [
2490
2084
  6,
2491
- [
2492
- 7,
2493
- "d",
2494
- "i32"
2495
- ],
2085
+ "d.i32",
2496
2086
  [[
2497
2087
  6,
2498
- [
2499
- 7,
2500
- "std",
2501
- "round"
2502
- ],
2088
+ "std.round",
2503
2089
  [[
2504
2090
  1,
2505
2091
  "inputCx",
@@ -2522,26 +2108,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2522
2108
  "ry",
2523
2109
  [
2524
2110
  6,
2525
- [
2526
- 7,
2527
- "std",
2528
- "clamp"
2529
- ],
2111
+ "std.clamp",
2530
2112
  [
2531
2113
  [
2532
2114
  6,
2533
- [
2534
- 7,
2535
- "d",
2536
- "i32"
2537
- ],
2115
+ "d.i32",
2538
2116
  [[
2539
2117
  6,
2540
- [
2541
- 7,
2542
- "std",
2543
- "round"
2544
- ],
2118
+ "std.round",
2545
2119
  [[
2546
2120
  1,
2547
2121
  "inputCy",
@@ -2567,11 +2141,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2567
2141
  7,
2568
2142
  [
2569
2143
  6,
2570
- [
2571
- 7,
2572
- "std",
2573
- "textureLoad"
2574
- ],
2144
+ "std.textureLoad",
2575
2145
  [
2576
2146
  [
2577
2147
  7,
@@ -2584,26 +2154,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2584
2154
  ],
2585
2155
  [
2586
2156
  6,
2587
- [
2588
- 7,
2589
- "d",
2590
- "vec2u"
2591
- ],
2157
+ "d.vec2u",
2592
2158
  [[
2593
2159
  6,
2594
- [
2595
- 7,
2596
- "d",
2597
- "u32"
2598
- ],
2160
+ "d.u32",
2599
2161
  ["rx"]
2600
2162
  ], [
2601
2163
  6,
2602
- [
2603
- 7,
2604
- "d",
2605
- "u32"
2606
- ],
2164
+ "d.u32",
2607
2165
  ["ry"]
2608
2166
  ]]
2609
2167
  ],
@@ -2641,26 +2199,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2641
2199
  "bx",
2642
2200
  [
2643
2201
  6,
2644
- [
2645
- 7,
2646
- "std",
2647
- "clamp"
2648
- ],
2202
+ "std.clamp",
2649
2203
  [
2650
2204
  [
2651
2205
  6,
2652
- [
2653
- 7,
2654
- "d",
2655
- "i32"
2656
- ],
2206
+ "d.i32",
2657
2207
  [[
2658
2208
  6,
2659
- [
2660
- 7,
2661
- "std",
2662
- "round"
2663
- ],
2209
+ "std.round",
2664
2210
  [[
2665
2211
  1,
2666
2212
  "inputCx",
@@ -2683,26 +2229,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2683
2229
  "by",
2684
2230
  [
2685
2231
  6,
2686
- [
2687
- 7,
2688
- "std",
2689
- "clamp"
2690
- ],
2232
+ "std.clamp",
2691
2233
  [
2692
2234
  [
2693
2235
  6,
2694
- [
2695
- 7,
2696
- "d",
2697
- "i32"
2698
- ],
2236
+ "d.i32",
2699
2237
  [[
2700
2238
  6,
2701
- [
2702
- 7,
2703
- "std",
2704
- "round"
2705
- ],
2239
+ "std.round",
2706
2240
  [[
2707
2241
  1,
2708
2242
  "inputCy",
@@ -2728,11 +2262,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2728
2262
  7,
2729
2263
  [
2730
2264
  6,
2731
- [
2732
- 7,
2733
- "std",
2734
- "textureLoad"
2735
- ],
2265
+ "std.textureLoad",
2736
2266
  [
2737
2267
  [
2738
2268
  7,
@@ -2745,26 +2275,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2745
2275
  ],
2746
2276
  [
2747
2277
  6,
2748
- [
2749
- 7,
2750
- "d",
2751
- "vec2u"
2752
- ],
2278
+ "d.vec2u",
2753
2279
  [[
2754
2280
  6,
2755
- [
2756
- 7,
2757
- "d",
2758
- "u32"
2759
- ],
2281
+ "d.u32",
2760
2282
  ["bx"]
2761
2283
  ], [
2762
2284
  6,
2763
- [
2764
- 7,
2765
- "d",
2766
- "u32"
2767
- ],
2285
+ "d.u32",
2768
2286
  ["by"]
2769
2287
  ]]
2770
2288
  ],
@@ -2781,11 +2299,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2781
2299
  "col",
2782
2300
  [
2783
2301
  6,
2784
- [
2785
- 7,
2786
- "d",
2787
- "vec3f"
2788
- ],
2302
+ "d.vec3f",
2789
2303
  [
2790
2304
  "colR",
2791
2305
  [
@@ -2802,22 +2316,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2802
2316
  "lum",
2803
2317
  [
2804
2318
  6,
2805
- [
2806
- 7,
2807
- "std",
2808
- "dot"
2809
- ],
2319
+ "std.dot",
2810
2320
  [[
2811
2321
  7,
2812
2322
  "base",
2813
2323
  "xyz"
2814
2324
  ], [
2815
2325
  6,
2816
- [
2817
- 7,
2818
- "d",
2819
- "vec3f"
2820
- ],
2326
+ "d.vec3f",
2821
2327
  [
2822
2328
  [5, "0.2126"],
2823
2329
  [5, "0.7152"],
@@ -2831,11 +2337,7 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2831
2337
  "hi",
2832
2338
  [
2833
2339
  6,
2834
- [
2835
- 7,
2836
- "std",
2837
- "smoothstep"
2838
- ],
2340
+ "std.smoothstep",
2839
2341
  [
2840
2342
  "threshold",
2841
2343
  [
@@ -2941,22 +2443,14 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2941
2443
  "/",
2942
2444
  [
2943
2445
  6,
2944
- [
2945
- 7,
2946
- "std",
2947
- "max"
2948
- ],
2446
+ "std.max",
2949
2447
  ["wSum", [5, "0.0001"]]
2950
2448
  ]
2951
2449
  ]
2952
2450
  ],
2953
2451
  [
2954
2452
  6,
2955
- [
2956
- 7,
2957
- "std",
2958
- "textureStore"
2959
- ],
2453
+ "std.textureStore",
2960
2454
  [
2961
2455
  [
2962
2456
  7,
@@ -2969,20 +2463,12 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
2969
2463
  ],
2970
2464
  [
2971
2465
  6,
2972
- [
2973
- 7,
2974
- "d",
2975
- "vec2u"
2976
- ],
2466
+ "d.vec2u",
2977
2467
  ["cx", "cy"]
2978
2468
  ],
2979
2469
  [
2980
2470
  6,
2981
- [
2982
- 7,
2983
- "d",
2984
- "vec4f"
2985
- ],
2471
+ "d.vec4f",
2986
2472
  [[
2987
2473
  6,
2988
2474
  [
@@ -3002,34 +2488,33 @@ function buildBokehMapGraph(computeWidth, computeHeight, tapCount, channel) {
3002
2488
  ]
3003
2489
  ]]
3004
2490
  ]
3005
- ]],
3006
- "externalNames": [
3007
- "layout",
3008
- "d",
3009
- "computeWidth",
3010
- "computeHeight",
3011
- "std",
3012
- "blur",
3013
- "channelScalar",
3014
- "RADIUS_SCALE",
3015
- "PASSTHROUGH_RADIUS",
3016
- "TAPS",
3017
- "HIGHLIGHT_KNEE"
3018
- ]
2491
+ ]]
3019
2492
  },
3020
- externals: () => ({
3021
- layout,
3022
- d: data_exports,
3023
- computeWidth,
3024
- computeHeight,
3025
- std: std_exports,
3026
- blur: blur_exports,
3027
- channelScalar,
3028
- RADIUS_SCALE: .8,
3029
- PASSTHROUGH_RADIUS,
3030
- TAPS,
3031
- HIGHLIGHT_KNEE
3032
- })
2493
+ externals: {
2494
+ "layout": () => layout,
2495
+ "d.f32": () => f32,
2496
+ "computeWidth": () => computeWidth,
2497
+ "computeHeight": () => computeHeight,
2498
+ "d.i32": () => i32,
2499
+ "std.clamp": () => clamp,
2500
+ "std.round": () => round,
2501
+ "std.textureLoad": () => textureLoad,
2502
+ "d.vec2u": () => vec2u,
2503
+ "d.u32": () => u32,
2504
+ "blur.applyRemapWindow": () => applyRemapWindow,
2505
+ "channelScalar": () => channelScalar,
2506
+ "RADIUS_SCALE": () => .8,
2507
+ "PASSTHROUGH_RADIUS": () => PASSTHROUGH_RADIUS,
2508
+ "std.textureStore": () => textureStore,
2509
+ "d.vec3f": () => vec3f,
2510
+ "TAPS": () => TAPS,
2511
+ "d.vec2f": () => vec2f,
2512
+ "std.dot": () => dot,
2513
+ "std.smoothstep": () => smoothstep,
2514
+ "HIGHLIGHT_KNEE": () => HIGHLIGHT_KNEE,
2515
+ "std.max": () => max,
2516
+ "d.vec4f": () => vec4f
2517
+ }
3033
2518
  }) && $.f)({})).$name("bokehGatherVariable"),
3034
2519
  Params,
3035
2520
  TapArray
@@ -3209,7 +2694,7 @@ const componentDefinition = {
3209
2694
  "use gpu";
3210
2695
  graph$1.kernel(cx, cy);
3211
2696
  }), {
3212
- v: 1,
2697
+ v: 2,
3213
2698
  name: void 0,
3214
2699
  ast: {
3215
2700
  "params": [{
@@ -3221,16 +2706,11 @@ const componentDefinition = {
3221
2706
  }],
3222
2707
  "body": [0, [[
3223
2708
  6,
3224
- [
3225
- 7,
3226
- "graph",
3227
- "kernel"
3228
- ],
2709
+ "graph.kernel",
3229
2710
  ["cx", "cy"]
3230
- ]]],
3231
- "externalNames": ["graph"]
2711
+ ]]]
3232
2712
  },
3233
- externals: () => ({ graph: graph$1 })
2713
+ externals: { "graph.kernel": () => graph$1.kernel }
3234
2714
  }) && $.f)({}), { size: [computeWidth, computeHeight] });
3235
2715
  return {
3236
2716
  outputs: { blurredTexture },
@@ -3272,7 +2752,7 @@ const componentDefinition = {
3272
2752
  "use gpu";
3273
2753
  graph.kernel(cx, cy);
3274
2754
  }), {
3275
- v: 1,
2755
+ v: 2,
3276
2756
  name: void 0,
3277
2757
  ast: {
3278
2758
  "params": [{
@@ -3284,16 +2764,11 @@ const componentDefinition = {
3284
2764
  }],
3285
2765
  "body": [0, [[
3286
2766
  6,
3287
- [
3288
- 7,
3289
- "graph",
3290
- "kernel"
3291
- ],
2767
+ "graph.kernel",
3292
2768
  ["cx", "cy"]
3293
- ]]],
3294
- "externalNames": ["graph"]
2769
+ ]]]
3295
2770
  },
3296
- externals: () => ({ graph })
2771
+ externals: { "graph.kernel": () => graph.kernel }
3297
2772
  }) && $.f)({}), { size: [computeWidth, computeHeight] });
3298
2773
  return {
3299
2774
  outputs: { blurredTexture },