shaders 3.0.446 → 3.0.447

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 (92) hide show
  1. package/dist/cli.js +2 -2
  2. package/dist/core/{BrushedMetal-oyumejLL.js → BrushedMetal-B10fDdGt.js} +1 -11
  3. package/dist/core/{CarbonFiber-xlmnkURv.js → CarbonFiber-DSSARe6R.js} +1 -11
  4. package/dist/core/{Crystal-DQiWDo98.js → Crystal-U7VqhbHy.js} +1 -11
  5. package/dist/core/{Emboss-BM58piL7.js → Emboss-DNwO5JcE.js} +1 -11
  6. package/dist/core/{Frost-DXbXutW7.js → Frost-M53tZlcf.js} +1 -11
  7. package/dist/core/{Glass-Bs3k8LQZ.js → Glass-B9D_52op.js} +1 -11
  8. package/dist/core/{Goo-DdqGyjio.js → Goo-C0_0QYne.js} +1 -11
  9. package/dist/core/{Heatmap-DcLQlFwC.js → Heatmap-CMm8SD-P.js} +1 -11
  10. package/dist/core/{Hologram-B5WCN5pM.js → Hologram-XejRN51V.js} +1 -11
  11. package/dist/core/{Holographic-D7J9TGy7.js → Holographic-D1G_Ou1y.js} +1 -11
  12. package/dist/core/{LightEdge-DVsHIeCo.js → LightEdge-DYfhB3-7.js} +1 -11
  13. package/dist/core/{LiquidMetal-n5Rt5Cw8.js → LiquidMetal-C9OxRyE4.js} +1 -11
  14. package/dist/core/{Neon-BM45ZM25.js → Neon-D9d6Osal.js} +1 -11
  15. package/dist/core/{Particles-BXHm5bgr.js → Particles-BFsKUAPx.js} +1 -11
  16. package/dist/core/{Plastic-B_iHKpZn.js → Plastic-DBv_6A7q.js} +1 -11
  17. package/dist/core/{SmokeFill-zh-Nru2W.js → SmokeFill-CAayneM2.js} +1 -11
  18. package/dist/core/{ThinFilm-B-3lFiX9.js → ThinFilm-DhMKI5e2.js} +1 -11
  19. package/dist/core/{Water-Kuapn7Jy.js → Water-D74wbHmn.js} +1 -11
  20. package/dist/core/gpu/index.d.ts.map +1 -1
  21. package/dist/core/index.js +51 -24
  22. package/dist/core/presetRenderer.d.ts.map +1 -1
  23. package/dist/core/registry.js +20 -20
  24. package/dist/core/{shaderRegistry-D8SCjCln.js → shaderRegistry-D75z2sND.js} +18 -18
  25. package/dist/core/shaders/BrushedMetal/index.d.ts +1 -1
  26. package/dist/core/shaders/BrushedMetal/index.d.ts.map +1 -1
  27. package/dist/core/shaders/BrushedMetal/index.js +2 -2
  28. package/dist/core/shaders/CarbonFiber/index.d.ts +1 -1
  29. package/dist/core/shaders/CarbonFiber/index.d.ts.map +1 -1
  30. package/dist/core/shaders/CarbonFiber/index.js +2 -2
  31. package/dist/core/shaders/Crystal/index.d.ts +1 -1
  32. package/dist/core/shaders/Crystal/index.d.ts.map +1 -1
  33. package/dist/core/shaders/Crystal/index.js +2 -2
  34. package/dist/core/shaders/Emboss/index.d.ts +2 -1
  35. package/dist/core/shaders/Emboss/index.d.ts.map +1 -1
  36. package/dist/core/shaders/Emboss/index.js +2 -2
  37. package/dist/core/shaders/Form3D/index.d.ts +1 -1
  38. package/dist/core/shaders/Form3D/index.d.ts.map +1 -1
  39. package/dist/core/shaders/Frost/index.d.ts +1 -1
  40. package/dist/core/shaders/Frost/index.d.ts.map +1 -1
  41. package/dist/core/shaders/Frost/index.js +2 -2
  42. package/dist/core/shaders/Glass/index.d.ts +3 -1
  43. package/dist/core/shaders/Glass/index.d.ts.map +1 -1
  44. package/dist/core/shaders/Glass/index.js +2 -2
  45. package/dist/core/shaders/Goo/index.d.ts +1 -1
  46. package/dist/core/shaders/Goo/index.d.ts.map +1 -1
  47. package/dist/core/shaders/Goo/index.js +2 -2
  48. package/dist/core/shaders/Heatmap/index.d.ts +1 -1
  49. package/dist/core/shaders/Heatmap/index.d.ts.map +1 -1
  50. package/dist/core/shaders/Heatmap/index.js +2 -2
  51. package/dist/core/shaders/Hologram/index.d.ts +1 -1
  52. package/dist/core/shaders/Hologram/index.d.ts.map +1 -1
  53. package/dist/core/shaders/Hologram/index.js +2 -2
  54. package/dist/core/shaders/Holographic/index.d.ts +1 -1
  55. package/dist/core/shaders/Holographic/index.d.ts.map +1 -1
  56. package/dist/core/shaders/Holographic/index.js +2 -2
  57. package/dist/core/shaders/LightEdge/index.d.ts +1 -1
  58. package/dist/core/shaders/LightEdge/index.d.ts.map +1 -1
  59. package/dist/core/shaders/LightEdge/index.js +2 -2
  60. package/dist/core/shaders/LiquidMetal/index.d.ts +1 -1
  61. package/dist/core/shaders/LiquidMetal/index.d.ts.map +1 -1
  62. package/dist/core/shaders/LiquidMetal/index.js +2 -2
  63. package/dist/core/shaders/Neon/index.d.ts +2 -1
  64. package/dist/core/shaders/Neon/index.d.ts.map +1 -1
  65. package/dist/core/shaders/Neon/index.js +2 -2
  66. package/dist/core/shaders/Particles/index.d.ts +1 -1
  67. package/dist/core/shaders/Particles/index.d.ts.map +1 -1
  68. package/dist/core/shaders/Particles/index.js +2 -2
  69. package/dist/core/shaders/Plastic/index.d.ts +1 -1
  70. package/dist/core/shaders/Plastic/index.d.ts.map +1 -1
  71. package/dist/core/shaders/Plastic/index.js +2 -2
  72. package/dist/core/shaders/SmokeFill/index.d.ts +1 -1
  73. package/dist/core/shaders/SmokeFill/index.d.ts.map +1 -1
  74. package/dist/core/shaders/SmokeFill/index.js +2 -2
  75. package/dist/core/shaders/ThinFilm/index.d.ts +2 -1
  76. package/dist/core/shaders/ThinFilm/index.d.ts.map +1 -1
  77. package/dist/core/shaders/ThinFilm/index.js +2 -2
  78. package/dist/core/shaders/Water/index.d.ts +1 -1
  79. package/dist/core/shaders/Water/index.d.ts.map +1 -1
  80. package/dist/core/shaders/Water/index.js +2 -2
  81. package/dist/core/{shapeEffectBounds-Dht8uIRl.js → shapeEffectBounds-PQqKLQXO.js} +15 -1
  82. package/dist/core/utilities/shapeEffectBounds.d.ts +8 -0
  83. package/dist/core/utilities/shapeEffectBounds.d.ts.map +1 -1
  84. package/dist/js/bundle.js +151 -151
  85. package/dist/js/createShader.js +1 -1
  86. package/dist/react/Shader.js +1 -1
  87. package/dist/react/bundle.js +150 -150
  88. package/dist/solid/engine/Shader.js +1 -1
  89. package/dist/svelte/index.js +1 -1
  90. package/dist/svelte/source/index.js +0 -1
  91. package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
  92. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import { $t as resolveBoundingBox, Cn as FieldHandle, Dt as packConvertedStops, En as updateFieldValue, Ot as packStops, Qt as isIdentityBoundingBox, S as maxPixelRatioForDevice, Ut as collectStructuralHashInputs, Wt as composeNodeTree, Y as createComputeDispatcher, Zt as DEFAULT_BOUNDING_BOX, en as boundingBoxToUVParams, kt as getAnimatedTimeState, nn as screenUVToBoxLocal$1, t as SystemUniforms, tn as needsTransformation, wn as createUniformStore, zt as SHARED_SAMPLER_LAYOUT } from "./coords-BkIjixe_.js";
2
2
  import { a as getWebGPUSupport, c as isWebGPUSupported, i as getGpuUnusableReason, l as markGpuUnusable, n as debugError, o as isGpuUnavailableError, r as debugWarn, s as isShadersDebug, t as GpuUnavailableError, u as setShadersDebug } from "./support-6QRFK3xB.js";
3
3
  import "./glass-sOqjtPJD.js";
4
- import "./Neon-BM45ZM25.js";
5
- import "./Emboss-BM58piL7.js";
4
+ import "./Neon-D9d6Osal.js";
5
+ import "./Emboss-DNwO5JcE.js";
6
6
  import "./Form3D-D4aXZGoJ.js";
7
- import "./ThinFilm-B-3lFiX9.js";
7
+ import "./ThinFilm-DhMKI5e2.js";
8
8
  import { o as transformColorSpace } from "./transformations-t0d2-uSX.js";
9
9
  import { _ as resolveStops, a as boxHalfExtentsUV, c as isDimensionalProp, d as setShaderCanvasDimensions, f as colorToRGBA, g as colorStopsTransform, i as bindingSizePx, l as isDimensionalValue, m as MAX_COLOR_STOPS, n as rootPassthrough, o as buildDimensionalPlan, p as setColorSpaceModeGpu, r as createGpuUniformsMap, s as buildExtraSizeProps, u as resolveDimensionalProp, v as sortStops } from "./porters-BmU6G9TR.js";
10
10
  import { n as onNaturalSizeChange, r as registerNaturalSize, t as getNaturalSize } from "./naturalSize-Caz3-kRv.js";
@@ -26,10 +26,10 @@ import "./Boids-B8QUNxRL.js";
26
26
  import "./BokehBlur-B5fql96U.js";
27
27
  import "./BrickPattern-EAD5HD4e.js";
28
28
  import "./BrightnessContrast-mbv32DkA.js";
29
- import { a as SVG3D_TYPES, c as isVolumetricShapeType, i as SVG3D_DEFAULTS, l as shape3dBoundingRadius, n as SHAPE3D_DEFAULTS, o as is3dShapeType, r as SHAPE3D_TYPES, s as isSvg3dShapeType } from "./shapeEffectBounds-Dht8uIRl.js";
30
- import "./BrushedMetal-oyumejLL.js";
29
+ import { a as SVG3D_DEFAULTS, c as isSvg3dShapeType, i as SHAPE3D_TYPES, l as isVolumetricShapeType, o as SVG3D_TYPES, r as SHAPE3D_DEFAULTS, s as is3dShapeType, u as shape3dBoundingRadius } from "./shapeEffectBounds-PQqKLQXO.js";
30
+ import "./BrushedMetal-B10fDdGt.js";
31
31
  import "./Bulge-C1Pq4DHk.js";
32
- import "./CarbonFiber-xlmnkURv.js";
32
+ import "./CarbonFiber-DSSARe6R.js";
33
33
  import "./Chalkboard-C7srb54u.js";
34
34
  import "./ChannelBlur-DE3T4-pj.js";
35
35
  import "./Checkerboard-oVWtS0rz.js";
@@ -47,7 +47,7 @@ import "./CornerPin-wtqiMUCa.js";
47
47
  import "./Crescent-Co__JqEE.js";
48
48
  import "./Cross-CFytbdrZ.js";
49
49
  import "./CRTScreen-Ctx0Mxtb.js";
50
- import "./Crystal-DQiWDo98.js";
50
+ import "./Crystal-U7VqhbHy.js";
51
51
  import "./CurlNoise-BXWYh1Qi.js";
52
52
  import "./CursorRipples-APbH7SVR.js";
53
53
  import "./CursorTrail-D5Fj0wGp.js";
@@ -75,14 +75,14 @@ import "./FlowingGradient-9Zu0Pu4a.js";
75
75
  import "./FlutedGlass-C_clmShu.js";
76
76
  import "./Fog-C_kY5pWB.js";
77
77
  import "./FractalNoise-mMVLGmIv.js";
78
- import "./Frost-DXbXutW7.js";
78
+ import "./Frost-M53tZlcf.js";
79
79
  import "./GaborNoise-BhXywN1d.js";
80
- import "./Glass-Bs3k8LQZ.js";
80
+ import "./Glass-B9D_52op.js";
81
81
  import "./GlassTiles-DIkGYgVE.js";
82
82
  import "./Glitch-CUOJt5VX.js";
83
83
  import "./Glow-D5AdnLvU.js";
84
84
  import "./Godrays-BeQCWVw7.js";
85
- import "./Goo-DdqGyjio.js";
85
+ import "./Goo-C0_0QYne.js";
86
86
  import "./GradientMap-DOVK05_a.js";
87
87
  import "./Grayscale-Uv_6LYA9.js";
88
88
  import "./Grid-Dbp4DoXZ.js";
@@ -90,10 +90,10 @@ import "./GridDistortion-D_21zIrm.js";
90
90
  import "./Group-DXiB5Qrx.js";
91
91
  import "./Halftone-DszIQsyx.js";
92
92
  import "./Heart-COpnSJPD.js";
93
- import "./Heatmap-DcLQlFwC.js";
93
+ import "./Heatmap-CMm8SD-P.js";
94
94
  import "./HexGrid-B6wNW-45.js";
95
- import "./Hologram-B5WCN5pM.js";
96
- import "./Holographic-D7J9TGy7.js";
95
+ import "./Hologram-XejRN51V.js";
96
+ import "./Holographic-D1G_Ou1y.js";
97
97
  import "./HTMLInCanvas-xXPLTYIv.js";
98
98
  import "./HueShift-BCDgYfJs.js";
99
99
  import "./ImageTexture-BE2Jlkg6.js";
@@ -104,12 +104,12 @@ import "./IsometricCubes-ChKqYTIw.js";
104
104
  import "./Kaleidoscope-C8_-tC6T.js";
105
105
  import "./KeyFrames-xR9ZzHKj.js";
106
106
  import "./LensFlare-DHGNEDIX.js";
107
- import "./LightEdge-DVsHIeCo.js";
107
+ import "./LightEdge-DYfhB3-7.js";
108
108
  import "./LightLeak-CYjuMURe.js";
109
109
  import "./LinearBlur-CV7gKYHV.js";
110
110
  import "./LinearGradient-DAzw65UB.js";
111
111
  import "./LinearWipe-DoDZF7y0.js";
112
- import "./LiquidMetal-n5Rt5Cw8.js";
112
+ import "./LiquidMetal-C9OxRyE4.js";
113
113
  import "./Liquify-gNsuR7aA.js";
114
114
  import "./MagneticFilings-CQ7zHEow.js";
115
115
  import "./Marble-BSSMSrv8.js";
@@ -123,14 +123,14 @@ import "./Paper-LfukraJk.js";
123
123
  import "./Parallelogram-DBi0yAG3.js";
124
124
  import "./ParticleField-q7COY9YT.js";
125
125
  import "./ParticleFlow-DiHWbIon.js";
126
- import "./Particles-BXHm5bgr.js";
126
+ import "./Particles-BFsKUAPx.js";
127
127
  import "./PerlinNoise-KV2GG0ts.js";
128
128
  import "./Perspective-CJSrtEy5.js";
129
129
  import "./Pixelate-XJI9f1oT.js";
130
130
  import "./PixelSort-WD-Y6ZFu.js";
131
131
  import "./PixelThrow-CnOXm7Hv.js";
132
132
  import "./Plasma-C0dnSaw1.js";
133
- import "./Plastic-B_iHKpZn.js";
133
+ import "./Plastic-DBv_6A7q.js";
134
134
  import "./PolarCoordinates-B8Cq2bzT.js";
135
135
  import "./Polygon-ORM35JKg.js";
136
136
  import "./Posterize-Dn-Vv2S1.js";
@@ -155,7 +155,7 @@ import "./SimplexNoise-C2vmRzgy.js";
155
155
  import "./SineWave-BGAJyGFr.js";
156
156
  import "./SliceWipe-BOcCk5Se.js";
157
157
  import "./Smoke-B1twbhQ4.js";
158
- import "./SmokeFill-zh-Nru2W.js";
158
+ import "./SmokeFill-CAayneM2.js";
159
159
  import "./SmokeFlow-Ug8difAz.js";
160
160
  import "./Solarize-205KKROH.js";
161
161
  import "./SolidColor-B4pj8onb.js";
@@ -188,7 +188,7 @@ import "./Vibrance-qWGvLkrW.js";
188
188
  import "./VideoTexture-48ylVDvN.js";
189
189
  import "./Vignette-CK_Li7v2.js";
190
190
  import "./Voronoi-DMYFDwIS.js";
191
- import "./Water-Kuapn7Jy.js";
191
+ import "./Water-D74wbHmn.js";
192
192
  import "./Watercolor-zo8-4Vqx.js";
193
193
  import "./WaveDistortion-BLrvGOzF.js";
194
194
  import "./WaveletNoise-a5OpO8-D.js";
@@ -197,7 +197,7 @@ import "./WebcamTexture-pBETyQYG.js";
197
197
  import "./Wool-CMnWPdy9.js";
198
198
  import "./WorleyNoise-BAEo0duh.js";
199
199
  import "./ZoomBlur-CnBNmcfx.js";
200
- import { t as getAllShaders } from "./shaderRegistry-D8SCjCln.js";
200
+ import { t as getAllShaders } from "./shaderRegistry-D75z2sND.js";
201
201
  import * as d from "typegpu/data";
202
202
  import tgpu, { common } from "typegpu";
203
203
  var OPTIONAL_FEATURES = ["float32-filterable", "timestamp-query"];
@@ -1498,6 +1498,7 @@ function shaderRendererGPU() {
1498
1498
  let rootId = null;
1499
1499
  const parentToChildren = /* @__PURE__ */ new Map();
1500
1500
  let pendingRegistrationQueue = [];
1501
+ let pendingNodeUpdates = [];
1501
1502
  const pipelineCache = createPipelineCache({
1502
1503
  maxSize: 4,
1503
1504
  dispose: (bc) => disposeComposition(bc)
@@ -2269,6 +2270,7 @@ function shaderRendererGPU() {
2269
2270
  const queueIndex = pendingRegistrationQueue.findIndex((item) => item.id === id);
2270
2271
  if (queueIndex !== -1) {
2271
2272
  pendingRegistrationQueue.splice(queueIndex, 1);
2273
+ pendingNodeUpdates = pendingNodeUpdates.filter((u) => u.id !== id);
2272
2274
  return;
2273
2275
  }
2274
2276
  removeNode(id);
@@ -2288,8 +2290,10 @@ function shaderRendererGPU() {
2288
2290
  uniforms,
2289
2291
  domCanvas
2290
2292
  };
2291
- if (existing !== -1) pendingRegistrationQueue[existing] = entry;
2292
- else pendingRegistrationQueue.push(entry);
2293
+ if (existing !== -1) {
2294
+ pendingRegistrationQueue[existing] = entry;
2295
+ pendingNodeUpdates = pendingNodeUpdates.filter((u) => u.id !== id);
2296
+ } else pendingRegistrationQueue.push(entry);
2293
2297
  return;
2294
2298
  }
2295
2299
  let defaultRenderOrder = 0;
@@ -2365,9 +2369,20 @@ function shaderRendererGPU() {
2365
2369
  markStructuralDirty();
2366
2370
  if (anyLayoutGroups()) markLayoutDirty();
2367
2371
  };
2372
+ const deferUntilRegistered = (update) => {
2373
+ if (pendingRegistrationQueue.some((q) => q.id === update.id)) pendingNodeUpdates.push(update);
2374
+ };
2368
2375
  const updateUniformValue = (nodeId, uniformName, value) => {
2369
2376
  const node = nodes.get(nodeId);
2370
- if (!node) return;
2377
+ if (!node) {
2378
+ deferUntilRegistered({
2379
+ id: nodeId,
2380
+ kind: "uniform",
2381
+ name: uniformName,
2382
+ value
2383
+ });
2384
+ return;
2385
+ }
2371
2386
  const u = node.uniforms[uniformName];
2372
2387
  if (!u) return;
2373
2388
  const decl = node.boundingBoxDeclaration;
@@ -2408,7 +2423,14 @@ function shaderRendererGPU() {
2408
2423
  };
2409
2424
  const updateNodeMetadata = (nodeId, metadata) => {
2410
2425
  const node = nodes.get(nodeId);
2411
- if (!node) return;
2426
+ if (!node) {
2427
+ deferUntilRegistered({
2428
+ id: nodeId,
2429
+ kind: "metadata",
2430
+ metadata
2431
+ });
2432
+ return;
2433
+ }
2412
2434
  let needsRecompose = false;
2413
2435
  if (metadata.blendMode !== void 0 && node.metadata.blendMode !== metadata.blendMode) {
2414
2436
  node.metadata.blendMode = metadata.blendMode;
@@ -3017,6 +3039,10 @@ function shaderRendererGPU() {
3017
3039
  const queue = [...pendingRegistrationQueue];
3018
3040
  pendingRegistrationQueue = [];
3019
3041
  for (const q of queue) registerNode(q.id, q.definition.fragment, q.parentId, q.metadata, q.uniforms, q.definition, q.domCanvas);
3042
+ const updates = pendingNodeUpdates;
3043
+ pendingNodeUpdates = [];
3044
+ for (const u of updates) if (u.kind === "uniform") updateUniformValue(u.id, u.name, u.value);
3045
+ else updateNodeMetadata(u.id, u.metadata);
3020
3046
  };
3021
3047
  const fail = (reason, error) => {
3022
3048
  if (failureReason) return;
@@ -3250,6 +3276,7 @@ function shaderRendererGPU() {
3250
3276
  rootId = null;
3251
3277
  parentToChildren.clear();
3252
3278
  pendingRegistrationQueue = [];
3279
+ pendingNodeUpdates = [];
3253
3280
  isRendererReady = false;
3254
3281
  pendingResize = null;
3255
3282
  isResizeScheduled = false;
@@ -1 +1 @@
1
- {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AAI,CAAC;8BAa5C,YAAY,KAAG,IAAI;yBAgB1B,UAAU;mBAchB,IAAI;IA8FtB;;;;;;OAMG;8EAM6+qI,CAAC;IAJj/qI,+DAA+D;;EAGlE"}
@@ -1,10 +1,10 @@
1
1
  import "./coords-BkIjixe_.js";
2
2
  import "./support-6QRFK3xB.js";
3
3
  import "./glass-sOqjtPJD.js";
4
- import "./Neon-BM45ZM25.js";
5
- import "./Emboss-BM58piL7.js";
4
+ import "./Neon-D9d6Osal.js";
5
+ import "./Emboss-DNwO5JcE.js";
6
6
  import "./Form3D-D4aXZGoJ.js";
7
- import "./ThinFilm-B-3lFiX9.js";
7
+ import "./ThinFilm-DhMKI5e2.js";
8
8
  import "./transformations-t0d2-uSX.js";
9
9
  import "./porters-BmU6G9TR.js";
10
10
  import "./naturalSize-Caz3-kRv.js";
@@ -26,10 +26,10 @@ import "./Boids-B8QUNxRL.js";
26
26
  import "./BokehBlur-B5fql96U.js";
27
27
  import "./BrickPattern-EAD5HD4e.js";
28
28
  import "./BrightnessContrast-mbv32DkA.js";
29
- import "./shapeEffectBounds-Dht8uIRl.js";
30
- import "./BrushedMetal-oyumejLL.js";
29
+ import "./shapeEffectBounds-PQqKLQXO.js";
30
+ import "./BrushedMetal-B10fDdGt.js";
31
31
  import "./Bulge-C1Pq4DHk.js";
32
- import "./CarbonFiber-xlmnkURv.js";
32
+ import "./CarbonFiber-DSSARe6R.js";
33
33
  import "./Chalkboard-C7srb54u.js";
34
34
  import "./ChannelBlur-DE3T4-pj.js";
35
35
  import "./Checkerboard-oVWtS0rz.js";
@@ -47,7 +47,7 @@ import "./CornerPin-wtqiMUCa.js";
47
47
  import "./Crescent-Co__JqEE.js";
48
48
  import "./Cross-CFytbdrZ.js";
49
49
  import "./CRTScreen-Ctx0Mxtb.js";
50
- import "./Crystal-DQiWDo98.js";
50
+ import "./Crystal-U7VqhbHy.js";
51
51
  import "./CurlNoise-BXWYh1Qi.js";
52
52
  import "./CursorRipples-APbH7SVR.js";
53
53
  import "./CursorTrail-D5Fj0wGp.js";
@@ -75,14 +75,14 @@ import "./FlowingGradient-9Zu0Pu4a.js";
75
75
  import "./FlutedGlass-C_clmShu.js";
76
76
  import "./Fog-C_kY5pWB.js";
77
77
  import "./FractalNoise-mMVLGmIv.js";
78
- import "./Frost-DXbXutW7.js";
78
+ import "./Frost-M53tZlcf.js";
79
79
  import "./GaborNoise-BhXywN1d.js";
80
- import "./Glass-Bs3k8LQZ.js";
80
+ import "./Glass-B9D_52op.js";
81
81
  import "./GlassTiles-DIkGYgVE.js";
82
82
  import "./Glitch-CUOJt5VX.js";
83
83
  import "./Glow-D5AdnLvU.js";
84
84
  import "./Godrays-BeQCWVw7.js";
85
- import "./Goo-DdqGyjio.js";
85
+ import "./Goo-C0_0QYne.js";
86
86
  import "./GradientMap-DOVK05_a.js";
87
87
  import "./Grayscale-Uv_6LYA9.js";
88
88
  import "./Grid-Dbp4DoXZ.js";
@@ -90,10 +90,10 @@ import "./GridDistortion-D_21zIrm.js";
90
90
  import "./Group-DXiB5Qrx.js";
91
91
  import "./Halftone-DszIQsyx.js";
92
92
  import "./Heart-COpnSJPD.js";
93
- import "./Heatmap-DcLQlFwC.js";
93
+ import "./Heatmap-CMm8SD-P.js";
94
94
  import "./HexGrid-B6wNW-45.js";
95
- import "./Hologram-B5WCN5pM.js";
96
- import "./Holographic-D7J9TGy7.js";
95
+ import "./Hologram-XejRN51V.js";
96
+ import "./Holographic-D1G_Ou1y.js";
97
97
  import "./HTMLInCanvas-xXPLTYIv.js";
98
98
  import "./HueShift-BCDgYfJs.js";
99
99
  import "./ImageTexture-BE2Jlkg6.js";
@@ -104,12 +104,12 @@ import "./IsometricCubes-ChKqYTIw.js";
104
104
  import "./Kaleidoscope-C8_-tC6T.js";
105
105
  import "./KeyFrames-xR9ZzHKj.js";
106
106
  import "./LensFlare-DHGNEDIX.js";
107
- import "./LightEdge-DVsHIeCo.js";
107
+ import "./LightEdge-DYfhB3-7.js";
108
108
  import "./LightLeak-CYjuMURe.js";
109
109
  import "./LinearBlur-CV7gKYHV.js";
110
110
  import "./LinearGradient-DAzw65UB.js";
111
111
  import "./LinearWipe-DoDZF7y0.js";
112
- import "./LiquidMetal-n5Rt5Cw8.js";
112
+ import "./LiquidMetal-C9OxRyE4.js";
113
113
  import "./Liquify-gNsuR7aA.js";
114
114
  import "./MagneticFilings-CQ7zHEow.js";
115
115
  import "./Marble-BSSMSrv8.js";
@@ -123,14 +123,14 @@ import "./Paper-LfukraJk.js";
123
123
  import "./Parallelogram-DBi0yAG3.js";
124
124
  import "./ParticleField-q7COY9YT.js";
125
125
  import "./ParticleFlow-DiHWbIon.js";
126
- import "./Particles-BXHm5bgr.js";
126
+ import "./Particles-BFsKUAPx.js";
127
127
  import "./PerlinNoise-KV2GG0ts.js";
128
128
  import "./Perspective-CJSrtEy5.js";
129
129
  import "./Pixelate-XJI9f1oT.js";
130
130
  import "./PixelSort-WD-Y6ZFu.js";
131
131
  import "./PixelThrow-CnOXm7Hv.js";
132
132
  import "./Plasma-C0dnSaw1.js";
133
- import "./Plastic-B_iHKpZn.js";
133
+ import "./Plastic-DBv_6A7q.js";
134
134
  import "./PolarCoordinates-B8Cq2bzT.js";
135
135
  import "./Polygon-ORM35JKg.js";
136
136
  import "./Posterize-Dn-Vv2S1.js";
@@ -155,7 +155,7 @@ import "./SimplexNoise-C2vmRzgy.js";
155
155
  import "./SineWave-BGAJyGFr.js";
156
156
  import "./SliceWipe-BOcCk5Se.js";
157
157
  import "./Smoke-B1twbhQ4.js";
158
- import "./SmokeFill-zh-Nru2W.js";
158
+ import "./SmokeFill-CAayneM2.js";
159
159
  import "./SmokeFlow-Ug8difAz.js";
160
160
  import "./Solarize-205KKROH.js";
161
161
  import "./SolidColor-B4pj8onb.js";
@@ -188,7 +188,7 @@ import "./Vibrance-qWGvLkrW.js";
188
188
  import "./VideoTexture-48ylVDvN.js";
189
189
  import "./Vignette-CK_Li7v2.js";
190
190
  import "./Voronoi-DMYFDwIS.js";
191
- import "./Water-Kuapn7Jy.js";
191
+ import "./Water-D74wbHmn.js";
192
192
  import "./Watercolor-zo8-4Vqx.js";
193
193
  import "./WaveDistortion-BLrvGOzF.js";
194
194
  import "./WaveletNoise-a5OpO8-D.js";
@@ -197,5 +197,5 @@ import "./WebcamTexture-pBETyQYG.js";
197
197
  import "./Wool-CMnWPdy9.js";
198
198
  import "./WorleyNoise-BAEo0duh.js";
199
199
  import "./ZoomBlur-CnBNmcfx.js";
200
- import { a as shaderRegistry, i as getShadersByCategory, n as getShaderByName, r as getShaderCategories, t as getAllShaders } from "./shaderRegistry-D8SCjCln.js";
200
+ import { a as shaderRegistry, i as getShadersByCategory, n as getShaderByName, r as getShaderCategories, t as getAllShaders } from "./shaderRegistry-D75z2sND.js";
201
201
  export { getAllShaders, getShaderByName, getShaderCategories, getShadersByCategory, shaderRegistry };
@@ -1,7 +1,7 @@
1
- import { n as componentDefinition$107 } from "./Neon-BM45ZM25.js";
2
- import { n as componentDefinition$51 } from "./Emboss-BM58piL7.js";
1
+ import { n as componentDefinition$107 } from "./Neon-D9d6Osal.js";
2
+ import { n as componentDefinition$51 } from "./Emboss-DNwO5JcE.js";
3
3
  import { n as componentDefinition$65 } from "./Form3D-D4aXZGoJ.js";
4
- import { n as componentDefinition$164 } from "./ThinFilm-B-3lFiX9.js";
4
+ import { n as componentDefinition$164 } from "./ThinFilm-DhMKI5e2.js";
5
5
  import { a as componentDefinition } from "./AngularBlur-xU811GPM.js";
6
6
  import { r as componentDefinition$1 } from "./Arc-DYvFxtGy.js";
7
7
  import { a as componentDefinition$2 } from "./Ascii-ChE4BP7J.js";
@@ -19,9 +19,9 @@ import { s as componentDefinition$13 } from "./Boids-B8QUNxRL.js";
19
19
  import { c as componentDefinition$14 } from "./BokehBlur-B5fql96U.js";
20
20
  import { r as componentDefinition$15 } from "./BrickPattern-EAD5HD4e.js";
21
21
  import { r as componentDefinition$16 } from "./BrightnessContrast-mbv32DkA.js";
22
- import { i as componentDefinition$17 } from "./BrushedMetal-oyumejLL.js";
22
+ import { i as componentDefinition$17 } from "./BrushedMetal-B10fDdGt.js";
23
23
  import { r as componentDefinition$18 } from "./Bulge-C1Pq4DHk.js";
24
- import { r as componentDefinition$19 } from "./CarbonFiber-xlmnkURv.js";
24
+ import { r as componentDefinition$19 } from "./CarbonFiber-DSSARe6R.js";
25
25
  import { i as componentDefinition$20 } from "./Chalkboard-C7srb54u.js";
26
26
  import { a as componentDefinition$21 } from "./ChannelBlur-DE3T4-pj.js";
27
27
  import { a as componentDefinition$22 } from "./Checkerboard-oVWtS0rz.js";
@@ -39,7 +39,7 @@ import { n as componentDefinition$33 } from "./CornerPin-wtqiMUCa.js";
39
39
  import { n as componentDefinition$34 } from "./Crescent-Co__JqEE.js";
40
40
  import { n as componentDefinition$35 } from "./Cross-CFytbdrZ.js";
41
41
  import { n as componentDefinition$36 } from "./CRTScreen-Ctx0Mxtb.js";
42
- import { r as componentDefinition$37 } from "./Crystal-DQiWDo98.js";
42
+ import { r as componentDefinition$37 } from "./Crystal-U7VqhbHy.js";
43
43
  import { n as componentDefinition$38 } from "./CurlNoise-BXWYh1Qi.js";
44
44
  import { n as componentDefinition$39 } from "./CursorRipples-APbH7SVR.js";
45
45
  import { n as componentDefinition$40 } from "./CursorTrail-D5Fj0wGp.js";
@@ -67,14 +67,14 @@ import { n as componentDefinition$62 } from "./FlowingGradient-9Zu0Pu4a.js";
67
67
  import { r as componentDefinition$63 } from "./FlutedGlass-C_clmShu.js";
68
68
  import { a as componentDefinition$64 } from "./Fog-C_kY5pWB.js";
69
69
  import { n as componentDefinition$66 } from "./FractalNoise-mMVLGmIv.js";
70
- import { n as componentDefinition$67 } from "./Frost-DXbXutW7.js";
70
+ import { n as componentDefinition$67 } from "./Frost-M53tZlcf.js";
71
71
  import { n as componentDefinition$68 } from "./GaborNoise-BhXywN1d.js";
72
- import { n as componentDefinition$69 } from "./Glass-Bs3k8LQZ.js";
72
+ import { n as componentDefinition$69 } from "./Glass-B9D_52op.js";
73
73
  import { n as componentDefinition$70 } from "./GlassTiles-DIkGYgVE.js";
74
74
  import { r as componentDefinition$71 } from "./Glitch-CUOJt5VX.js";
75
75
  import { i as componentDefinition$72 } from "./Glow-D5AdnLvU.js";
76
76
  import { n as componentDefinition$73 } from "./Godrays-BeQCWVw7.js";
77
- import { n as componentDefinition$74 } from "./Goo-DdqGyjio.js";
77
+ import { n as componentDefinition$74 } from "./Goo-C0_0QYne.js";
78
78
  import { n as componentDefinition$75 } from "./GradientMap-DOVK05_a.js";
79
79
  import { n as componentDefinition$76 } from "./Grayscale-Uv_6LYA9.js";
80
80
  import { n as componentDefinition$77 } from "./Grid-Dbp4DoXZ.js";
@@ -82,10 +82,10 @@ import { n as componentDefinition$78 } from "./GridDistortion-D_21zIrm.js";
82
82
  import { n as componentDefinition$79 } from "./Group-DXiB5Qrx.js";
83
83
  import { n as componentDefinition$80 } from "./Halftone-DszIQsyx.js";
84
84
  import { n as componentDefinition$81 } from "./Heart-COpnSJPD.js";
85
- import { n as componentDefinition$82 } from "./Heatmap-DcLQlFwC.js";
85
+ import { n as componentDefinition$82 } from "./Heatmap-CMm8SD-P.js";
86
86
  import { n as componentDefinition$83 } from "./HexGrid-B6wNW-45.js";
87
- import { n as componentDefinition$84 } from "./Hologram-B5WCN5pM.js";
88
- import { n as componentDefinition$85 } from "./Holographic-D7J9TGy7.js";
87
+ import { n as componentDefinition$84 } from "./Hologram-XejRN51V.js";
88
+ import { n as componentDefinition$85 } from "./Holographic-D1G_Ou1y.js";
89
89
  import { n as componentDefinition$86 } from "./HTMLInCanvas-xXPLTYIv.js";
90
90
  import { n as componentDefinition$87 } from "./HueShift-BCDgYfJs.js";
91
91
  import { n as componentDefinition$88 } from "./ImageTexture-BE2Jlkg6.js";
@@ -96,12 +96,12 @@ import { n as componentDefinition$92 } from "./IsometricCubes-ChKqYTIw.js";
96
96
  import { n as componentDefinition$93 } from "./Kaleidoscope-C8_-tC6T.js";
97
97
  import { r as componentDefinition$94 } from "./KeyFrames-xR9ZzHKj.js";
98
98
  import { n as componentDefinition$95 } from "./LensFlare-DHGNEDIX.js";
99
- import { r as componentDefinition$96 } from "./LightEdge-DVsHIeCo.js";
99
+ import { r as componentDefinition$96 } from "./LightEdge-DYfhB3-7.js";
100
100
  import { n as componentDefinition$97 } from "./LightLeak-CYjuMURe.js";
101
101
  import { i as componentDefinition$98 } from "./LinearBlur-CV7gKYHV.js";
102
102
  import { n as componentDefinition$99 } from "./LinearGradient-DAzw65UB.js";
103
103
  import { n as componentDefinition$100 } from "./LinearWipe-DoDZF7y0.js";
104
- import { n as componentDefinition$101 } from "./LiquidMetal-n5Rt5Cw8.js";
104
+ import { n as componentDefinition$101 } from "./LiquidMetal-C9OxRyE4.js";
105
105
  import { n as componentDefinition$102 } from "./Liquify-gNsuR7aA.js";
106
106
  import { n as componentDefinition$103 } from "./MagneticFilings-CQ7zHEow.js";
107
107
  import { n as componentDefinition$104 } from "./Marble-BSSMSrv8.js";
@@ -114,14 +114,14 @@ import { n as componentDefinition$111 } from "./Paper-LfukraJk.js";
114
114
  import { n as componentDefinition$112 } from "./Parallelogram-DBi0yAG3.js";
115
115
  import { n as componentDefinition$113 } from "./ParticleField-q7COY9YT.js";
116
116
  import { n as componentDefinition$114 } from "./ParticleFlow-DiHWbIon.js";
117
- import { n as componentDefinition$115 } from "./Particles-BXHm5bgr.js";
117
+ import { n as componentDefinition$115 } from "./Particles-BFsKUAPx.js";
118
118
  import { n as componentDefinition$116 } from "./PerlinNoise-KV2GG0ts.js";
119
119
  import { n as componentDefinition$117 } from "./Perspective-CJSrtEy5.js";
120
120
  import { n as componentDefinition$118 } from "./Pixelate-XJI9f1oT.js";
121
121
  import { i as componentDefinition$119 } from "./PixelSort-WD-Y6ZFu.js";
122
122
  import { i as componentDefinition$120 } from "./PixelThrow-CnOXm7Hv.js";
123
123
  import { n as componentDefinition$121 } from "./Plasma-C0dnSaw1.js";
124
- import { n as componentDefinition$122 } from "./Plastic-B_iHKpZn.js";
124
+ import { n as componentDefinition$122 } from "./Plastic-DBv_6A7q.js";
125
125
  import { n as componentDefinition$123 } from "./PolarCoordinates-B8Cq2bzT.js";
126
126
  import { n as componentDefinition$124 } from "./Polygon-ORM35JKg.js";
127
127
  import { n as componentDefinition$125 } from "./Posterize-Dn-Vv2S1.js";
@@ -146,7 +146,7 @@ import { n as componentDefinition$143 } from "./SimplexNoise-C2vmRzgy.js";
146
146
  import { n as componentDefinition$144 } from "./SineWave-BGAJyGFr.js";
147
147
  import { n as componentDefinition$145 } from "./SliceWipe-BOcCk5Se.js";
148
148
  import { i as componentDefinition$146 } from "./Smoke-B1twbhQ4.js";
149
- import { i as componentDefinition$147 } from "./SmokeFill-zh-Nru2W.js";
149
+ import { i as componentDefinition$147 } from "./SmokeFill-CAayneM2.js";
150
150
  import { i as componentDefinition$148 } from "./SmokeFlow-Ug8difAz.js";
151
151
  import { n as componentDefinition$149 } from "./Solarize-205KKROH.js";
152
152
  import { n as componentDefinition$150 } from "./SolidColor-B4pj8onb.js";
@@ -178,7 +178,7 @@ import { n as componentDefinition$176 } from "./Vibrance-qWGvLkrW.js";
178
178
  import { n as componentDefinition$177 } from "./VideoTexture-48ylVDvN.js";
179
179
  import { n as componentDefinition$178 } from "./Vignette-CK_Li7v2.js";
180
180
  import { n as componentDefinition$179 } from "./Voronoi-DMYFDwIS.js";
181
- import { n as componentDefinition$180 } from "./Water-Kuapn7Jy.js";
181
+ import { n as componentDefinition$180 } from "./Water-D74wbHmn.js";
182
182
  import { n as componentDefinition$181 } from "./Watercolor-zo8-4Vqx.js";
183
183
  import { n as componentDefinition$182 } from "./WaveDistortion-BLrvGOzF.js";
184
184
  import { n as componentDefinition$183 } from "./WaveletNoise-a5OpO8-D.js";
@@ -122,7 +122,7 @@ export interface ComponentProps {
122
122
  *
123
123
  * @default "DEFAULT_SHAPE_CONFIG"
124
124
  */
125
- shape: string;
125
+ shape: string | Record<string, unknown>;
126
126
  /**
127
127
  * URL to a pre-generated SDF .bin file
128
128
  *
@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AAC,cAAc,CAmKnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -3,6 +3,6 @@ import "../../support-6QRFK3xB.js";
3
3
  import "../../glass-sOqjtPJD.js";
4
4
  import "../../transformations-t0d2-uSX.js";
5
5
  import "../../porters-BmU6G9TR.js";
6
- import "../../shapeEffectBounds-Dht8uIRl.js";
7
- import { i as componentDefinition, n as brushedMetalComposite, r as brushedStudio, t as BrushedMetal_default } from "../../BrushedMetal-oyumejLL.js";
6
+ import "../../shapeEffectBounds-PQqKLQXO.js";
7
+ import { i as componentDefinition, n as brushedMetalComposite, r as brushedStudio, t as BrushedMetal_default } from "../../BrushedMetal-B10fDdGt.js";
8
8
  export { brushedMetalComposite, brushedStudio, componentDefinition, BrushedMetal_default as default };
@@ -128,7 +128,7 @@ export interface ComponentProps {
128
128
  *
129
129
  * @default "DEFAULT_SHAPE_CONFIG"
130
130
  */
131
- shape: string;
131
+ shape: string | Record<string, unknown>;
132
132
  /**
133
133
  * URL to a pre-generated SDF .bin file
134
134
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/CarbonFiber/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAEnG,OAAO,EAAO,CAAC,EAAkC,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAErF,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AAgCtD,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,6NA4J3D;AAID,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,UA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,UAAU,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAChD,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAgLnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -3,6 +3,6 @@ import "../../support-6QRFK3xB.js";
3
3
  import "../../glass-sOqjtPJD.js";
4
4
  import "../../transformations-t0d2-uSX.js";
5
5
  import "../../porters-BmU6G9TR.js";
6
- import "../../shapeEffectBounds-Dht8uIRl.js";
7
- import { n as buildCarbonFiberComposite, r as componentDefinition, t as CarbonFiber_default } from "../../CarbonFiber-xlmnkURv.js";
6
+ import "../../shapeEffectBounds-PQqKLQXO.js";
7
+ import { n as buildCarbonFiberComposite, r as componentDefinition, t as CarbonFiber_default } from "../../CarbonFiber-DSSARe6R.js";
8
8
  export { buildCarbonFiberComposite, componentDefinition, CarbonFiber_default as default };
@@ -170,7 +170,7 @@ export interface ComponentProps {
170
170
  *
171
171
  * @default "DEFAULT_SHAPE_CONFIG"
172
172
  */
173
- shape: string;
173
+ shape: string | Record<string, unknown>;
174
174
  /**
175
175
  * URL to a pre-generated SDF .bin file
176
176
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Crystal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAEnG,OAAO,EAAO,CAAC,EAAyC,MAAM,mBAAmB,CAAA;AACjF,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAmB,MAAM,qCAAqC,CAAA;AAEvG,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AAqBtD,eAAO,MAAM,kBAAkB,mFAS7B,CAAA;AAqBF,eAAO,MAAM,YAAY;;;;;;;;;EAGvB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;GAuMnB,CAAA;AAMN,eAAO,MAAM,cAAc,wNA+BrB,CAAA;AAIN,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAClD,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,C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AAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAClD,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,aAAa,EAAE,MAAM,CAAA;IACrB,sBAAsB,EAAE,OAAO,CAAA;IAC/B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAkNnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -3,6 +3,6 @@ import "../../support-6QRFK3xB.js";
3
3
  import "../../glass-sOqjtPJD.js";
4
4
  import "../../transformations-t0d2-uSX.js";
5
5
  import "../../porters-BmU6G9TR.js";
6
- import "../../shapeEffectBounds-Dht8uIRl.js";
7
- import { a as crystalKaleidoFold, i as crystalCompose, n as Crystal_default, o as crystalTrace, r as componentDefinition, t as CrystalTrace } from "../../Crystal-DQiWDo98.js";
6
+ import "../../shapeEffectBounds-PQqKLQXO.js";
7
+ import { a as crystalKaleidoFold, i as crystalCompose, n as Crystal_default, o as crystalTrace, r as componentDefinition, t as CrystalTrace } from "../../Crystal-U7VqhbHy.js";
8
8
  export { CrystalTrace, componentDefinition, crystalCompose, crystalKaleidoFold, crystalTrace, Crystal_default as default };
@@ -2,6 +2,7 @@ import { GpuShaderDefinition } from '../../gpu/porters';
2
2
  import { transformPosition } from '../../utilities/transformations';
3
3
  import { BoundingBoxOrigin } from '../../types';
4
4
 
5
+ /** Resolve the active analytic shape type (compile-time `shapeType`, else the shape JSON's type). */
5
6
  export interface ComponentProps {
6
7
  /**
7
8
  * Reference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
@@ -60,7 +61,7 @@ export interface ComponentProps {
60
61
  *
61
62
  * @default "DEFAULT_SHAPE_CONFIG"
62
63
  */
63
- shape: string;
64
+ shape: string | Record<string, unknown>;
64
65
  /**
65
66
  * URL to a pre-generated SDF .bin file — when non-empty, activates SVG mode and triggers a shader recompile
66
67
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Emboss/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAGnG,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAA;AAErE,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AAmBtD,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe,EAAE,MAAM,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAuGnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Emboss/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAGnG,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAA;AAErE,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AAStD,qGAAqG;AAGrG,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe,EAAE,MAAM,CAAA;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAuGnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import "../../coords-BkIjixe_.js";
2
2
  import "../../support-6QRFK3xB.js";
3
3
  import "../../glass-sOqjtPJD.js";
4
- import { n as componentDefinition, t as Emboss_default } from "../../Emboss-BM58piL7.js";
4
+ import { n as componentDefinition, t as Emboss_default } from "../../Emboss-DNwO5JcE.js";
5
5
  import "../../transformations-t0d2-uSX.js";
6
6
  import "../../porters-BmU6G9TR.js";
7
- import "../../shapeEffectBounds-Dht8uIRl.js";
7
+ import "../../shapeEffectBounds-PQqKLQXO.js";
8
8
  export { componentDefinition, Emboss_default as default };
@@ -10,7 +10,7 @@ export interface ComponentProps {
10
10
  *
11
11
  * @default "DEFAULT_RIBBON"
12
12
  */
13
- shape3d: string;
13
+ shape3d: string | Record<string, unknown>;
14
14
  /**
15
15
  * Active shape type — triggers recompile when shape is switched
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Form3D/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAA0B,MAAM,uBAAuB,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CAAA;CAChB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA4JnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -142,7 +142,7 @@ export interface ComponentProps {
142
142
  *
143
143
  * @default "DEFAULT_SHAPE_CONFIG"
144
144
  */
145
- shape: string;
145
+ shape: string | Record<string, unknown>;
146
146
  /**
147
147
  * URL to a pre-generated SDF .bin file
148
148
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Frost/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAEnG,OAAO,EAAO,CAAC,EAAkC,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAErF,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AA4BtD,eAAO,MAAM,cAAc,qMAyHrB,CAAA;AAIN,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,CA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ACf,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAwLnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -3,6 +3,6 @@ import "../../support-6QRFK3xB.js";
3
3
  import "../../glass-sOqjtPJD.js";
4
4
  import "../../transformations-t0d2-uSX.js";
5
5
  import "../../porters-BmU6G9TR.js";
6
- import "../../shapeEffectBounds-Dht8uIRl.js";
7
- import { n as componentDefinition, r as frostComposite, t as Frost_default } from "../../Frost-DXbXutW7.js";
6
+ import "../../shapeEffectBounds-PQqKLQXO.js";
7
+ import { n as componentDefinition, r as frostComposite, t as Frost_default } from "../../Frost-M53tZlcf.js";
8
8
  export { componentDefinition, Frost_default as default, frostComposite };