shaders 2.2.47 → 2.2.48
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.
- package/dist/core/FlowField-BJFGOUZL.js +103 -0
- package/dist/core/registry.js +90 -88
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/FlowField/index.d.ts +36 -0
- package/dist/core/shaders/FlowField/index.d.ts.map +1 -0
- package/dist/core/shaders/FlowField/index.js +5 -0
- package/dist/core/shaders/GlassTiles/index.js +1 -1
- package/dist/core/shaders/Glow/index.js +1 -1
- package/dist/core/shaders/Godrays/index.js +1 -1
- package/dist/core/shaders/Grayscale/index.js +1 -1
- package/dist/core/shaders/Grid/index.js +1 -1
- package/dist/core/shaders/GridDistortion/index.js +1 -1
- package/dist/core/shaders/Group/index.js +1 -1
- package/dist/core/shaders/Halftone/index.js +1 -1
- package/dist/core/shaders/HueShift/index.js +1 -1
- package/dist/core/shaders/ImageTexture/index.js +1 -1
- package/dist/core/shaders/Invert/index.js +1 -1
- package/dist/core/shaders/Kaleidoscope/index.js +1 -1
- package/dist/core/shaders/LinearBlur/index.js +1 -1
- package/dist/core/shaders/LinearGradient/index.js +1 -1
- package/dist/core/shaders/Liquify/index.js +1 -1
- package/dist/core/shaders/Mirror/index.js +1 -1
- package/dist/core/shaders/Perspective/index.js +1 -1
- package/dist/core/shaders/Pixelate/index.js +1 -1
- package/dist/core/shaders/PolarCoordinates/index.js +1 -1
- package/dist/core/shaders/Posterize/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
- package/dist/core/shaders/RadialGradient/index.js +1 -1
- package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
- package/dist/core/shaders/Ripples/index.js +1 -1
- package/dist/core/shaders/Saturation/index.js +1 -1
- package/dist/core/shaders/Sharpness/index.js +1 -1
- package/dist/core/shaders/Shatter/index.js +1 -1
- package/dist/core/shaders/SimplexNoise/index.js +1 -1
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.js +1 -1
- package/dist/core/shaders/Stripes/index.js +1 -1
- package/dist/core/shaders/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.js +1 -1
- package/dist/core/shaders/Tint/index.js +1 -1
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/WebcamTexture/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/react/FlowField.js +144 -0
- package/dist/react/components/FlowField.d.ts +31 -0
- package/dist/react/components/FlowField.d.ts.map +1 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +2 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +5 -0
- package/dist/registry.js +136 -0
- package/dist/solid/components/FlowField.d.ts +28 -0
- package/dist/solid/components/FlowField.d.ts.map +1 -0
- package/dist/solid/components/FlowField.js +148 -0
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +92 -90
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +5 -0
- package/dist/svelte/components/FlowField.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-on2wdSC3.js → generatePresetCode-BD0Ac86C.js} +5 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +201 -90
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/FlowField.js +3 -0
- package/dist/vue/FlowField.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/components/FlowField.vue.d.ts +57 -0
- package/dist/vue/components/FlowField.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +5 -0
- package/package.json +9 -1
- /package/dist/core/{GlassTiles-C6LLjlnB.js → GlassTiles-DzYvo92U.js} +0 -0
- /package/dist/core/{Glow-C2avDr73.js → Glow-C4JrnNxe.js} +0 -0
- /package/dist/core/{Godrays-RVh5ylQ-.js → Godrays-CPWOcLmc.js} +0 -0
- /package/dist/core/{Grayscale-BH3tLDGN.js → Grayscale-BFS-Abdh.js} +0 -0
- /package/dist/core/{Grid-CdslWvoH.js → Grid-CsIIl3LT.js} +0 -0
- /package/dist/core/{GridDistortion-fimECOse.js → GridDistortion-Cq3hRKXK.js} +0 -0
- /package/dist/core/{Group-ByGv48Lm.js → Group-DHokCeZ1.js} +0 -0
- /package/dist/core/{Halftone-Cb5yrPnj.js → Halftone-BQsMiTyE.js} +0 -0
- /package/dist/core/{HueShift-DQ2WgImx.js → HueShift-BTjEGl3Z.js} +0 -0
- /package/dist/core/{ImageTexture-DKFb8ze3.js → ImageTexture-CY8Q8h_o.js} +0 -0
- /package/dist/core/{Invert-w9duGaUu.js → Invert-B8vSeK8d.js} +0 -0
- /package/dist/core/{Kaleidoscope-3Kt0m_sh.js → Kaleidoscope-Dr-ja0XH.js} +0 -0
- /package/dist/core/{LinearBlur-B-rumcdD.js → LinearBlur-DgT4B0nH.js} +0 -0
- /package/dist/core/{LinearGradient-Al78T7WU.js → LinearGradient-DTifAwSC.js} +0 -0
- /package/dist/core/{Liquify-BJgkphoQ.js → Liquify-_eLJRjd7.js} +0 -0
- /package/dist/core/{Mirror-CnEZ7wHa.js → Mirror-CnCw4TpZ.js} +0 -0
- /package/dist/core/{Perspective-CPhjpprG.js → Perspective-BpgcHA7E.js} +0 -0
- /package/dist/core/{Pixelate-rlHN9jV1.js → Pixelate-Bt2jxIDd.js} +0 -0
- /package/dist/core/{PolarCoordinates-Bfa-U0fi.js → PolarCoordinates-BJ8-cfC7.js} +0 -0
- /package/dist/core/{Posterize-DDzCt2n9.js → Posterize-Bs-iNEVB.js} +0 -0
- /package/dist/core/{ProgressiveBlur-9-KRqfdm.js → ProgressiveBlur-DELpd9wJ.js} +0 -0
- /package/dist/core/{RadialGradient-BHuQVJ4Q.js → RadialGradient-DQ4JGS5G.js} +0 -0
- /package/dist/core/{RectangularCoordinates-CMd1Rp4Y.js → RectangularCoordinates-DXSP_gdW.js} +0 -0
- /package/dist/core/{Ripples-Cil48gEl.js → Ripples-DwDKIvtQ.js} +0 -0
- /package/dist/core/{Saturation-D_yZO7cz.js → Saturation-ekyl1D9y.js} +0 -0
- /package/dist/core/{Sharpness-229T6rR0.js → Sharpness-DlWZ-yPe.js} +0 -0
- /package/dist/core/{Shatter-B9tvT-jr.js → Shatter-BeD72o80.js} +0 -0
- /package/dist/core/{SimplexNoise-YauHkNYZ.js → SimplexNoise-DIo9v2-R.js} +0 -0
- /package/dist/core/{SineWave-BEm0T7c8.js → SineWave-DFNnXFYQ.js} +0 -0
- /package/dist/core/{SolidColor-BSC8voa9.js → SolidColor-B4eYGf_i.js} +0 -0
- /package/dist/core/{Spherize-C6xkW6TJ.js → Spherize-BIVrRcZG.js} +0 -0
- /package/dist/core/{Spiral-BY5eOKPL.js → Spiral-CqjRxq1I.js} +0 -0
- /package/dist/core/{Strands-C5-TqTXW.js → Strands-B-a2SQB2.js} +0 -0
- /package/dist/core/{Stretch-CatYi4MC.js → Stretch-CZv3u-3X.js} +0 -0
- /package/dist/core/{Stripes-BbNIMHDl.js → Stripes-CXUFg1Gt.js} +0 -0
- /package/dist/core/{Swirl-ytfGCJTs.js → Swirl-BcEmYjJs.js} +0 -0
- /package/dist/core/{TiltShift-CvEKlLKc.js → TiltShift-679S-uVs.js} +0 -0
- /package/dist/core/{Tint-PBKR7M-T.js → Tint-DS7IJWfS.js} +0 -0
- /package/dist/core/{Tritone-D1rsE5HX.js → Tritone-m_0hwkvN.js} +0 -0
- /package/dist/core/{Twirl-BQzDHvml.js → Twirl-DcuGsZAB.js} +0 -0
- /package/dist/core/{Vibrance-JFvD6I5g.js → Vibrance-BafFCMLv.js} +0 -0
- /package/dist/core/{WaveDistortion-D9Dox1gF.js → WaveDistortion-CQkMSDMg.js} +0 -0
- /package/dist/core/{WebcamTexture-BnrsnuMO.js → WebcamTexture-C5oIVQlF.js} +0 -0
- /package/dist/core/{ZoomBlur-D9At8opY.js → ZoomBlur-pFDohu2G.js} +0 -0
package/dist/svelte/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as generatePresetCode } from "./generatePresetCode-
|
|
1
|
+
import { n as generatePresetCode } from "./generatePresetCode-BD0Ac86C.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
4
|
import { getContext, onDestroy, onMount, setContext } from "svelte";
|
|
@@ -23,50 +23,51 @@ import { componentDefinition as componentDefinition$16 } from "../core/shaders/D
|
|
|
23
23
|
import { componentDefinition as componentDefinition$17 } from "../core/shaders/Duotone/index.js";
|
|
24
24
|
import { componentDefinition as componentDefinition$18 } from "../core/shaders/FilmGrain/index.js";
|
|
25
25
|
import { componentDefinition as componentDefinition$19 } from "../core/shaders/FloatingParticles/index.js";
|
|
26
|
-
import { componentDefinition as componentDefinition$20 } from "../core/shaders/
|
|
27
|
-
import { componentDefinition as componentDefinition$21 } from "../core/shaders/
|
|
28
|
-
import { componentDefinition as componentDefinition$22 } from "../core/shaders/
|
|
29
|
-
import { componentDefinition as componentDefinition$23 } from "../core/shaders/
|
|
30
|
-
import { componentDefinition as componentDefinition$24 } from "../core/shaders/
|
|
31
|
-
import { componentDefinition as componentDefinition$25 } from "../core/shaders/
|
|
32
|
-
import { componentDefinition as componentDefinition$26 } from "../core/shaders/
|
|
33
|
-
import { componentDefinition as componentDefinition$27 } from "../core/shaders/
|
|
34
|
-
import { componentDefinition as componentDefinition$28 } from "../core/shaders/
|
|
35
|
-
import { componentDefinition as componentDefinition$29 } from "../core/shaders/
|
|
36
|
-
import { componentDefinition as componentDefinition$30 } from "../core/shaders/
|
|
37
|
-
import { componentDefinition as componentDefinition$31 } from "../core/shaders/
|
|
38
|
-
import { componentDefinition as componentDefinition$32 } from "../core/shaders/
|
|
39
|
-
import { componentDefinition as componentDefinition$33 } from "../core/shaders/
|
|
40
|
-
import { componentDefinition as componentDefinition$34 } from "../core/shaders/
|
|
41
|
-
import { componentDefinition as componentDefinition$35 } from "../core/shaders/
|
|
42
|
-
import { componentDefinition as componentDefinition$36 } from "../core/shaders/
|
|
43
|
-
import { componentDefinition as componentDefinition$37 } from "../core/shaders/
|
|
44
|
-
import { componentDefinition as componentDefinition$38 } from "../core/shaders/
|
|
45
|
-
import { componentDefinition as componentDefinition$39 } from "../core/shaders/
|
|
46
|
-
import { componentDefinition as componentDefinition$40 } from "../core/shaders/
|
|
47
|
-
import { componentDefinition as componentDefinition$41 } from "../core/shaders/
|
|
48
|
-
import { componentDefinition as componentDefinition$42 } from "../core/shaders/
|
|
49
|
-
import { componentDefinition as componentDefinition$43 } from "../core/shaders/
|
|
50
|
-
import { componentDefinition as componentDefinition$44 } from "../core/shaders/
|
|
51
|
-
import { componentDefinition as componentDefinition$45 } from "../core/shaders/
|
|
52
|
-
import { componentDefinition as componentDefinition$46 } from "../core/shaders/
|
|
53
|
-
import { componentDefinition as componentDefinition$47 } from "../core/shaders/
|
|
54
|
-
import { componentDefinition as componentDefinition$48 } from "../core/shaders/
|
|
55
|
-
import { componentDefinition as componentDefinition$49 } from "../core/shaders/
|
|
56
|
-
import { componentDefinition as componentDefinition$50 } from "../core/shaders/
|
|
57
|
-
import { componentDefinition as componentDefinition$51 } from "../core/shaders/
|
|
58
|
-
import { componentDefinition as componentDefinition$52 } from "../core/shaders/
|
|
59
|
-
import { componentDefinition as componentDefinition$53 } from "../core/shaders/
|
|
60
|
-
import { componentDefinition as componentDefinition$54 } from "../core/shaders/
|
|
61
|
-
import { componentDefinition as componentDefinition$55 } from "../core/shaders/
|
|
62
|
-
import { componentDefinition as componentDefinition$56 } from "../core/shaders/
|
|
63
|
-
import { componentDefinition as componentDefinition$57 } from "../core/shaders/
|
|
64
|
-
import { componentDefinition as componentDefinition$58 } from "../core/shaders/
|
|
65
|
-
import { componentDefinition as componentDefinition$59 } from "../core/shaders/
|
|
66
|
-
import { componentDefinition as componentDefinition$60 } from "../core/shaders/
|
|
67
|
-
import { componentDefinition as componentDefinition$61 } from "../core/shaders/
|
|
68
|
-
import { componentDefinition as componentDefinition$62 } from "../core/shaders/
|
|
69
|
-
import { componentDefinition as componentDefinition$63 } from "../core/shaders/
|
|
26
|
+
import { componentDefinition as componentDefinition$20 } from "../core/shaders/FlowField/index.js";
|
|
27
|
+
import { componentDefinition as componentDefinition$21 } from "../core/shaders/GlassTiles/index.js";
|
|
28
|
+
import { componentDefinition as componentDefinition$22 } from "../core/shaders/Glow/index.js";
|
|
29
|
+
import { componentDefinition as componentDefinition$23 } from "../core/shaders/Godrays/index.js";
|
|
30
|
+
import { componentDefinition as componentDefinition$24 } from "../core/shaders/Grayscale/index.js";
|
|
31
|
+
import { componentDefinition as componentDefinition$25 } from "../core/shaders/Grid/index.js";
|
|
32
|
+
import { componentDefinition as componentDefinition$26 } from "../core/shaders/GridDistortion/index.js";
|
|
33
|
+
import { componentDefinition as componentDefinition$27 } from "../core/shaders/Group/index.js";
|
|
34
|
+
import { componentDefinition as componentDefinition$28 } from "../core/shaders/Halftone/index.js";
|
|
35
|
+
import { componentDefinition as componentDefinition$29 } from "../core/shaders/HueShift/index.js";
|
|
36
|
+
import { componentDefinition as componentDefinition$30 } from "../core/shaders/ImageTexture/index.js";
|
|
37
|
+
import { componentDefinition as componentDefinition$31 } from "../core/shaders/Invert/index.js";
|
|
38
|
+
import { componentDefinition as componentDefinition$32 } from "../core/shaders/Kaleidoscope/index.js";
|
|
39
|
+
import { componentDefinition as componentDefinition$33 } from "../core/shaders/LinearBlur/index.js";
|
|
40
|
+
import { componentDefinition as componentDefinition$34 } from "../core/shaders/LinearGradient/index.js";
|
|
41
|
+
import { componentDefinition as componentDefinition$35 } from "../core/shaders/Liquify/index.js";
|
|
42
|
+
import { componentDefinition as componentDefinition$36 } from "../core/shaders/Mirror/index.js";
|
|
43
|
+
import { componentDefinition as componentDefinition$37 } from "../core/shaders/Perspective/index.js";
|
|
44
|
+
import { componentDefinition as componentDefinition$38 } from "../core/shaders/Pixelate/index.js";
|
|
45
|
+
import { componentDefinition as componentDefinition$39 } from "../core/shaders/PolarCoordinates/index.js";
|
|
46
|
+
import { componentDefinition as componentDefinition$40 } from "../core/shaders/Posterize/index.js";
|
|
47
|
+
import { componentDefinition as componentDefinition$41 } from "../core/shaders/ProgressiveBlur/index.js";
|
|
48
|
+
import { componentDefinition as componentDefinition$42 } from "../core/shaders/RadialGradient/index.js";
|
|
49
|
+
import { componentDefinition as componentDefinition$43 } from "../core/shaders/RectangularCoordinates/index.js";
|
|
50
|
+
import { componentDefinition as componentDefinition$44 } from "../core/shaders/Ripples/index.js";
|
|
51
|
+
import { componentDefinition as componentDefinition$45 } from "../core/shaders/Saturation/index.js";
|
|
52
|
+
import { componentDefinition as componentDefinition$46 } from "../core/shaders/Sharpness/index.js";
|
|
53
|
+
import { componentDefinition as componentDefinition$47 } from "../core/shaders/Shatter/index.js";
|
|
54
|
+
import { componentDefinition as componentDefinition$48 } from "../core/shaders/SimplexNoise/index.js";
|
|
55
|
+
import { componentDefinition as componentDefinition$49 } from "../core/shaders/SineWave/index.js";
|
|
56
|
+
import { componentDefinition as componentDefinition$50 } from "../core/shaders/SolidColor/index.js";
|
|
57
|
+
import { componentDefinition as componentDefinition$51 } from "../core/shaders/Spherize/index.js";
|
|
58
|
+
import { componentDefinition as componentDefinition$52 } from "../core/shaders/Spiral/index.js";
|
|
59
|
+
import { componentDefinition as componentDefinition$53 } from "../core/shaders/Strands/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$54 } from "../core/shaders/Stretch/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$55 } from "../core/shaders/Stripes/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$56 } from "../core/shaders/Swirl/index.js";
|
|
63
|
+
import { componentDefinition as componentDefinition$57 } from "../core/shaders/TiltShift/index.js";
|
|
64
|
+
import { componentDefinition as componentDefinition$58 } from "../core/shaders/Tint/index.js";
|
|
65
|
+
import { componentDefinition as componentDefinition$59 } from "../core/shaders/Tritone/index.js";
|
|
66
|
+
import { componentDefinition as componentDefinition$60 } from "../core/shaders/Twirl/index.js";
|
|
67
|
+
import { componentDefinition as componentDefinition$61 } from "../core/shaders/Vibrance/index.js";
|
|
68
|
+
import { componentDefinition as componentDefinition$62 } from "../core/shaders/WaveDistortion/index.js";
|
|
69
|
+
import { componentDefinition as componentDefinition$63 } from "../core/shaders/WebcamTexture/index.js";
|
|
70
|
+
import { componentDefinition as componentDefinition$64 } from "../core/shaders/ZoomBlur/index.js";
|
|
70
71
|
import { vec4 } from "three/tsl";
|
|
71
72
|
import { TelemetryCollector, isExternalUser, shouldCollectTelemetry } from "../core/telemetry/index.js";
|
|
72
73
|
function AngularBlur($$anchor, $$props) {
|
|
@@ -2269,7 +2270,7 @@ function FloatingParticles($$anchor, $$props) {
|
|
|
2269
2270
|
children?.($$anchor);
|
|
2270
2271
|
$.pop();
|
|
2271
2272
|
}
|
|
2272
|
-
function
|
|
2273
|
+
function FlowField($$anchor, $$props) {
|
|
2273
2274
|
$.push($$props, true);
|
|
2274
2275
|
const DEFAULT_TRANSFORM = {
|
|
2275
2276
|
offsetX: 0,
|
|
@@ -2379,7 +2380,7 @@ function GlassTiles($$anchor, $$props) {
|
|
|
2379
2380
|
children?.($$anchor);
|
|
2380
2381
|
$.pop();
|
|
2381
2382
|
}
|
|
2382
|
-
function
|
|
2383
|
+
function GlassTiles($$anchor, $$props) {
|
|
2383
2384
|
$.push($$props, true);
|
|
2384
2385
|
const DEFAULT_TRANSFORM = {
|
|
2385
2386
|
offsetX: 0,
|
|
@@ -2489,7 +2490,7 @@ function Glow($$anchor, $$props) {
|
|
|
2489
2490
|
children?.($$anchor);
|
|
2490
2491
|
$.pop();
|
|
2491
2492
|
}
|
|
2492
|
-
function
|
|
2493
|
+
function Glow($$anchor, $$props) {
|
|
2493
2494
|
$.push($$props, true);
|
|
2494
2495
|
const DEFAULT_TRANSFORM = {
|
|
2495
2496
|
offsetX: 0,
|
|
@@ -2599,7 +2600,7 @@ function Godrays($$anchor, $$props) {
|
|
|
2599
2600
|
children?.($$anchor);
|
|
2600
2601
|
$.pop();
|
|
2601
2602
|
}
|
|
2602
|
-
function
|
|
2603
|
+
function Godrays($$anchor, $$props) {
|
|
2603
2604
|
$.push($$props, true);
|
|
2604
2605
|
const DEFAULT_TRANSFORM = {
|
|
2605
2606
|
offsetX: 0,
|
|
@@ -2709,7 +2710,7 @@ function Grayscale($$anchor, $$props) {
|
|
|
2709
2710
|
children?.($$anchor);
|
|
2710
2711
|
$.pop();
|
|
2711
2712
|
}
|
|
2712
|
-
function
|
|
2713
|
+
function Grayscale($$anchor, $$props) {
|
|
2713
2714
|
$.push($$props, true);
|
|
2714
2715
|
const DEFAULT_TRANSFORM = {
|
|
2715
2716
|
offsetX: 0,
|
|
@@ -2819,7 +2820,7 @@ function Grid($$anchor, $$props) {
|
|
|
2819
2820
|
children?.($$anchor);
|
|
2820
2821
|
$.pop();
|
|
2821
2822
|
}
|
|
2822
|
-
function
|
|
2823
|
+
function Grid($$anchor, $$props) {
|
|
2823
2824
|
$.push($$props, true);
|
|
2824
2825
|
const DEFAULT_TRANSFORM = {
|
|
2825
2826
|
offsetX: 0,
|
|
@@ -2929,7 +2930,7 @@ function GridDistortion($$anchor, $$props) {
|
|
|
2929
2930
|
children?.($$anchor);
|
|
2930
2931
|
$.pop();
|
|
2931
2932
|
}
|
|
2932
|
-
function
|
|
2933
|
+
function GridDistortion($$anchor, $$props) {
|
|
2933
2934
|
$.push($$props, true);
|
|
2934
2935
|
const DEFAULT_TRANSFORM = {
|
|
2935
2936
|
offsetX: 0,
|
|
@@ -3039,7 +3040,7 @@ function Group($$anchor, $$props) {
|
|
|
3039
3040
|
children?.($$anchor);
|
|
3040
3041
|
$.pop();
|
|
3041
3042
|
}
|
|
3042
|
-
function
|
|
3043
|
+
function Group($$anchor, $$props) {
|
|
3043
3044
|
$.push($$props, true);
|
|
3044
3045
|
const DEFAULT_TRANSFORM = {
|
|
3045
3046
|
offsetX: 0,
|
|
@@ -3149,7 +3150,7 @@ function Halftone($$anchor, $$props) {
|
|
|
3149
3150
|
children?.($$anchor);
|
|
3150
3151
|
$.pop();
|
|
3151
3152
|
}
|
|
3152
|
-
function
|
|
3153
|
+
function Halftone($$anchor, $$props) {
|
|
3153
3154
|
$.push($$props, true);
|
|
3154
3155
|
const DEFAULT_TRANSFORM = {
|
|
3155
3156
|
offsetX: 0,
|
|
@@ -3259,7 +3260,7 @@ function HueShift($$anchor, $$props) {
|
|
|
3259
3260
|
children?.($$anchor);
|
|
3260
3261
|
$.pop();
|
|
3261
3262
|
}
|
|
3262
|
-
function
|
|
3263
|
+
function HueShift($$anchor, $$props) {
|
|
3263
3264
|
$.push($$props, true);
|
|
3264
3265
|
const DEFAULT_TRANSFORM = {
|
|
3265
3266
|
offsetX: 0,
|
|
@@ -3369,7 +3370,7 @@ function ImageTexture($$anchor, $$props) {
|
|
|
3369
3370
|
children?.($$anchor);
|
|
3370
3371
|
$.pop();
|
|
3371
3372
|
}
|
|
3372
|
-
function
|
|
3373
|
+
function ImageTexture($$anchor, $$props) {
|
|
3373
3374
|
$.push($$props, true);
|
|
3374
3375
|
const DEFAULT_TRANSFORM = {
|
|
3375
3376
|
offsetX: 0,
|
|
@@ -3479,7 +3480,7 @@ function Invert($$anchor, $$props) {
|
|
|
3479
3480
|
children?.($$anchor);
|
|
3480
3481
|
$.pop();
|
|
3481
3482
|
}
|
|
3482
|
-
function
|
|
3483
|
+
function Invert($$anchor, $$props) {
|
|
3483
3484
|
$.push($$props, true);
|
|
3484
3485
|
const DEFAULT_TRANSFORM = {
|
|
3485
3486
|
offsetX: 0,
|
|
@@ -3589,7 +3590,7 @@ function Kaleidoscope($$anchor, $$props) {
|
|
|
3589
3590
|
children?.($$anchor);
|
|
3590
3591
|
$.pop();
|
|
3591
3592
|
}
|
|
3592
|
-
function
|
|
3593
|
+
function Kaleidoscope($$anchor, $$props) {
|
|
3593
3594
|
$.push($$props, true);
|
|
3594
3595
|
const DEFAULT_TRANSFORM = {
|
|
3595
3596
|
offsetX: 0,
|
|
@@ -3699,7 +3700,7 @@ function LinearBlur($$anchor, $$props) {
|
|
|
3699
3700
|
children?.($$anchor);
|
|
3700
3701
|
$.pop();
|
|
3701
3702
|
}
|
|
3702
|
-
function
|
|
3703
|
+
function LinearBlur($$anchor, $$props) {
|
|
3703
3704
|
$.push($$props, true);
|
|
3704
3705
|
const DEFAULT_TRANSFORM = {
|
|
3705
3706
|
offsetX: 0,
|
|
@@ -3809,7 +3810,7 @@ function LinearGradient($$anchor, $$props) {
|
|
|
3809
3810
|
children?.($$anchor);
|
|
3810
3811
|
$.pop();
|
|
3811
3812
|
}
|
|
3812
|
-
function
|
|
3813
|
+
function LinearGradient($$anchor, $$props) {
|
|
3813
3814
|
$.push($$props, true);
|
|
3814
3815
|
const DEFAULT_TRANSFORM = {
|
|
3815
3816
|
offsetX: 0,
|
|
@@ -3919,7 +3920,7 @@ function Liquify($$anchor, $$props) {
|
|
|
3919
3920
|
children?.($$anchor);
|
|
3920
3921
|
$.pop();
|
|
3921
3922
|
}
|
|
3922
|
-
function
|
|
3923
|
+
function Liquify($$anchor, $$props) {
|
|
3923
3924
|
$.push($$props, true);
|
|
3924
3925
|
const DEFAULT_TRANSFORM = {
|
|
3925
3926
|
offsetX: 0,
|
|
@@ -4029,7 +4030,7 @@ function Mirror($$anchor, $$props) {
|
|
|
4029
4030
|
children?.($$anchor);
|
|
4030
4031
|
$.pop();
|
|
4031
4032
|
}
|
|
4032
|
-
function
|
|
4033
|
+
function Mirror($$anchor, $$props) {
|
|
4033
4034
|
$.push($$props, true);
|
|
4034
4035
|
const DEFAULT_TRANSFORM = {
|
|
4035
4036
|
offsetX: 0,
|
|
@@ -4139,7 +4140,7 @@ function Perspective($$anchor, $$props) {
|
|
|
4139
4140
|
children?.($$anchor);
|
|
4140
4141
|
$.pop();
|
|
4141
4142
|
}
|
|
4142
|
-
function
|
|
4143
|
+
function Perspective($$anchor, $$props) {
|
|
4143
4144
|
$.push($$props, true);
|
|
4144
4145
|
const DEFAULT_TRANSFORM = {
|
|
4145
4146
|
offsetX: 0,
|
|
@@ -4249,7 +4250,7 @@ function Pixelate($$anchor, $$props) {
|
|
|
4249
4250
|
children?.($$anchor);
|
|
4250
4251
|
$.pop();
|
|
4251
4252
|
}
|
|
4252
|
-
function
|
|
4253
|
+
function Pixelate($$anchor, $$props) {
|
|
4253
4254
|
$.push($$props, true);
|
|
4254
4255
|
const DEFAULT_TRANSFORM = {
|
|
4255
4256
|
offsetX: 0,
|
|
@@ -4359,7 +4360,7 @@ function PolarCoordinates($$anchor, $$props) {
|
|
|
4359
4360
|
children?.($$anchor);
|
|
4360
4361
|
$.pop();
|
|
4361
4362
|
}
|
|
4362
|
-
function
|
|
4363
|
+
function PolarCoordinates($$anchor, $$props) {
|
|
4363
4364
|
$.push($$props, true);
|
|
4364
4365
|
const DEFAULT_TRANSFORM = {
|
|
4365
4366
|
offsetX: 0,
|
|
@@ -4469,7 +4470,7 @@ function Posterize($$anchor, $$props) {
|
|
|
4469
4470
|
children?.($$anchor);
|
|
4470
4471
|
$.pop();
|
|
4471
4472
|
}
|
|
4472
|
-
function
|
|
4473
|
+
function Posterize($$anchor, $$props) {
|
|
4473
4474
|
$.push($$props, true);
|
|
4474
4475
|
const DEFAULT_TRANSFORM = {
|
|
4475
4476
|
offsetX: 0,
|
|
@@ -4579,7 +4580,7 @@ function ProgressiveBlur($$anchor, $$props) {
|
|
|
4579
4580
|
children?.($$anchor);
|
|
4580
4581
|
$.pop();
|
|
4581
4582
|
}
|
|
4582
|
-
function
|
|
4583
|
+
function ProgressiveBlur($$anchor, $$props) {
|
|
4583
4584
|
$.push($$props, true);
|
|
4584
4585
|
const DEFAULT_TRANSFORM = {
|
|
4585
4586
|
offsetX: 0,
|
|
@@ -4689,7 +4690,7 @@ function RadialGradient($$anchor, $$props) {
|
|
|
4689
4690
|
children?.($$anchor);
|
|
4690
4691
|
$.pop();
|
|
4691
4692
|
}
|
|
4692
|
-
function
|
|
4693
|
+
function RadialGradient($$anchor, $$props) {
|
|
4693
4694
|
$.push($$props, true);
|
|
4694
4695
|
const DEFAULT_TRANSFORM = {
|
|
4695
4696
|
offsetX: 0,
|
|
@@ -4799,7 +4800,7 @@ function RectangularCoordinates($$anchor, $$props) {
|
|
|
4799
4800
|
children?.($$anchor);
|
|
4800
4801
|
$.pop();
|
|
4801
4802
|
}
|
|
4802
|
-
function
|
|
4803
|
+
function RectangularCoordinates($$anchor, $$props) {
|
|
4803
4804
|
$.push($$props, true);
|
|
4804
4805
|
const DEFAULT_TRANSFORM = {
|
|
4805
4806
|
offsetX: 0,
|
|
@@ -4909,7 +4910,7 @@ function Ripples($$anchor, $$props) {
|
|
|
4909
4910
|
children?.($$anchor);
|
|
4910
4911
|
$.pop();
|
|
4911
4912
|
}
|
|
4912
|
-
function
|
|
4913
|
+
function Ripples($$anchor, $$props) {
|
|
4913
4914
|
$.push($$props, true);
|
|
4914
4915
|
const DEFAULT_TRANSFORM = {
|
|
4915
4916
|
offsetX: 0,
|
|
@@ -5019,7 +5020,7 @@ function Saturation($$anchor, $$props) {
|
|
|
5019
5020
|
children?.($$anchor);
|
|
5020
5021
|
$.pop();
|
|
5021
5022
|
}
|
|
5022
|
-
function
|
|
5023
|
+
function Saturation($$anchor, $$props) {
|
|
5023
5024
|
$.push($$props, true);
|
|
5024
5025
|
const DEFAULT_TRANSFORM = {
|
|
5025
5026
|
offsetX: 0,
|
|
@@ -5129,7 +5130,7 @@ function Sharpness($$anchor, $$props) {
|
|
|
5129
5130
|
children?.($$anchor);
|
|
5130
5131
|
$.pop();
|
|
5131
5132
|
}
|
|
5132
|
-
function
|
|
5133
|
+
function Sharpness($$anchor, $$props) {
|
|
5133
5134
|
$.push($$props, true);
|
|
5134
5135
|
const DEFAULT_TRANSFORM = {
|
|
5135
5136
|
offsetX: 0,
|
|
@@ -5239,7 +5240,7 @@ function Shatter($$anchor, $$props) {
|
|
|
5239
5240
|
children?.($$anchor);
|
|
5240
5241
|
$.pop();
|
|
5241
5242
|
}
|
|
5242
|
-
function
|
|
5243
|
+
function Shatter($$anchor, $$props) {
|
|
5243
5244
|
$.push($$props, true);
|
|
5244
5245
|
const DEFAULT_TRANSFORM = {
|
|
5245
5246
|
offsetX: 0,
|
|
@@ -5349,7 +5350,7 @@ function SimplexNoise($$anchor, $$props) {
|
|
|
5349
5350
|
children?.($$anchor);
|
|
5350
5351
|
$.pop();
|
|
5351
5352
|
}
|
|
5352
|
-
function
|
|
5353
|
+
function SimplexNoise($$anchor, $$props) {
|
|
5353
5354
|
$.push($$props, true);
|
|
5354
5355
|
const DEFAULT_TRANSFORM = {
|
|
5355
5356
|
offsetX: 0,
|
|
@@ -5459,7 +5460,7 @@ function SineWave($$anchor, $$props) {
|
|
|
5459
5460
|
children?.($$anchor);
|
|
5460
5461
|
$.pop();
|
|
5461
5462
|
}
|
|
5462
|
-
function
|
|
5463
|
+
function SineWave($$anchor, $$props) {
|
|
5463
5464
|
$.push($$props, true);
|
|
5464
5465
|
const DEFAULT_TRANSFORM = {
|
|
5465
5466
|
offsetX: 0,
|
|
@@ -5569,7 +5570,7 @@ function SolidColor($$anchor, $$props) {
|
|
|
5569
5570
|
children?.($$anchor);
|
|
5570
5571
|
$.pop();
|
|
5571
5572
|
}
|
|
5572
|
-
function
|
|
5573
|
+
function SolidColor($$anchor, $$props) {
|
|
5573
5574
|
$.push($$props, true);
|
|
5574
5575
|
const DEFAULT_TRANSFORM = {
|
|
5575
5576
|
offsetX: 0,
|
|
@@ -5679,7 +5680,7 @@ function Spherize($$anchor, $$props) {
|
|
|
5679
5680
|
children?.($$anchor);
|
|
5680
5681
|
$.pop();
|
|
5681
5682
|
}
|
|
5682
|
-
function
|
|
5683
|
+
function Spherize($$anchor, $$props) {
|
|
5683
5684
|
$.push($$props, true);
|
|
5684
5685
|
const DEFAULT_TRANSFORM = {
|
|
5685
5686
|
offsetX: 0,
|
|
@@ -5789,7 +5790,7 @@ function Spiral($$anchor, $$props) {
|
|
|
5789
5790
|
children?.($$anchor);
|
|
5790
5791
|
$.pop();
|
|
5791
5792
|
}
|
|
5792
|
-
function
|
|
5793
|
+
function Spiral($$anchor, $$props) {
|
|
5793
5794
|
$.push($$props, true);
|
|
5794
5795
|
const DEFAULT_TRANSFORM = {
|
|
5795
5796
|
offsetX: 0,
|
|
@@ -5899,7 +5900,7 @@ function Strands($$anchor, $$props) {
|
|
|
5899
5900
|
children?.($$anchor);
|
|
5900
5901
|
$.pop();
|
|
5901
5902
|
}
|
|
5902
|
-
function
|
|
5903
|
+
function Strands($$anchor, $$props) {
|
|
5903
5904
|
$.push($$props, true);
|
|
5904
5905
|
const DEFAULT_TRANSFORM = {
|
|
5905
5906
|
offsetX: 0,
|
|
@@ -6009,7 +6010,7 @@ function Stretch($$anchor, $$props) {
|
|
|
6009
6010
|
children?.($$anchor);
|
|
6010
6011
|
$.pop();
|
|
6011
6012
|
}
|
|
6012
|
-
function
|
|
6013
|
+
function Stretch($$anchor, $$props) {
|
|
6013
6014
|
$.push($$props, true);
|
|
6014
6015
|
const DEFAULT_TRANSFORM = {
|
|
6015
6016
|
offsetX: 0,
|
|
@@ -6119,7 +6120,7 @@ function Stripes($$anchor, $$props) {
|
|
|
6119
6120
|
children?.($$anchor);
|
|
6120
6121
|
$.pop();
|
|
6121
6122
|
}
|
|
6122
|
-
function
|
|
6123
|
+
function Stripes($$anchor, $$props) {
|
|
6123
6124
|
$.push($$props, true);
|
|
6124
6125
|
const DEFAULT_TRANSFORM = {
|
|
6125
6126
|
offsetX: 0,
|
|
@@ -6229,7 +6230,7 @@ function Swirl($$anchor, $$props) {
|
|
|
6229
6230
|
children?.($$anchor);
|
|
6230
6231
|
$.pop();
|
|
6231
6232
|
}
|
|
6232
|
-
function
|
|
6233
|
+
function Swirl($$anchor, $$props) {
|
|
6233
6234
|
$.push($$props, true);
|
|
6234
6235
|
const DEFAULT_TRANSFORM = {
|
|
6235
6236
|
offsetX: 0,
|
|
@@ -6339,7 +6340,7 @@ function TiltShift($$anchor, $$props) {
|
|
|
6339
6340
|
children?.($$anchor);
|
|
6340
6341
|
$.pop();
|
|
6341
6342
|
}
|
|
6342
|
-
function
|
|
6343
|
+
function TiltShift($$anchor, $$props) {
|
|
6343
6344
|
$.push($$props, true);
|
|
6344
6345
|
const DEFAULT_TRANSFORM = {
|
|
6345
6346
|
offsetX: 0,
|
|
@@ -6449,7 +6450,7 @@ function Tint($$anchor, $$props) {
|
|
|
6449
6450
|
children?.($$anchor);
|
|
6450
6451
|
$.pop();
|
|
6451
6452
|
}
|
|
6452
|
-
function
|
|
6453
|
+
function Tint($$anchor, $$props) {
|
|
6453
6454
|
$.push($$props, true);
|
|
6454
6455
|
const DEFAULT_TRANSFORM = {
|
|
6455
6456
|
offsetX: 0,
|
|
@@ -6559,7 +6560,7 @@ function Tritone($$anchor, $$props) {
|
|
|
6559
6560
|
children?.($$anchor);
|
|
6560
6561
|
$.pop();
|
|
6561
6562
|
}
|
|
6562
|
-
function
|
|
6563
|
+
function Tritone($$anchor, $$props) {
|
|
6563
6564
|
$.push($$props, true);
|
|
6564
6565
|
const DEFAULT_TRANSFORM = {
|
|
6565
6566
|
offsetX: 0,
|
|
@@ -6669,7 +6670,7 @@ function Twirl($$anchor, $$props) {
|
|
|
6669
6670
|
children?.($$anchor);
|
|
6670
6671
|
$.pop();
|
|
6671
6672
|
}
|
|
6672
|
-
function
|
|
6673
|
+
function Twirl($$anchor, $$props) {
|
|
6673
6674
|
$.push($$props, true);
|
|
6674
6675
|
const DEFAULT_TRANSFORM = {
|
|
6675
6676
|
offsetX: 0,
|
|
@@ -6779,7 +6780,7 @@ function Vibrance($$anchor, $$props) {
|
|
|
6779
6780
|
children?.($$anchor);
|
|
6780
6781
|
$.pop();
|
|
6781
6782
|
}
|
|
6782
|
-
function
|
|
6783
|
+
function Vibrance($$anchor, $$props) {
|
|
6783
6784
|
$.push($$props, true);
|
|
6784
6785
|
const DEFAULT_TRANSFORM = {
|
|
6785
6786
|
offsetX: 0,
|
|
@@ -6889,7 +6890,7 @@ function WaveDistortion($$anchor, $$props) {
|
|
|
6889
6890
|
children?.($$anchor);
|
|
6890
6891
|
$.pop();
|
|
6891
6892
|
}
|
|
6892
|
-
function
|
|
6893
|
+
function WaveDistortion($$anchor, $$props) {
|
|
6893
6894
|
$.push($$props, true);
|
|
6894
6895
|
const DEFAULT_TRANSFORM = {
|
|
6895
6896
|
offsetX: 0,
|
|
@@ -6999,7 +7000,7 @@ function WebcamTexture($$anchor, $$props) {
|
|
|
6999
7000
|
children?.($$anchor);
|
|
7000
7001
|
$.pop();
|
|
7001
7002
|
}
|
|
7002
|
-
function
|
|
7003
|
+
function WebcamTexture($$anchor, $$props) {
|
|
7003
7004
|
$.push($$props, true);
|
|
7004
7005
|
const DEFAULT_TRANSFORM = {
|
|
7005
7006
|
offsetX: 0,
|
|
@@ -7109,6 +7110,116 @@ function ZoomBlur($$anchor, $$props) {
|
|
|
7109
7110
|
children?.($$anchor);
|
|
7110
7111
|
$.pop();
|
|
7111
7112
|
}
|
|
7113
|
+
function ZoomBlur($$anchor, $$props) {
|
|
7114
|
+
$.push($$props, true);
|
|
7115
|
+
const DEFAULT_TRANSFORM = {
|
|
7116
|
+
offsetX: 0,
|
|
7117
|
+
offsetY: 0,
|
|
7118
|
+
rotation: 0,
|
|
7119
|
+
scale: 1,
|
|
7120
|
+
anchorX: .5,
|
|
7121
|
+
anchorY: .5,
|
|
7122
|
+
edges: "transparent"
|
|
7123
|
+
};
|
|
7124
|
+
const componentDefaults = {
|
|
7125
|
+
blendMode: "normal",
|
|
7126
|
+
renderOrder: 0,
|
|
7127
|
+
visible: true,
|
|
7128
|
+
...Object.entries(componentDefinition$64.props).reduce((acc, [key, config]) => {
|
|
7129
|
+
acc[key] = config.default;
|
|
7130
|
+
return acc;
|
|
7131
|
+
}, {})
|
|
7132
|
+
};
|
|
7133
|
+
const props = $.rest_props($$props, [
|
|
7134
|
+
"$$slots",
|
|
7135
|
+
"$$events",
|
|
7136
|
+
"$$legacy"
|
|
7137
|
+
]);
|
|
7138
|
+
const blendMode = $$props.blendMode ?? componentDefaults.blendMode;
|
|
7139
|
+
const opacity = $$props.opacity;
|
|
7140
|
+
const visible = $$props.visible ?? componentDefaults.visible;
|
|
7141
|
+
const id = $$props.id;
|
|
7142
|
+
const maskSource = $$props.maskSource;
|
|
7143
|
+
const maskType = $$props.maskType;
|
|
7144
|
+
const renderOrder = $$props.renderOrder ?? componentDefaults.renderOrder;
|
|
7145
|
+
const { children } = props;
|
|
7146
|
+
const effectiveTransform = $.derived(() => ({
|
|
7147
|
+
...DEFAULT_TRANSFORM,
|
|
7148
|
+
...$$props.transform
|
|
7149
|
+
}));
|
|
7150
|
+
const parentId = getContext("shaderParentId");
|
|
7151
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7152
|
+
const instanceId = id || `${componentDefinition$64.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7153
|
+
setContext("shaderParentId", instanceId);
|
|
7154
|
+
const shaderReadyProps = $.derived(() => {
|
|
7155
|
+
let baseProps = { ...componentDefaults };
|
|
7156
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
7157
|
+
const propValue = props[key];
|
|
7158
|
+
const defaultValue = componentDefaults[key];
|
|
7159
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
7160
|
+
}
|
|
7161
|
+
return baseProps;
|
|
7162
|
+
});
|
|
7163
|
+
const uniforms = createUniformsMap(componentDefinition$64, $.get(shaderReadyProps), instanceId);
|
|
7164
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
7165
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7166
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
7167
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
7168
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
7169
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
7170
|
+
let isRegistered = $.state(false);
|
|
7171
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
7172
|
+
$.user_effect(() => {
|
|
7173
|
+
if (!$.get(isRegistered)) return;
|
|
7174
|
+
if (uniform && uniform.value !== void 0) {
|
|
7175
|
+
const newValue = props[propName];
|
|
7176
|
+
if (newValue !== void 0) parentUniformUpdate(instanceId, propName, newValue);
|
|
7177
|
+
}
|
|
7178
|
+
});
|
|
7179
|
+
});
|
|
7180
|
+
$.user_effect(() => {
|
|
7181
|
+
if (!$.get(isRegistered)) return;
|
|
7182
|
+
parentMetadataUpdate(instanceId, {
|
|
7183
|
+
blendMode,
|
|
7184
|
+
opacity,
|
|
7185
|
+
visible: visible === false ? false : true,
|
|
7186
|
+
id,
|
|
7187
|
+
mask: maskSource ? {
|
|
7188
|
+
source: maskSource,
|
|
7189
|
+
type: maskType || "alpha"
|
|
7190
|
+
} : void 0,
|
|
7191
|
+
renderOrder,
|
|
7192
|
+
transform: $.get(effectiveTransform)
|
|
7193
|
+
});
|
|
7194
|
+
});
|
|
7195
|
+
onMount(() => {
|
|
7196
|
+
if (componentDefinition$64 && typeof componentDefinition$64.fragmentNode === "function") {
|
|
7197
|
+
parentRegister(instanceId, componentDefinition$64.fragmentNode, parentId, {
|
|
7198
|
+
blendMode,
|
|
7199
|
+
opacity,
|
|
7200
|
+
visible: visible !== false ? true : false,
|
|
7201
|
+
id,
|
|
7202
|
+
mask: maskSource ? {
|
|
7203
|
+
source: maskSource,
|
|
7204
|
+
type: maskType || "alpha"
|
|
7205
|
+
} : void 0,
|
|
7206
|
+
renderOrder,
|
|
7207
|
+
transform: $.get(effectiveTransform)
|
|
7208
|
+
}, uniforms);
|
|
7209
|
+
$.set(isRegistered, true);
|
|
7210
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
7211
|
+
componentDefinition: componentDefinition$64,
|
|
7212
|
+
fragmentNode: componentDefinition$64?.fragmentNode,
|
|
7213
|
+
type: typeof componentDefinition$64?.fragmentNode
|
|
7214
|
+
});
|
|
7215
|
+
});
|
|
7216
|
+
onDestroy(() => {
|
|
7217
|
+
$.set(isRegistered, false);
|
|
7218
|
+
parentRegister(instanceId, null, null, null, null);
|
|
7219
|
+
});
|
|
7220
|
+
children?.($$anchor);
|
|
7221
|
+
$.pop();
|
|
7222
|
+
}
|
|
7112
7223
|
var root = $.from_html(`<div><canvas data-renderer="shaders" style="width: 100%; height: 100%; display: block;"></canvas> <!></div>`);
|
|
7113
7224
|
function Shader($$anchor, $$props) {
|
|
7114
7225
|
$.push($$props, true);
|
|
@@ -7224,4 +7335,4 @@ function Shader($$anchor, $$props) {
|
|
|
7224
7335
|
$.append($$anchor, div);
|
|
7225
7336
|
$.pop();
|
|
7226
7337
|
}
|
|
7227
|
-
export { AngularBlur, Ascii, Beam, Blob, Blur, BrightnessContrast, Bulge, CRTScreen, ChannelBlur, Checkerboard, ChromaFlow, ChromaticAberration, Circle, CursorTrail, DiffuseBlur, Dither, DotGrid, Duotone, FilmGrain, FloatingParticles, GlassTiles, Glow, Godrays, Grayscale, Grid, GridDistortion, Group, Halftone, HueShift, ImageTexture, Invert, Kaleidoscope, LinearBlur, LinearGradient, Liquify, Mirror, Perspective, Pixelate, PolarCoordinates, Posterize, ProgressiveBlur, RadialGradient, RectangularCoordinates, Ripples, Saturation, Shader, Sharpness, Shatter, SimplexNoise, SineWave, SolidColor, Spherize, Spiral, Strands, Stretch, Stripes, Swirl, TiltShift, Tint, Tritone, Twirl, Vibrance, WaveDistortion, WebcamTexture, ZoomBlur, generatePresetCode };
|
|
7338
|
+
export { AngularBlur, Ascii, Beam, Blob, Blur, BrightnessContrast, Bulge, CRTScreen, ChannelBlur, Checkerboard, ChromaFlow, ChromaticAberration, Circle, CursorTrail, DiffuseBlur, Dither, DotGrid, Duotone, FilmGrain, FloatingParticles, FlowField, GlassTiles, Glow, Godrays, Grayscale, Grid, GridDistortion, Group, Halftone, HueShift, ImageTexture, Invert, Kaleidoscope, LinearBlur, LinearGradient, Liquify, Mirror, Perspective, Pixelate, PolarCoordinates, Posterize, ProgressiveBlur, RadialGradient, RectangularCoordinates, Ripples, Saturation, Shader, Sharpness, Shatter, SimplexNoise, SineWave, SolidColor, Spherize, Spiral, Strands, Stretch, Stripes, Swirl, TiltShift, Tint, Tritone, Twirl, Vibrance, WaveDistortion, WebcamTexture, ZoomBlur, generatePresetCode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as generatePresetCode, t as availableComponents } from "../generatePresetCode-
|
|
1
|
+
import { n as generatePresetCode, t as availableComponents } from "../generatePresetCode-BD0Ac86C.js";
|
|
2
2
|
export { availableComponents, generatePresetCode };
|