shaders 2.5.80 → 2.5.82
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/FlowingGradient-DVproCI1.js +145 -0
- package/dist/core/Liquify-mhzPd19o.js +228 -0
- package/dist/core/{VideoTexture-DDnc6aVv.js → VideoTexture-Dbsbgb1Y.js} +1 -1
- package/dist/core/{WebcamTexture-rb0dLKSc.js → WebcamTexture-xvb8MuFz.js} +1 -1
- package/dist/core/index.js +77 -61
- package/dist/core/registry.js +62 -61
- package/dist/core/renderer.d.ts +1 -0
- package/dist/core/renderer.d.ts.map +1 -1
- package/dist/core/shaderRegistry-C0Tmid5z.js +220 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/FlowingGradient/index.d.ts +62 -0
- package/dist/core/shaders/FlowingGradient/index.d.ts.map +1 -0
- package/dist/core/shaders/FlowingGradient/index.js +5 -0
- package/dist/core/shaders/Form3D/index.js +1 -1
- package/dist/core/shaders/Glass/index.js +1 -1
- package/dist/core/shaders/GlassTiles/index.js +1 -1
- package/dist/core/shaders/Glitch/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/LensFlare/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.d.ts +13 -7
- package/dist/core/shaders/Liquify/index.d.ts.map +1 -1
- package/dist/core/shaders/Liquify/index.js +1 -1
- package/dist/core/shaders/Mirror/index.js +1 -1
- package/dist/core/shaders/Neon/index.js +1 -1
- package/dist/core/shaders/Paper/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/Plasma/index.js +1 -1
- package/dist/core/shaders/PolarCoordinates/index.js +1 -1
- package/dist/core/shaders/Polygon/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/Ring/index.js +1 -1
- package/dist/core/shaders/Ripples/index.js +1 -1
- package/dist/core/shaders/RoundedRect/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/Star/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/StudioBackground/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/Trapezoid/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/Vesica/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/VideoTexture/index.js +2 -2
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/WebcamTexture/index.js +2 -2
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/js/createShader.d.ts.map +1 -1
- package/dist/js/createShader.js +2 -1
- package/dist/js/types.d.ts +1 -0
- package/dist/js/types.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +16 -2
- package/dist/react/FlowingGradient.js +180 -0
- package/dist/react/Preview.js +1 -0
- package/dist/react/Shader.js +10 -2
- package/dist/react/components/FlowingGradient.d.ts +34 -0
- package/dist/react/components/FlowingGradient.d.ts.map +1 -0
- package/dist/react/components/Liquify.d.ts +4 -2
- package/dist/react/components/Liquify.d.ts.map +1 -1
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/engine/Shader.d.ts +1 -0
- package/dist/react/engine/Shader.d.ts.map +1 -1
- 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 +16 -2
- package/dist/registry.js +292 -20
- package/dist/solid/components/FlowingGradient.d.ts +31 -0
- package/dist/solid/components/FlowingGradient.d.ts.map +1 -0
- package/dist/solid/components/FlowingGradient.js +183 -0
- package/dist/solid/components/Liquify.d.ts +4 -2
- package/dist/solid/components/Liquify.d.ts.map +1 -1
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +64 -62
- package/dist/solid/engine/Shader.d.ts +1 -0
- package/dist/solid/engine/Shader.d.ts.map +1 -1
- package/dist/solid/engine/Shader.js +6 -2
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +124 -122
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +16 -2
- package/dist/svelte/components/FlowingGradient.svelte.d.ts +21 -0
- package/dist/svelte/components/Liquify.svelte.d.ts +2 -1
- package/dist/svelte/engine/Shader.svelte.d.ts +1 -0
- package/dist/svelte/{generatePresetCode-BN1puRG_.js → generatePresetCode-B9QYLcji.js} +16 -2
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +450 -301
- package/dist/svelte/source/components/FlowingGradient.svelte +288 -0
- package/dist/svelte/source/components/Liquify.svelte +1 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/engine/Shader.svelte +3 -1
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/FlowingGradient.js +3 -0
- package/dist/vue/FlowingGradient.vue_vue_type_script_setup_true_lang.js +173 -0
- package/dist/vue/Liquify.vue_vue_type_script_setup_true_lang.js +3 -2
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/vue/components/FlowingGradient.vue.d.ts +56 -0
- package/dist/vue/components/FlowingGradient.vue.d.ts.map +1 -0
- package/dist/vue/components/Liquify.vue.d.ts +2 -1
- package/dist/vue/components/Liquify.vue.d.ts.map +1 -1
- package/dist/vue/engine/Shader.vue.d.ts +6 -2
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- 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 +16 -2
- package/package.json +9 -1
- package/dist/core/Liquify-Cy6ck3_k.js +0 -157
- package/dist/core/shaderRegistry-9huRXSRI.js +0 -218
- /package/dist/core/{Form3D-D3MoN95S.js → Form3D-DhezVuyN.js} +0 -0
- /package/dist/core/{Glass-CRaFJ-8c.js → Glass-D7wAPADg.js} +0 -0
- /package/dist/core/{GlassTiles-C3PKMWgp.js → GlassTiles-ClrOIpCg.js} +0 -0
- /package/dist/core/{Glitch-MyIU0Bad.js → Glitch-DmWytiRl.js} +0 -0
- /package/dist/core/{Glow-1ee_R1fA.js → Glow-Dm4dfZ_m.js} +0 -0
- /package/dist/core/{Godrays-CvcPIegU.js → Godrays-CYILZUHg.js} +0 -0
- /package/dist/core/{Grayscale-8MPw9PHN.js → Grayscale-CPR_l4G2.js} +0 -0
- /package/dist/core/{Grid-D64zkkku.js → Grid-CCQZ3GhD.js} +0 -0
- /package/dist/core/{GridDistortion-B7PGORW3.js → GridDistortion-oGT8NaWa.js} +0 -0
- /package/dist/core/{Group-DoOcKuhW.js → Group-CC317vlL.js} +0 -0
- /package/dist/core/{Halftone-Co7P2SWy.js → Halftone-BZk1Hjz_.js} +0 -0
- /package/dist/core/{HueShift-Bvd9VTak.js → HueShift-CuE3YTBE.js} +0 -0
- /package/dist/core/{ImageTexture-BJ1udc62.js → ImageTexture-DWUSKXX0.js} +0 -0
- /package/dist/core/{Invert-5VR-fNRw.js → Invert-C9RiDYP_.js} +0 -0
- /package/dist/core/{Kaleidoscope-B0McCEhc.js → Kaleidoscope-DtVlQWKG.js} +0 -0
- /package/dist/core/{LensFlare-DXgpPyJK.js → LensFlare-AVpiDD1O.js} +0 -0
- /package/dist/core/{LinearBlur-CBl0B23J.js → LinearBlur-AR65FcZh.js} +0 -0
- /package/dist/core/{LinearGradient-C0FT7-Lc.js → LinearGradient-DXCXjS-K.js} +0 -0
- /package/dist/core/{Mirror-DfZBEOUf.js → Mirror-CSc5mJi1.js} +0 -0
- /package/dist/core/{Neon-E8whPM6C.js → Neon-By5OgQ24.js} +0 -0
- /package/dist/core/{Paper-DJwBbPxA.js → Paper-DfUka0dt.js} +0 -0
- /package/dist/core/{Perspective-BdHcCgqZ.js → Perspective-uPiPmWy_.js} +0 -0
- /package/dist/core/{Pixelate-B9x2E0k-.js → Pixelate-DRkAW4Lo.js} +0 -0
- /package/dist/core/{Plasma-CMXrHMJv.js → Plasma-ELzbK-Us.js} +0 -0
- /package/dist/core/{PolarCoordinates-tZbl0VOq.js → PolarCoordinates-CalS_TB6.js} +0 -0
- /package/dist/core/{Polygon-B4ab2iAo.js → Polygon-MN_gj5R6.js} +0 -0
- /package/dist/core/{Posterize-Big6cECo.js → Posterize-C4vtRmtA.js} +0 -0
- /package/dist/core/{ProgressiveBlur-D0ZlHOw4.js → ProgressiveBlur-CLYhfOvQ.js} +0 -0
- /package/dist/core/{RadialGradient-C1Uu5_bL.js → RadialGradient-DtD8HWdM.js} +0 -0
- /package/dist/core/{RectangularCoordinates-BB7_S4gH.js → RectangularCoordinates-B96mflF5.js} +0 -0
- /package/dist/core/{Ring-DVW66Ug0.js → Ring-76XLaaus.js} +0 -0
- /package/dist/core/{Ripples-DeRyNukC.js → Ripples-Cevf-Hvg.js} +0 -0
- /package/dist/core/{RoundedRect-B9y33WS5.js → RoundedRect-D6q6xf_O.js} +0 -0
- /package/dist/core/{Saturation-NrGhLp0a.js → Saturation-CcDwPh2v.js} +0 -0
- /package/dist/core/{Sharpness-DAC9Qnh0.js → Sharpness-D_dXfDEo.js} +0 -0
- /package/dist/core/{Shatter-ZIaXf4fs.js → Shatter-NfZzVt54.js} +0 -0
- /package/dist/core/{SimplexNoise-mSsE7oXX.js → SimplexNoise-aipzNV5j.js} +0 -0
- /package/dist/core/{SineWave-BAhTQVXp.js → SineWave-CVeYx3n-.js} +0 -0
- /package/dist/core/{SolidColor-BQnId3qy.js → SolidColor-BdbBnLxX.js} +0 -0
- /package/dist/core/{Spherize-YvHlKrZy.js → Spherize-BRGwLGeu.js} +0 -0
- /package/dist/core/{Spiral-DUDZyQjj.js → Spiral-BkTBXb7z.js} +0 -0
- /package/dist/core/{Star-DB4dmzyz.js → Star-DN6qziUO.js} +0 -0
- /package/dist/core/{Strands-CF49kt1s.js → Strands-Cjsw-cPu.js} +0 -0
- /package/dist/core/{Stretch-Dkhera5t.js → Stretch-9cta3Z1W.js} +0 -0
- /package/dist/core/{Stripes-BOROXiAH.js → Stripes-C0sCGCz_.js} +0 -0
- /package/dist/core/{StudioBackground-DNmf8LGj.js → StudioBackground-BYv_-8df.js} +0 -0
- /package/dist/core/{Swirl-C5RQIA6E.js → Swirl-DXjIXfy7.js} +0 -0
- /package/dist/core/{TiltShift-BgscLSg_.js → TiltShift-56lcZ4cJ.js} +0 -0
- /package/dist/core/{Tint-CvKUJTtg.js → Tint-8_WIy9_e.js} +0 -0
- /package/dist/core/{Trapezoid-Co8cWZTK.js → Trapezoid-C-HfI0fp.js} +0 -0
- /package/dist/core/{Tritone-Ss5m7yFO.js → Tritone-nyJyybHI.js} +0 -0
- /package/dist/core/{Twirl-CF_9ObSp.js → Twirl-BzSEz4xK.js} +0 -0
- /package/dist/core/{Vesica-C7tcbHbW.js → Vesica-DXWePxDj.js} +0 -0
- /package/dist/core/{Vibrance-DVWcESAa.js → Vibrance-BETLN3Ie.js} +0 -0
- /package/dist/core/{WaveDistortion-Caj3cQz7.js → WaveDistortion-C-j597Jm.js} +0 -0
- /package/dist/core/{ZoomBlur-DUrSxwl0.js → ZoomBlur-DFw0J9x3.js} +0 -0
- /package/dist/core/{browser-daS5XZwr.js → browser-CqdrcD5J.js} +0 -0
package/dist/core/registry.js
CHANGED
|
@@ -35,65 +35,66 @@ import "./FilmGrain-CSuerGc6.js";
|
|
|
35
35
|
import "./FloatingParticles-CoBM_CJ8.js";
|
|
36
36
|
import "./Flower-B-53jiUT.js";
|
|
37
37
|
import "./FlowField-Bh3-dX6I.js";
|
|
38
|
-
import "./
|
|
39
|
-
import "./
|
|
40
|
-
import "./
|
|
41
|
-
import "./
|
|
42
|
-
import "./
|
|
43
|
-
import "./
|
|
44
|
-
import "./
|
|
45
|
-
import "./
|
|
46
|
-
import "./
|
|
47
|
-
import "./
|
|
48
|
-
import "./
|
|
49
|
-
import "./
|
|
50
|
-
import "./
|
|
51
|
-
import "./
|
|
52
|
-
import "./
|
|
53
|
-
import "./
|
|
54
|
-
import "./
|
|
55
|
-
import "./
|
|
56
|
-
import "./
|
|
57
|
-
import "./
|
|
58
|
-
import "./
|
|
59
|
-
import "./
|
|
60
|
-
import "./
|
|
61
|
-
import "./
|
|
62
|
-
import "./
|
|
63
|
-
import "./
|
|
64
|
-
import "./
|
|
65
|
-
import "./
|
|
66
|
-
import "./
|
|
67
|
-
import "./
|
|
68
|
-
import "./
|
|
69
|
-
import "./
|
|
70
|
-
import "./
|
|
71
|
-
import "./
|
|
72
|
-
import "./
|
|
73
|
-
import "./
|
|
74
|
-
import "./
|
|
75
|
-
import "./
|
|
76
|
-
import "./
|
|
77
|
-
import "./
|
|
78
|
-
import "./
|
|
79
|
-
import "./
|
|
80
|
-
import "./
|
|
81
|
-
import "./
|
|
82
|
-
import "./
|
|
83
|
-
import "./
|
|
84
|
-
import "./
|
|
85
|
-
import "./
|
|
86
|
-
import "./
|
|
87
|
-
import "./
|
|
88
|
-
import "./
|
|
89
|
-
import "./
|
|
90
|
-
import "./
|
|
91
|
-
import "./
|
|
92
|
-
import "./
|
|
93
|
-
import "./
|
|
94
|
-
import "./
|
|
95
|
-
import "./
|
|
96
|
-
import "./
|
|
97
|
-
import "./
|
|
98
|
-
import
|
|
38
|
+
import "./FlowingGradient-DVproCI1.js";
|
|
39
|
+
import "./Form3D-DhezVuyN.js";
|
|
40
|
+
import "./Glass-D7wAPADg.js";
|
|
41
|
+
import "./GlassTiles-ClrOIpCg.js";
|
|
42
|
+
import "./Glitch-DmWytiRl.js";
|
|
43
|
+
import "./Glow-Dm4dfZ_m.js";
|
|
44
|
+
import "./Godrays-CYILZUHg.js";
|
|
45
|
+
import "./Grayscale-CPR_l4G2.js";
|
|
46
|
+
import "./Grid-CCQZ3GhD.js";
|
|
47
|
+
import "./GridDistortion-oGT8NaWa.js";
|
|
48
|
+
import "./Group-CC317vlL.js";
|
|
49
|
+
import "./Halftone-BZk1Hjz_.js";
|
|
50
|
+
import "./HueShift-CuE3YTBE.js";
|
|
51
|
+
import "./ImageTexture-DWUSKXX0.js";
|
|
52
|
+
import "./Invert-C9RiDYP_.js";
|
|
53
|
+
import "./Kaleidoscope-DtVlQWKG.js";
|
|
54
|
+
import "./LensFlare-AVpiDD1O.js";
|
|
55
|
+
import "./LinearBlur-AR65FcZh.js";
|
|
56
|
+
import "./LinearGradient-DXCXjS-K.js";
|
|
57
|
+
import "./Liquify-mhzPd19o.js";
|
|
58
|
+
import "./Mirror-CSc5mJi1.js";
|
|
59
|
+
import "./Neon-By5OgQ24.js";
|
|
60
|
+
import "./Paper-DfUka0dt.js";
|
|
61
|
+
import "./Perspective-uPiPmWy_.js";
|
|
62
|
+
import "./Pixelate-DRkAW4Lo.js";
|
|
63
|
+
import "./Plasma-ELzbK-Us.js";
|
|
64
|
+
import "./PolarCoordinates-CalS_TB6.js";
|
|
65
|
+
import "./Polygon-MN_gj5R6.js";
|
|
66
|
+
import "./Posterize-C4vtRmtA.js";
|
|
67
|
+
import "./ProgressiveBlur-CLYhfOvQ.js";
|
|
68
|
+
import "./RadialGradient-DtD8HWdM.js";
|
|
69
|
+
import "./RectangularCoordinates-B96mflF5.js";
|
|
70
|
+
import "./Ring-76XLaaus.js";
|
|
71
|
+
import "./Ripples-Cevf-Hvg.js";
|
|
72
|
+
import "./RoundedRect-D6q6xf_O.js";
|
|
73
|
+
import "./Saturation-CcDwPh2v.js";
|
|
74
|
+
import "./Sharpness-D_dXfDEo.js";
|
|
75
|
+
import "./Shatter-NfZzVt54.js";
|
|
76
|
+
import "./SimplexNoise-aipzNV5j.js";
|
|
77
|
+
import "./SineWave-CVeYx3n-.js";
|
|
78
|
+
import "./SolidColor-BdbBnLxX.js";
|
|
79
|
+
import "./Spherize-BRGwLGeu.js";
|
|
80
|
+
import "./Spiral-BkTBXb7z.js";
|
|
81
|
+
import "./Star-DN6qziUO.js";
|
|
82
|
+
import "./Strands-Cjsw-cPu.js";
|
|
83
|
+
import "./Stretch-9cta3Z1W.js";
|
|
84
|
+
import "./Stripes-C0sCGCz_.js";
|
|
85
|
+
import "./StudioBackground-BYv_-8df.js";
|
|
86
|
+
import "./Swirl-DXjIXfy7.js";
|
|
87
|
+
import "./TiltShift-56lcZ4cJ.js";
|
|
88
|
+
import "./Tint-8_WIy9_e.js";
|
|
89
|
+
import "./Trapezoid-C-HfI0fp.js";
|
|
90
|
+
import "./Tritone-nyJyybHI.js";
|
|
91
|
+
import "./Twirl-BzSEz4xK.js";
|
|
92
|
+
import "./Vesica-DXWePxDj.js";
|
|
93
|
+
import "./Vibrance-BETLN3Ie.js";
|
|
94
|
+
import "./browser-CqdrcD5J.js";
|
|
95
|
+
import "./VideoTexture-Dbsbgb1Y.js";
|
|
96
|
+
import "./WaveDistortion-C-j597Jm.js";
|
|
97
|
+
import "./WebcamTexture-xvb8MuFz.js";
|
|
98
|
+
import "./ZoomBlur-DFw0J9x3.js";
|
|
99
|
+
import { a as shaderRegistry, i as getShadersByCategory, n as getShaderByName, r as getShaderCategories, t as getAllShaders } from "./shaderRegistry-C0Tmid5z.js";
|
|
99
100
|
export { getAllShaders, getShaderByName, getShaderCategories, getShadersByCategory, shaderRegistry };
|
package/dist/core/renderer.d.ts
CHANGED
|
@@ -168,6 +168,7 @@ export declare function shaderRenderer(): {
|
|
|
168
168
|
};
|
|
169
169
|
getRendererType: () => "webgpu" | "webgl" | null;
|
|
170
170
|
getInternalRenderer: () => WebGPURenderer | WebGLRenderer;
|
|
171
|
+
setOnReady: (callback: (() => void) | null) => void;
|
|
171
172
|
__testing: {
|
|
172
173
|
needsTransformation: (transform: import('./types').TransformConfig | undefined) => boolean;
|
|
173
174
|
findChildNodes: (parentId: string) => NodeInfo[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,IAAI,EAMT,cAAc,EACjB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAA;AAInC,OAAO,EAAoB,eAAe,EAAE,mBAAmB,EAA8D,YAAY,EAAE,cAA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AC,EAAE,qBAAqB,GAAG,sBAAsB,CAAA;IACxD,GAAG,CAAC,EAAE;QACF,MAAM,EAAE,SAAS,CAAA;QACjB,OAAO,EAAE,UAAU,CAAA;KACtB,CAAA;IACD,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC/B;AAiHD;;GAEG;AACH,wBAAgB,cAAc;kJAmtEG,iBAAiB;;uBA3/BpB,MAAM,oBAAoB,mBAAmB,CAAC,cAAc,CAAC,GAAG,IAAI,YAAY,MAAM,GAAG,IAAI,YAAY,YAAY,GAAG,IAAI,aAAY,WAAW,wBAA6B,mBAAmB,KAAG,IAAI;qBAsa5M,MAAM,KAAG,IAAI;iCA1QD,MAAM,eAAe,MAAM,SAAS,GAAG,KAAG,IAAI;iCA8C9C,MAAM,YAAY,OAAO,CAAC,YAAY,CAAC,KAAG,IAAI;;oBA8oC9D,MAAM,UAAU,MAAM;0BAngBf,IAAI;yBAyBL,IAAI;yBAzOE,OAAO,CAAC,IAAI,CAAC;+BA+Lb,gBAAgB;;eA4hBmB,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;;2BArBpE,QAAQ,GAAG,OAAO,GAAG,IAAI;;2BAwB1B,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI;;;mCAhrEZ,MAAM,KAAG,QAAQ,EAAE;oCA+CzC,IAAI,YACF,QAAQ,UACV,MAAM,kBACE,GAAG,CAAC,MAAM,CAAC,gBACb,IAAI,KACnB,IAAI;0CA8SK,IAAI,YACF,QAAQ,KACnB,IAAI;;;;EA01DV"}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { n as componentDefinition } from "./AngularBlur-BgZWbEjj.js";
|
|
2
|
+
import { n as componentDefinition$1 } from "./Ascii-BwSMmD6Z.js";
|
|
3
|
+
import { n as componentDefinition$2 } from "./Aurora-BPHeGEZ_.js";
|
|
4
|
+
import { n as componentDefinition$3 } from "./Beam-CAnoOWgt.js";
|
|
5
|
+
import { n as componentDefinition$4 } from "./Blob-56vuq_qL.js";
|
|
6
|
+
import { n as componentDefinition$5 } from "./Blur-DTyNQt1R.js";
|
|
7
|
+
import { n as componentDefinition$6 } from "./BrightnessContrast-BoR9bi58.js";
|
|
8
|
+
import { n as componentDefinition$7 } from "./Bulge-DN2R75Hp.js";
|
|
9
|
+
import { n as componentDefinition$8 } from "./ChannelBlur-CCaPXjka.js";
|
|
10
|
+
import { n as componentDefinition$9 } from "./Checkerboard-_IUtUrDv.js";
|
|
11
|
+
import { n as componentDefinition$10 } from "./ChromaFlow-Cq6hDVjX.js";
|
|
12
|
+
import { n as componentDefinition$11 } from "./ChromaticAberration-G8_bwQtD.js";
|
|
13
|
+
import { n as componentDefinition$12 } from "./Circle--0oHzoCi.js";
|
|
14
|
+
import { n as componentDefinition$13 } from "./ConcentricSpin-BzxzMieZ.js";
|
|
15
|
+
import { n as componentDefinition$14 } from "./ContourLines-yEb5IJ1Y.js";
|
|
16
|
+
import { n as componentDefinition$15 } from "./Crescent-B4Z_WAgY.js";
|
|
17
|
+
import { n as componentDefinition$16 } from "./Cross-M5Vm5Kmy.js";
|
|
18
|
+
import { n as componentDefinition$17 } from "./CRTScreen-BZ-sAmPZ.js";
|
|
19
|
+
import { n as componentDefinition$18 } from "./CursorRipples-BY1iu4MX.js";
|
|
20
|
+
import { n as componentDefinition$19 } from "./CursorTrail-BzrL2WMh.js";
|
|
21
|
+
import { n as componentDefinition$20 } from "./DiffuseBlur-Dyd42LXw.js";
|
|
22
|
+
import { n as componentDefinition$21 } from "./Dither-CTInG_SB.js";
|
|
23
|
+
import { n as componentDefinition$22 } from "./DotGrid-CsL0dnYB.js";
|
|
24
|
+
import { n as componentDefinition$23 } from "./Duotone-BbCFLFMK.js";
|
|
25
|
+
import { n as componentDefinition$24 } from "./Ellipse-BjbjXlOx.js";
|
|
26
|
+
import { n as componentDefinition$25 } from "./Emboss-K5TExa67.js";
|
|
27
|
+
import { n as componentDefinition$26 } from "./FallingLines-DBNJVWio.js";
|
|
28
|
+
import { n as componentDefinition$27 } from "./FilmGrain-CSuerGc6.js";
|
|
29
|
+
import { n as componentDefinition$28 } from "./FloatingParticles-CoBM_CJ8.js";
|
|
30
|
+
import { n as componentDefinition$29 } from "./Flower-B-53jiUT.js";
|
|
31
|
+
import { n as componentDefinition$30 } from "./FlowField-Bh3-dX6I.js";
|
|
32
|
+
import { n as componentDefinition$31 } from "./FlowingGradient-DVproCI1.js";
|
|
33
|
+
import { n as componentDefinition$32 } from "./Form3D-DhezVuyN.js";
|
|
34
|
+
import { n as componentDefinition$33 } from "./Glass-D7wAPADg.js";
|
|
35
|
+
import { n as componentDefinition$34 } from "./GlassTiles-ClrOIpCg.js";
|
|
36
|
+
import { n as componentDefinition$35 } from "./Glitch-DmWytiRl.js";
|
|
37
|
+
import { n as componentDefinition$36 } from "./Glow-Dm4dfZ_m.js";
|
|
38
|
+
import { n as componentDefinition$37 } from "./Godrays-CYILZUHg.js";
|
|
39
|
+
import { n as componentDefinition$38 } from "./Grayscale-CPR_l4G2.js";
|
|
40
|
+
import { n as componentDefinition$39 } from "./Grid-CCQZ3GhD.js";
|
|
41
|
+
import { n as componentDefinition$40 } from "./GridDistortion-oGT8NaWa.js";
|
|
42
|
+
import { n as componentDefinition$41 } from "./Group-CC317vlL.js";
|
|
43
|
+
import { n as componentDefinition$42 } from "./Halftone-BZk1Hjz_.js";
|
|
44
|
+
import { n as componentDefinition$43 } from "./HueShift-CuE3YTBE.js";
|
|
45
|
+
import { n as componentDefinition$44 } from "./ImageTexture-DWUSKXX0.js";
|
|
46
|
+
import { n as componentDefinition$45 } from "./Invert-C9RiDYP_.js";
|
|
47
|
+
import { n as componentDefinition$46 } from "./Kaleidoscope-DtVlQWKG.js";
|
|
48
|
+
import { n as componentDefinition$47 } from "./LensFlare-AVpiDD1O.js";
|
|
49
|
+
import { n as componentDefinition$48 } from "./LinearBlur-AR65FcZh.js";
|
|
50
|
+
import { n as componentDefinition$49 } from "./LinearGradient-DXCXjS-K.js";
|
|
51
|
+
import { n as componentDefinition$50 } from "./Liquify-mhzPd19o.js";
|
|
52
|
+
import { n as componentDefinition$51 } from "./Mirror-CSc5mJi1.js";
|
|
53
|
+
import { n as componentDefinition$52 } from "./Neon-By5OgQ24.js";
|
|
54
|
+
import { n as componentDefinition$53 } from "./Paper-DfUka0dt.js";
|
|
55
|
+
import { n as componentDefinition$54 } from "./Perspective-uPiPmWy_.js";
|
|
56
|
+
import { n as componentDefinition$55 } from "./Pixelate-DRkAW4Lo.js";
|
|
57
|
+
import { n as componentDefinition$56 } from "./Plasma-ELzbK-Us.js";
|
|
58
|
+
import { n as componentDefinition$57 } from "./PolarCoordinates-CalS_TB6.js";
|
|
59
|
+
import { n as componentDefinition$58 } from "./Polygon-MN_gj5R6.js";
|
|
60
|
+
import { n as componentDefinition$59 } from "./Posterize-C4vtRmtA.js";
|
|
61
|
+
import { n as componentDefinition$60 } from "./ProgressiveBlur-CLYhfOvQ.js";
|
|
62
|
+
import { n as componentDefinition$61 } from "./RadialGradient-DtD8HWdM.js";
|
|
63
|
+
import { n as componentDefinition$62 } from "./RectangularCoordinates-B96mflF5.js";
|
|
64
|
+
import { n as componentDefinition$63 } from "./Ring-76XLaaus.js";
|
|
65
|
+
import { n as componentDefinition$64 } from "./Ripples-Cevf-Hvg.js";
|
|
66
|
+
import { n as componentDefinition$65 } from "./RoundedRect-D6q6xf_O.js";
|
|
67
|
+
import { n as componentDefinition$66 } from "./Saturation-CcDwPh2v.js";
|
|
68
|
+
import { n as componentDefinition$67 } from "./Sharpness-D_dXfDEo.js";
|
|
69
|
+
import { n as componentDefinition$68 } from "./Shatter-NfZzVt54.js";
|
|
70
|
+
import { n as componentDefinition$69 } from "./SimplexNoise-aipzNV5j.js";
|
|
71
|
+
import { n as componentDefinition$70 } from "./SineWave-CVeYx3n-.js";
|
|
72
|
+
import { n as componentDefinition$71 } from "./SolidColor-BdbBnLxX.js";
|
|
73
|
+
import { n as componentDefinition$72 } from "./Spherize-BRGwLGeu.js";
|
|
74
|
+
import { n as componentDefinition$73 } from "./Spiral-BkTBXb7z.js";
|
|
75
|
+
import { n as componentDefinition$74 } from "./Star-DN6qziUO.js";
|
|
76
|
+
import { n as componentDefinition$75 } from "./Strands-Cjsw-cPu.js";
|
|
77
|
+
import { n as componentDefinition$76 } from "./Stretch-9cta3Z1W.js";
|
|
78
|
+
import { n as componentDefinition$77 } from "./Stripes-C0sCGCz_.js";
|
|
79
|
+
import { n as componentDefinition$78 } from "./StudioBackground-BYv_-8df.js";
|
|
80
|
+
import { n as componentDefinition$79 } from "./Swirl-DXjIXfy7.js";
|
|
81
|
+
import { n as componentDefinition$80 } from "./TiltShift-56lcZ4cJ.js";
|
|
82
|
+
import { n as componentDefinition$81 } from "./Tint-8_WIy9_e.js";
|
|
83
|
+
import { n as componentDefinition$82 } from "./Trapezoid-C-HfI0fp.js";
|
|
84
|
+
import { n as componentDefinition$83 } from "./Tritone-nyJyybHI.js";
|
|
85
|
+
import { n as componentDefinition$84 } from "./Twirl-BzSEz4xK.js";
|
|
86
|
+
import { n as componentDefinition$85 } from "./Vesica-DXWePxDj.js";
|
|
87
|
+
import { n as componentDefinition$86 } from "./Vibrance-BETLN3Ie.js";
|
|
88
|
+
import { n as componentDefinition$87 } from "./VideoTexture-Dbsbgb1Y.js";
|
|
89
|
+
import { n as componentDefinition$88 } from "./WaveDistortion-C-j597Jm.js";
|
|
90
|
+
import { n as componentDefinition$89 } from "./WebcamTexture-xvb8MuFz.js";
|
|
91
|
+
import { n as componentDefinition$90 } from "./ZoomBlur-DFw0J9x3.js";
|
|
92
|
+
var createShaderRegistry = () => {
|
|
93
|
+
const registry = {};
|
|
94
|
+
const shaderDefinitions = {
|
|
95
|
+
AngularBlur: componentDefinition,
|
|
96
|
+
Ascii: componentDefinition$1,
|
|
97
|
+
Aurora: componentDefinition$2,
|
|
98
|
+
Beam: componentDefinition$3,
|
|
99
|
+
Blob: componentDefinition$4,
|
|
100
|
+
Blur: componentDefinition$5,
|
|
101
|
+
BrightnessContrast: componentDefinition$6,
|
|
102
|
+
Bulge: componentDefinition$7,
|
|
103
|
+
ChannelBlur: componentDefinition$8,
|
|
104
|
+
Checkerboard: componentDefinition$9,
|
|
105
|
+
ChromaFlow: componentDefinition$10,
|
|
106
|
+
ChromaticAberration: componentDefinition$11,
|
|
107
|
+
Circle: componentDefinition$12,
|
|
108
|
+
ConcentricSpin: componentDefinition$13,
|
|
109
|
+
ContourLines: componentDefinition$14,
|
|
110
|
+
Crescent: componentDefinition$15,
|
|
111
|
+
Cross: componentDefinition$16,
|
|
112
|
+
CRTScreen: componentDefinition$17,
|
|
113
|
+
CursorRipples: componentDefinition$18,
|
|
114
|
+
CursorTrail: componentDefinition$19,
|
|
115
|
+
DiffuseBlur: componentDefinition$20,
|
|
116
|
+
Dither: componentDefinition$21,
|
|
117
|
+
DotGrid: componentDefinition$22,
|
|
118
|
+
Duotone: componentDefinition$23,
|
|
119
|
+
Ellipse: componentDefinition$24,
|
|
120
|
+
Emboss: componentDefinition$25,
|
|
121
|
+
FallingLines: componentDefinition$26,
|
|
122
|
+
FilmGrain: componentDefinition$27,
|
|
123
|
+
FloatingParticles: componentDefinition$28,
|
|
124
|
+
Flower: componentDefinition$29,
|
|
125
|
+
FlowField: componentDefinition$30,
|
|
126
|
+
FlowingGradient: componentDefinition$31,
|
|
127
|
+
Form3D: componentDefinition$32,
|
|
128
|
+
Glass: componentDefinition$33,
|
|
129
|
+
GlassTiles: componentDefinition$34,
|
|
130
|
+
Glitch: componentDefinition$35,
|
|
131
|
+
Glow: componentDefinition$36,
|
|
132
|
+
Godrays: componentDefinition$37,
|
|
133
|
+
Grayscale: componentDefinition$38,
|
|
134
|
+
Grid: componentDefinition$39,
|
|
135
|
+
GridDistortion: componentDefinition$40,
|
|
136
|
+
Group: componentDefinition$41,
|
|
137
|
+
Halftone: componentDefinition$42,
|
|
138
|
+
HueShift: componentDefinition$43,
|
|
139
|
+
ImageTexture: componentDefinition$44,
|
|
140
|
+
Invert: componentDefinition$45,
|
|
141
|
+
Kaleidoscope: componentDefinition$46,
|
|
142
|
+
LensFlare: componentDefinition$47,
|
|
143
|
+
LinearBlur: componentDefinition$48,
|
|
144
|
+
LinearGradient: componentDefinition$49,
|
|
145
|
+
Liquify: componentDefinition$50,
|
|
146
|
+
Mirror: componentDefinition$51,
|
|
147
|
+
Neon: componentDefinition$52,
|
|
148
|
+
Paper: componentDefinition$53,
|
|
149
|
+
Perspective: componentDefinition$54,
|
|
150
|
+
Pixelate: componentDefinition$55,
|
|
151
|
+
Plasma: componentDefinition$56,
|
|
152
|
+
PolarCoordinates: componentDefinition$57,
|
|
153
|
+
Polygon: componentDefinition$58,
|
|
154
|
+
Posterize: componentDefinition$59,
|
|
155
|
+
ProgressiveBlur: componentDefinition$60,
|
|
156
|
+
RadialGradient: componentDefinition$61,
|
|
157
|
+
RectangularCoordinates: componentDefinition$62,
|
|
158
|
+
Ring: componentDefinition$63,
|
|
159
|
+
Ripples: componentDefinition$64,
|
|
160
|
+
RoundedRect: componentDefinition$65,
|
|
161
|
+
Saturation: componentDefinition$66,
|
|
162
|
+
Sharpness: componentDefinition$67,
|
|
163
|
+
Shatter: componentDefinition$68,
|
|
164
|
+
SimplexNoise: componentDefinition$69,
|
|
165
|
+
SineWave: componentDefinition$70,
|
|
166
|
+
SolidColor: componentDefinition$71,
|
|
167
|
+
Spherize: componentDefinition$72,
|
|
168
|
+
Spiral: componentDefinition$73,
|
|
169
|
+
Star: componentDefinition$74,
|
|
170
|
+
Strands: componentDefinition$75,
|
|
171
|
+
Stretch: componentDefinition$76,
|
|
172
|
+
Stripes: componentDefinition$77,
|
|
173
|
+
StudioBackground: componentDefinition$78,
|
|
174
|
+
Swirl: componentDefinition$79,
|
|
175
|
+
TiltShift: componentDefinition$80,
|
|
176
|
+
Tint: componentDefinition$81,
|
|
177
|
+
Trapezoid: componentDefinition$82,
|
|
178
|
+
Tritone: componentDefinition$83,
|
|
179
|
+
Twirl: componentDefinition$84,
|
|
180
|
+
Vesica: componentDefinition$85,
|
|
181
|
+
Vibrance: componentDefinition$86,
|
|
182
|
+
VideoTexture: componentDefinition$87,
|
|
183
|
+
WaveDistortion: componentDefinition$88,
|
|
184
|
+
WebcamTexture: componentDefinition$89,
|
|
185
|
+
ZoomBlur: componentDefinition$90
|
|
186
|
+
};
|
|
187
|
+
Object.entries(shaderDefinitions).forEach(([fileName, def]) => {
|
|
188
|
+
const propsMetadata = {};
|
|
189
|
+
if (def.props) Object.entries(def.props).forEach(([propName, propConfig]) => {
|
|
190
|
+
if (propConfig.ui) propsMetadata[propName] = {
|
|
191
|
+
ui: propConfig.ui,
|
|
192
|
+
default: propConfig.default,
|
|
193
|
+
description: propConfig.description
|
|
194
|
+
};
|
|
195
|
+
});
|
|
196
|
+
registry[def.name] = {
|
|
197
|
+
name: def.name,
|
|
198
|
+
fileName,
|
|
199
|
+
category: def.category || "Uncategorized",
|
|
200
|
+
definition: def,
|
|
201
|
+
propsMetadata
|
|
202
|
+
};
|
|
203
|
+
});
|
|
204
|
+
return registry;
|
|
205
|
+
};
|
|
206
|
+
const shaderRegistry = createShaderRegistry();
|
|
207
|
+
function getAllShaders() {
|
|
208
|
+
return Object.values(shaderRegistry);
|
|
209
|
+
}
|
|
210
|
+
function getShaderByName(name) {
|
|
211
|
+
return shaderRegistry[name];
|
|
212
|
+
}
|
|
213
|
+
function getShadersByCategory(category) {
|
|
214
|
+
return Object.values(shaderRegistry).filter((shader) => shader.category === category);
|
|
215
|
+
}
|
|
216
|
+
function getShaderCategories() {
|
|
217
|
+
const categories = new Set(Object.values(shaderRegistry).map((shader) => shader.category));
|
|
218
|
+
return Array.from(categories).sort();
|
|
219
|
+
}
|
|
220
|
+
export { shaderRegistry as a, getShadersByCategory as i, getShaderByName as n, getShaderCategories as r, getAllShaders as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shaderRegistry.d.ts","sourceRoot":"","sources":["../src/shaderRegistry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shaderRegistry.d.ts","sourceRoot":"","sources":["../src/shaderRegistry.ts"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,mBAAmB,CAAC,GAAG,CAAC,CAAA;IACpC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE;QAC5B,EAAE,CAAC,EAAE,GAAG,CAAA;QACR,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,WAAW,CAAC,EAAE,MAAM,CAAA;KACrB,CAAC,CAAA;CACH;AA+HD,eAAO,MAAM,cAAc,qCAAyB,CAAA;AAGpD,wBAAgB,aAAa,IAAI,mBAAmB,EAAE,CAErD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAE7E;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,mBAAmB,EAAE,CAE5E;AAED,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAG9C"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { ComponentDefinition } from '../../types';
|
|
2
|
+
import { transformColor } from '../../utilities/transformations';
|
|
3
|
+
|
|
4
|
+
export interface ComponentProps {
|
|
5
|
+
/**
|
|
6
|
+
* Deep background color
|
|
7
|
+
*
|
|
8
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
9
|
+
* @default "#0a0015"
|
|
10
|
+
*/
|
|
11
|
+
colorA: Parameters<typeof transformColor>[0];
|
|
12
|
+
/**
|
|
13
|
+
* Primary accent color
|
|
14
|
+
*
|
|
15
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
16
|
+
* @default "#6b17e6"
|
|
17
|
+
*/
|
|
18
|
+
colorB: Parameters<typeof transformColor>[0];
|
|
19
|
+
/**
|
|
20
|
+
* Secondary accent color
|
|
21
|
+
*
|
|
22
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
23
|
+
* @default "#ff4d6a"
|
|
24
|
+
*/
|
|
25
|
+
colorC: Parameters<typeof transformColor>[0];
|
|
26
|
+
/**
|
|
27
|
+
* Tertiary accent color
|
|
28
|
+
*
|
|
29
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
30
|
+
* @default "#ff6b35"
|
|
31
|
+
*/
|
|
32
|
+
colorD: Parameters<typeof transformColor>[0];
|
|
33
|
+
/**
|
|
34
|
+
* Color space for color interpolation
|
|
35
|
+
*
|
|
36
|
+
* Accepts one of the predefined option values.
|
|
37
|
+
* @default "oklch"
|
|
38
|
+
*/
|
|
39
|
+
colorSpace: string;
|
|
40
|
+
/**
|
|
41
|
+
* Animation speed
|
|
42
|
+
*
|
|
43
|
+
* Accepts a number between 0 and 10.
|
|
44
|
+
* @default 1
|
|
45
|
+
*/
|
|
46
|
+
speed: number;
|
|
47
|
+
/**
|
|
48
|
+
* Organic distortion intensity
|
|
49
|
+
*
|
|
50
|
+
* @default 0.5
|
|
51
|
+
*/
|
|
52
|
+
distortion: number;
|
|
53
|
+
/**
|
|
54
|
+
* Random seed for variation
|
|
55
|
+
*
|
|
56
|
+
* @default 0
|
|
57
|
+
*/
|
|
58
|
+
seed: number;
|
|
59
|
+
}
|
|
60
|
+
export declare const componentDefinition: ComponentDefinition<ComponentProps>;
|
|
61
|
+
export default componentDefinition;
|
|
62
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/FlowingGradient/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AASvE,OAAO,EAAC,cAAc,EAAyC,MAAM,qCAAqC,CAAA;AAI1G,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAkJnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "../../transformations-B5lM6fYX.js";
|
|
2
|
+
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
+
import "../../time-DUqSFWvT.js";
|
|
4
|
+
import { n as componentDefinition, t as FlowingGradient_default } from "../../FlowingGradient-DVproCI1.js";
|
|
5
|
+
export { componentDefinition, FlowingGradient_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../time-DUqSFWvT.js";
|
|
3
|
-
import { n as componentDefinition, t as Form3D_default } from "../../Form3D-
|
|
3
|
+
import { n as componentDefinition, t as Form3D_default } from "../../Form3D-DhezVuyN.js";
|
|
4
4
|
export { componentDefinition, Form3D_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../sdf-BDsv-WBk.js";
|
|
3
|
-
import { n as componentDefinition, t as Glass_default } from "../../Glass-
|
|
3
|
+
import { n as componentDefinition, t as Glass_default } from "../../Glass-D7wAPADg.js";
|
|
4
4
|
export { componentDefinition, Glass_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../alpha-C4ptedXe.js";
|
|
2
|
-
import { n as componentDefinition, t as GlassTiles_default } from "../../GlassTiles-
|
|
2
|
+
import { n as componentDefinition, t as GlassTiles_default } from "../../GlassTiles-ClrOIpCg.js";
|
|
3
3
|
export { componentDefinition, GlassTiles_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../alpha-C4ptedXe.js";
|
|
2
|
-
import { n as componentDefinition, t as Glitch_default } from "../../Glitch-
|
|
2
|
+
import { n as componentDefinition, t as Glitch_default } from "../../Glitch-DmWytiRl.js";
|
|
3
3
|
export { componentDefinition, Glitch_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../time-DUqSFWvT.js";
|
|
3
|
-
import { n as componentDefinition, t as Godrays_default } from "../../Godrays-
|
|
3
|
+
import { n as componentDefinition, t as Godrays_default } from "../../Godrays-CYILZUHg.js";
|
|
4
4
|
export { componentDefinition, Godrays_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Grayscale_default } from "../../Grayscale-
|
|
1
|
+
import { n as componentDefinition, t as Grayscale_default } from "../../Grayscale-CPR_l4G2.js";
|
|
2
2
|
export { componentDefinition, Grayscale_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
|
-
import { n as componentDefinition, t as Grid_default } from "../../Grid-
|
|
2
|
+
import { n as componentDefinition, t as Grid_default } from "../../Grid-CCQZ3GhD.js";
|
|
3
3
|
export { componentDefinition, Grid_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../edges-CfGcQniB.js";
|
|
2
2
|
import "../../transformations-B5lM6fYX.js";
|
|
3
3
|
import "../../alpha-C4ptedXe.js";
|
|
4
|
-
import { n as componentDefinition, t as GridDistortion_default } from "../../GridDistortion-
|
|
4
|
+
import { n as componentDefinition, t as GridDistortion_default } from "../../GridDistortion-oGT8NaWa.js";
|
|
5
5
|
export { componentDefinition, GridDistortion_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Group_default } from "../../Group-
|
|
1
|
+
import { n as componentDefinition, t as Group_default } from "../../Group-CC317vlL.js";
|
|
2
2
|
export { componentDefinition, Group_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
|
-
import { n as componentDefinition, t as Halftone_default } from "../../Halftone-
|
|
2
|
+
import { n as componentDefinition, t as Halftone_default } from "../../Halftone-BZk1Hjz_.js";
|
|
3
3
|
export { componentDefinition, Halftone_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as HueShift_default } from "../../HueShift-
|
|
1
|
+
import { n as componentDefinition, t as HueShift_default } from "../../HueShift-CuE3YTBE.js";
|
|
2
2
|
export { componentDefinition, HueShift_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as ImageTexture_default } from "../../ImageTexture-
|
|
1
|
+
import { n as componentDefinition, t as ImageTexture_default } from "../../ImageTexture-DWUSKXX0.js";
|
|
2
2
|
export { componentDefinition, ImageTexture_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Invert_default } from "../../Invert-
|
|
1
|
+
import { n as componentDefinition, t as Invert_default } from "../../Invert-C9RiDYP_.js";
|
|
2
2
|
export { componentDefinition, Invert_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../edges-CfGcQniB.js";
|
|
2
2
|
import "../../transformations-B5lM6fYX.js";
|
|
3
3
|
import "../../alpha-C4ptedXe.js";
|
|
4
|
-
import { n as componentDefinition, t as Kaleidoscope_default } from "../../Kaleidoscope-
|
|
4
|
+
import { n as componentDefinition, t as Kaleidoscope_default } from "../../Kaleidoscope-DtVlQWKG.js";
|
|
5
5
|
export { componentDefinition, Kaleidoscope_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../time-DUqSFWvT.js";
|
|
3
|
-
import { n as componentDefinition, t as LensFlare_default } from "../../LensFlare-
|
|
3
|
+
import { n as componentDefinition, t as LensFlare_default } from "../../LensFlare-AVpiDD1O.js";
|
|
4
4
|
export { componentDefinition, LensFlare_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../alpha-C4ptedXe.js";
|
|
3
|
-
import { n as componentDefinition, t as LinearBlur_default } from "../../LinearBlur-
|
|
3
|
+
import { n as componentDefinition, t as LinearBlur_default } from "../../LinearBlur-AR65FcZh.js";
|
|
4
4
|
export { componentDefinition, LinearBlur_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { n as componentDefinition, t as LinearGradient_default } from "../../LinearGradient-
|
|
3
|
+
import { n as componentDefinition, t as LinearGradient_default } from "../../LinearGradient-DXCXjS-K.js";
|
|
4
4
|
export { componentDefinition, LinearGradient_default as default };
|
|
@@ -2,23 +2,29 @@ import { ComponentDefinition } from '../../types';
|
|
|
2
2
|
|
|
3
3
|
export interface ComponentProps {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Scale of the fabric displacement effect
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* @default 1
|
|
7
|
+
* @default 10
|
|
9
8
|
*/
|
|
10
9
|
intensity: number;
|
|
11
10
|
/**
|
|
12
|
-
*
|
|
11
|
+
* Fabric rigidity (higher = stiffer canvas, lower = stretchy silk)
|
|
12
|
+
*
|
|
13
|
+
* Accepts a number between 1 and 30.
|
|
14
|
+
* @default 3
|
|
15
|
+
*/
|
|
16
|
+
stiffness: number;
|
|
17
|
+
/**
|
|
18
|
+
* How quickly fabric motion settles
|
|
13
19
|
*
|
|
14
20
|
* Accepts a number between 0 and 10.
|
|
15
21
|
* @default 3
|
|
16
22
|
*/
|
|
17
|
-
|
|
23
|
+
damping: number;
|
|
18
24
|
/**
|
|
19
|
-
*
|
|
25
|
+
* Cursor influence area
|
|
20
26
|
*
|
|
21
|
-
* Accepts a number between 0 and
|
|
27
|
+
* Accepts a number between 0.1 and 1.5.
|
|
22
28
|
* @default 1
|
|
23
29
|
*/
|
|
24
30
|
radius: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Liquify/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AASvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Liquify/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AASvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CAChB;AAID,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAsQnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../edges-CfGcQniB.js";
|
|
2
2
|
import "../../transformations-B5lM6fYX.js";
|
|
3
3
|
import "../../alpha-C4ptedXe.js";
|
|
4
|
-
import { n as componentDefinition, t as Liquify_default } from "../../Liquify-
|
|
4
|
+
import { n as componentDefinition, t as Liquify_default } from "../../Liquify-mhzPd19o.js";
|
|
5
5
|
export { componentDefinition, Liquify_default as default };
|