shaders 2.2.8 → 2.2.10

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 (270) hide show
  1. package/dist/react/generatePresetCode-CbulNGo3.js +316 -0
  2. package/dist/react/generatePresetCode-ClK4i9O1.cjs +13 -0
  3. package/dist/react/index.cjs +398 -409
  4. package/dist/react/index.js +43787 -44329
  5. package/dist/react/utils/generatePresetCode.cjs +1 -13
  6. package/dist/react/utils/generatePresetCode.js +3 -609
  7. package/dist/svelte/generatePresetCode-CbulNGo3.js +316 -0
  8. package/dist/{react/utils/generatePresetCode.d.ts → svelte/generatePresetCode.template.d.ts} +1 -2
  9. package/dist/svelte/index.js +42894 -43383
  10. package/dist/svelte/utils/generatePresetCode.js +3 -609
  11. package/dist/vue/generatePresetCode-Baa8DyZE.js +322 -0
  12. package/dist/vue/index.js +1 -1
  13. package/dist/vue/utils/generatePresetCode.js +1 -1
  14. package/package.json +1 -1
  15. package/dist/react/codegen.d.ts +0 -1
  16. package/dist/react/components/AngularBlur.d.ts +0 -31
  17. package/dist/react/components/AngularBlur.d.ts.map +0 -1
  18. package/dist/react/components/Ascii.d.ts +0 -31
  19. package/dist/react/components/Ascii.d.ts.map +0 -1
  20. package/dist/react/components/Blob.d.ts +0 -31
  21. package/dist/react/components/Blob.d.ts.map +0 -1
  22. package/dist/react/components/Blur.d.ts +0 -31
  23. package/dist/react/components/Blur.d.ts.map +0 -1
  24. package/dist/react/components/Bulge.d.ts +0 -31
  25. package/dist/react/components/Bulge.d.ts.map +0 -1
  26. package/dist/react/components/CRTScreen.d.ts +0 -31
  27. package/dist/react/components/CRTScreen.d.ts.map +0 -1
  28. package/dist/react/components/ChannelBlur.d.ts +0 -31
  29. package/dist/react/components/ChannelBlur.d.ts.map +0 -1
  30. package/dist/react/components/Checkerboard.d.ts +0 -31
  31. package/dist/react/components/Checkerboard.d.ts.map +0 -1
  32. package/dist/react/components/ChromaFlow.d.ts +0 -31
  33. package/dist/react/components/ChromaFlow.d.ts.map +0 -1
  34. package/dist/react/components/ChromaticAberration.d.ts +0 -31
  35. package/dist/react/components/ChromaticAberration.d.ts.map +0 -1
  36. package/dist/react/components/Circle.d.ts +0 -31
  37. package/dist/react/components/Circle.d.ts.map +0 -1
  38. package/dist/react/components/ColorMapping.d.ts +0 -29
  39. package/dist/react/components/ColorMapping.d.ts.map +0 -1
  40. package/dist/react/components/CursorTrail.d.ts +0 -31
  41. package/dist/react/components/CursorTrail.d.ts.map +0 -1
  42. package/dist/react/components/DiffuseBlur.d.ts +0 -31
  43. package/dist/react/components/DiffuseBlur.d.ts.map +0 -1
  44. package/dist/react/components/Dither.d.ts +0 -31
  45. package/dist/react/components/Dither.d.ts.map +0 -1
  46. package/dist/react/components/DotGrid.d.ts +0 -31
  47. package/dist/react/components/DotGrid.d.ts.map +0 -1
  48. package/dist/react/components/Duotone.d.ts +0 -31
  49. package/dist/react/components/Duotone.d.ts.map +0 -1
  50. package/dist/react/components/Exposure.d.ts +0 -29
  51. package/dist/react/components/Exposure.d.ts.map +0 -1
  52. package/dist/react/components/FilmGrain.d.ts +0 -31
  53. package/dist/react/components/FilmGrain.d.ts.map +0 -1
  54. package/dist/react/components/FloatingParticles.d.ts +0 -31
  55. package/dist/react/components/FloatingParticles.d.ts.map +0 -1
  56. package/dist/react/components/Glass.d.ts +0 -31
  57. package/dist/react/components/Glass.d.ts.map +0 -1
  58. package/dist/react/components/GlassTiles.d.ts +0 -31
  59. package/dist/react/components/GlassTiles.d.ts.map +0 -1
  60. package/dist/react/components/Glitch.d.ts +0 -29
  61. package/dist/react/components/Glitch.d.ts.map +0 -1
  62. package/dist/react/components/Glow.d.ts +0 -31
  63. package/dist/react/components/Glow.d.ts.map +0 -1
  64. package/dist/react/components/Godrays.d.ts +0 -31
  65. package/dist/react/components/Godrays.d.ts.map +0 -1
  66. package/dist/react/components/Grayscale.d.ts +0 -31
  67. package/dist/react/components/Grayscale.d.ts.map +0 -1
  68. package/dist/react/components/Grid.d.ts +0 -31
  69. package/dist/react/components/Grid.d.ts.map +0 -1
  70. package/dist/react/components/GridDistortion.d.ts +0 -31
  71. package/dist/react/components/GridDistortion.d.ts.map +0 -1
  72. package/dist/react/components/Group.d.ts +0 -31
  73. package/dist/react/components/Group.d.ts.map +0 -1
  74. package/dist/react/components/Halftone.d.ts +0 -31
  75. package/dist/react/components/Halftone.d.ts.map +0 -1
  76. package/dist/react/components/HueShift.d.ts +0 -31
  77. package/dist/react/components/HueShift.d.ts.map +0 -1
  78. package/dist/react/components/ImageTexture.d.ts +0 -31
  79. package/dist/react/components/ImageTexture.d.ts.map +0 -1
  80. package/dist/react/components/Invert.d.ts +0 -31
  81. package/dist/react/components/Invert.d.ts.map +0 -1
  82. package/dist/react/components/LinearBlur.d.ts +0 -31
  83. package/dist/react/components/LinearBlur.d.ts.map +0 -1
  84. package/dist/react/components/LinearGradient.d.ts +0 -31
  85. package/dist/react/components/LinearGradient.d.ts.map +0 -1
  86. package/dist/react/components/Liquify.d.ts +0 -31
  87. package/dist/react/components/Liquify.d.ts.map +0 -1
  88. package/dist/react/components/Mirror.d.ts +0 -29
  89. package/dist/react/components/Mirror.d.ts.map +0 -1
  90. package/dist/react/components/PerlinNoise.d.ts +0 -29
  91. package/dist/react/components/PerlinNoise.d.ts.map +0 -1
  92. package/dist/react/components/Pixelate.d.ts +0 -31
  93. package/dist/react/components/Pixelate.d.ts.map +0 -1
  94. package/dist/react/components/PolarCoordinates.d.ts +0 -31
  95. package/dist/react/components/PolarCoordinates.d.ts.map +0 -1
  96. package/dist/react/components/Posterize.d.ts +0 -31
  97. package/dist/react/components/Posterize.d.ts.map +0 -1
  98. package/dist/react/components/ProgressiveBlur.d.ts +0 -31
  99. package/dist/react/components/ProgressiveBlur.d.ts.map +0 -1
  100. package/dist/react/components/RadialBlur.d.ts +0 -29
  101. package/dist/react/components/RadialBlur.d.ts.map +0 -1
  102. package/dist/react/components/RadialGradient.d.ts +0 -31
  103. package/dist/react/components/RadialGradient.d.ts.map +0 -1
  104. package/dist/react/components/RectangularCoordinates.d.ts +0 -31
  105. package/dist/react/components/RectangularCoordinates.d.ts.map +0 -1
  106. package/dist/react/components/Ripples.d.ts +0 -31
  107. package/dist/react/components/Ripples.d.ts.map +0 -1
  108. package/dist/react/components/Saturation.d.ts +0 -31
  109. package/dist/react/components/Saturation.d.ts.map +0 -1
  110. package/dist/react/components/SimplexNoise.d.ts +0 -31
  111. package/dist/react/components/SimplexNoise.d.ts.map +0 -1
  112. package/dist/react/components/SineWave.d.ts +0 -31
  113. package/dist/react/components/SineWave.d.ts.map +0 -1
  114. package/dist/react/components/SolidColor.d.ts +0 -31
  115. package/dist/react/components/SolidColor.d.ts.map +0 -1
  116. package/dist/react/components/Spiral.d.ts +0 -31
  117. package/dist/react/components/Spiral.d.ts.map +0 -1
  118. package/dist/react/components/Strands.d.ts +0 -31
  119. package/dist/react/components/Strands.d.ts.map +0 -1
  120. package/dist/react/components/Stretch.d.ts +0 -31
  121. package/dist/react/components/Stretch.d.ts.map +0 -1
  122. package/dist/react/components/Swirl.d.ts +0 -31
  123. package/dist/react/components/Swirl.d.ts.map +0 -1
  124. package/dist/react/components/TiltShift.d.ts +0 -31
  125. package/dist/react/components/TiltShift.d.ts.map +0 -1
  126. package/dist/react/components/Tint.d.ts +0 -29
  127. package/dist/react/components/Tint.d.ts.map +0 -1
  128. package/dist/react/components/Tritone.d.ts +0 -31
  129. package/dist/react/components/Tritone.d.ts.map +0 -1
  130. package/dist/react/components/Twirl.d.ts +0 -31
  131. package/dist/react/components/Twirl.d.ts.map +0 -1
  132. package/dist/react/components/VCR.d.ts +0 -29
  133. package/dist/react/components/VCR.d.ts.map +0 -1
  134. package/dist/react/components/Vibrance.d.ts +0 -31
  135. package/dist/react/components/Vibrance.d.ts.map +0 -1
  136. package/dist/react/components/Vignette.d.ts +0 -29
  137. package/dist/react/components/Vignette.d.ts.map +0 -1
  138. package/dist/react/components/Voronoi.d.ts +0 -29
  139. package/dist/react/components/Voronoi.d.ts.map +0 -1
  140. package/dist/react/components/WaveDistortion.d.ts +0 -31
  141. package/dist/react/components/WaveDistortion.d.ts.map +0 -1
  142. package/dist/react/components/ZoomBlur.d.ts +0 -31
  143. package/dist/react/components/ZoomBlur.d.ts.map +0 -1
  144. package/dist/react/index.d.ts +0 -56
  145. package/dist/react/index.d.ts.map +0 -1
  146. package/dist/react/utils/generatePresetCode.d.ts.map +0 -1
  147. package/dist/svelte/components/ColorMapping.svelte.d.ts +0 -17
  148. package/dist/svelte/components/Exposure.svelte.d.ts +0 -17
  149. package/dist/svelte/components/Glass.svelte.d.ts +0 -19
  150. package/dist/svelte/components/Glitch.svelte.d.ts +0 -17
  151. package/dist/svelte/components/Mirror.svelte.d.ts +0 -17
  152. package/dist/svelte/components/PerlinNoise.svelte.d.ts +0 -17
  153. package/dist/svelte/components/RadialBlur.svelte.d.ts +0 -17
  154. package/dist/svelte/components/Tint.svelte.d.ts +0 -17
  155. package/dist/svelte/components/VCR.svelte.d.ts +0 -17
  156. package/dist/svelte/components/Vignette.svelte.d.ts +0 -17
  157. package/dist/svelte/components/Voronoi.svelte.d.ts +0 -17
  158. package/dist/vue/codegen.d.ts +0 -1
  159. package/dist/vue/components/AngularBlur.vue.d.ts +0 -57
  160. package/dist/vue/components/AngularBlur.vue.d.ts.map +0 -1
  161. package/dist/vue/components/Ascii.vue.d.ts +0 -57
  162. package/dist/vue/components/Ascii.vue.d.ts.map +0 -1
  163. package/dist/vue/components/Blob.vue.d.ts +0 -57
  164. package/dist/vue/components/Blob.vue.d.ts.map +0 -1
  165. package/dist/vue/components/Blur.vue.d.ts +0 -57
  166. package/dist/vue/components/Blur.vue.d.ts.map +0 -1
  167. package/dist/vue/components/Bulge.vue.d.ts +0 -57
  168. package/dist/vue/components/Bulge.vue.d.ts.map +0 -1
  169. package/dist/vue/components/CRTScreen.vue.d.ts +0 -57
  170. package/dist/vue/components/CRTScreen.vue.d.ts.map +0 -1
  171. package/dist/vue/components/ChannelBlur.vue.d.ts +0 -57
  172. package/dist/vue/components/ChannelBlur.vue.d.ts.map +0 -1
  173. package/dist/vue/components/Checkerboard.vue.d.ts +0 -57
  174. package/dist/vue/components/Checkerboard.vue.d.ts.map +0 -1
  175. package/dist/vue/components/ChromaFlow.vue.d.ts +0 -57
  176. package/dist/vue/components/ChromaFlow.vue.d.ts.map +0 -1
  177. package/dist/vue/components/ChromaticAberration.vue.d.ts +0 -57
  178. package/dist/vue/components/ChromaticAberration.vue.d.ts.map +0 -1
  179. package/dist/vue/components/Circle.vue.d.ts +0 -57
  180. package/dist/vue/components/Circle.vue.d.ts.map +0 -1
  181. package/dist/vue/components/CursorTrail.vue.d.ts +0 -57
  182. package/dist/vue/components/CursorTrail.vue.d.ts.map +0 -1
  183. package/dist/vue/components/DiffuseBlur.vue.d.ts +0 -57
  184. package/dist/vue/components/DiffuseBlur.vue.d.ts.map +0 -1
  185. package/dist/vue/components/Dither.vue.d.ts +0 -57
  186. package/dist/vue/components/Dither.vue.d.ts.map +0 -1
  187. package/dist/vue/components/DotGrid.vue.d.ts +0 -57
  188. package/dist/vue/components/DotGrid.vue.d.ts.map +0 -1
  189. package/dist/vue/components/Duotone.vue.d.ts +0 -57
  190. package/dist/vue/components/Duotone.vue.d.ts.map +0 -1
  191. package/dist/vue/components/FilmGrain.vue.d.ts +0 -57
  192. package/dist/vue/components/FilmGrain.vue.d.ts.map +0 -1
  193. package/dist/vue/components/FloatingParticles.vue.d.ts +0 -57
  194. package/dist/vue/components/FloatingParticles.vue.d.ts.map +0 -1
  195. package/dist/vue/components/GlassTiles.vue.d.ts +0 -57
  196. package/dist/vue/components/GlassTiles.vue.d.ts.map +0 -1
  197. package/dist/vue/components/Glow.vue.d.ts +0 -57
  198. package/dist/vue/components/Glow.vue.d.ts.map +0 -1
  199. package/dist/vue/components/Godrays.vue.d.ts +0 -57
  200. package/dist/vue/components/Godrays.vue.d.ts.map +0 -1
  201. package/dist/vue/components/Grayscale.vue.d.ts +0 -57
  202. package/dist/vue/components/Grayscale.vue.d.ts.map +0 -1
  203. package/dist/vue/components/Grid.vue.d.ts +0 -57
  204. package/dist/vue/components/Grid.vue.d.ts.map +0 -1
  205. package/dist/vue/components/GridDistortion.vue.d.ts +0 -57
  206. package/dist/vue/components/GridDistortion.vue.d.ts.map +0 -1
  207. package/dist/vue/components/Group.vue.d.ts +0 -57
  208. package/dist/vue/components/Group.vue.d.ts.map +0 -1
  209. package/dist/vue/components/HalfTone.vue.d.ts +0 -57
  210. package/dist/vue/components/HalfTone.vue.d.ts.map +0 -1
  211. package/dist/vue/components/HueShift.vue.d.ts +0 -57
  212. package/dist/vue/components/HueShift.vue.d.ts.map +0 -1
  213. package/dist/vue/components/ImageTexture.vue.d.ts +0 -57
  214. package/dist/vue/components/ImageTexture.vue.d.ts.map +0 -1
  215. package/dist/vue/components/Invert.vue.d.ts +0 -57
  216. package/dist/vue/components/Invert.vue.d.ts.map +0 -1
  217. package/dist/vue/components/LinearBlur.vue.d.ts +0 -57
  218. package/dist/vue/components/LinearBlur.vue.d.ts.map +0 -1
  219. package/dist/vue/components/LinearGradient.vue.d.ts +0 -57
  220. package/dist/vue/components/LinearGradient.vue.d.ts.map +0 -1
  221. package/dist/vue/components/Liquify.vue.d.ts +0 -57
  222. package/dist/vue/components/Liquify.vue.d.ts.map +0 -1
  223. package/dist/vue/components/Pixelate.vue.d.ts +0 -57
  224. package/dist/vue/components/Pixelate.vue.d.ts.map +0 -1
  225. package/dist/vue/components/PolarCoordinates.vue.d.ts +0 -57
  226. package/dist/vue/components/PolarCoordinates.vue.d.ts.map +0 -1
  227. package/dist/vue/components/Posterize.vue.d.ts +0 -57
  228. package/dist/vue/components/Posterize.vue.d.ts.map +0 -1
  229. package/dist/vue/components/ProgressiveBlur.vue.d.ts +0 -57
  230. package/dist/vue/components/ProgressiveBlur.vue.d.ts.map +0 -1
  231. package/dist/vue/components/RadialGradient.vue.d.ts +0 -57
  232. package/dist/vue/components/RadialGradient.vue.d.ts.map +0 -1
  233. package/dist/vue/components/RectangularCoordinates.vue.d.ts +0 -57
  234. package/dist/vue/components/RectangularCoordinates.vue.d.ts.map +0 -1
  235. package/dist/vue/components/Ripples.vue.d.ts +0 -57
  236. package/dist/vue/components/Ripples.vue.d.ts.map +0 -1
  237. package/dist/vue/components/Saturation.vue.d.ts +0 -57
  238. package/dist/vue/components/Saturation.vue.d.ts.map +0 -1
  239. package/dist/vue/components/SimplexNoise.vue.d.ts +0 -57
  240. package/dist/vue/components/SimplexNoise.vue.d.ts.map +0 -1
  241. package/dist/vue/components/SineWave.vue.d.ts +0 -57
  242. package/dist/vue/components/SineWave.vue.d.ts.map +0 -1
  243. package/dist/vue/components/SolidColor.vue.d.ts +0 -57
  244. package/dist/vue/components/SolidColor.vue.d.ts.map +0 -1
  245. package/dist/vue/components/Spiral.vue.d.ts +0 -57
  246. package/dist/vue/components/Spiral.vue.d.ts.map +0 -1
  247. package/dist/vue/components/Strands.vue.d.ts +0 -57
  248. package/dist/vue/components/Strands.vue.d.ts.map +0 -1
  249. package/dist/vue/components/Stretch.vue.d.ts +0 -57
  250. package/dist/vue/components/Stretch.vue.d.ts.map +0 -1
  251. package/dist/vue/components/Swirl.vue.d.ts +0 -57
  252. package/dist/vue/components/Swirl.vue.d.ts.map +0 -1
  253. package/dist/vue/components/TiltShift.vue.d.ts +0 -57
  254. package/dist/vue/components/TiltShift.vue.d.ts.map +0 -1
  255. package/dist/vue/components/Tritone.vue.d.ts +0 -57
  256. package/dist/vue/components/Tritone.vue.d.ts.map +0 -1
  257. package/dist/vue/components/Twirl.vue.d.ts +0 -57
  258. package/dist/vue/components/Twirl.vue.d.ts.map +0 -1
  259. package/dist/vue/components/Vibrance.vue.d.ts +0 -57
  260. package/dist/vue/components/Vibrance.vue.d.ts.map +0 -1
  261. package/dist/vue/components/WaveDistortion.vue.d.ts +0 -57
  262. package/dist/vue/components/WaveDistortion.vue.d.ts.map +0 -1
  263. package/dist/vue/components/ZoomBlur.vue.d.ts +0 -57
  264. package/dist/vue/components/ZoomBlur.vue.d.ts.map +0 -1
  265. package/dist/vue/generatePresetCode-DoYZnbEH.js +0 -613
  266. package/dist/vue/index.d.ts +0 -56
  267. package/dist/vue/index.d.ts.map +0 -1
  268. package/dist/vue/utils/generatePresetCode.d.ts +0 -13
  269. package/dist/vue/utils/generatePresetCode.d.ts.map +0 -1
  270. /package/dist/svelte/components/{HalfTone.svelte.d.ts → Halftone.svelte.d.ts} +0 -0
@@ -1,611 +1,5 @@
1
- const d = {
2
- AngularBlur: {
3
- opacity: 1,
4
- blendMode: "normal",
5
- intensity: 20,
6
- center: {
7
- x: 0.5,
8
- y: 0.5
9
- }
10
- },
11
- Ascii: {
12
- opacity: 1,
13
- blendMode: "normal",
14
- characters: "@%#*+=-:.",
15
- cellSize: 30,
16
- fontFamily: "JetBrains Mono",
17
- spacing: 1
18
- },
19
- Blob: {
20
- opacity: 1,
21
- blendMode: "normal",
22
- colorA: "#ff6b35",
23
- colorB: "#e91e63",
24
- size: 0.5,
25
- deformation: 0.5,
26
- softness: 0.5,
27
- highlightIntensity: 0.5,
28
- highlightX: 0.3,
29
- highlightY: -0.3,
30
- highlightZ: 0.4,
31
- highlightColor: "#ffe11a",
32
- speed: 0.5,
33
- seed: 1,
34
- center: {
35
- x: 0.5,
36
- y: 0.5
37
- },
38
- colorSpace: "linear"
39
- },
40
- Blur: {
41
- opacity: 1,
42
- blendMode: "normal",
43
- intensity: 50
44
- },
45
- Bulge: {
46
- opacity: 1,
47
- blendMode: "normal",
48
- center: {
49
- x: 0.5,
50
- y: 0.5
51
- },
52
- strength: 1,
53
- radius: 1,
54
- falloff: 0.5,
55
- edges: "stretch"
56
- },
57
- ChannelBlur: {
58
- opacity: 1,
59
- blendMode: "normal",
60
- redIntensity: 0,
61
- greenIntensity: 20,
62
- blueIntensity: 40
63
- },
64
- Checkerboard: {
65
- opacity: 1,
66
- blendMode: "normal",
67
- colorA: "#cccccc",
68
- colorB: "#999999",
69
- cells: 8,
70
- softness: 0,
71
- colorSpace: "linear"
72
- },
73
- ChromaFlow: {
74
- opacity: 1,
75
- blendMode: "normal",
76
- baseColor: "#0066ff",
77
- upColor: "#00ff00",
78
- downColor: "#ff0000",
79
- leftColor: "#0000ff",
80
- rightColor: "#ffff00",
81
- intensity: 1,
82
- radius: 2,
83
- momentum: 30
84
- },
85
- ChromaticAberration: {
86
- opacity: 1,
87
- blendMode: "normal",
88
- strength: 0.2,
89
- angle: 0,
90
- redOffset: -1,
91
- greenOffset: 0,
92
- blueOffset: 1
93
- },
94
- Circle: {
95
- opacity: 1,
96
- blendMode: "normal",
97
- color: "#ffffff",
98
- radius: 1,
99
- softness: 0,
100
- center: {
101
- x: 0.5,
102
- y: 0.5
103
- }
104
- },
105
- CRTScreen: {
106
- opacity: 1,
107
- blendMode: "normal",
108
- pixelSize: 128,
109
- colorShift: 1,
110
- scanlineIntensity: 0.3,
111
- scanlineFrequency: 200,
112
- brightness: 1.1,
113
- contrast: 1.2
114
- },
115
- CursorTrail: {
116
- opacity: 1,
117
- blendMode: "normal",
118
- colorA: "#00aaff",
119
- colorB: "#ff00aa",
120
- radius: 0.5,
121
- length: 0.5,
122
- shrink: 1,
123
- colorSpace: "linear"
124
- },
125
- DiffuseBlur: {
126
- opacity: 1,
127
- blendMode: "normal",
128
- intensity: 30
129
- },
130
- Dither: {
131
- opacity: 1,
132
- blendMode: "normal",
133
- pixelSize: 4,
134
- threshold: 0.5,
135
- colorA: "transparent",
136
- colorB: "#ffffff"
137
- },
138
- DotGrid: {
139
- opacity: 1,
140
- blendMode: "normal",
141
- color: "#ffffff",
142
- density: 100,
143
- dotSize: 0.3,
144
- twinkle: 0
145
- },
146
- Duotone: {
147
- opacity: 1,
148
- blendMode: "normal",
149
- colorA: "#ff0000",
150
- colorB: "#023af4",
151
- blend: 0.5,
152
- colorSpace: "linear"
153
- },
154
- FilmGrain: {
155
- opacity: 1,
156
- blendMode: "normal",
157
- strength: 0.5
158
- },
159
- FloatingParticles: {
160
- opacity: 1,
161
- blendMode: "normal",
162
- randomness: 0.25,
163
- speed: 0.25,
164
- angle: 90,
165
- particleSize: 1,
166
- particleSoftness: 0,
167
- twinkle: 0.5,
168
- count: 5,
169
- particleColor: "#ffffff",
170
- speedVariance: 0.3,
171
- angleVariance: 30,
172
- particleDensity: 3
173
- },
174
- GlassTiles: {
175
- opacity: 1,
176
- blendMode: "normal",
177
- intensity: 1,
178
- tileCount: 100
179
- },
180
- Glow: {
181
- opacity: 1,
182
- blendMode: "normal",
183
- intensity: 1,
184
- threshold: 0.5,
185
- size: 10
186
- },
187
- Godrays: {
188
- opacity: 1,
189
- blendMode: "normal",
190
- center: {
191
- x: 0,
192
- y: 0
193
- },
194
- density: 0.3,
195
- intensity: 0.8,
196
- spotty: 1,
197
- speed: 0.5,
198
- rayColor: "#4283fb",
199
- backgroundColor: "transparent"
200
- },
201
- Grid: {
202
- opacity: 1,
203
- blendMode: "normal",
204
- color: "#ffffff",
205
- cells: 10,
206
- thickness: 1
207
- },
208
- GridDistortion: {
209
- opacity: 1,
210
- blendMode: "normal",
211
- intensity: 1,
212
- swirl: 0,
213
- decay: 3,
214
- radius: 1,
215
- gridSize: 20,
216
- edges: "stretch"
217
- },
218
- Halftone: {
219
- opacity: 1,
220
- blendMode: "normal",
221
- frequency: 100,
222
- angle: 45,
223
- smoothness: 0.1
224
- },
225
- HueShift: {
226
- opacity: 1,
227
- blendMode: "normal",
228
- shift: 0
229
- },
230
- ImageTexture: {
231
- opacity: 1,
232
- blendMode: "normal",
233
- url: "https://shaders.com/sample.jpg",
234
- objectFit: "cover"
235
- },
236
- LinearBlur: {
237
- opacity: 1,
238
- blendMode: "normal",
239
- intensity: 30,
240
- angle: 0
241
- },
242
- LinearGradient: {
243
- opacity: 1,
244
- blendMode: "normal",
245
- colorA: "#1aff00",
246
- colorB: "#0000ff",
247
- start: {
248
- x: 0,
249
- y: 0.5
250
- },
251
- end: {
252
- x: 1,
253
- y: 0.5
254
- },
255
- angle: 0,
256
- edges: "stretch",
257
- colorSpace: "linear"
258
- },
259
- Liquify: {
260
- opacity: 1,
261
- blendMode: "normal",
262
- intensity: 1,
263
- swirl: 0,
264
- decay: 3,
265
- radius: 1,
266
- edges: "stretch"
267
- },
268
- Pixelate: {
269
- opacity: 1,
270
- blendMode: "normal",
271
- scale: 50
272
- },
273
- PolarCoordinates: {
274
- opacity: 1,
275
- blendMode: "normal",
276
- center: {
277
- x: 0.5,
278
- y: 0.5
279
- },
280
- wrap: 1,
281
- radius: 1,
282
- intensity: 1,
283
- edges: "transparent"
284
- },
285
- Posterize: {
286
- opacity: 1,
287
- blendMode: "normal",
288
- intensity: 5
289
- },
290
- ProgressiveBlur: {
291
- opacity: 1,
292
- blendMode: "normal",
293
- intensity: 50,
294
- angle: 0,
295
- center: {
296
- x: 0,
297
- y: 0.5
298
- },
299
- falloff: 1
300
- },
301
- RadialGradient: {
302
- opacity: 1,
303
- blendMode: "normal",
304
- colorA: "#ff0000",
305
- colorB: "#0000ff",
306
- center: {
307
- x: 0.5,
308
- y: 0.5
309
- },
310
- radius: 1,
311
- colorSpace: "linear"
312
- },
313
- RectangularCoordinates: {
314
- opacity: 1,
315
- blendMode: "normal",
316
- center: {
317
- x: 0.5,
318
- y: 0.5
319
- },
320
- scale: 1,
321
- intensity: 1,
322
- edges: "transparent"
323
- },
324
- Ripples: {
325
- opacity: 1,
326
- blendMode: "normal",
327
- center: {
328
- x: 0.5,
329
- y: 0.5
330
- },
331
- colorA: "#ffffff",
332
- colorB: "#000000",
333
- speed: 1,
334
- frequency: 20,
335
- softness: 0,
336
- thickness: 0.5,
337
- phase: 0
338
- },
339
- Saturation: {
340
- opacity: 1,
341
- blendMode: "normal",
342
- intensity: 1
343
- },
344
- SimplexNoise: {
345
- opacity: 1,
346
- blendMode: "normal",
347
- colorA: "#ffffff",
348
- colorB: "#000000",
349
- scale: 2,
350
- balance: 0,
351
- contrast: 0,
352
- seed: 0,
353
- speed: 1
354
- },
355
- SineWave: {
356
- opacity: 1,
357
- blendMode: "normal",
358
- color: "#ffffff",
359
- amplitude: 0.15,
360
- frequency: 1,
361
- speed: 1,
362
- angle: 0,
363
- position: {
364
- x: 0.5,
365
- y: 0.5
366
- },
367
- thickness: 0.2,
368
- softness: 0.4
369
- },
370
- SolidColor: {
371
- opacity: 1,
372
- blendMode: "normal",
373
- color: "#5b18ca"
374
- },
375
- Spiral: {
376
- opacity: 1,
377
- blendMode: "normal",
378
- colorA: "#000000",
379
- colorB: "#ffffff",
380
- strokeWidth: 0.5,
381
- strokeFalloff: 0,
382
- softness: 0,
383
- speed: 1,
384
- center: {
385
- x: 0.5,
386
- y: 0.5
387
- },
388
- scale: 1,
389
- colorSpace: "linear"
390
- },
391
- Strands: {
392
- opacity: 1,
393
- blendMode: "normal",
394
- speed: 0.5,
395
- amplitude: 1,
396
- frequency: 1,
397
- lineCount: 12,
398
- lineWidth: 0.1,
399
- waveColor: "#f1c907",
400
- pinEdges: !0,
401
- start: {
402
- x: 0,
403
- y: 0.5
404
- },
405
- end: {
406
- x: 1,
407
- y: 0.5
408
- }
409
- },
410
- Stretch: {
411
- opacity: 1,
412
- blendMode: "normal",
413
- center: {
414
- x: 0.5,
415
- y: 0.5
416
- },
417
- strength: 0.5,
418
- angle: 0,
419
- falloff: 0.5,
420
- edges: "stretch"
421
- },
422
- Swirl: {
423
- opacity: 1,
424
- blendMode: "normal",
425
- colorA: "#1275d8",
426
- colorB: "#e19136",
427
- speed: 1,
428
- detail: 1,
429
- blend: 50,
430
- coarseX: 50,
431
- coarseY: 50,
432
- mediumX: 50,
433
- mediumY: 50,
434
- fineX: 50,
435
- fineY: 50,
436
- colorSpace: "linear"
437
- },
438
- TiltShift: {
439
- opacity: 1,
440
- blendMode: "normal",
441
- intensity: 50,
442
- width: 0.3,
443
- falloff: 0.3,
444
- angle: 0,
445
- center: {
446
- x: 0.5,
447
- y: 0.5
448
- }
449
- },
450
- Tritone: {
451
- opacity: 1,
452
- blendMode: "normal",
453
- colorA: "#ce1bea",
454
- colorB: "#2fff00",
455
- colorC: "#ffff00",
456
- blendMid: 0.5,
457
- colorSpace: "linear"
458
- },
459
- Twirl: {
460
- opacity: 1,
461
- blendMode: "normal",
462
- center: {
463
- x: 0.5,
464
- y: 0.5
465
- },
466
- intensity: 1,
467
- edges: "stretch"
468
- },
469
- Vibrance: {
470
- opacity: 1,
471
- blendMode: "normal",
472
- intensity: 0
473
- },
474
- WaveDistortion: {
475
- opacity: 1,
476
- blendMode: "normal",
477
- strength: 0.3,
478
- frequency: 1,
479
- speed: 1,
480
- angle: 0,
481
- waveType: "sine",
482
- edges: "stretch"
483
- },
484
- ZoomBlur: {
485
- opacity: 1,
486
- blendMode: "normal",
487
- intensity: 30,
488
- center: {
489
- x: 0.5,
490
- y: 0.5
491
- }
492
- },
493
- Grayscale: {
494
- opacity: 1,
495
- blendMode: "normal"
496
- },
497
- Group: {
498
- opacity: 1,
499
- blendMode: "normal"
500
- },
501
- Invert: {
502
- opacity: 1,
503
- blendMode: "normal"
504
- }
505
- };
506
- function f(n, t, i = " ") {
507
- return Object.entries(n).filter(([e, o]) => {
508
- const r = d[t] || {};
509
- if (r.hasOwnProperty(e)) {
510
- const l = r[e];
511
- return typeof o == "object" && typeof l == "object" ? JSON.stringify(o) !== JSON.stringify(l) : o !== l;
512
- }
513
- return !(e === "opacity" && o === 1 || e === "blendMode" && o === "normal");
514
- }).map(([e, o]) => typeof o == "string" ? `${e}="${o}"` : typeof o == "object" ? `${e}={${JSON.stringify(o)}}` : `${e}={${o}}`).join(`
515
- ` + i + " ");
516
- }
517
- function p(n, t) {
518
- const i = [];
519
- function e(o) {
520
- for (const r of o)
521
- i.push(r), r.children && e(r.children);
522
- }
523
- return e(t), i.some(
524
- (o) => o.props?.maskSource === n
525
- );
526
- }
527
- function y(n) {
528
- const t = (e, o = " ") => {
529
- const r = e.props ? f(e.props, e.type, o) : "";
530
- let l = "";
531
- e.id && p(e.id, n.components) && (l = `id="${e.id}"`);
532
- const a = [l, r].filter(Boolean).join(`
533
- ` + o + " ");
534
- if (e.children && e.children.length > 0) {
535
- const s = e.children.map((c) => t(c, o + " ")).join(`
536
- `);
537
- return a ? `${o}<${e.type}
538
- ${o} ${a}>
539
- ${s}
540
- ${o}</${e.type}>` : `${o}<${e.type}>
541
- ${s}
542
- ${o}</${e.type}>`;
543
- } else
544
- return a ? `${o}<${e.type}
545
- ${o} ${a} />` : `${o}<${e.type} />`;
546
- };
547
- return `<Shader>
548
- ${n.components.map((e) => t(e)).join(`
549
- `)}
550
- </Shader>`;
551
- }
552
- const m = [
553
- // @ts-ignore - replaced at build time
554
- "AngularBlur",
555
- "Ascii",
556
- "Blob",
557
- "Blur",
558
- "Bulge",
559
- "CRTScreen",
560
- "ChannelBlur",
561
- "Checkerboard",
562
- "ChromaFlow",
563
- "ChromaticAberration",
564
- "Circle",
565
- "CursorTrail",
566
- "DiffuseBlur",
567
- "Dither",
568
- "DotGrid",
569
- "Duotone",
570
- "FilmGrain",
571
- "FloatingParticles",
572
- "GlassTiles",
573
- "Glow",
574
- "Godrays",
575
- "Grayscale",
576
- "Grid",
577
- "GridDistortion",
578
- "Group",
579
- "Halftone",
580
- "HueShift",
581
- "ImageTexture",
582
- "Invert",
583
- "LinearBlur",
584
- "LinearGradient",
585
- "Liquify",
586
- "Pixelate",
587
- "PolarCoordinates",
588
- "Posterize",
589
- "ProgressiveBlur",
590
- "RadialGradient",
591
- "RectangularCoordinates",
592
- "Ripples",
593
- "Saturation",
594
- "SimplexNoise",
595
- "SineWave",
596
- "SolidColor",
597
- "Spiral",
598
- "Strands",
599
- "Stretch",
600
- "Swirl",
601
- "TiltShift",
602
- "Tritone",
603
- "Twirl",
604
- "Vibrance",
605
- "WaveDistortion",
606
- "ZoomBlur"
607
- ];
1
+ import { n as a, t as o } from "../generatePresetCode-CbulNGo3.js";
608
2
  export {
609
- m as availableComponents,
610
- y as generatePresetCode
3
+ o as availableComponents,
4
+ a as generatePresetCode
611
5
  };