shaders 2.5.115 → 2.5.117

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 (227) hide show
  1. package/dist/core/{AngularBlur-BgZWbEjj.js → AngularBlur-C1oRJ8Y9.js} +1 -1
  2. package/dist/core/{Aurora-KcUDr49P.js → Aurora-D5Pjk4ve.js} +1 -1
  3. package/dist/core/{Beam-CAnoOWgt.js → Beam-mvF5Ri7_.js} +1 -1
  4. package/dist/core/{Blob-CuRSRXmA.js → Blob-CLHx5s6k.js} +1 -1
  5. package/dist/core/{Bulge-6gRUYqZS.js → Bulge-wflTcWfI.js} +1 -1
  6. package/dist/core/{Checkerboard-ucave4-a.js → Checkerboard-Db7Rb57F.js} +1 -1
  7. package/dist/core/{ChromaFlow-DxQaUqPL.js → ChromaFlow-DbiVz3hF.js} +1 -1
  8. package/dist/core/{ChromaticAberration-DsMj-vBw.js → ChromaticAberration-Bg_I4XF-.js} +1 -1
  9. package/dist/core/{Circle-QgCuVo44.js → Circle-Bfi2e0Vm.js} +1 -1
  10. package/dist/core/{ConcentricSpin-Fegtvhl6.js → ConcentricSpin-bAFd5_WI.js} +1 -1
  11. package/dist/core/{ConicGradient-CQAPYlQg.js → ConicGradient-Bcw4_25S.js} +1 -1
  12. package/dist/core/{ContourLines-tDBvQOvb.js → ContourLines-CcQWPKLx.js} +1 -1
  13. package/dist/core/{Crescent-BkRt-XWy.js → Crescent-DiioCL2k.js} +1 -1
  14. package/dist/core/{Cross-kkY7feuC.js → Cross-CxQTHuxC.js} +1 -1
  15. package/dist/core/{Crystal-COGiLVvV.js → Crystal-B3iO7o_n.js} +1 -1
  16. package/dist/core/{CursorRipples-BqtHgpEq.js → CursorRipples-CsYAXG2E.js} +1 -1
  17. package/dist/core/{CursorTrail-CgRMXbTG.js → CursorTrail-CUtEP_-P.js} +1 -1
  18. package/dist/core/{DiamondGradient-BC3ugP8a.js → DiamondGradient-3b93bdrv.js} +1 -1
  19. package/dist/core/{DiffuseBlur-B-Vki4ab.js → DiffuseBlur-61Vuq571.js} +1 -1
  20. package/dist/core/{Dither-CDfDotR6.js → Dither-Cv0Uci60.js} +1 -1
  21. package/dist/core/{DotGrid-T9YbgC3V.js → DotGrid-C88Sux6D.js} +1 -1
  22. package/dist/core/{DropShadow-B7FzTp4H.js → DropShadow-EZyCC_97.js} +1 -1
  23. package/dist/core/{Duotone-CqQ0NMxS.js → Duotone-D4ads1T9.js} +1 -1
  24. package/dist/core/{Ellipse-CXxGqTYI.js → Ellipse-iwH-zEvD.js} +1 -1
  25. package/dist/core/{Emboss-LU-6cckT.js → Emboss-B4i61QDT.js} +1 -1
  26. package/dist/core/{FallingLines-CArEXajJ.js → FallingLines-CQBvwLqn.js} +1 -1
  27. package/dist/core/{FloatingParticles-DpYA0_TE.js → FloatingParticles-BAvsQDhF.js} +1 -1
  28. package/dist/core/{FlowField-CTWyjeXm.js → FlowField-D2xJ0Xr4.js} +1 -1
  29. package/dist/core/{Flower-MAwlZEv8.js → Flower-CdHVKJKu.js} +1 -1
  30. package/dist/core/{FlowingGradient-C0Zoyfd6.js → FlowingGradient-DVDnNpGd.js} +1 -1
  31. package/dist/core/{FlutedGlass-B4FlyBOn.js → FlutedGlass-trmBFfQr.js} +1 -1
  32. package/dist/core/{Fog-CIdU2Wn-.js → Fog-DrsxPyih.js} +1 -1
  33. package/dist/core/{Form3D-CqmOXXGj.js → Form3D-D1TtCjk8.js} +1 -1
  34. package/dist/core/{Glass-BCOkQbvW.js → Glass-B19xsZLn.js} +1 -1
  35. package/dist/core/{Godrays-w3ruw4NO.js → Godrays-Mvz7ha2E.js} +1 -1
  36. package/dist/core/{Grid-CKbLS5tU.js → Grid-CsD21Eqg.js} +1 -1
  37. package/dist/core/{GridDistortion-CVpebl48.js → GridDistortion-BcDqBh9i.js} +1 -1
  38. package/dist/core/{Halftone-BGQeBAgG.js → Halftone-3ImN5uQi.js} +1 -1
  39. package/dist/core/{HexGrid-BFrnZEZT.js → HexGrid-BWwIHYEg.js} +1 -1
  40. package/dist/core/{Kaleidoscope-B0_OCrob.js → Kaleidoscope-D1HmcoOv.js} +1 -1
  41. package/dist/core/{LensFlare-B8x1fOKu.js → LensFlare-Be-Z9whi.js} +1 -1
  42. package/dist/core/{LinearBlur-CshzmjfO.js → LinearBlur-xrHtMmWp.js} +1 -1
  43. package/dist/core/{LinearGradient-Bzwquw_Q.js → LinearGradient-BiIad_hA.js} +1 -1
  44. package/dist/core/{Liquify-ZMAyGUIb.js → Liquify-DkTxZZFW.js} +1 -1
  45. package/dist/core/{Mirror-Gb0fugtF.js → Mirror-BDTE51kP.js} +1 -1
  46. package/dist/core/{MultiPointGradient-D0QQwizn.js → MultiPointGradient-Bd-EGOI8.js} +1 -1
  47. package/dist/core/{Neon-eN4HlILk.js → Neon-BeGABHrs.js} +1 -1
  48. package/dist/core/{Perspective-SBZzprC5.js → Perspective-CqweSeFv.js} +1 -1
  49. package/dist/core/{Plasma-COq8mAw2.js → Plasma-DqKLBDYd.js} +1 -1
  50. package/dist/core/{PolarCoordinates-Ckvb1eG0.js → PolarCoordinates-CKT4CLT7.js} +1 -1
  51. package/dist/core/{Polygon-BP5eKEiz.js → Polygon-_3DSqSBg.js} +1 -1
  52. package/dist/core/{ProgressiveBlur-CNacb2Qx.js → ProgressiveBlur-Dh8W2bZ3.js} +1 -1
  53. package/dist/core/{RadialGradient-SASVv2vb.js → RadialGradient-Dj3-DdO7.js} +1 -1
  54. package/dist/core/{RectangularCoordinates-r0fTwVuL.js → RectangularCoordinates-DxeLJ2nt.js} +1 -1
  55. package/dist/core/{Ring-CdJlzjRV.js → Ring-4J6h5Iof.js} +1 -1
  56. package/dist/core/{Ripples-BRZPZszq.js → Ripples-CXeVzwUd.js} +1 -1
  57. package/dist/core/{RoundedRect-lzzi_1J7.js → RoundedRect-Dj-gqOc0.js} +1 -1
  58. package/dist/core/{Shatter-CC3EFcP9.js → Shatter-CDza7dSw.js} +1 -1
  59. package/dist/core/{SimplexNoise-0-rfeziU.js → SimplexNoise-HQTocBLm.js} +1 -1
  60. package/dist/core/{SineWave--i6bSrad.js → SineWave-S6nK8ZHR.js} +1 -1
  61. package/dist/core/{Smoke-BgPHDWDR.js → Smoke-DjlArYQW.js} +1 -1
  62. package/dist/core/{SmokeFill-Dtctgt2S.js → SmokeFill-rM9vUIm4.js} +1 -1
  63. package/dist/core/{SolidColor-D9ikFFu3.js → SolidColor-a8bCIksn.js} +1 -1
  64. package/dist/core/{Spherize-ZBorEEOU.js → Spherize-BHmD2ajL.js} +1 -1
  65. package/dist/core/{Spiral-sg-i02xw.js → Spiral-Bjsi8BMH.js} +1 -1
  66. package/dist/core/{Star-BcqCHzHG.js → Star-CJ4mkBZg.js} +1 -1
  67. package/dist/core/{Strands-XLpth60o.js → Strands-C9fEwaiR.js} +1 -1
  68. package/dist/core/{Stretch-CJUUU-I1.js → Stretch-Cvht8B0L.js} +1 -1
  69. package/dist/core/{Stripes-DEOXYnmy.js → Stripes-ChVSAeCO.js} +1 -1
  70. package/dist/core/{StudioBackground-B5dpTR_X.js → StudioBackground-B8hilROB.js} +1 -1
  71. package/dist/core/{Swirl-WqPvBF7u.js → Swirl-DZTPLx-W.js} +1 -1
  72. package/dist/core/{TiltShift-CYb6OQoU.js → TiltShift-DSQ-CsXz.js} +1 -1
  73. package/dist/core/{Tint-C-bJpwd0.js → Tint-P7KwJAU5.js} +1 -1
  74. package/dist/core/{Trapezoid-BvTEGdW_.js → Trapezoid-P9gXhH9a.js} +1 -1
  75. package/dist/core/{Tritone-LX-qUAGy.js → Tritone-_9VR2bhu.js} +1 -1
  76. package/dist/core/{Truchet-DE4lgYRb.js → Truchet-CbL5nYMj.js} +1 -1
  77. package/dist/core/{Twirl-CgRyZdT1.js → Twirl-C_97m32v.js} +1 -1
  78. package/dist/core/{Vesica-DqJMyqmy.js → Vesica-DYov_i53.js} +1 -1
  79. package/dist/core/{Vignette-CA12P9VO.js → Vignette-DmYVHciL.js} +1 -1
  80. package/dist/core/{Voronoi-DXeJ3xOf.js → Voronoi-kngFpTNB.js} +1 -1
  81. package/dist/core/{WaveDistortion-iyTUI1lj.js → WaveDistortion-DM-f_XCw.js} +1 -1
  82. package/dist/core/{Weave-Bn2CfeE4.js → Weave-DO0m0Dsh.js} +1 -1
  83. package/dist/core/WorleyNoise-Derik4n-.js +323 -0
  84. package/dist/core/{ZoomBlur-DOzP_sOK.js → ZoomBlur-BdLC9MCq.js} +1 -1
  85. package/dist/core/index.js +86 -85
  86. package/dist/core/registry.js +86 -85
  87. package/dist/core/{shaderRegistry-SmtG2mTo.js → shaderRegistry-Ceu0nAxP.js} +86 -84
  88. package/dist/core/shaderRegistry.d.ts.map +1 -1
  89. package/dist/core/shaders/AngularBlur/index.js +2 -2
  90. package/dist/core/shaders/Aurora/index.js +2 -2
  91. package/dist/core/shaders/Beam/index.js +2 -2
  92. package/dist/core/shaders/Blob/index.js +2 -2
  93. package/dist/core/shaders/Bulge/index.js +2 -2
  94. package/dist/core/shaders/Checkerboard/index.js +2 -2
  95. package/dist/core/shaders/ChromaFlow/index.js +2 -2
  96. package/dist/core/shaders/ChromaticAberration/index.js +2 -2
  97. package/dist/core/shaders/Circle/index.js +2 -2
  98. package/dist/core/shaders/ConcentricSpin/index.js +2 -2
  99. package/dist/core/shaders/ConicGradient/index.js +2 -2
  100. package/dist/core/shaders/ContourLines/index.js +2 -2
  101. package/dist/core/shaders/Crescent/index.js +2 -2
  102. package/dist/core/shaders/Cross/index.js +2 -2
  103. package/dist/core/shaders/Crystal/index.js +2 -2
  104. package/dist/core/shaders/CursorRipples/index.js +2 -2
  105. package/dist/core/shaders/CursorTrail/index.js +2 -2
  106. package/dist/core/shaders/DiamondGradient/index.js +2 -2
  107. package/dist/core/shaders/DiffuseBlur/index.js +2 -2
  108. package/dist/core/shaders/Dither/index.js +2 -2
  109. package/dist/core/shaders/DotGrid/index.js +2 -2
  110. package/dist/core/shaders/DropShadow/index.js +2 -2
  111. package/dist/core/shaders/Duotone/index.js +2 -2
  112. package/dist/core/shaders/Ellipse/index.js +2 -2
  113. package/dist/core/shaders/Emboss/index.js +2 -2
  114. package/dist/core/shaders/FallingLines/index.js +2 -2
  115. package/dist/core/shaders/FloatingParticles/index.js +2 -2
  116. package/dist/core/shaders/FlowField/index.js +2 -2
  117. package/dist/core/shaders/Flower/index.js +2 -2
  118. package/dist/core/shaders/FlowingGradient/index.js +2 -2
  119. package/dist/core/shaders/FlutedGlass/index.js +2 -2
  120. package/dist/core/shaders/Fog/index.js +2 -2
  121. package/dist/core/shaders/Form3D/index.js +2 -2
  122. package/dist/core/shaders/Glass/index.js +2 -2
  123. package/dist/core/shaders/Godrays/index.js +2 -2
  124. package/dist/core/shaders/Grid/index.js +2 -2
  125. package/dist/core/shaders/GridDistortion/index.js +2 -2
  126. package/dist/core/shaders/Halftone/index.js +2 -2
  127. package/dist/core/shaders/HexGrid/index.js +2 -2
  128. package/dist/core/shaders/Kaleidoscope/index.js +2 -2
  129. package/dist/core/shaders/LensFlare/index.js +2 -2
  130. package/dist/core/shaders/LinearBlur/index.js +2 -2
  131. package/dist/core/shaders/LinearGradient/index.js +2 -2
  132. package/dist/core/shaders/Liquify/index.js +2 -2
  133. package/dist/core/shaders/Mirror/index.js +2 -2
  134. package/dist/core/shaders/MultiPointGradient/index.js +2 -2
  135. package/dist/core/shaders/Neon/index.js +2 -2
  136. package/dist/core/shaders/Perspective/index.js +2 -2
  137. package/dist/core/shaders/Plasma/index.js +2 -2
  138. package/dist/core/shaders/PolarCoordinates/index.js +2 -2
  139. package/dist/core/shaders/Polygon/index.js +2 -2
  140. package/dist/core/shaders/ProgressiveBlur/index.js +2 -2
  141. package/dist/core/shaders/RadialGradient/index.js +2 -2
  142. package/dist/core/shaders/RectangularCoordinates/index.js +2 -2
  143. package/dist/core/shaders/Ring/index.js +2 -2
  144. package/dist/core/shaders/Ripples/index.js +2 -2
  145. package/dist/core/shaders/RoundedRect/index.js +2 -2
  146. package/dist/core/shaders/Shatter/index.js +2 -2
  147. package/dist/core/shaders/SimplexNoise/index.js +2 -2
  148. package/dist/core/shaders/SineWave/index.js +2 -2
  149. package/dist/core/shaders/Smoke/index.js +2 -2
  150. package/dist/core/shaders/SmokeFill/index.js +2 -2
  151. package/dist/core/shaders/SolidColor/index.js +2 -2
  152. package/dist/core/shaders/Spherize/index.js +2 -2
  153. package/dist/core/shaders/Spiral/index.js +2 -2
  154. package/dist/core/shaders/Star/index.js +2 -2
  155. package/dist/core/shaders/Strands/index.js +2 -2
  156. package/dist/core/shaders/Stretch/index.js +2 -2
  157. package/dist/core/shaders/Stripes/index.js +2 -2
  158. package/dist/core/shaders/StudioBackground/index.js +2 -2
  159. package/dist/core/shaders/Swirl/index.js +2 -2
  160. package/dist/core/shaders/TiltShift/index.js +2 -2
  161. package/dist/core/shaders/Tint/index.js +2 -2
  162. package/dist/core/shaders/Trapezoid/index.js +2 -2
  163. package/dist/core/shaders/Tritone/index.js +2 -2
  164. package/dist/core/shaders/Truchet/index.js +2 -2
  165. package/dist/core/shaders/Twirl/index.js +2 -2
  166. package/dist/core/shaders/Vesica/index.js +2 -2
  167. package/dist/core/shaders/Vignette/index.js +2 -2
  168. package/dist/core/shaders/Voronoi/index.js +2 -2
  169. package/dist/core/shaders/WaveDistortion/index.js +2 -2
  170. package/dist/core/shaders/Weave/index.js +2 -2
  171. package/dist/core/shaders/WorleyNoise/index.d.ts +99 -0
  172. package/dist/core/shaders/WorleyNoise/index.d.ts.map +1 -0
  173. package/dist/core/shaders/WorleyNoise/index.js +5 -0
  174. package/dist/core/shaders/ZoomBlur/index.js +2 -2
  175. package/dist/core/{transformations-B5lM6fYX.js → transformations-CJcUeZIC.js} +23 -8
  176. package/dist/core/utilities/transformations/index.js +1 -1
  177. package/dist/core/utilities/transformations.d.ts.map +1 -1
  178. package/dist/js/createShader.js +1 -1
  179. package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
  180. package/dist/js/utils/generatePresetCode.js +20 -1
  181. package/dist/react/Preview.js +1 -0
  182. package/dist/react/Shader.js +1 -1
  183. package/dist/react/WorleyNoise.js +217 -0
  184. package/dist/react/bundle.js +207 -207
  185. package/dist/react/components/WorleyNoise.d.ts +39 -0
  186. package/dist/react/components/WorleyNoise.d.ts.map +1 -0
  187. package/dist/react/engine/Preview.d.ts.map +1 -1
  188. package/dist/react/index.d.ts +1 -0
  189. package/dist/react/index.d.ts.map +1 -1
  190. package/dist/react/index.js +2 -1
  191. package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
  192. package/dist/react/utils/generatePresetCode.js +20 -1
  193. package/dist/react/utils/generatePresetCode.template.d.ts.map +1 -1
  194. package/dist/registry.js +519 -0
  195. package/dist/solid/components/WorleyNoise.d.ts +36 -0
  196. package/dist/solid/components/WorleyNoise.d.ts.map +1 -0
  197. package/dist/solid/components/WorleyNoise.js +228 -0
  198. package/dist/solid/engine/Preview.d.ts.map +1 -1
  199. package/dist/solid/engine/Preview.js +216 -214
  200. package/dist/solid/engine/Shader.js +1 -1
  201. package/dist/solid/index.d.ts +1 -0
  202. package/dist/solid/index.d.ts.map +1 -1
  203. package/dist/solid/index.js +8 -6
  204. package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
  205. package/dist/solid/utils/generatePresetCode.js +20 -1
  206. package/dist/solid/utils/generatePresetCode.template.d.ts.map +1 -1
  207. package/dist/svelte/components/WorleyNoise.svelte.d.ts +26 -0
  208. package/dist/svelte/index.d.ts +1 -0
  209. package/dist/svelte/index.js +634 -434
  210. package/dist/svelte/source/components/WorleyNoise.svelte +332 -0
  211. package/dist/svelte/source/engine/Preview.svelte +2 -0
  212. package/dist/svelte/source/index.js +1 -0
  213. package/dist/svelte/utils/generatePresetCode.js +20 -1
  214. package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
  215. package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +28 -18
  216. package/dist/vue/WorleyNoise.js +3 -0
  217. package/dist/vue/WorleyNoise.vue_vue_type_script_setup_true_lang.js +226 -0
  218. package/dist/vue/components/WorleyNoise.vue.d.ts +61 -0
  219. package/dist/vue/components/WorleyNoise.vue.d.ts.map +1 -0
  220. package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
  221. package/dist/vue/index.d.ts +1 -0
  222. package/dist/vue/index.d.ts.map +1 -1
  223. package/dist/vue/index.js +2 -1
  224. package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
  225. package/dist/vue/utils/generatePresetCode.js +20 -1
  226. package/dist/vue/utils/generatePresetCode.template.d.ts.map +1 -1
  227. package/package.json +9 -1
package/dist/registry.js CHANGED
@@ -23160,6 +23160,525 @@ export const shaderRegistry = [
23160
23160
  }
23161
23161
  }
23162
23162
  },
23163
+ {
23164
+ "name": "WorleyNoise",
23165
+ "category": "Textures",
23166
+ "description": "Cellular noise field — distance-based, with selectable feature combinations and fractal octaves",
23167
+ "fileName": "WorleyNoise",
23168
+ "definition": {
23169
+ "name": "WorleyNoise",
23170
+ "category": "Textures",
23171
+ "description": "Cellular noise field — distance-based, with selectable feature combinations and fractal octaves",
23172
+ "props": {
23173
+ "colorA": {
23174
+ "default": "#ffffff",
23175
+ "description": "Color where the noise field is low (typically near cell centers)",
23176
+ "ui": {
23177
+ "type": "color",
23178
+ "label": "Color A (Low)",
23179
+ "group": "Colors"
23180
+ }
23181
+ },
23182
+ "colorB": {
23183
+ "default": "#000000",
23184
+ "description": "Color where the noise field is high (typically near cell boundaries)",
23185
+ "ui": {
23186
+ "type": "color",
23187
+ "label": "Color B (High)",
23188
+ "group": "Colors"
23189
+ }
23190
+ },
23191
+ "colorSpace": {
23192
+ "default": "linear",
23193
+ "compileTime": true,
23194
+ "description": "Color space for color interpolation",
23195
+ "ui": {
23196
+ "type": "select",
23197
+ "options": [
23198
+ {
23199
+ "label": "Linear RGB",
23200
+ "value": "linear"
23201
+ },
23202
+ {
23203
+ "label": "OKLCh",
23204
+ "value": "oklch"
23205
+ },
23206
+ {
23207
+ "label": "OKLAB",
23208
+ "value": "oklab"
23209
+ },
23210
+ {
23211
+ "label": "HSL",
23212
+ "value": "hsl"
23213
+ },
23214
+ {
23215
+ "label": "HSV",
23216
+ "value": "hsv"
23217
+ },
23218
+ {
23219
+ "label": "LCH",
23220
+ "value": "lch"
23221
+ }
23222
+ ],
23223
+ "label": "Color Space",
23224
+ "group": "Colors"
23225
+ }
23226
+ },
23227
+ "scale": {
23228
+ "default": 6,
23229
+ "description": "Number of cells across the canvas at the base octave",
23230
+ "ui": {
23231
+ "type": [
23232
+ "range",
23233
+ "map"
23234
+ ],
23235
+ "min": 1,
23236
+ "max": 30,
23237
+ "step": 0.5,
23238
+ "label": "Scale",
23239
+ "group": "Effect"
23240
+ }
23241
+ },
23242
+ "mode": {
23243
+ "default": "f1",
23244
+ "compileTime": true,
23245
+ "description": "Field type. F1 = distance to nearest point. F2 = distance to second-nearest. F2 − F1 emphasises cell boundaries.",
23246
+ "ui": {
23247
+ "type": "select",
23248
+ "options": [
23249
+ {
23250
+ "label": "F1 (Cells)",
23251
+ "value": "f1"
23252
+ },
23253
+ {
23254
+ "label": "F2 (Wider Cells)",
23255
+ "value": "f2"
23256
+ },
23257
+ {
23258
+ "label": "F2 − F1 (Edges)",
23259
+ "value": "f2MinusF1"
23260
+ },
23261
+ {
23262
+ "label": "F1 + F2",
23263
+ "value": "f1PlusF2"
23264
+ },
23265
+ {
23266
+ "label": "F1 × F2",
23267
+ "value": "f1TimesF2"
23268
+ }
23269
+ ],
23270
+ "label": "Mode",
23271
+ "group": "Effect"
23272
+ }
23273
+ },
23274
+ "distance": {
23275
+ "default": "euclidean",
23276
+ "compileTime": true,
23277
+ "description": "Distance metric. Euclidean = round cells. Manhattan = diamond. Chebyshev = square.",
23278
+ "ui": {
23279
+ "type": "select",
23280
+ "options": [
23281
+ {
23282
+ "label": "Euclidean",
23283
+ "value": "euclidean"
23284
+ },
23285
+ {
23286
+ "label": "Manhattan",
23287
+ "value": "manhattan"
23288
+ },
23289
+ {
23290
+ "label": "Chebyshev",
23291
+ "value": "chebyshev"
23292
+ }
23293
+ ],
23294
+ "label": "Distance",
23295
+ "group": "Effect"
23296
+ }
23297
+ },
23298
+ "octaves": {
23299
+ "default": 1,
23300
+ "compileTime": true,
23301
+ "description": "Number of fractal layers stacked at progressively finer scales",
23302
+ "ui": {
23303
+ "type": "range",
23304
+ "min": 1,
23305
+ "max": 4,
23306
+ "step": 1,
23307
+ "label": "Octaves",
23308
+ "group": "Effect"
23309
+ }
23310
+ },
23311
+ "lacunarity": {
23312
+ "default": 2,
23313
+ "description": "Scale multiplier between octaves (only active when Octaves > 1)",
23314
+ "ui": {
23315
+ "type": [
23316
+ "range",
23317
+ "map"
23318
+ ],
23319
+ "min": 1.5,
23320
+ "max": 4,
23321
+ "step": 0.1,
23322
+ "label": "Lacunarity",
23323
+ "group": "Effect",
23324
+ "condition": {
23325
+ "octaves": [
23326
+ 2,
23327
+ 3,
23328
+ 4
23329
+ ]
23330
+ }
23331
+ }
23332
+ },
23333
+ "persistence": {
23334
+ "default": 0.5,
23335
+ "description": "Amplitude multiplier between octaves (only active when Octaves > 1)",
23336
+ "ui": {
23337
+ "type": [
23338
+ "range",
23339
+ "map"
23340
+ ],
23341
+ "min": 0,
23342
+ "max": 1,
23343
+ "step": 0.05,
23344
+ "label": "Persistence",
23345
+ "group": "Effect",
23346
+ "condition": {
23347
+ "octaves": [
23348
+ 2,
23349
+ 3,
23350
+ 4
23351
+ ]
23352
+ }
23353
+ }
23354
+ },
23355
+ "jitter": {
23356
+ "default": 1,
23357
+ "description": "How much each cell's point drifts inside its cell. 0 = rigid grid (banded look), 1 = fully random.",
23358
+ "ui": {
23359
+ "type": [
23360
+ "range",
23361
+ "map"
23362
+ ],
23363
+ "min": 0,
23364
+ "max": 1,
23365
+ "step": 0.05,
23366
+ "label": "Jitter",
23367
+ "group": "Effect"
23368
+ }
23369
+ },
23370
+ "contrast": {
23371
+ "default": 1,
23372
+ "description": "Steepness of the gradient between low and high regions",
23373
+ "ui": {
23374
+ "type": [
23375
+ "range",
23376
+ "map"
23377
+ ],
23378
+ "min": 0.25,
23379
+ "max": 4,
23380
+ "step": 0.05,
23381
+ "label": "Contrast",
23382
+ "group": "Effect"
23383
+ }
23384
+ },
23385
+ "balance": {
23386
+ "default": 0,
23387
+ "description": "Shifts the gradient midpoint. Negative pulls the field toward Color A, positive toward Color B.",
23388
+ "ui": {
23389
+ "type": [
23390
+ "range",
23391
+ "map"
23392
+ ],
23393
+ "min": -1,
23394
+ "max": 1,
23395
+ "step": 0.05,
23396
+ "label": "Balance",
23397
+ "group": "Effect"
23398
+ }
23399
+ },
23400
+ "seed": {
23401
+ "default": 0,
23402
+ "description": "Random seed — shifts the cell pattern without changing its overall structure",
23403
+ "ui": {
23404
+ "type": [
23405
+ "range",
23406
+ "map"
23407
+ ],
23408
+ "min": 0,
23409
+ "max": 100,
23410
+ "step": 1,
23411
+ "label": "Seed",
23412
+ "group": "Effect"
23413
+ }
23414
+ },
23415
+ "speed": {
23416
+ "default": 0.5,
23417
+ "description": "Animation speed — how fast each cell's point drifts",
23418
+ "ui": {
23419
+ "type": "range",
23420
+ "min": 0,
23421
+ "max": 5,
23422
+ "step": 0.1,
23423
+ "label": "Speed",
23424
+ "group": "Animation"
23425
+ }
23426
+ }
23427
+ }
23428
+ },
23429
+ "propsMetadata": {
23430
+ "colorA": {
23431
+ "ui": {
23432
+ "type": "color",
23433
+ "label": "Color A (Low)",
23434
+ "group": "Colors"
23435
+ },
23436
+ "default": "#ffffff",
23437
+ "description": "Color where the noise field is low (typically near cell centers)"
23438
+ },
23439
+ "colorB": {
23440
+ "ui": {
23441
+ "type": "color",
23442
+ "label": "Color B (High)",
23443
+ "group": "Colors"
23444
+ },
23445
+ "default": "#000000",
23446
+ "description": "Color where the noise field is high (typically near cell boundaries)"
23447
+ },
23448
+ "colorSpace": {
23449
+ "ui": {
23450
+ "type": "select",
23451
+ "options": [
23452
+ {
23453
+ "label": "Linear RGB",
23454
+ "value": "linear"
23455
+ },
23456
+ {
23457
+ "label": "OKLCh",
23458
+ "value": "oklch"
23459
+ },
23460
+ {
23461
+ "label": "OKLAB",
23462
+ "value": "oklab"
23463
+ },
23464
+ {
23465
+ "label": "HSL",
23466
+ "value": "hsl"
23467
+ },
23468
+ {
23469
+ "label": "HSV",
23470
+ "value": "hsv"
23471
+ },
23472
+ {
23473
+ "label": "LCH",
23474
+ "value": "lch"
23475
+ }
23476
+ ],
23477
+ "label": "Color Space",
23478
+ "group": "Colors"
23479
+ },
23480
+ "default": "linear",
23481
+ "description": "Color space for color interpolation"
23482
+ },
23483
+ "scale": {
23484
+ "ui": {
23485
+ "type": [
23486
+ "range",
23487
+ "map"
23488
+ ],
23489
+ "min": 1,
23490
+ "max": 30,
23491
+ "step": 0.5,
23492
+ "label": "Scale",
23493
+ "group": "Effect"
23494
+ },
23495
+ "default": 6,
23496
+ "description": "Number of cells across the canvas at the base octave"
23497
+ },
23498
+ "mode": {
23499
+ "ui": {
23500
+ "type": "select",
23501
+ "options": [
23502
+ {
23503
+ "label": "F1 (Cells)",
23504
+ "value": "f1"
23505
+ },
23506
+ {
23507
+ "label": "F2 (Wider Cells)",
23508
+ "value": "f2"
23509
+ },
23510
+ {
23511
+ "label": "F2 − F1 (Edges)",
23512
+ "value": "f2MinusF1"
23513
+ },
23514
+ {
23515
+ "label": "F1 + F2",
23516
+ "value": "f1PlusF2"
23517
+ },
23518
+ {
23519
+ "label": "F1 × F2",
23520
+ "value": "f1TimesF2"
23521
+ }
23522
+ ],
23523
+ "label": "Mode",
23524
+ "group": "Effect"
23525
+ },
23526
+ "default": "f1",
23527
+ "description": "Field type. F1 = distance to nearest point. F2 = distance to second-nearest. F2 − F1 emphasises cell boundaries."
23528
+ },
23529
+ "distance": {
23530
+ "ui": {
23531
+ "type": "select",
23532
+ "options": [
23533
+ {
23534
+ "label": "Euclidean",
23535
+ "value": "euclidean"
23536
+ },
23537
+ {
23538
+ "label": "Manhattan",
23539
+ "value": "manhattan"
23540
+ },
23541
+ {
23542
+ "label": "Chebyshev",
23543
+ "value": "chebyshev"
23544
+ }
23545
+ ],
23546
+ "label": "Distance",
23547
+ "group": "Effect"
23548
+ },
23549
+ "default": "euclidean",
23550
+ "description": "Distance metric. Euclidean = round cells. Manhattan = diamond. Chebyshev = square."
23551
+ },
23552
+ "octaves": {
23553
+ "ui": {
23554
+ "type": "range",
23555
+ "min": 1,
23556
+ "max": 4,
23557
+ "step": 1,
23558
+ "label": "Octaves",
23559
+ "group": "Effect"
23560
+ },
23561
+ "default": 1,
23562
+ "description": "Number of fractal layers stacked at progressively finer scales"
23563
+ },
23564
+ "lacunarity": {
23565
+ "ui": {
23566
+ "type": [
23567
+ "range",
23568
+ "map"
23569
+ ],
23570
+ "min": 1.5,
23571
+ "max": 4,
23572
+ "step": 0.1,
23573
+ "label": "Lacunarity",
23574
+ "group": "Effect",
23575
+ "condition": {
23576
+ "octaves": [
23577
+ 2,
23578
+ 3,
23579
+ 4
23580
+ ]
23581
+ }
23582
+ },
23583
+ "default": 2,
23584
+ "description": "Scale multiplier between octaves (only active when Octaves > 1)"
23585
+ },
23586
+ "persistence": {
23587
+ "ui": {
23588
+ "type": [
23589
+ "range",
23590
+ "map"
23591
+ ],
23592
+ "min": 0,
23593
+ "max": 1,
23594
+ "step": 0.05,
23595
+ "label": "Persistence",
23596
+ "group": "Effect",
23597
+ "condition": {
23598
+ "octaves": [
23599
+ 2,
23600
+ 3,
23601
+ 4
23602
+ ]
23603
+ }
23604
+ },
23605
+ "default": 0.5,
23606
+ "description": "Amplitude multiplier between octaves (only active when Octaves > 1)"
23607
+ },
23608
+ "jitter": {
23609
+ "ui": {
23610
+ "type": [
23611
+ "range",
23612
+ "map"
23613
+ ],
23614
+ "min": 0,
23615
+ "max": 1,
23616
+ "step": 0.05,
23617
+ "label": "Jitter",
23618
+ "group": "Effect"
23619
+ },
23620
+ "default": 1,
23621
+ "description": "How much each cell's point drifts inside its cell. 0 = rigid grid (banded look), 1 = fully random."
23622
+ },
23623
+ "contrast": {
23624
+ "ui": {
23625
+ "type": [
23626
+ "range",
23627
+ "map"
23628
+ ],
23629
+ "min": 0.25,
23630
+ "max": 4,
23631
+ "step": 0.05,
23632
+ "label": "Contrast",
23633
+ "group": "Effect"
23634
+ },
23635
+ "default": 1,
23636
+ "description": "Steepness of the gradient between low and high regions"
23637
+ },
23638
+ "balance": {
23639
+ "ui": {
23640
+ "type": [
23641
+ "range",
23642
+ "map"
23643
+ ],
23644
+ "min": -1,
23645
+ "max": 1,
23646
+ "step": 0.05,
23647
+ "label": "Balance",
23648
+ "group": "Effect"
23649
+ },
23650
+ "default": 0,
23651
+ "description": "Shifts the gradient midpoint. Negative pulls the field toward Color A, positive toward Color B."
23652
+ },
23653
+ "seed": {
23654
+ "ui": {
23655
+ "type": [
23656
+ "range",
23657
+ "map"
23658
+ ],
23659
+ "min": 0,
23660
+ "max": 100,
23661
+ "step": 1,
23662
+ "label": "Seed",
23663
+ "group": "Effect"
23664
+ },
23665
+ "default": 0,
23666
+ "description": "Random seed — shifts the cell pattern without changing its overall structure"
23667
+ },
23668
+ "speed": {
23669
+ "ui": {
23670
+ "type": "range",
23671
+ "min": 0,
23672
+ "max": 5,
23673
+ "step": 0.1,
23674
+ "label": "Speed",
23675
+ "group": "Animation"
23676
+ },
23677
+ "default": 0.5,
23678
+ "description": "Animation speed — how fast each cell's point drifts"
23679
+ }
23680
+ }
23681
+ },
23163
23682
  {
23164
23683
  "name": "ZoomBlur",
23165
23684
  "category": "Blurs",
@@ -0,0 +1,36 @@
1
+ import { JSX } from 'solid-js';
2
+ import { BlendMode, PropDriver, TransformConfig } from '../../core';
3
+ import { ComponentProps } from '../../core/shaders/WorleyNoise';
4
+ export type { ComponentProps };
5
+ /**
6
+ * Base props that all shader components have
7
+ */
8
+ interface BaseShaderProps {
9
+ children?: JSX.Element;
10
+ blendMode?: BlendMode;
11
+ opacity?: number;
12
+ visible?: boolean;
13
+ id?: string;
14
+ maskSource?: string;
15
+ maskType?: string;
16
+ renderOrder?: number;
17
+ transform?: Partial<TransformConfig>;
18
+ }
19
+ /**
20
+ * Component-specific props that merge base props with shader-specific props
21
+ * Note: ComponentProps are made optional since they have defaults from the shader definition
22
+ */
23
+ type ShaderComponentProps = BaseShaderProps & Partial<Omit<ComponentProps, 'scale' | 'lacunarity' | 'persistence' | 'jitter' | 'contrast' | 'balance' | 'seed'>> & {
24
+ scale?: ComponentProps['scale'] | PropDriver;
25
+ lacunarity?: ComponentProps['lacunarity'] | PropDriver;
26
+ persistence?: ComponentProps['persistence'] | PropDriver;
27
+ jitter?: ComponentProps['jitter'] | PropDriver;
28
+ contrast?: ComponentProps['contrast'] | PropDriver;
29
+ balance?: ComponentProps['balance'] | PropDriver;
30
+ seed?: ComponentProps['seed'] | PropDriver;
31
+ };
32
+ /**
33
+ * The main Solid wrapper component for Shader shader nodes
34
+ */
35
+ export default function ShaderComponent(props: ShaderComponentProps): JSX.Element;
36
+ //# sourceMappingURL=WorleyNoise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorleyNoise.d.ts","sourceRoot":"","sources":["../../src/components/WorleyNoise.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0F,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAE5H,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,UAAU,EACf,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAGpF,YAAY,EAAE,cAAc,EAAE,CAAC;AAY/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACxC;AAOD;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,YAAY,GAAG,aAAa,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC,CAAC,GAAG;IACjK,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,UAAU,CAAC;IAC7C,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;IACvD,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,GAAG,UAAU,CAAC;IACzD,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,GAAG,UAAU,CAAC;IAC/C,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;IACnD,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,UAAU,CAAC;IACjD,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;CAC5C,CAAC;AAmCF;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,oBAAoB,eA8NlE"}