shaders 2.5.83 → 2.5.84
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/{Crescent-n3F1gT1y.js → Crescent-DnFexzlT.js} +1 -1
- package/dist/core/{Cross-CQmjBna4.js → Cross-rsVMygBv.js} +1 -1
- package/dist/core/{Ellipse-DWQt5JTM.js → Ellipse-CZWtvB3q.js} +1 -1
- package/dist/core/{Emboss-ShjCeQPU.js → Emboss-DCKgs4_G.js} +4 -2
- package/dist/core/{Flower-DZVbhEaA.js → Flower-fYEx6ZSB.js} +1 -1
- package/dist/core/{Glass-CrdewyrV.js → Glass-BioLeiH6.js} +4 -2
- package/dist/core/{Neon-DwAOiY8b.js → Neon-uXetpVop.js} +4 -2
- package/dist/core/{Polygon-BrxPjS1j.js → Polygon-7mzxbJeF.js} +1 -1
- package/dist/core/{Ring-CrnCOiYQ.js → Ring-H6B01ZMz.js} +1 -1
- package/dist/core/{RoundedRect-CyLsv0Vq.js → RoundedRect-OszKdYVD.js} +1 -1
- package/dist/core/{Star-CAfXecya.js → Star-CyjNgJVp.js} +1 -1
- package/dist/core/{Trapezoid-DA0I90A2.js → Trapezoid-SuI0dRgI.js} +1 -1
- package/dist/core/{Vesica-RKKgxLKt.js → Vesica-Cj--pgNW.js} +1 -1
- package/dist/core/index.js +15 -15
- package/dist/core/registry.js +15 -15
- package/dist/core/{sdf-vsljaiJ7.js → sdf-CZRX0uur.js} +10 -6
- package/dist/core/{shaderRegistry-D0ny8qOF.js → shaderRegistry-ClxU5BC7.js} +13 -13
- package/dist/core/shaders/Crescent/index.js +2 -2
- package/dist/core/shaders/Cross/index.js +2 -2
- package/dist/core/shaders/Ellipse/index.js +2 -2
- package/dist/core/shaders/Emboss/index.d.ts.map +1 -1
- package/dist/core/shaders/Emboss/index.js +2 -2
- package/dist/core/shaders/Flower/index.js +2 -2
- package/dist/core/shaders/Glass/index.d.ts.map +1 -1
- package/dist/core/shaders/Glass/index.js +2 -2
- package/dist/core/shaders/Neon/index.d.ts.map +1 -1
- package/dist/core/shaders/Neon/index.js +2 -2
- package/dist/core/shaders/Polygon/index.js +2 -2
- package/dist/core/shaders/Ring/index.js +2 -2
- package/dist/core/shaders/RoundedRect/index.js +2 -2
- package/dist/core/shaders/Star/index.js +2 -2
- package/dist/core/shaders/Trapezoid/index.js +2 -2
- package/dist/core/shaders/Vesica/index.js +2 -2
- package/dist/core/utilities/sdf.d.ts.map +1 -1
- package/dist/js/createShader.js +1 -1
- package/dist/react/Shader.js +1 -1
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/svelte/index.js +1 -1
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { i as crescentSdf } from "./sdf-
|
|
3
|
+
import { i as crescentSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { cos, float, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { a as crossSdf } from "./sdf-
|
|
3
|
+
import { a as crossSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { cos, float, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { o as ellipseSdf } from "./sdf-
|
|
3
|
+
import { o as ellipseSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { cos, float, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
|
-
import { n as createAnalyticSdfSampler, r as createSvgSdfSampler } from "./sdf-
|
|
2
|
+
import { n as createAnalyticSdfSampler, r as createSvgSdfSampler } from "./sdf-CZRX0uur.js";
|
|
3
3
|
import { Fn, abs, clamp, convertToTexture, cos, float, max, screenUV, sin, smoothstep, sqrt, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var _INV_LIGHT_LEN = 1 / Math.sqrt(1.49);
|
|
5
5
|
var _LZN = .7 * _INV_LIGHT_LEN;
|
|
@@ -169,8 +169,10 @@ const componentDefinition = {
|
|
|
169
169
|
});
|
|
170
170
|
const shapeSdfUrl = uniforms.shapeSdfUrl.uniform.value;
|
|
171
171
|
const initialConfig = (() => {
|
|
172
|
+
const val = uniforms.shape.uniform.value;
|
|
173
|
+
if (typeof val === "object" && val !== null) return val;
|
|
172
174
|
try {
|
|
173
|
-
return JSON.parse(
|
|
175
|
+
return JSON.parse(val);
|
|
174
176
|
} catch {
|
|
175
177
|
return {
|
|
176
178
|
type: "circleSDF",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { s as flowerSdf } from "./sdf-
|
|
3
|
+
import { s as flowerSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { cos, float, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
|
-
import { n as createAnalyticSdfSampler, r as createSvgSdfSampler } from "./sdf-
|
|
2
|
+
import { n as createAnalyticSdfSampler, r as createSvgSdfSampler } from "./sdf-CZRX0uur.js";
|
|
3
3
|
import { Fn, clamp, convertToTexture, cos, dot, exp2, float, max, mix, pow, screenUV, sin, smoothstep, sqrt, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var GOLDEN_ANGLE = 2.3999632297286535;
|
|
5
5
|
var BLUR_SAMPLE_COUNT = 9;
|
|
@@ -349,8 +349,10 @@ const componentDefinition = {
|
|
|
349
349
|
});
|
|
350
350
|
const shapeSdfUrl = uniforms.shapeSdfUrl.uniform.value;
|
|
351
351
|
const initialConfig = (() => {
|
|
352
|
+
const val = uniforms.shape.uniform.value;
|
|
353
|
+
if (typeof val === "object" && val !== null) return val;
|
|
352
354
|
try {
|
|
353
|
-
return JSON.parse(
|
|
355
|
+
return JSON.parse(val);
|
|
354
356
|
} catch {
|
|
355
357
|
return {
|
|
356
358
|
type: "circleSDF",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
|
-
import { n as createAnalyticSdfSampler, r as createSvgSdfSampler } from "./sdf-
|
|
2
|
+
import { n as createAnalyticSdfSampler, r as createSvgSdfSampler } from "./sdf-CZRX0uur.js";
|
|
3
3
|
import { Fn, atan, clamp, cos, exp, exp2, float, max, mix, pow, screenUV, sin, smoothstep, sqrt, uniform, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var _LZ = .7;
|
|
5
5
|
var _INV_LIGHT_LEN = 1 / Math.sqrt(1 + _LZ * _LZ);
|
|
@@ -346,8 +346,10 @@ const componentDefinition = {
|
|
|
346
346
|
});
|
|
347
347
|
const shapeSdfUrl = uniforms.shapeSdfUrl.uniform.value;
|
|
348
348
|
const initialConfig = (() => {
|
|
349
|
+
const val = uniforms.shape.uniform.value;
|
|
350
|
+
if (typeof val === "object" && val !== null) return val;
|
|
349
351
|
try {
|
|
350
|
-
return JSON.parse(
|
|
352
|
+
return JSON.parse(val);
|
|
351
353
|
} catch {
|
|
352
354
|
return {
|
|
353
355
|
type: "circleSDF",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { c as polygonSdf, t as circleSdf } from "./sdf-
|
|
3
|
+
import { c as polygonSdf, t as circleSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { cos, float, mix, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { l as ringSdf } from "./sdf-
|
|
3
|
+
import { l as ringSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { float, screenUV, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { u as roundedRectSdf } from "./sdf-
|
|
3
|
+
import { u as roundedRectSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { cos, float, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { d as starSdf } from "./sdf-
|
|
3
|
+
import { d as starSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { cos, float, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { f as trapezoidSdf } from "./sdf-
|
|
3
|
+
import { f as trapezoidSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { cos, float, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { p as vesicaSdf } from "./sdf-
|
|
3
|
+
import { p as vesicaSdf } from "./sdf-CZRX0uur.js";
|
|
4
4
|
import { cos, float, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
var transformStrokePosition = (value) => {
|
|
6
6
|
return {
|
package/dist/core/index.js
CHANGED
|
@@ -18,9 +18,9 @@ import "./ChromaticAberration-G8_bwQtD.js";
|
|
|
18
18
|
import "./Circle--0oHzoCi.js";
|
|
19
19
|
import "./ConcentricSpin-BzxzMieZ.js";
|
|
20
20
|
import "./ContourLines-yEb5IJ1Y.js";
|
|
21
|
-
import "./sdf-
|
|
22
|
-
import "./Crescent-
|
|
23
|
-
import "./Cross-
|
|
21
|
+
import "./sdf-CZRX0uur.js";
|
|
22
|
+
import "./Crescent-DnFexzlT.js";
|
|
23
|
+
import "./Cross-rsVMygBv.js";
|
|
24
24
|
import "./CRTScreen-BZ-sAmPZ.js";
|
|
25
25
|
import "./CursorRipples-BY1iu4MX.js";
|
|
26
26
|
import "./CursorTrail-BzrL2WMh.js";
|
|
@@ -28,16 +28,16 @@ import "./DiffuseBlur-Dyd42LXw.js";
|
|
|
28
28
|
import "./Dither-CTInG_SB.js";
|
|
29
29
|
import "./DotGrid-CsL0dnYB.js";
|
|
30
30
|
import "./Duotone-BbCFLFMK.js";
|
|
31
|
-
import "./Ellipse-
|
|
32
|
-
import "./Emboss-
|
|
31
|
+
import "./Ellipse-CZWtvB3q.js";
|
|
32
|
+
import "./Emboss-DCKgs4_G.js";
|
|
33
33
|
import "./FallingLines-DBNJVWio.js";
|
|
34
34
|
import "./FilmGrain-CSuerGc6.js";
|
|
35
35
|
import "./FloatingParticles-CoBM_CJ8.js";
|
|
36
|
-
import "./Flower-
|
|
36
|
+
import "./Flower-fYEx6ZSB.js";
|
|
37
37
|
import "./FlowField-Bh3-dX6I.js";
|
|
38
38
|
import "./FlowingGradient-DVproCI1.js";
|
|
39
39
|
import "./Form3D-DhezVuyN.js";
|
|
40
|
-
import "./Glass-
|
|
40
|
+
import "./Glass-BioLeiH6.js";
|
|
41
41
|
import "./GlassTiles-ClrOIpCg.js";
|
|
42
42
|
import "./Glitch-DmWytiRl.js";
|
|
43
43
|
import "./Glow-Dm4dfZ_m.js";
|
|
@@ -56,20 +56,20 @@ import "./LinearBlur-AR65FcZh.js";
|
|
|
56
56
|
import "./LinearGradient-DXCXjS-K.js";
|
|
57
57
|
import "./Liquify-mhzPd19o.js";
|
|
58
58
|
import "./Mirror-CSc5mJi1.js";
|
|
59
|
-
import "./Neon-
|
|
59
|
+
import "./Neon-uXetpVop.js";
|
|
60
60
|
import "./Paper-DfUka0dt.js";
|
|
61
61
|
import "./Perspective-uPiPmWy_.js";
|
|
62
62
|
import "./Pixelate-DRkAW4Lo.js";
|
|
63
63
|
import "./Plasma-ELzbK-Us.js";
|
|
64
64
|
import "./PolarCoordinates-CalS_TB6.js";
|
|
65
|
-
import "./Polygon-
|
|
65
|
+
import "./Polygon-7mzxbJeF.js";
|
|
66
66
|
import "./Posterize-C4vtRmtA.js";
|
|
67
67
|
import "./ProgressiveBlur-CLYhfOvQ.js";
|
|
68
68
|
import "./RadialGradient-DtD8HWdM.js";
|
|
69
69
|
import "./RectangularCoordinates-B96mflF5.js";
|
|
70
|
-
import "./Ring-
|
|
70
|
+
import "./Ring-H6B01ZMz.js";
|
|
71
71
|
import "./Ripples-Cevf-Hvg.js";
|
|
72
|
-
import "./RoundedRect-
|
|
72
|
+
import "./RoundedRect-OszKdYVD.js";
|
|
73
73
|
import "./Saturation-CcDwPh2v.js";
|
|
74
74
|
import "./Sharpness-D_dXfDEo.js";
|
|
75
75
|
import "./Shatter-NfZzVt54.js";
|
|
@@ -78,7 +78,7 @@ import "./SineWave-CVeYx3n-.js";
|
|
|
78
78
|
import "./SolidColor-BdbBnLxX.js";
|
|
79
79
|
import "./Spherize-BRGwLGeu.js";
|
|
80
80
|
import "./Spiral-BkTBXb7z.js";
|
|
81
|
-
import "./Star-
|
|
81
|
+
import "./Star-CyjNgJVp.js";
|
|
82
82
|
import "./Strands-Cjsw-cPu.js";
|
|
83
83
|
import "./Stretch-9cta3Z1W.js";
|
|
84
84
|
import "./Stripes-C0sCGCz_.js";
|
|
@@ -86,17 +86,17 @@ import "./StudioBackground-BYv_-8df.js";
|
|
|
86
86
|
import "./Swirl-DXjIXfy7.js";
|
|
87
87
|
import "./TiltShift-56lcZ4cJ.js";
|
|
88
88
|
import "./Tint-8_WIy9_e.js";
|
|
89
|
-
import "./Trapezoid-
|
|
89
|
+
import "./Trapezoid-SuI0dRgI.js";
|
|
90
90
|
import "./Tritone-nyJyybHI.js";
|
|
91
91
|
import "./Twirl-BzSEz4xK.js";
|
|
92
|
-
import "./Vesica-
|
|
92
|
+
import "./Vesica-Cj--pgNW.js";
|
|
93
93
|
import "./Vibrance-BETLN3Ie.js";
|
|
94
94
|
import "./browser-CqdrcD5J.js";
|
|
95
95
|
import "./VideoTexture-Dbsbgb1Y.js";
|
|
96
96
|
import "./WaveDistortion-C-j597Jm.js";
|
|
97
97
|
import "./WebcamTexture-xvb8MuFz.js";
|
|
98
98
|
import "./ZoomBlur-DFw0J9x3.js";
|
|
99
|
-
import { t as getAllShaders } from "./shaderRegistry-
|
|
99
|
+
import { t as getAllShaders } from "./shaderRegistry-ClxU5BC7.js";
|
|
100
100
|
import { Material, Mesh, MeshBasicNodeMaterial, OrthographicCamera, PlaneGeometry, SRGBColorSpace, Scene, Vector2, WebGPURenderer } from "three/webgpu";
|
|
101
101
|
import { WebGLRenderer } from "three";
|
|
102
102
|
import { PI, abs, add, atan, clamp, convertToTexture, cos, div, dot, float, fract, max, min, mix, mul, pow, screenUV, sign, sin, smoothstep, sqrt, step, sub, time, uniform, uv, vec2, vec3, vec4 } from "three/tsl";
|
package/dist/core/registry.js
CHANGED
|
@@ -18,9 +18,9 @@ import "./ChromaticAberration-G8_bwQtD.js";
|
|
|
18
18
|
import "./Circle--0oHzoCi.js";
|
|
19
19
|
import "./ConcentricSpin-BzxzMieZ.js";
|
|
20
20
|
import "./ContourLines-yEb5IJ1Y.js";
|
|
21
|
-
import "./sdf-
|
|
22
|
-
import "./Crescent-
|
|
23
|
-
import "./Cross-
|
|
21
|
+
import "./sdf-CZRX0uur.js";
|
|
22
|
+
import "./Crescent-DnFexzlT.js";
|
|
23
|
+
import "./Cross-rsVMygBv.js";
|
|
24
24
|
import "./CRTScreen-BZ-sAmPZ.js";
|
|
25
25
|
import "./CursorRipples-BY1iu4MX.js";
|
|
26
26
|
import "./CursorTrail-BzrL2WMh.js";
|
|
@@ -28,16 +28,16 @@ import "./DiffuseBlur-Dyd42LXw.js";
|
|
|
28
28
|
import "./Dither-CTInG_SB.js";
|
|
29
29
|
import "./DotGrid-CsL0dnYB.js";
|
|
30
30
|
import "./Duotone-BbCFLFMK.js";
|
|
31
|
-
import "./Ellipse-
|
|
32
|
-
import "./Emboss-
|
|
31
|
+
import "./Ellipse-CZWtvB3q.js";
|
|
32
|
+
import "./Emboss-DCKgs4_G.js";
|
|
33
33
|
import "./FallingLines-DBNJVWio.js";
|
|
34
34
|
import "./FilmGrain-CSuerGc6.js";
|
|
35
35
|
import "./FloatingParticles-CoBM_CJ8.js";
|
|
36
|
-
import "./Flower-
|
|
36
|
+
import "./Flower-fYEx6ZSB.js";
|
|
37
37
|
import "./FlowField-Bh3-dX6I.js";
|
|
38
38
|
import "./FlowingGradient-DVproCI1.js";
|
|
39
39
|
import "./Form3D-DhezVuyN.js";
|
|
40
|
-
import "./Glass-
|
|
40
|
+
import "./Glass-BioLeiH6.js";
|
|
41
41
|
import "./GlassTiles-ClrOIpCg.js";
|
|
42
42
|
import "./Glitch-DmWytiRl.js";
|
|
43
43
|
import "./Glow-Dm4dfZ_m.js";
|
|
@@ -56,20 +56,20 @@ import "./LinearBlur-AR65FcZh.js";
|
|
|
56
56
|
import "./LinearGradient-DXCXjS-K.js";
|
|
57
57
|
import "./Liquify-mhzPd19o.js";
|
|
58
58
|
import "./Mirror-CSc5mJi1.js";
|
|
59
|
-
import "./Neon-
|
|
59
|
+
import "./Neon-uXetpVop.js";
|
|
60
60
|
import "./Paper-DfUka0dt.js";
|
|
61
61
|
import "./Perspective-uPiPmWy_.js";
|
|
62
62
|
import "./Pixelate-DRkAW4Lo.js";
|
|
63
63
|
import "./Plasma-ELzbK-Us.js";
|
|
64
64
|
import "./PolarCoordinates-CalS_TB6.js";
|
|
65
|
-
import "./Polygon-
|
|
65
|
+
import "./Polygon-7mzxbJeF.js";
|
|
66
66
|
import "./Posterize-C4vtRmtA.js";
|
|
67
67
|
import "./ProgressiveBlur-CLYhfOvQ.js";
|
|
68
68
|
import "./RadialGradient-DtD8HWdM.js";
|
|
69
69
|
import "./RectangularCoordinates-B96mflF5.js";
|
|
70
|
-
import "./Ring-
|
|
70
|
+
import "./Ring-H6B01ZMz.js";
|
|
71
71
|
import "./Ripples-Cevf-Hvg.js";
|
|
72
|
-
import "./RoundedRect-
|
|
72
|
+
import "./RoundedRect-OszKdYVD.js";
|
|
73
73
|
import "./Saturation-CcDwPh2v.js";
|
|
74
74
|
import "./Sharpness-D_dXfDEo.js";
|
|
75
75
|
import "./Shatter-NfZzVt54.js";
|
|
@@ -78,7 +78,7 @@ import "./SineWave-CVeYx3n-.js";
|
|
|
78
78
|
import "./SolidColor-BdbBnLxX.js";
|
|
79
79
|
import "./Spherize-BRGwLGeu.js";
|
|
80
80
|
import "./Spiral-BkTBXb7z.js";
|
|
81
|
-
import "./Star-
|
|
81
|
+
import "./Star-CyjNgJVp.js";
|
|
82
82
|
import "./Strands-Cjsw-cPu.js";
|
|
83
83
|
import "./Stretch-9cta3Z1W.js";
|
|
84
84
|
import "./Stripes-C0sCGCz_.js";
|
|
@@ -86,15 +86,15 @@ import "./StudioBackground-BYv_-8df.js";
|
|
|
86
86
|
import "./Swirl-DXjIXfy7.js";
|
|
87
87
|
import "./TiltShift-56lcZ4cJ.js";
|
|
88
88
|
import "./Tint-8_WIy9_e.js";
|
|
89
|
-
import "./Trapezoid-
|
|
89
|
+
import "./Trapezoid-SuI0dRgI.js";
|
|
90
90
|
import "./Tritone-nyJyybHI.js";
|
|
91
91
|
import "./Twirl-BzSEz4xK.js";
|
|
92
|
-
import "./Vesica-
|
|
92
|
+
import "./Vesica-Cj--pgNW.js";
|
|
93
93
|
import "./Vibrance-BETLN3Ie.js";
|
|
94
94
|
import "./browser-CqdrcD5J.js";
|
|
95
95
|
import "./VideoTexture-Dbsbgb1Y.js";
|
|
96
96
|
import "./WaveDistortion-C-j597Jm.js";
|
|
97
97
|
import "./WebcamTexture-xvb8MuFz.js";
|
|
98
98
|
import "./ZoomBlur-DFw0J9x3.js";
|
|
99
|
-
import { a as shaderRegistry, i as getShadersByCategory, n as getShaderByName, r as getShaderCategories, t as getAllShaders } from "./shaderRegistry-
|
|
99
|
+
import { a as shaderRegistry, i as getShadersByCategory, n as getShaderByName, r as getShaderCategories, t as getAllShaders } from "./shaderRegistry-ClxU5BC7.js";
|
|
100
100
|
export { getAllShaders, getShaderByName, getShaderCategories, getShadersByCategory, shaderRegistry };
|
|
@@ -160,12 +160,16 @@ function createAnalyticSdfSampler(shapeType, initialConfig, shapeUniform, onBefo
|
|
|
160
160
|
let lastCfg = initialConfig;
|
|
161
161
|
onBeforeRender(() => {
|
|
162
162
|
const raw = shapeUniform.uniform.value;
|
|
163
|
-
if (raw !==
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
163
|
+
if (typeof raw === "object" && raw !== null) lastCfg = raw;
|
|
164
|
+
else {
|
|
165
|
+
const str = raw;
|
|
166
|
+
if (str !== lastShapeJson) {
|
|
167
|
+
lastShapeJson = str;
|
|
168
|
+
try {
|
|
169
|
+
lastCfg = JSON.parse(str);
|
|
170
|
+
} catch {
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
175
|
radiusU.value = lastCfg.radius ?? lastCfg.width ?? lastCfg.bottomWidth ?? .35;
|
|
@@ -13,8 +13,8 @@ import { n as componentDefinition$11 } from "./ChromaticAberration-G8_bwQtD.js";
|
|
|
13
13
|
import { n as componentDefinition$12 } from "./Circle--0oHzoCi.js";
|
|
14
14
|
import { n as componentDefinition$13 } from "./ConcentricSpin-BzxzMieZ.js";
|
|
15
15
|
import { n as componentDefinition$14 } from "./ContourLines-yEb5IJ1Y.js";
|
|
16
|
-
import { n as componentDefinition$15 } from "./Crescent-
|
|
17
|
-
import { n as componentDefinition$16 } from "./Cross-
|
|
16
|
+
import { n as componentDefinition$15 } from "./Crescent-DnFexzlT.js";
|
|
17
|
+
import { n as componentDefinition$16 } from "./Cross-rsVMygBv.js";
|
|
18
18
|
import { n as componentDefinition$17 } from "./CRTScreen-BZ-sAmPZ.js";
|
|
19
19
|
import { n as componentDefinition$18 } from "./CursorRipples-BY1iu4MX.js";
|
|
20
20
|
import { n as componentDefinition$19 } from "./CursorTrail-BzrL2WMh.js";
|
|
@@ -22,16 +22,16 @@ import { n as componentDefinition$20 } from "./DiffuseBlur-Dyd42LXw.js";
|
|
|
22
22
|
import { n as componentDefinition$21 } from "./Dither-CTInG_SB.js";
|
|
23
23
|
import { n as componentDefinition$22 } from "./DotGrid-CsL0dnYB.js";
|
|
24
24
|
import { n as componentDefinition$23 } from "./Duotone-BbCFLFMK.js";
|
|
25
|
-
import { n as componentDefinition$24 } from "./Ellipse-
|
|
26
|
-
import { n as componentDefinition$25 } from "./Emboss-
|
|
25
|
+
import { n as componentDefinition$24 } from "./Ellipse-CZWtvB3q.js";
|
|
26
|
+
import { n as componentDefinition$25 } from "./Emboss-DCKgs4_G.js";
|
|
27
27
|
import { n as componentDefinition$26 } from "./FallingLines-DBNJVWio.js";
|
|
28
28
|
import { n as componentDefinition$27 } from "./FilmGrain-CSuerGc6.js";
|
|
29
29
|
import { n as componentDefinition$28 } from "./FloatingParticles-CoBM_CJ8.js";
|
|
30
|
-
import { n as componentDefinition$29 } from "./Flower-
|
|
30
|
+
import { n as componentDefinition$29 } from "./Flower-fYEx6ZSB.js";
|
|
31
31
|
import { n as componentDefinition$30 } from "./FlowField-Bh3-dX6I.js";
|
|
32
32
|
import { n as componentDefinition$31 } from "./FlowingGradient-DVproCI1.js";
|
|
33
33
|
import { n as componentDefinition$32 } from "./Form3D-DhezVuyN.js";
|
|
34
|
-
import { n as componentDefinition$33 } from "./Glass-
|
|
34
|
+
import { n as componentDefinition$33 } from "./Glass-BioLeiH6.js";
|
|
35
35
|
import { n as componentDefinition$34 } from "./GlassTiles-ClrOIpCg.js";
|
|
36
36
|
import { n as componentDefinition$35 } from "./Glitch-DmWytiRl.js";
|
|
37
37
|
import { n as componentDefinition$36 } from "./Glow-Dm4dfZ_m.js";
|
|
@@ -50,20 +50,20 @@ import { n as componentDefinition$48 } from "./LinearBlur-AR65FcZh.js";
|
|
|
50
50
|
import { n as componentDefinition$49 } from "./LinearGradient-DXCXjS-K.js";
|
|
51
51
|
import { n as componentDefinition$50 } from "./Liquify-mhzPd19o.js";
|
|
52
52
|
import { n as componentDefinition$51 } from "./Mirror-CSc5mJi1.js";
|
|
53
|
-
import { n as componentDefinition$52 } from "./Neon-
|
|
53
|
+
import { n as componentDefinition$52 } from "./Neon-uXetpVop.js";
|
|
54
54
|
import { n as componentDefinition$53 } from "./Paper-DfUka0dt.js";
|
|
55
55
|
import { n as componentDefinition$54 } from "./Perspective-uPiPmWy_.js";
|
|
56
56
|
import { n as componentDefinition$55 } from "./Pixelate-DRkAW4Lo.js";
|
|
57
57
|
import { n as componentDefinition$56 } from "./Plasma-ELzbK-Us.js";
|
|
58
58
|
import { n as componentDefinition$57 } from "./PolarCoordinates-CalS_TB6.js";
|
|
59
|
-
import { n as componentDefinition$58 } from "./Polygon-
|
|
59
|
+
import { n as componentDefinition$58 } from "./Polygon-7mzxbJeF.js";
|
|
60
60
|
import { n as componentDefinition$59 } from "./Posterize-C4vtRmtA.js";
|
|
61
61
|
import { n as componentDefinition$60 } from "./ProgressiveBlur-CLYhfOvQ.js";
|
|
62
62
|
import { n as componentDefinition$61 } from "./RadialGradient-DtD8HWdM.js";
|
|
63
63
|
import { n as componentDefinition$62 } from "./RectangularCoordinates-B96mflF5.js";
|
|
64
|
-
import { n as componentDefinition$63 } from "./Ring-
|
|
64
|
+
import { n as componentDefinition$63 } from "./Ring-H6B01ZMz.js";
|
|
65
65
|
import { n as componentDefinition$64 } from "./Ripples-Cevf-Hvg.js";
|
|
66
|
-
import { n as componentDefinition$65 } from "./RoundedRect-
|
|
66
|
+
import { n as componentDefinition$65 } from "./RoundedRect-OszKdYVD.js";
|
|
67
67
|
import { n as componentDefinition$66 } from "./Saturation-CcDwPh2v.js";
|
|
68
68
|
import { n as componentDefinition$67 } from "./Sharpness-D_dXfDEo.js";
|
|
69
69
|
import { n as componentDefinition$68 } from "./Shatter-NfZzVt54.js";
|
|
@@ -72,7 +72,7 @@ import { n as componentDefinition$70 } from "./SineWave-CVeYx3n-.js";
|
|
|
72
72
|
import { n as componentDefinition$71 } from "./SolidColor-BdbBnLxX.js";
|
|
73
73
|
import { n as componentDefinition$72 } from "./Spherize-BRGwLGeu.js";
|
|
74
74
|
import { n as componentDefinition$73 } from "./Spiral-BkTBXb7z.js";
|
|
75
|
-
import { n as componentDefinition$74 } from "./Star-
|
|
75
|
+
import { n as componentDefinition$74 } from "./Star-CyjNgJVp.js";
|
|
76
76
|
import { n as componentDefinition$75 } from "./Strands-Cjsw-cPu.js";
|
|
77
77
|
import { n as componentDefinition$76 } from "./Stretch-9cta3Z1W.js";
|
|
78
78
|
import { n as componentDefinition$77 } from "./Stripes-C0sCGCz_.js";
|
|
@@ -80,10 +80,10 @@ import { n as componentDefinition$78 } from "./StudioBackground-BYv_-8df.js";
|
|
|
80
80
|
import { n as componentDefinition$79 } from "./Swirl-DXjIXfy7.js";
|
|
81
81
|
import { n as componentDefinition$80 } from "./TiltShift-56lcZ4cJ.js";
|
|
82
82
|
import { n as componentDefinition$81 } from "./Tint-8_WIy9_e.js";
|
|
83
|
-
import { n as componentDefinition$82 } from "./Trapezoid-
|
|
83
|
+
import { n as componentDefinition$82 } from "./Trapezoid-SuI0dRgI.js";
|
|
84
84
|
import { n as componentDefinition$83 } from "./Tritone-nyJyybHI.js";
|
|
85
85
|
import { n as componentDefinition$84 } from "./Twirl-BzSEz4xK.js";
|
|
86
|
-
import { n as componentDefinition$85 } from "./Vesica-
|
|
86
|
+
import { n as componentDefinition$85 } from "./Vesica-Cj--pgNW.js";
|
|
87
87
|
import { n as componentDefinition$86 } from "./Vibrance-BETLN3Ie.js";
|
|
88
88
|
import { n as componentDefinition$87 } from "./VideoTexture-Dbsbgb1Y.js";
|
|
89
89
|
import { n as componentDefinition$88 } from "./WaveDistortion-C-j597Jm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as Crescent_default } from "../../Crescent-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as Crescent_default } from "../../Crescent-DnFexzlT.js";
|
|
5
5
|
export { componentDefinition, Crescent_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as Cross_default } from "../../Cross-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as Cross_default } from "../../Cross-rsVMygBv.js";
|
|
5
5
|
export { componentDefinition, Cross_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as Ellipse_default } from "../../Ellipse-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as Ellipse_default } from "../../Ellipse-CZWtvB3q.js";
|
|
5
5
|
export { componentDefinition, Ellipse_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Emboss/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAuC,MAAM,iBAAiB,CAAA;AAGzF,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAA;AASrE,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Emboss/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAuC,MAAM,iBAAiB,CAAA;AAGzF,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAA;AASrE,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,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,CAsFnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
|
-
import "../../sdf-
|
|
3
|
-
import { n as componentDefinition, t as Emboss_default } from "../../Emboss-
|
|
2
|
+
import "../../sdf-CZRX0uur.js";
|
|
3
|
+
import { n as componentDefinition, t as Emboss_default } from "../../Emboss-DCKgs4_G.js";
|
|
4
4
|
export { componentDefinition, Emboss_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as Flower_default } from "../../Flower-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as Flower_default } from "../../Flower-fYEx6ZSB.js";
|
|
5
5
|
export { componentDefinition, Flower_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Glass/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAuC,MAAM,iBAAiB,CAAA;AAGzF,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAWrF,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IACpD,iBAAiB,EAAE,MAAM,CAAA;IACzB,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,C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IAClB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA8JnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
|
-
import "../../sdf-
|
|
3
|
-
import { n as componentDefinition, t as Glass_default } from "../../Glass-
|
|
2
|
+
import "../../sdf-CZRX0uur.js";
|
|
3
|
+
import { n as componentDefinition, t as Glass_default } from "../../Glass-BioLeiH6.js";
|
|
4
4
|
export { componentDefinition, Glass_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Neon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAuC,MAAM,iBAAiB,CAAA;AAGzF,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AASrF,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3C,cAAc,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IACpD,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,M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AClB,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,EAAE,MAAM,CAAA;IACzB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA2JnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
|
-
import "../../sdf-
|
|
3
|
-
import { n as componentDefinition, t as Neon_default } from "../../Neon-
|
|
2
|
+
import "../../sdf-CZRX0uur.js";
|
|
3
|
+
import { n as componentDefinition, t as Neon_default } from "../../Neon-uXetpVop.js";
|
|
4
4
|
export { componentDefinition, Neon_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as Polygon_default } from "../../Polygon-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as Polygon_default } from "../../Polygon-7mzxbJeF.js";
|
|
5
5
|
export { componentDefinition, Polygon_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as Ring_default } from "../../Ring-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as Ring_default } from "../../Ring-H6B01ZMz.js";
|
|
5
5
|
export { componentDefinition, Ring_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as RoundedRect_default } from "../../RoundedRect-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as RoundedRect_default } from "../../RoundedRect-OszKdYVD.js";
|
|
5
5
|
export { componentDefinition, RoundedRect_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as Star_default } from "../../Star-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as Star_default } from "../../Star-CyjNgJVp.js";
|
|
5
5
|
export { componentDefinition, Star_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as Trapezoid_default } from "../../Trapezoid-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as Trapezoid_default } from "../../Trapezoid-SuI0dRgI.js";
|
|
5
5
|
export { componentDefinition, Trapezoid_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import "../../sdf-
|
|
4
|
-
import { n as componentDefinition, t as Vesica_default } from "../../Vesica-
|
|
3
|
+
import "../../sdf-CZRX0uur.js";
|
|
4
|
+
import { n as componentDefinition, t as Vesica_default } from "../../Vesica-Cj--pgNW.js";
|
|
5
5
|
export { componentDefinition, Vesica_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdf.d.ts","sourceRoot":"","sources":["../../src/utilities/sdf.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAGxC,eAAO,MAAM,YAAY,MAAM,CAAA;AAM/B;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,GAAG,IAAI,CAEhE;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,GAAG,IAAI,CAO9E;AAED;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,GAAG,IAAI,CAWpG;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,GAAG,IAAI,CAwClG;AAED;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,GAAG,IAAI,CAG/E;AAED;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,GAAG,IAAI,CAM9F;AAID;;;;;;;;GAQG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MAAM,IAAI,KAAK,IAAI,EACxC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,GACpC,CAAC,EAAE,EAAE,GAAG,KAAK,GAAG,CAyBlB;AAMD,wBAAgB,wBAAwB,CACpC,SAAS,EAAE,MAAM,EACjB,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAClC,YAAY,EAAE;IAAE,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,EAC5C,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,GACzC,CAAC,EAAE,EAAE,GAAG,KAAK,GAAG,CAsFlB"}
|
package/dist/js/createShader.js
CHANGED
|
@@ -41,7 +41,7 @@ async function createShader(canvas, preset, options) {
|
|
|
41
41
|
if (isExternalUser() && shouldCollectTelemetry(options?.disableTelemetry || false, options?.isPreview || false)) {
|
|
42
42
|
const checkRendering = () => {
|
|
43
43
|
if (renderer.getPerformanceStats().fps > 0) {
|
|
44
|
-
telemetryCollector = startTelemetry(renderer, "2.5.
|
|
44
|
+
telemetryCollector = startTelemetry(renderer, "2.5.84", options?.disableTelemetry || false, false);
|
|
45
45
|
if (telemetryCollector) telemetryCollector.start();
|
|
46
46
|
telemetryStartTimeout = null;
|
|
47
47
|
} else telemetryStartTimeout = setTimeout(checkRendering, 500);
|
package/dist/react/Shader.js
CHANGED
|
@@ -88,7 +88,7 @@ const Shader = ({ children, disableTelemetry = false, colorSpace = "p3-linear",
|
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
90
90
|
if (rendererRef.current.getPerformanceStats().fps > 0) {
|
|
91
|
-
telemetryCollectorRef.current = startTelemetry(rendererRef.current, "2.5.
|
|
91
|
+
telemetryCollectorRef.current = startTelemetry(rendererRef.current, "2.5.84", disableTelemetry, isPreview);
|
|
92
92
|
if (telemetryCollectorRef.current) telemetryCollectorRef.current.start();
|
|
93
93
|
telemetryStartTimeoutRef.current = null;
|
|
94
94
|
} else telemetryStartTimeoutRef.current = window.setTimeout(checkRendering, 500);
|
|
@@ -67,7 +67,7 @@ function Shader(allProps) {
|
|
|
67
67
|
const checkRendering = () => {
|
|
68
68
|
const stats = rendererInstance.getPerformanceStats();
|
|
69
69
|
if (stats.fps > 0) {
|
|
70
|
-
const version = "2.5.
|
|
70
|
+
const version = "2.5.84";
|
|
71
71
|
telemetryCollector = startTelemetry(rendererInstance, version, props.disableTelemetry, props.isPreview);
|
|
72
72
|
if (telemetryCollector) {
|
|
73
73
|
telemetryCollector.start();
|
package/dist/svelte/index.js
CHANGED
|
@@ -13335,7 +13335,7 @@ function Shader($$anchor, $$props) {
|
|
|
13335
13335
|
const checkRendering = () => {
|
|
13336
13336
|
if (!rendererInstance) return;
|
|
13337
13337
|
if (rendererInstance.getPerformanceStats().fps > 0) {
|
|
13338
|
-
telemetryCollector = startTelemetry(rendererInstance, "2.5.
|
|
13338
|
+
telemetryCollector = startTelemetry(rendererInstance, "2.5.84", disableTelemetry(), isPreview());
|
|
13339
13339
|
if (telemetryCollector) telemetryCollector.start();
|
|
13340
13340
|
telemetryStartTimeout = null;
|
|
13341
13341
|
} else telemetryStartTimeout = window.setTimeout(checkRendering, 500);
|
|
@@ -60,7 +60,7 @@ var Shader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineC
|
|
|
60
60
|
const startTelemetryWhenReady = () => {
|
|
61
61
|
const checkRendering = () => {
|
|
62
62
|
if (rendererInstance.value.getPerformanceStats().fps > 0) {
|
|
63
|
-
telemetryCollector = startTelemetry(rendererInstance.value, "2.5.
|
|
63
|
+
telemetryCollector = startTelemetry(rendererInstance.value, "2.5.84", props.disableTelemetry, props.isPreview);
|
|
64
64
|
if (telemetryCollector) telemetryCollector.start();
|
|
65
65
|
telemetryStartTimeout = null;
|
|
66
66
|
} else telemetryStartTimeout = setTimeout(checkRendering, 500);
|