shaders 3.1.455 → 3.1.457

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 (338) hide show
  1. package/dist/cli.js +2 -2
  2. package/dist/core/{Aurora-CTWNhlNr.js → Aurora-CJ7evt-F.js} +2 -2
  3. package/dist/core/{Beam-CgpfMTUq.js → Beam-KKNLzfKR.js} +1 -1
  4. package/dist/core/{BlockDissolve-DwWPjla0.js → BlockDissolve-B9xWZC6U.js} +1 -1
  5. package/dist/core/{BlockNoise-BMt760_p.js → BlockNoise-DQUBYM1N.js} +2 -2
  6. package/dist/core/{BlueNoise-Cfo_HthN.js → BlueNoise-BN1q4V6k.js} +2 -2
  7. package/dist/core/{Boids-CtvT1VsV.js → Boids-C7NstB5L.js} +1 -1
  8. package/dist/core/{BrickPattern-DomddM0C.js → BrickPattern-CIejlS9-.js} +3 -3
  9. package/dist/core/{BrushedMetal-BAgNgeo1.js → BrushedMetal-D2X_nM8z.js} +1 -1
  10. package/dist/core/{CarbonFiber-mK6eHIpy.js → CarbonFiber-BFogRBFa.js} +1 -1
  11. package/dist/core/{Chalkboard-BizZEHlC.js → Chalkboard-DEuq4TWm.js} +8 -39
  12. package/dist/core/{Checkerboard-Ynfnt3oJ.js → Checkerboard-BFFF9ajX.js} +2 -2
  13. package/dist/core/{Chevron-CEwNP2vt.js → Chevron-BHbGhnrT.js} +1 -1
  14. package/dist/core/{Chrome-DoPYr4Kd.js → Chrome-DdV9RY9D.js} +1 -1
  15. package/dist/core/{ColorWheel-BCReEdLZ.js → ColorWheel-BOfvt3mc.js} +1 -1
  16. package/dist/core/{ConicGradient-C3zzgyV4.js → ConicGradient-1RKI-gOR.js} +1 -1
  17. package/dist/core/{Crystal-B9DIgDD7.js → Crystal-CB_U2g2k.js} +1 -1
  18. package/dist/core/{CurlNoise-D6kSV8PJ.js → CurlNoise-FmbuZEYt.js} +2 -2
  19. package/dist/core/{DataMosh-CjVK_gxL.js → DataMosh-C_esIK54.js} +8 -20
  20. package/dist/core/{DiamondGradient-BkrLPdAd.js → DiamondGradient-CjnjxWEM.js} +1 -1
  21. package/dist/core/{DiffuseBlur-DUBfHpUN.js → DiffuseBlur-DmPHOfr_.js} +8 -55
  22. package/dist/core/{Dither-B4lhnNLA.js → Dither-CBsFenFW.js} +8 -39
  23. package/dist/core/{DotGrid-CJJXTOk6.js → DotGrid-CbxlW08N.js} +3 -3
  24. package/dist/core/{Engraving-DNNHKvIr.js → Engraving-CmNKAHmF.js} +1 -1
  25. package/dist/core/{ErosionNoise-w1aTuwY4.js → ErosionNoise-DdHtOQl4.js} +2 -2
  26. package/dist/core/{FallingLines-C1YT49dj.js → FallingLines-1q5WgiKa.js} +1 -1
  27. package/dist/core/{FilmGrain-BeZQzxdU.js → FilmGrain-CgvcPFDC.js} +29 -43
  28. package/dist/core/{FloatingParticles-Ch5OJjCc.js → FloatingParticles-BGig0_Ks.js} +1 -1
  29. package/dist/core/{FlowField-Cime_Fqy.js → FlowField-0I_PwtkD.js} +1 -1
  30. package/dist/core/{FlowingGradient-DL1e3OKu.js → FlowingGradient-DMZ1E9ix.js} +2 -2
  31. package/dist/core/{Fog-DvOvVKbF.js → Fog-DxFsHnT2.js} +51 -115
  32. package/dist/core/{FractalNoise-Bu8FbMYX.js → FractalNoise-DPhwf7-X.js} +3 -3
  33. package/dist/core/{Frost-BnE3EI6s.js → Frost-BL4zkGjj.js} +1 -1
  34. package/dist/core/{GaborNoise-BZFyQbDr.js → GaborNoise-GkEvNPeg.js} +2 -2
  35. package/dist/core/{Glitch-nokyLk8Q.js → Glitch-D-QTlz5D.js} +7 -24
  36. package/dist/core/{Godrays-fglKeS0z.js → Godrays-pfr82Onh.js} +9 -44
  37. package/dist/core/{Grid-BneV9T3T.js → Grid-CQRC0rPf.js} +3 -3
  38. package/dist/core/{Heatmap-Bp0wi8r1.js → Heatmap-DhvtrL45.js} +1 -1
  39. package/dist/core/{HexGrid-LGx240mZ.js → HexGrid-DsEQNWJB.js} +3 -3
  40. package/dist/core/{Hologram-B-090nzV.js → Hologram-DR88qD5X.js} +8 -40
  41. package/dist/core/{Holographic-CSIQUm1_.js → Holographic-DKc_nNnT.js} +1 -1
  42. package/dist/core/{IsometricCubes-BQFwe-5s.js → IsometricCubes-BBK6Ec0q.js} +3 -3
  43. package/dist/core/{LensFlare-B4F0dq7O.js → LensFlare-DLjQYsbx.js} +1 -1
  44. package/dist/core/{LightEdge-l2zPIeMQ.js → LightEdge-CF0k0vMa.js} +1 -1
  45. package/dist/core/{LightLeak-BSy19CB6.js → LightLeak-Bu6xFjg-.js} +1 -1
  46. package/dist/core/{LinearGradient-DOWwm0bP.js → LinearGradient--54vTgc2.js} +1 -1
  47. package/dist/core/{LiquidMetal-BbyxqZoO.js → LiquidMetal-Bhenyeg-.js} +1 -1
  48. package/dist/core/{MagneticFilings-5NVqpsrW.js → MagneticFilings-Bn5DZWor.js} +1 -1
  49. package/dist/core/{Marble-CzoJcXvo.js → Marble-DixQe_Tu.js} +2 -2
  50. package/dist/core/MeshGradient-Ca3pe_wB.js +1722 -0
  51. package/dist/core/{MultiPointGradient-NJZfFGVb.js → MultiPointGradient-CtFBgPK6.js} +1 -1
  52. package/dist/core/{NoiseDissolve-DxvqR71w.js → NoiseDissolve-CB-Xj99z.js} +1 -1
  53. package/dist/core/{ObjectTracker-DlVNN9LJ.js → ObjectTracker-DQbxNZtb.js} +1 -1
  54. package/dist/core/{Paper-Bn3DETI2.js → Paper-CVx1rZ1-.js} +1 -1
  55. package/dist/core/{ParticleField-CUtlCqxz.js → ParticleField-rfpfY_wr.js} +1 -1
  56. package/dist/core/{ParticleFlow-Ck5Ta_Rj.js → ParticleFlow-DnZTqxMa.js} +1 -1
  57. package/dist/core/{Particles-rnTAu4Mr.js → Particles-wfjtqAvF.js} +1 -1
  58. package/dist/core/{PerlinNoise-BUbmE_JA.js → PerlinNoise-B3PkQS1F.js} +2 -2
  59. package/dist/core/{PixelSort-CF0-TpU7.js → PixelSort-DF5Mm0uT.js} +19 -41
  60. package/dist/core/{Plasma-DOH9gxWt.js → Plasma-DdEQKNa7.js} +3 -3
  61. package/dist/core/{Plastic-CQNoTl22.js → Plastic-RGRWPbc0.js} +1 -1
  62. package/dist/core/{RadialGradient-C1Fb8TaL.js → RadialGradient-CiFbgiiX.js} +1 -1
  63. package/dist/core/{RandomBars-B7ZwitL3.js → RandomBars-BFJiR8ml.js} +1 -1
  64. package/dist/core/{ReactionDiffusion--54drNkY.js → ReactionDiffusion-COFwdqMo.js} +27 -55
  65. package/dist/core/{Scratches-Ih3Kx_UW.js → Scratches-RZkkhOMp.js} +1 -1
  66. package/dist/core/{SimplexNoise-E7ssgWPN.js → SimplexNoise-CD-iTgJm.js} +2 -2
  67. package/dist/core/{Stone-i7v3RIb9.js → Stone-B6MARs4o.js} +2 -2
  68. package/dist/core/{Stripes-B_SkTR2m.js → Stripes-C_i7QbEn.js} +2 -2
  69. package/dist/core/{StudioBackground-CUsUWJ2L.js → StudioBackground-CZipQCG_.js} +1 -1
  70. package/dist/core/{SunBurst-DiqSzz5A.js → SunBurst-BKj7bLZn.js} +1 -1
  71. package/dist/core/{Surface3D-DxzfMHn2.js → Surface3D-BlexrpDJ.js} +1 -1
  72. package/dist/core/{Text-Cb6QJNWo.js → Text-2KkuVHxV.js} +1 -1
  73. package/dist/core/{TriangularGrid-C3DBCmaj.js → TriangularGrid-DfrUVI8m.js} +3 -3
  74. package/dist/core/{Truchet-yjZm8xe3.js → Truchet-B3__IHji.js} +3 -3
  75. package/dist/core/{VHS-Z23X9XD6.js → VHS-BIaAlx98.js} +32 -101
  76. package/dist/core/{Voronoi-5QA-0zme.js → Voronoi-DsHYdzB3.js} +1 -1
  77. package/dist/core/{Water-DlvNrnrU.js → Water-T5GXFBCm.js} +1 -1
  78. package/dist/core/{Watercolor-BWx4xdwk.js → Watercolor-yog8LZOs.js} +1 -1
  79. package/dist/core/{WaveletNoise-CZS67VBU.js → WaveletNoise-pL_M8jha.js} +2 -2
  80. package/dist/core/{Weave-DpwAU5Rn.js → Weave-kQlWbHa6.js} +3 -3
  81. package/dist/core/{Wool-CEaWGZB1.js → Wool-CYzG-VrW.js} +2 -2
  82. package/dist/core/{WorleyNoise-CjRMr7xP.js → WorleyNoise-Cju8qU_5.js} +2 -2
  83. package/dist/core/{aa-C8WSqiNB.js → aa-zeNRf4Lz.js} +1 -1
  84. package/dist/core/{cells-CM9mfnTr.js → cells-C72CLFsJ.js} +1 -1
  85. package/dist/core/{fields-CC0756V2.js → fields-DgMkoZ6o.js} +1 -1
  86. package/dist/core/{geom-90G-d_hc.js → geom-B_TNdMNk.js} +1 -1
  87. package/dist/core/index.js +139 -138
  88. package/dist/core/{noise-Bd6IGS0W.js → noise-DX5Y_I--.js} +1 -1
  89. package/dist/core/{noiseStylize-CkeVSB9C.js → noiseStylize-BZD5cOJl.js} +1 -1
  90. package/dist/core/registry.js +139 -138
  91. package/dist/core/shaderRegistry-BIDNV71c.js +433 -0
  92. package/dist/core/shaderRegistry.d.ts.map +1 -1
  93. package/dist/core/shaders/Aurora/index.js +3 -3
  94. package/dist/core/shaders/Beam/index.js +2 -2
  95. package/dist/core/shaders/BlockDissolve/index.js +2 -2
  96. package/dist/core/shaders/BlockNoise/index.js +4 -4
  97. package/dist/core/shaders/BlueNoise/index.js +4 -4
  98. package/dist/core/shaders/Boids/index.js +2 -2
  99. package/dist/core/shaders/BrickPattern/index.js +4 -4
  100. package/dist/core/shaders/BrushedMetal/index.js +2 -2
  101. package/dist/core/shaders/CarbonFiber/index.js +2 -2
  102. package/dist/core/shaders/Chalkboard/index.d.ts.map +1 -1
  103. package/dist/core/shaders/Chalkboard/index.js +2 -1
  104. package/dist/core/shaders/Checkerboard/index.js +3 -3
  105. package/dist/core/shaders/Chevron/index.js +2 -2
  106. package/dist/core/shaders/Chrome/index.js +2 -2
  107. package/dist/core/shaders/ColorWheel/index.js +2 -2
  108. package/dist/core/shaders/ConicGradient/index.js +2 -2
  109. package/dist/core/shaders/Crystal/index.js +2 -2
  110. package/dist/core/shaders/CurlNoise/index.js +4 -4
  111. package/dist/core/shaders/DataMosh/index.d.ts +3 -1
  112. package/dist/core/shaders/DataMosh/index.d.ts.map +1 -1
  113. package/dist/core/shaders/DataMosh/index.js +2 -1
  114. package/dist/core/shaders/DiamondGradient/index.js +2 -2
  115. package/dist/core/shaders/DiffuseBlur/index.d.ts.map +1 -1
  116. package/dist/core/shaders/DiffuseBlur/index.js +2 -1
  117. package/dist/core/shaders/Dither/index.d.ts.map +1 -1
  118. package/dist/core/shaders/Dither/index.js +2 -1
  119. package/dist/core/shaders/DotGrid/index.js +4 -4
  120. package/dist/core/shaders/Engraving/index.js +2 -2
  121. package/dist/core/shaders/ErosionNoise/index.js +4 -4
  122. package/dist/core/shaders/FallingLines/index.js +2 -2
  123. package/dist/core/shaders/FilmGrain/index.d.ts.map +1 -1
  124. package/dist/core/shaders/FilmGrain/index.js +2 -1
  125. package/dist/core/shaders/FloatingParticles/index.js +2 -2
  126. package/dist/core/shaders/FlowField/index.js +2 -2
  127. package/dist/core/shaders/FlowingGradient/index.js +3 -3
  128. package/dist/core/shaders/Fog/index.d.ts.map +1 -1
  129. package/dist/core/shaders/Fog/index.js +2 -1
  130. package/dist/core/shaders/FractalNoise/index.js +4 -4
  131. package/dist/core/shaders/Frost/index.js +2 -2
  132. package/dist/core/shaders/GaborNoise/index.js +4 -4
  133. package/dist/core/shaders/Glitch/index.d.ts.map +1 -1
  134. package/dist/core/shaders/Glitch/index.js +2 -1
  135. package/dist/core/shaders/Godrays/index.d.ts.map +1 -1
  136. package/dist/core/shaders/Godrays/index.js +3 -2
  137. package/dist/core/shaders/Grid/index.js +4 -4
  138. package/dist/core/shaders/Heatmap/index.js +2 -2
  139. package/dist/core/shaders/HexGrid/index.js +4 -4
  140. package/dist/core/shaders/Hologram/index.d.ts.map +1 -1
  141. package/dist/core/shaders/Hologram/index.js +2 -2
  142. package/dist/core/shaders/Holographic/index.js +2 -2
  143. package/dist/core/shaders/IsometricCubes/index.js +4 -4
  144. package/dist/core/shaders/LensFlare/index.js +2 -2
  145. package/dist/core/shaders/LightEdge/index.js +2 -2
  146. package/dist/core/shaders/LightLeak/index.js +2 -2
  147. package/dist/core/shaders/LinearGradient/index.js +2 -2
  148. package/dist/core/shaders/LiquidMetal/index.js +2 -2
  149. package/dist/core/shaders/MagneticFilings/index.js +2 -2
  150. package/dist/core/shaders/Marble/index.js +3 -3
  151. package/dist/core/shaders/MeshGradient/index.d.ts +87 -0
  152. package/dist/core/shaders/MeshGradient/index.d.ts.map +1 -0
  153. package/dist/core/shaders/MeshGradient/index.js +15 -0
  154. package/dist/core/shaders/Mirror/index.js +1 -1
  155. package/dist/core/shaders/MultiPointGradient/index.js +2 -2
  156. package/dist/core/shaders/NoiseDissolve/index.js +2 -2
  157. package/dist/core/shaders/ObjectTracker/index.js +2 -2
  158. package/dist/core/shaders/PagePeel/index.js +1 -1
  159. package/dist/core/shaders/Paper/index.js +2 -2
  160. package/dist/core/shaders/Parallelogram/index.js +1 -1
  161. package/dist/core/shaders/ParticleField/index.js +2 -2
  162. package/dist/core/shaders/ParticleFlow/index.js +2 -2
  163. package/dist/core/shaders/Particles/index.js +2 -2
  164. package/dist/core/shaders/PerlinNoise/index.js +4 -4
  165. package/dist/core/shaders/Perspective/index.js +1 -1
  166. package/dist/core/shaders/PixelSort/index.d.ts +2 -1
  167. package/dist/core/shaders/PixelSort/index.d.ts.map +1 -1
  168. package/dist/core/shaders/PixelSort/index.js +2 -1
  169. package/dist/core/shaders/PixelThrow/index.js +1 -1
  170. package/dist/core/shaders/Pixelate/index.js +1 -1
  171. package/dist/core/shaders/Plasma/index.js +4 -4
  172. package/dist/core/shaders/Plastic/index.js +2 -2
  173. package/dist/core/shaders/PolarCoordinates/index.js +1 -1
  174. package/dist/core/shaders/Polygon/index.js +1 -1
  175. package/dist/core/shaders/Posterize/index.js +1 -1
  176. package/dist/core/shaders/Prism/index.js +1 -1
  177. package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
  178. package/dist/core/shaders/RadialGradient/index.js +2 -2
  179. package/dist/core/shaders/RadialWipe/index.js +1 -1
  180. package/dist/core/shaders/RandomBars/index.js +2 -2
  181. package/dist/core/shaders/ReactionDiffusion/index.d.ts.map +1 -1
  182. package/dist/core/shaders/ReactionDiffusion/index.js +2 -1
  183. package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
  184. package/dist/core/shaders/ReflectivePlane/index.js +1 -1
  185. package/dist/core/shaders/Repeater/index.js +1 -1
  186. package/dist/core/shaders/Ring/index.js +1 -1
  187. package/dist/core/shaders/RippleWipe/index.js +1 -1
  188. package/dist/core/shaders/Ripples/index.js +1 -1
  189. package/dist/core/shaders/RoundedRect/index.js +1 -1
  190. package/dist/core/shaders/Saturation/index.js +1 -1
  191. package/dist/core/shaders/Scratches/index.js +2 -2
  192. package/dist/core/shaders/Sharpness/index.js +1 -1
  193. package/dist/core/shaders/Shatter/index.js +1 -1
  194. package/dist/core/shaders/SimplexNoise/index.js +4 -4
  195. package/dist/core/shaders/SineWave/index.js +1 -1
  196. package/dist/core/shaders/SliceWipe/index.js +1 -1
  197. package/dist/core/shaders/Smoke/index.js +1 -1
  198. package/dist/core/shaders/SmokeFill/index.js +1 -1
  199. package/dist/core/shaders/SmokeFlow/index.js +1 -1
  200. package/dist/core/shaders/Solarize/index.js +1 -1
  201. package/dist/core/shaders/SolidColor/index.js +1 -1
  202. package/dist/core/shaders/Spherize/index.js +1 -1
  203. package/dist/core/shaders/Spiral/index.js +1 -1
  204. package/dist/core/shaders/Star/index.js +1 -1
  205. package/dist/core/shaders/Stone/index.js +3 -3
  206. package/dist/core/shaders/Strands/index.js +1 -1
  207. package/dist/core/shaders/Stretch/index.js +1 -1
  208. package/dist/core/shaders/Stripes/index.js +3 -3
  209. package/dist/core/shaders/StudioBackground/index.js +2 -2
  210. package/dist/core/shaders/SunBurst/index.js +2 -2
  211. package/dist/core/shaders/Surface3D/index.js +2 -2
  212. package/dist/core/shaders/Swirl/index.js +1 -1
  213. package/dist/core/shaders/Teardrop/index.js +1 -1
  214. package/dist/core/shaders/Text/index.js +2 -2
  215. package/dist/core/shaders/TiltShift/index.js +1 -1
  216. package/dist/core/shaders/TimeTrail/index.js +1 -1
  217. package/dist/core/shaders/Tint/index.js +1 -1
  218. package/dist/core/shaders/Trapezoid/index.js +1 -1
  219. package/dist/core/shaders/TriangularGrid/index.js +4 -4
  220. package/dist/core/shaders/Tritone/index.js +1 -1
  221. package/dist/core/shaders/Truchet/index.js +4 -4
  222. package/dist/core/shaders/Twirl/index.js +1 -1
  223. package/dist/core/shaders/VHS/index.d.ts.map +1 -1
  224. package/dist/core/shaders/VHS/index.js +2 -1
  225. package/dist/core/shaders/VenetianBlinds/index.js +1 -1
  226. package/dist/core/shaders/Vesica/index.js +1 -1
  227. package/dist/core/shaders/Vibrance/index.js +1 -1
  228. package/dist/core/shaders/VideoTexture/index.js +1 -1
  229. package/dist/core/shaders/Vignette/index.js +1 -1
  230. package/dist/core/shaders/Voronoi/index.js +2 -2
  231. package/dist/core/shaders/Water/index.js +2 -2
  232. package/dist/core/shaders/Watercolor/index.js +2 -2
  233. package/dist/core/shaders/WaveDistortion/index.js +1 -1
  234. package/dist/core/shaders/WaveletNoise/index.js +4 -4
  235. package/dist/core/shaders/Weave/index.js +4 -4
  236. package/dist/core/shaders/WebcamTexture/index.js +1 -1
  237. package/dist/core/shaders/Wool/index.js +3 -3
  238. package/dist/core/shaders/WorleyNoise/index.js +3 -3
  239. package/dist/core/shaders/ZoomBlur/index.js +1 -1
  240. package/dist/js/bundle.js +71 -71
  241. package/dist/js/createShader.js +1 -1
  242. package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
  243. package/dist/js/utils/generatePresetCode.js +38 -0
  244. package/dist/react/MeshGradient.js +226 -0
  245. package/dist/react/Preview.js +1 -0
  246. package/dist/react/Shader.js +1 -1
  247. package/dist/react/bundle.js +152 -152
  248. package/dist/react/components/MeshGradient.d.ts +41 -0
  249. package/dist/react/components/MeshGradient.d.ts.map +1 -0
  250. package/dist/react/engine/Preview.d.ts.map +1 -1
  251. package/dist/react/index.d.ts +1 -0
  252. package/dist/react/index.d.ts.map +1 -1
  253. package/dist/react/index.js +2 -1
  254. package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
  255. package/dist/react/utils/generatePresetCode.js +38 -0
  256. package/dist/registry.js +418 -0
  257. package/dist/solid/components/MeshGradient.d.ts +38 -0
  258. package/dist/solid/components/MeshGradient.d.ts.map +1 -0
  259. package/dist/solid/components/MeshGradient.js +232 -0
  260. package/dist/solid/engine/Preview.d.ts.map +1 -1
  261. package/dist/solid/engine/Preview.js +219 -217
  262. package/dist/solid/engine/Shader.js +1 -1
  263. package/dist/solid/index.d.ts +1 -0
  264. package/dist/solid/index.d.ts.map +1 -1
  265. package/dist/solid/index.js +174 -172
  266. package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
  267. package/dist/solid/utils/generatePresetCode.js +38 -0
  268. package/dist/svelte/components/MeshGradient.svelte.d.ts +28 -0
  269. package/dist/svelte/index.d.ts +1 -0
  270. package/dist/svelte/index.js +2663 -2456
  271. package/dist/svelte/source/components/MeshGradient.svelte +352 -0
  272. package/dist/svelte/source/engine/Preview.svelte +2 -0
  273. package/dist/svelte/source/index.js +1 -0
  274. package/dist/svelte/utils/generatePresetCode.js +38 -0
  275. package/dist/vue/MeshGradient.js +3 -0
  276. package/dist/vue/MeshGradient.vue_vue_type_script_setup_true_lang.js +237 -0
  277. package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
  278. package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
  279. package/dist/vue/components/MeshGradient.vue.d.ts +63 -0
  280. package/dist/vue/components/MeshGradient.vue.d.ts.map +1 -0
  281. package/dist/vue/index.d.ts +1 -0
  282. package/dist/vue/index.d.ts.map +1 -1
  283. package/dist/vue/index.js +2 -1
  284. package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
  285. package/dist/vue/utils/generatePresetCode.js +38 -0
  286. package/package.json +9 -1
  287. package/dist/core/shaderRegistry-DLSuwWtO.js +0 -431
  288. /package/dist/core/{Mirror-B_2eQT6d.js → Mirror-DObS_qYr.js} +0 -0
  289. /package/dist/core/{PagePeel-BZOvdHFV.js → PagePeel-DOapA4QF.js} +0 -0
  290. /package/dist/core/{Parallelogram-a6zB6mY9.js → Parallelogram-BUR2Mg0g.js} +0 -0
  291. /package/dist/core/{Perspective-S94umCQn.js → Perspective-Bp1nozq3.js} +0 -0
  292. /package/dist/core/{PixelThrow-2WPijuDY.js → PixelThrow-ANJ0F294.js} +0 -0
  293. /package/dist/core/{Pixelate-BLdO8qAT.js → Pixelate-Bl29QKdg.js} +0 -0
  294. /package/dist/core/{PolarCoordinates-DZNOyHmN.js → PolarCoordinates-kNqucXuj.js} +0 -0
  295. /package/dist/core/{Polygon-BM3xGxOC.js → Polygon-Cg1Yb-TF.js} +0 -0
  296. /package/dist/core/{Posterize-BJl7Irml.js → Posterize-Bjfq_Et8.js} +0 -0
  297. /package/dist/core/{Prism-CaJyExNA.js → Prism-CGeOs8pX.js} +0 -0
  298. /package/dist/core/{ProgressiveBlur-B1Ur87dm.js → ProgressiveBlur-DHvM4Y4m.js} +0 -0
  299. /package/dist/core/{RadialWipe-CA5xWWPN.js → RadialWipe-BRvtJQN-.js} +0 -0
  300. /package/dist/core/{RectangularCoordinates-BEOFurXt.js → RectangularCoordinates-s25JfGDt.js} +0 -0
  301. /package/dist/core/{ReflectivePlane-wERmyiKx.js → ReflectivePlane-DP8vG4-U.js} +0 -0
  302. /package/dist/core/{Repeater-Cy8up7cj.js → Repeater-B6_lpYav.js} +0 -0
  303. /package/dist/core/{Ring-Cogdtn-0.js → Ring-CEaC7ILp.js} +0 -0
  304. /package/dist/core/{RippleWipe-fJwyE4vj.js → RippleWipe-UrrIoCor.js} +0 -0
  305. /package/dist/core/{Ripples-BSHfhVG1.js → Ripples-Cdha1qtk.js} +0 -0
  306. /package/dist/core/{RoundedRect-D3intNNI.js → RoundedRect-CLsMHcTd.js} +0 -0
  307. /package/dist/core/{Saturation-D42Bfc5P.js → Saturation-Bpjxowys.js} +0 -0
  308. /package/dist/core/{Sharpness-Dyh6312-.js → Sharpness-fFikIkE3.js} +0 -0
  309. /package/dist/core/{Shatter-Qc5aMkWj.js → Shatter-C_v-Y_F_.js} +0 -0
  310. /package/dist/core/{SineWave-CnPtZLSs.js → SineWave-D4hvW_8O.js} +0 -0
  311. /package/dist/core/{SliceWipe-Byb46V6I.js → SliceWipe-pGIB0xIc.js} +0 -0
  312. /package/dist/core/{Smoke-5x6IAk2_.js → Smoke-NgL8_Wlw.js} +0 -0
  313. /package/dist/core/{SmokeFill-DOQpTlCv.js → SmokeFill-Cd-U58Bx.js} +0 -0
  314. /package/dist/core/{SmokeFlow-B4fdM2M-.js → SmokeFlow-BhjNSfcC.js} +0 -0
  315. /package/dist/core/{Solarize-BB0bXhP0.js → Solarize-DD2cjiZ7.js} +0 -0
  316. /package/dist/core/{SolidColor-D-6N9JmI.js → SolidColor-CmSX4SHb.js} +0 -0
  317. /package/dist/core/{Spherize-aWpru70e.js → Spherize-Cpbor3M3.js} +0 -0
  318. /package/dist/core/{Spiral-Dbm2j7mM.js → Spiral-BLM63kmf.js} +0 -0
  319. /package/dist/core/{Star-XtB9FBhQ.js → Star-UzeNW_jo.js} +0 -0
  320. /package/dist/core/{Strands-BFaZBnNo.js → Strands-DR_owki5.js} +0 -0
  321. /package/dist/core/{Stretch-BKg0gjm4.js → Stretch-Zhc5gz72.js} +0 -0
  322. /package/dist/core/{Swirl-DBxZ6Wud.js → Swirl-CKMRfpSx.js} +0 -0
  323. /package/dist/core/{Teardrop-CnhwMyQx.js → Teardrop-Dcfd14iX.js} +0 -0
  324. /package/dist/core/{TiltShift-DqEFOoJG.js → TiltShift-Yfz7yOnT.js} +0 -0
  325. /package/dist/core/{TimeTrail-G_JamlY8.js → TimeTrail-3YRaIap8.js} +0 -0
  326. /package/dist/core/{Tint-Dj1rSoJ0.js → Tint-6e9QqUg4.js} +0 -0
  327. /package/dist/core/{Trapezoid-D2PMU9G3.js → Trapezoid-CTww_GcP.js} +0 -0
  328. /package/dist/core/{Tritone-DfULv51I.js → Tritone-DmtMlvKc.js} +0 -0
  329. /package/dist/core/{Twirl-DfRsql00.js → Twirl-ECiB1asy.js} +0 -0
  330. /package/dist/core/{VenetianBlinds-CCucT73e.js → VenetianBlinds-DWnvvXJC.js} +0 -0
  331. /package/dist/core/{Vesica-BIGpXjWv.js → Vesica-iFL8Vjcf.js} +0 -0
  332. /package/dist/core/{Vibrance-CtlvCONz.js → Vibrance-CDeIsI81.js} +0 -0
  333. /package/dist/core/{VideoTexture-DW6bQduh.js → VideoTexture-UIOWDMK6.js} +0 -0
  334. /package/dist/core/{Vignette-Dz3pPnPR.js → Vignette-F2HgCda5.js} +0 -0
  335. /package/dist/core/{WaveDistortion-CRQzZDLP.js → WaveDistortion-BWVqDVI3.js} +0 -0
  336. /package/dist/core/{WebcamTexture-DauLQjCl.js → WebcamTexture-Barzo30S.js} +0 -0
  337. /package/dist/core/{ZoomBlur-DgG9JA7a.js → ZoomBlur-DqJUm1uw.js} +0 -0
  338. /package/dist/core/{fonts-ScBvKolx.js → fonts-DPf2-jCd.js} +0 -0
@@ -1,5 +1,6 @@
1
- import { Bt as sin, Gt as data_exports, Ot as fract, Pt as pow, at as std_exports, cn as vec4f, on as vec3f, rn as vec2f, rt as src_default, un as f32, wt as dot, xt as clamp } from "./edges-CD7gCAto.js";
1
+ import { Gt as data_exports, Pt as pow, at as std_exports, cn as vec4f, on as vec3f, rn as vec2f, rt as src_default, un as f32, wt as dot, xt as clamp } from "./edges-CD7gCAto.js";
2
2
  import { S as definePointwiseFilter } from "./porters-DUtQounc.js";
3
+ import { m as noise_exports, s as hash12 } from "./noise-DX5Y_I--.js";
3
4
  const filmGrainColor = src_default.fn([
4
5
  vec4f,
5
6
  vec2f,
@@ -9,10 +10,8 @@ const filmGrainColor = src_default.fn([
9
10
  f32
10
11
  ], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, uv, viewport, strength, bias, animTime) => {
11
12
  "use gpu";
12
- const pixelCoord = uv.mul(viewport);
13
- const noiseInput = __tsover_add(dot(pixelCoord, vec2f(12.9898, 78.233)), animTime);
14
- const noise = fract(__tsover_mul(sin(noiseInput), 43758.5453));
15
- const grain = __tsover_sub(__tsover_mul(noise, 2), 1);
13
+ const noiseVal = hash12(uv.mul(viewport).add(vec2f(animTime, __tsover_mul(animTime, 1.6180339))));
14
+ const grain = __tsover_sub(__tsover_mul(noiseVal, 2), 1);
16
15
  const brightness = clamp(dot(color.xyz, vec3f(.2126, .7152, .0722)), 0, 1);
17
16
  const darkness = __tsover_sub(1, brightness);
18
17
  const darkFactor = pow(__tsover_add(darkness, 1e-6), bias);
@@ -64,53 +63,35 @@ const filmGrainColor = src_default.fn([
64
63
  ],
65
64
  [
66
65
  13,
67
- "noiseInput",
66
+ "noiseVal",
68
67
  [
69
- 1,
68
+ 6,
70
69
  [
70
+ 7,
71
+ "noise",
72
+ "hash12"
73
+ ],
74
+ [[
71
75
  6,
72
76
  [
73
77
  7,
74
- "std",
75
- "dot"
78
+ "pixelCoord",
79
+ "add"
76
80
  ],
77
- ["pixelCoord", [
81
+ [[
78
82
  6,
79
83
  [
80
84
  7,
81
85
  "d",
82
86
  "vec2f"
83
87
  ],
84
- [[5, "12.9898"], [5, "78.233"]]
88
+ ["animTime", [
89
+ 1,
90
+ "animTime",
91
+ "*",
92
+ [5, "1.6180339"]
93
+ ]]
85
94
  ]]
86
- ],
87
- "+",
88
- "animTime"
89
- ]
90
- ],
91
- [
92
- 13,
93
- "noise",
94
- [
95
- 6,
96
- [
97
- 7,
98
- "std",
99
- "fract"
100
- ],
101
- [[
102
- 1,
103
- [
104
- 6,
105
- [
106
- 7,
107
- "std",
108
- "sin"
109
- ],
110
- ["noiseInput"]
111
- ],
112
- "*",
113
- [5, "43758.5453"]
114
95
  ]]
115
96
  ]
116
97
  ],
@@ -121,7 +102,7 @@ const filmGrainColor = src_default.fn([
121
102
  1,
122
103
  [
123
104
  1,
124
- "noise",
105
+ "noiseVal",
125
106
  "*",
126
107
  [5, "2"]
127
108
  ],
@@ -249,11 +230,16 @@ const filmGrainColor = src_default.fn([
249
230
  ]]
250
231
  ]]
251
232
  ]],
252
- "externalNames": ["std", "d"]
233
+ "externalNames": [
234
+ "noise",
235
+ "d",
236
+ "std"
237
+ ]
253
238
  },
254
239
  externals: () => ({
255
- std: std_exports,
256
- d: data_exports
240
+ noise: noise_exports,
241
+ d: data_exports,
242
+ std: std_exports
257
243
  })
258
244
  }) && $.f)({}));
259
245
  const componentDefinition = definePointwiseFilter({
@@ -1,7 +1,7 @@
1
1
  import { At as max, Bt as sin, Dt as floor, Gt as data_exports, Kt as atomic, Mt as mix, St as cos, Yt as textureStorage2d, an as vec2u, at as std_exports, cn as vec4f, en as struct, f as ZERO, fn as u32, h as call, ht as atomicStore, lt as textureStore, mt as atomicLoad, on as vec3f, pt as atomicAdd, qt as arrayOf, rn as vec2f, rt as src_default, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
2
2
  import { i as PI, o as TAU$1, t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
3
3
  import { _ as readAgentFrame, b as worldSplatWindow, f as SIZE_REF_RES, g as makeCpuValueGetter, m as energyCoverageAlpha, p as createAgentSystem, u as FIXED_POINT_GAINS, v as resolveRenderRes } from "./porters-DUtQounc.js";
4
- import { c as hash22, l as hash33, o as hash11, p as noise_exports } from "./noise-Bd6IGS0W.js";
4
+ import { l as hash22, m as noise_exports, o as hash11, u as hash33 } from "./noise-DX5Y_I--.js";
5
5
  import { a as makeAgentTexelWeightFn, c as pointShapeOptions, i as cursorMagnet, l as resolveAgentShape, n as agents_exports, o as makeAgentWeightFn, t as AGENT_SHAPES } from "./agents-C_kohsYu.js";
6
6
  import { a as transformColor } from "./transformations-B-zNWNdd.js";
7
7
  var MAX_MOTES = 8192;
@@ -1,7 +1,7 @@
1
1
  import { At as max, Bt as sin, Gt as data_exports, I as unpremultiplyAlpha, St as cos, at as std_exports, c as sampleRemappedExpr, f as ZERO, h as call, kt as length, n as composeEdgeRemapExpr, on as vec3f, rn as vec2f, rt as src_default, un as f32 } from "./edges-CD7gCAto.js";
2
2
  import { s as TWO_PI$1 } from "./constants-DoOzbl5b.js";
3
3
  import { t as animatedTime } from "./porters-DUtQounc.js";
4
- import { d as mxNoiseFloat3, p as noise_exports } from "./noise-Bd6IGS0W.js";
4
+ import { f as mxNoiseFloat3, m as noise_exports } from "./noise-DX5Y_I--.js";
5
5
  import { s as transformEdges } from "./transformations-B-zNWNdd.js";
6
6
  var TWO_PI = TWO_PI$1;
7
7
  const flowFieldUV = src_default.fn([
@@ -1,7 +1,7 @@
1
1
  import { At as max, B as convertP3ToMixSpaceCPU, Bt as sin, G as mixColorsLinear, Gt as data_exports, J as mixPreconvertedLinear, Mt as mix, Pt as pow, St as cos, Vt as smoothstep, Y as mixPreconvertedVariants, _t as abs, at as std_exports, cn as vec4f, h as call, m as asLocal, on as vec3f, q as mixPreconvertedInSpace, rn as vec2f, rt as src_default, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
2
- import { r as geom_exports } from "./geom-90G-d_hc.js";
2
+ import { r as geom_exports } from "./geom-B_TNdMNk.js";
3
3
  import { t as animatedTime } from "./porters-DUtQounc.js";
4
- import { d as mxNoiseFloat3, p as noise_exports } from "./noise-Bd6IGS0W.js";
4
+ import { f as mxNoiseFloat3, m as noise_exports } from "./noise-DX5Y_I--.js";
5
5
  import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
6
6
  var FOUR_PI = 4 * Math.PI;
7
7
  var { aspectOf } = geom_exports;
@@ -1,6 +1,7 @@
1
- import { At as max, Bt as sin, Dt as floor, Gt as data_exports, Mt as mix, Ot as fract, R as colorMixing_exports, St as cos, Yt as textureStorage2d, at as std_exports, cn as vec4f, en as struct, f as ZERO, fn as u32, h as call, jt as min, qt as arrayOf, rt as src_default, un as f32, x as vec4, xt as clamp } from "./edges-CD7gCAto.js";
1
+ import { At as max, Bt as sin, Dt as floor, Gt as data_exports, Mt as mix, Ot as fract, R as colorMixing_exports, St as cos, Yt as textureStorage2d, at as std_exports, cn as vec4f, en as struct, f as ZERO, fn as u32, h as call, jt as min, qt as arrayOf, rn as vec2f, rt as src_default, un as f32, x as vec4, xt as clamp } from "./edges-CD7gCAto.js";
2
2
  import { o as TAU$1 } from "./constants-DoOzbl5b.js";
3
3
  import { a as gaussianBrushSq, c as createStableFluidsPasses, o as buildFluidOutputKernel, s as buildStableFluidsKernels } from "./porters-DUtQounc.js";
4
+ import { m as noise_exports, o as hash11, s as hash12 } from "./noise-DX5Y_I--.js";
4
5
  import { M as createGuardedCompute, P as createStateBuffer } from "./device-B0ZwBfOg.js";
5
6
  import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
6
7
  import { n as createPointerVelocityTracker } from "./pointer-DGDGF-yO.js";
@@ -65,7 +66,7 @@ var outputLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a
65
66
  }), "outputLayout");
66
67
  var hashFog = src_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((px, py) => {
67
68
  "use gpu";
68
- return fract(__tsover_mul(sin(__tsover_add(__tsover_mul(px, 127.1), __tsover_mul(py, 311.7))), 43758.5453));
69
+ return hash12(vec2f(px, py));
69
70
  }), {
70
71
  v: 1,
71
72
  name: void 0,
@@ -81,42 +82,25 @@ var hashFog = src_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globalThi
81
82
  6,
82
83
  [
83
84
  7,
84
- "std",
85
- "fract"
85
+ "noise",
86
+ "hash12"
86
87
  ],
87
88
  [[
88
- 1,
89
+ 6,
89
90
  [
90
- 6,
91
- [
92
- 7,
93
- "std",
94
- "sin"
95
- ],
96
- [[
97
- 1,
98
- [
99
- 1,
100
- "px",
101
- "*",
102
- [5, "127.1"]
103
- ],
104
- "+",
105
- [
106
- 1,
107
- "py",
108
- "*",
109
- [5, "311.7"]
110
- ]
111
- ]]
91
+ 7,
92
+ "d",
93
+ "vec2f"
112
94
  ],
113
- "*",
114
- [5, "43758.5453"]
95
+ ["px", "py"]
115
96
  ]]
116
97
  ]]]],
117
- "externalNames": ["std"]
98
+ "externalNames": ["noise", "d"]
118
99
  },
119
- externals: () => ({ std: std_exports })
100
+ externals: () => ({
101
+ noise: noise_exports,
102
+ d: data_exports
103
+ })
120
104
  }) && $.f)({}));
121
105
  var valueNoise2D = src_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((nx, ny) => {
122
106
  "use gpu";
@@ -424,8 +408,8 @@ const initKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThi
424
408
  const idx = __tsover_add(__tsover_mul(cy, u32(N)), cx);
425
409
  const jf = f32(cx);
426
410
  const iF = f32(cy);
427
- const sdx = __tsover_mul(fract(__tsover_mul(sin(__tsover_mul(p.seed, 37.31)), 43758.5453)), 97);
428
- const sdy = __tsover_mul(fract(__tsover_mul(sin(__tsover_mul(p.seed, 83.17)), 43758.5453)), 97);
411
+ const sdx = __tsover_mul(hash11(__tsover_mul(p.seed, 37.31)), 97);
412
+ const sdy = __tsover_mul(hash11(__tsover_mul(p.seed, 83.17)), 97);
429
413
  const nx = __tsover_add(__tsover_mul(__tsover_div(jf, f32(N)), 3), sdx);
430
414
  const ny = __tsover_add(__tsover_mul(__tsover_div(iF, f32(N)), 3), sdy);
431
415
  const fogDens = clamp(__tsover_add(__tsover_mul(fbm(__tsover_add(nx, 31.7), __tsover_add(ny, 53.3)), .75), .25), .15, .9);
@@ -519,31 +503,18 @@ const initKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThi
519
503
  6,
520
504
  [
521
505
  7,
522
- "std",
523
- "fract"
506
+ "noise",
507
+ "hash11"
524
508
  ],
525
509
  [[
526
510
  1,
527
511
  [
528
- 6,
529
- [
530
- 7,
531
- "std",
532
- "sin"
533
- ],
534
- [[
535
- 1,
536
- [
537
- 7,
538
- "p",
539
- "seed"
540
- ],
541
- "*",
542
- [5, "37.31"]
543
- ]]
512
+ 7,
513
+ "p",
514
+ "seed"
544
515
  ],
545
516
  "*",
546
- [5, "43758.5453"]
517
+ [5, "37.31"]
547
518
  ]]
548
519
  ],
549
520
  "*",
@@ -559,31 +530,18 @@ const initKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThi
559
530
  6,
560
531
  [
561
532
  7,
562
- "std",
563
- "fract"
533
+ "noise",
534
+ "hash11"
564
535
  ],
565
536
  [[
566
537
  1,
567
538
  [
568
- 6,
569
- [
570
- 7,
571
- "std",
572
- "sin"
573
- ],
574
- [[
575
- 1,
576
- [
577
- 7,
578
- "p",
579
- "seed"
580
- ],
581
- "*",
582
- [5, "83.17"]
583
- ]]
539
+ 7,
540
+ "p",
541
+ "seed"
584
542
  ],
585
543
  "*",
586
- [5, "43758.5453"]
544
+ [5, "83.17"]
587
545
  ]]
588
546
  ],
589
547
  "*",
@@ -873,6 +831,7 @@ const initKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThi
873
831
  "fluidLayout",
874
832
  "d",
875
833
  "N",
834
+ "noise",
876
835
  "std",
877
836
  "fbm"
878
837
  ]
@@ -881,6 +840,7 @@ const initKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThi
881
840
  fluidLayout,
882
841
  d: data_exports,
883
842
  N,
843
+ noise: noise_exports,
884
844
  std: std_exports,
885
845
  fbm
886
846
  })
@@ -1512,8 +1472,8 @@ const colorRestoreKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (g
1512
1472
  const idx = __tsover_add(__tsover_mul(cy, u32(N)), cx);
1513
1473
  const jf = f32(cx);
1514
1474
  const iF = f32(cy);
1515
- const sdx = __tsover_mul(fract(__tsover_mul(sin(__tsover_mul(p.seed, 37.31)), 43758.5453)), 97);
1516
- const sdy = __tsover_mul(fract(__tsover_mul(sin(__tsover_mul(p.seed, 83.17)), 43758.5453)), 97);
1475
+ const sdx = __tsover_mul(hash11(__tsover_mul(p.seed, 37.31)), 97);
1476
+ const sdy = __tsover_mul(hash11(__tsover_mul(p.seed, 83.17)), 97);
1517
1477
  const refRaw = fbm(__tsover_add(__tsover_mul(__tsover_div(jf, f32(N)), 3), sdx), __tsover_add(__tsover_mul(__tsover_div(iF, f32(N)), 3), sdy));
1518
1478
  const invBlend = __tsover_sub(1, p.blending);
1519
1479
  const contrastBoost = __tsover_add(1, __tsover_mul(invBlend, 5));
@@ -1605,31 +1565,18 @@ const colorRestoreKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (g
1605
1565
  6,
1606
1566
  [
1607
1567
  7,
1608
- "std",
1609
- "fract"
1568
+ "noise",
1569
+ "hash11"
1610
1570
  ],
1611
1571
  [[
1612
1572
  1,
1613
1573
  [
1614
- 6,
1615
- [
1616
- 7,
1617
- "std",
1618
- "sin"
1619
- ],
1620
- [[
1621
- 1,
1622
- [
1623
- 7,
1624
- "p",
1625
- "seed"
1626
- ],
1627
- "*",
1628
- [5, "37.31"]
1629
- ]]
1574
+ 7,
1575
+ "p",
1576
+ "seed"
1630
1577
  ],
1631
1578
  "*",
1632
- [5, "43758.5453"]
1579
+ [5, "37.31"]
1633
1580
  ]]
1634
1581
  ],
1635
1582
  "*",
@@ -1645,31 +1592,18 @@ const colorRestoreKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (g
1645
1592
  6,
1646
1593
  [
1647
1594
  7,
1648
- "std",
1649
- "fract"
1595
+ "noise",
1596
+ "hash11"
1650
1597
  ],
1651
1598
  [[
1652
1599
  1,
1653
1600
  [
1654
- 6,
1655
- [
1656
- 7,
1657
- "std",
1658
- "sin"
1659
- ],
1660
- [[
1661
- 1,
1662
- [
1663
- 7,
1664
- "p",
1665
- "seed"
1666
- ],
1667
- "*",
1668
- [5, "83.17"]
1669
- ]]
1601
+ 7,
1602
+ "p",
1603
+ "seed"
1670
1604
  ],
1671
1605
  "*",
1672
- [5, "43758.5453"]
1606
+ [5, "83.17"]
1673
1607
  ]]
1674
1608
  ],
1675
1609
  "*",
@@ -1917,16 +1851,18 @@ const colorRestoreKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (g
1917
1851
  "fluidLayout",
1918
1852
  "d",
1919
1853
  "N",
1920
- "std",
1921
- "fbm"
1854
+ "noise",
1855
+ "fbm",
1856
+ "std"
1922
1857
  ]
1923
1858
  },
1924
1859
  externals: () => ({
1925
1860
  fluidLayout,
1926
1861
  d: data_exports,
1927
1862
  N,
1928
- std: std_exports,
1929
- fbm
1863
+ noise: noise_exports,
1864
+ fbm,
1865
+ std: std_exports
1930
1866
  })
1931
1867
  }) && $.f)({})).$name("fogColorRestore");
1932
1868
  const outputKernel = buildFluidOutputKernel(outputLayout, {
@@ -1,9 +1,9 @@
1
1
  import { Bt as sin, Gt as data_exports, St as cos, at as std_exports, h as call, rn as vec2f, rt as src_default, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
2
2
  import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
3
- import { r as geom_exports, t as aspectOf } from "./geom-90G-d_hc.js";
4
- import { r as fbmGated } from "./fields-CC0756V2.js";
3
+ import { r as geom_exports, t as aspectOf } from "./geom-B_TNdMNk.js";
4
+ import { r as fbmGated } from "./fields-DgMkoZ6o.js";
5
5
  import { V as colorStopsPropConfig, t as animatedTime } from "./porters-DUtQounc.js";
6
- import { u as mxNoiseFloat2 } from "./noise-Bd6IGS0W.js";
6
+ import { d as mxNoiseFloat2 } from "./noise-DX5Y_I--.js";
7
7
  import { t as mixStopsOrColorsExpr } from "./noiseColor-DYhX5Js1.js";
8
8
  import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
9
9
  var DEG_TO_RAD = DEG_TO_RAD$1;
@@ -1,7 +1,7 @@
1
1
  import { At as max, Bt as sin, Gt as data_exports, Ht as sqrt, Mt as mix, Nt as normalize, Pt as pow, St as cos, Tt as exp, Vt as smoothstep, at as std_exports, cn as vec4f, gt as select, h as call, on as vec3f, rn as vec2f, rt as src_default, un as f32, wt as dot, x as vec4, xt as clamp, y as floatE } from "./edges-CD7gCAto.js";
2
2
  import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
3
3
  import { t as animatedTime } from "./porters-DUtQounc.js";
4
- import { f as mxWorleyNoiseFloat2Pub, p as noise_exports, u as mxNoiseFloat2 } from "./noise-Bd6IGS0W.js";
4
+ import { d as mxNoiseFloat2, m as noise_exports, p as mxWorleyNoiseFloat2Pub } from "./noise-DX5Y_I--.js";
5
5
  import { C as sdf_exports } from "./device-B0ZwBfOg.js";
6
6
  import { n as lighting_exports } from "./lighting-D3jc6qOc.js";
7
7
  import { i as shapeEffectBoundingBoxDeclaration, n as sdf3d_exports } from "./sdf3d-CP87OlsQ.js";
@@ -1,7 +1,7 @@
1
1
  import { h as call, rn as vec2f, rt as src_default, un as f32 } from "./edges-CD7gCAto.js";
2
- import { i as fields_exports, t as aspectScaledDomain } from "./fields-CC0756V2.js";
2
+ import { i as fields_exports, t as aspectScaledDomain } from "./fields-DgMkoZ6o.js";
3
3
  import { t as animatedTime } from "./porters-DUtQounc.js";
4
- import { a as gabor12, p as noise_exports } from "./noise-Bd6IGS0W.js";
4
+ import { a as gabor12, m as noise_exports } from "./noise-DX5Y_I--.js";
5
5
  import { n as toneAndColorExpr } from "./noiseColor-DYhX5Js1.js";
6
6
  import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-DRDY44sf.js";
7
7
  const gaborNoiseField = src_default.fn([
@@ -1,7 +1,8 @@
1
1
  import { Bt as sin, Dt as floor, Gt as data_exports, I as unpremultiplyAlpha, Mt as mix, Ot as fract, Ut as step, _t as abs, at as std_exports, cn as vec4f, en as struct, f as ZERO, h as call, on as vec3f, rn as vec2f, rt as src_default, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
2
+ import { m as noise_exports, o as hash11$1 } from "./noise-DX5Y_I--.js";
2
3
  var hash11 = src_default.fn([f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
3
4
  "use gpu";
4
- return fract(__tsover_mul(sin(__tsover_mul(p, 78.233)), 43758.5453));
5
+ return hash11$1(p);
5
6
  }), {
6
7
  v: 1,
7
8
  name: void 0,
@@ -14,32 +15,14 @@ var hash11 = src_default.fn([f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TY
14
15
  6,
15
16
  [
16
17
  7,
17
- "std",
18
- "fract"
18
+ "noise",
19
+ "hash11"
19
20
  ],
20
- [[
21
- 1,
22
- [
23
- 6,
24
- [
25
- 7,
26
- "std",
27
- "sin"
28
- ],
29
- [[
30
- 1,
31
- "p",
32
- "*",
33
- [5, "78.233"]
34
- ]]
35
- ],
36
- "*",
37
- [5, "43758.5453"]
38
- ]]
21
+ ["p"]
39
22
  ]]]],
40
- "externalNames": ["std"]
23
+ "externalNames": ["noise"]
41
24
  },
42
- externals: () => ({ std: std_exports })
25
+ externals: () => ({ noise: noise_exports })
43
26
  }) && $.f)({}));
44
27
  const GlitchGeom = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(struct({
45
28
  redUV: vec2f,
@@ -1,11 +1,12 @@
1
- import { Bt as sin, Dt as floor, Gt as data_exports, Mt as mix, Ot as fract, Pt as pow, _t as abs, at as std_exports, cn as vec4f, h as call, kt as length, rn as vec2f, rt as src_default, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
2
- import { r as geom_exports, t as aspectOf } from "./geom-90G-d_hc.js";
1
+ import { Dt as floor, Gt as data_exports, Mt as mix, Ot as fract, Pt as pow, _t as abs, at as std_exports, cn as vec4f, h as call, kt as length, rn as vec2f, rt as src_default, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
2
+ import { r as geom_exports, t as aspectOf } from "./geom-B_TNdMNk.js";
3
3
  import { o as lightfields_exports, u as seamlessAngularField } from "./lightfields-ffHoLyJn.js";
4
4
  import { t as animatedTime } from "./porters-DUtQounc.js";
5
+ import { m as noise_exports, s as hash12 } from "./noise-DX5Y_I--.js";
5
6
  import { a as transformColor, c as transformPosition } from "./transformations-B-zNWNdd.js";
6
7
  var godraysHash = src_default.fn([vec2f], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
7
8
  "use gpu";
8
- return fract(__tsover_mul(sin(__tsover_add(__tsover_mul(p.x, 127.1), __tsover_mul(p.y, 311.7))), 43758.5453));
9
+ return hash12(p);
9
10
  }), {
10
11
  v: 1,
11
12
  name: void 0,
@@ -18,50 +19,14 @@ var godraysHash = src_default.fn([vec2f], f32)(/* @__PURE__ */ (($) => (globalTh
18
19
  6,
19
20
  [
20
21
  7,
21
- "std",
22
- "fract"
22
+ "noise",
23
+ "hash12"
23
24
  ],
24
- [[
25
- 1,
26
- [
27
- 6,
28
- [
29
- 7,
30
- "std",
31
- "sin"
32
- ],
33
- [[
34
- 1,
35
- [
36
- 1,
37
- [
38
- 7,
39
- "p",
40
- "x"
41
- ],
42
- "*",
43
- [5, "127.1"]
44
- ],
45
- "+",
46
- [
47
- 1,
48
- [
49
- 7,
50
- "p",
51
- "y"
52
- ],
53
- "*",
54
- [5, "311.7"]
55
- ]
56
- ]]
57
- ],
58
- "*",
59
- [5, "43758.5453"]
60
- ]]
25
+ ["p"]
61
26
  ]]]],
62
- "externalNames": ["std"]
27
+ "externalNames": ["noise"]
63
28
  },
64
- externals: () => ({ std: std_exports })
29
+ externals: () => ({ noise: noise_exports })
65
30
  }) && $.f)({}));
66
31
  var godraysValueNoise = src_default.fn([vec2f], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((st) => {
67
32
  "use gpu";
@@ -1,8 +1,8 @@
1
1
  import { At as max, Bt as sin, Dt as floor, G as mixColorsLinear, Gt as data_exports, K as mixColorsVariants, St as cos, Ut as step, _t as abs, at as std_exports, dt as dpdy, h as call, rn as vec2f, rt as src_default, un as f32, ut as dpdx, x as vec4 } from "./edges-CD7gCAto.js";
2
2
  import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
3
- import { r as geom_exports } from "./geom-90G-d_hc.js";
4
- import { n as cells_exports } from "./cells-CM9mfnTr.js";
5
- import { t as aa_exports } from "./aa-C8WSqiNB.js";
3
+ import { r as geom_exports } from "./geom-B_TNdMNk.js";
4
+ import { n as cells_exports } from "./cells-C72CLFsJ.js";
5
+ import { t as aa_exports } from "./aa-zeNRf4Lz.js";
6
6
  import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
7
7
  var DEG_TO_RAD = DEG_TO_RAD$1;
8
8
  var { aspectOf, rotateAboutCanvasCentre } = geom_exports;
@@ -1,7 +1,7 @@
1
1
  import { At as max, Bt as sin, G as mixColorsLinear, Gt as data_exports, K as mixColorsVariants, Mt as mix, Ot as fract, Pt as pow, St as cos, Tt as exp, Vt as smoothstep, _t as abs, at as std_exports, cn as vec4f, h as call, jt as min, on as vec3f, rn as vec2f, rt as src_default, un as f32, x as vec4, xt as clamp } from "./edges-CD7gCAto.js";
2
2
  import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
3
3
  import { J as mixColorStopsRuntime, V as colorStopsPropConfig, t as animatedTime } from "./porters-DUtQounc.js";
4
- import { p as noise_exports, s as hash12, y as value12 } from "./noise-Bd6IGS0W.js";
4
+ import { b as value12, m as noise_exports, s as hash12 } from "./noise-DX5Y_I--.js";
5
5
  import { C as sdf_exports } from "./device-B0ZwBfOg.js";
6
6
  import { i as shapeEffectBoundingBoxDeclaration, n as sdf3d_exports } from "./sdf3d-CP87OlsQ.js";
7
7
  import { n as glass_exports } from "./glass-D8xs_kIG.js";
@@ -1,8 +1,8 @@
1
1
  import { At as max, Bt as sin, G as mixColorsLinear, Gt as data_exports, K as mixColorsVariants, Rt as round, St as cos, _t as abs, at as std_exports, ft as fwidth, h as call, rn as vec2f, rt as src_default, un as f32, wt as dot, x as vec4 } from "./edges-CD7gCAto.js";
2
2
  import { a as SQRT3$1, t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
3
- import { r as geom_exports } from "./geom-90G-d_hc.js";
4
- import { n as cells_exports } from "./cells-CM9mfnTr.js";
5
- import { t as aa_exports } from "./aa-C8WSqiNB.js";
3
+ import { r as geom_exports } from "./geom-B_TNdMNk.js";
4
+ import { n as cells_exports } from "./cells-C72CLFsJ.js";
5
+ import { t as aa_exports } from "./aa-zeNRf4Lz.js";
6
6
  import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
7
7
  var DEG_TO_RAD = DEG_TO_RAD$1;
8
8
  var SQRT3 = SQRT3$1;