shaders 2.5.103 → 2.5.104
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/Fog-DhFHErOx.js +674 -0
- package/dist/core/Smoke-LIDjCv7f.js +629 -0
- package/dist/core/SmokeFill-ChSIfTxW.js +641 -0
- package/dist/core/{VideoTexture-DnHIs4pp.js → VideoTexture-SWLe5c3m.js} +1 -1
- package/dist/core/{WebcamTexture-XBDo2kgN.js → WebcamTexture-cXPyEumA.js} +1 -1
- package/dist/core/index.js +73 -70
- package/dist/core/registry.js +72 -69
- package/dist/core/renderer.d.ts.map +1 -1
- package/dist/core/shaderRegistry-CVhdTDhR.js +252 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Fog/index.d.ts +78 -0
- package/dist/core/shaders/Fog/index.d.ts.map +1 -0
- package/dist/core/shaders/Fog/index.js +4 -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/HexGrid/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.js +1 -1
- package/dist/core/shaders/Mirror/index.js +1 -1
- package/dist/core/shaders/MultiPointGradient/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/Smoke/index.d.ts +113 -0
- package/dist/core/shaders/Smoke/index.d.ts.map +1 -0
- package/dist/core/shaders/Smoke/index.js +4 -0
- package/dist/core/shaders/SmokeFill/index.d.ts +145 -0
- package/dist/core/shaders/SmokeFill/index.d.ts.map +1 -0
- package/dist/core/shaders/SmokeFill/index.js +5 -0
- package/dist/core/shaders/Solarize/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/Truchet/index.js +1 -1
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/VHS/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/Vignette/index.js +1 -1
- package/dist/core/shaders/Voronoi/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/Weave/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.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +67 -0
- package/dist/react/Fog.js +223 -0
- package/dist/react/Preview.js +3 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/Smoke.js +223 -0
- package/dist/react/SmokeFill.js +223 -0
- package/dist/react/components/Fog.d.ts +31 -0
- package/dist/react/components/Fog.d.ts.map +1 -0
- package/dist/react/components/Smoke.d.ts +33 -0
- package/dist/react/components/Smoke.d.ts.map +1 -0
- package/dist/react/components/SmokeFill.d.ts +34 -0
- package/dist/react/components/SmokeFill.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +3 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +4 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +67 -0
- package/dist/registry.js +1189 -0
- package/dist/solid/components/Fog.d.ts +28 -0
- package/dist/solid/components/Fog.d.ts.map +1 -0
- package/dist/solid/components/Fog.js +228 -0
- package/dist/solid/components/Smoke.d.ts +30 -0
- package/dist/solid/components/Smoke.d.ts.map +1 -0
- package/dist/solid/components/Smoke.js +228 -0
- package/dist/solid/components/SmokeFill.d.ts +31 -0
- package/dist/solid/components/SmokeFill.d.ts.map +1 -0
- package/dist/solid/components/SmokeFill.js +228 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +162 -156
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +3 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +144 -138
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +67 -0
- package/dist/svelte/components/Fog.svelte.d.ts +19 -0
- package/dist/svelte/components/Smoke.svelte.d.ts +20 -0
- package/dist/svelte/components/SmokeFill.svelte.d.ts +21 -0
- package/dist/svelte/{generatePresetCode-psTzYsW3.js → generatePresetCode-DR_OAIL7.js} +67 -0
- package/dist/svelte/index.d.ts +3 -0
- package/dist/svelte/index.js +1151 -551
- package/dist/svelte/source/components/Fog.svelte +325 -0
- package/dist/svelte/source/components/Smoke.svelte +326 -0
- package/dist/svelte/source/components/SmokeFill.svelte +327 -0
- package/dist/svelte/source/engine/Preview.svelte +6 -0
- package/dist/svelte/source/index.js +3 -0
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/Fog.js +3 -0
- package/dist/vue/Fog.vue_vue_type_script_setup_true_lang.js +222 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +6 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/Smoke.js +3 -0
- package/dist/vue/Smoke.vue_vue_type_script_setup_true_lang.js +227 -0
- package/dist/vue/SmokeFill.js +3 -0
- package/dist/vue/SmokeFill.vue_vue_type_script_setup_true_lang.js +232 -0
- package/dist/vue/components/Fog.vue.d.ts +54 -0
- package/dist/vue/components/Fog.vue.d.ts.map +1 -0
- package/dist/vue/components/Smoke.vue.d.ts +55 -0
- package/dist/vue/components/Smoke.vue.d.ts.map +1 -0
- package/dist/vue/components/SmokeFill.vue.d.ts +56 -0
- package/dist/vue/components/SmokeFill.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +3 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +4 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +67 -0
- package/package.json +25 -1
- package/dist/core/shaderRegistry-BWuH2me2.js +0 -246
- /package/dist/core/{Form3D-rKpxb9t3.js → Form3D-DaPbLGUi.js} +0 -0
- /package/dist/core/{Glass-C04tCmBL.js → Glass-CpcmrDfm.js} +0 -0
- /package/dist/core/{GlassTiles-k1C4a4u8.js → GlassTiles-Dgh6nOaE.js} +0 -0
- /package/dist/core/{Glitch-DzPMkBu4.js → Glitch-BsbzLahF.js} +0 -0
- /package/dist/core/{Glow-BwaPYDRZ.js → Glow-Ft2x2QHL.js} +0 -0
- /package/dist/core/{Godrays-DAYmq-BP.js → Godrays-D1LINbut.js} +0 -0
- /package/dist/core/{Grayscale-lYKBBkGY.js → Grayscale-Ri-695Uh.js} +0 -0
- /package/dist/core/{Grid-BJ-nxN3i.js → Grid-BYSsAIEv.js} +0 -0
- /package/dist/core/{GridDistortion-DtaRNrTZ.js → GridDistortion-DWFGD8ya.js} +0 -0
- /package/dist/core/{Group-DpozigtX.js → Group-CkhjTW59.js} +0 -0
- /package/dist/core/{Halftone-XFa7by1s.js → Halftone-BUCDTTAU.js} +0 -0
- /package/dist/core/{HexGrid-D-EmQ4kI.js → HexGrid-BUiDrehv.js} +0 -0
- /package/dist/core/{HueShift-D9K0ynaS.js → HueShift-BtGVMu7q.js} +0 -0
- /package/dist/core/{ImageTexture-CArkZMfh.js → ImageTexture-CrX_9-f0.js} +0 -0
- /package/dist/core/{Invert-DCnwo_Xq.js → Invert-azYrcDMi.js} +0 -0
- /package/dist/core/{Kaleidoscope-BytHro3k.js → Kaleidoscope-CFWtKisp.js} +0 -0
- /package/dist/core/{LensFlare-B0vv4x97.js → LensFlare-ttrXgfea.js} +0 -0
- /package/dist/core/{LinearBlur-BFewxPjV.js → LinearBlur-By2aD8OO.js} +0 -0
- /package/dist/core/{LinearGradient-BKUf_u7r.js → LinearGradient-CM02z32l.js} +0 -0
- /package/dist/core/{Liquify-cE5dxrfh.js → Liquify-CyXo6vAH.js} +0 -0
- /package/dist/core/{Mirror-DIle92J8.js → Mirror-B7XmfGdw.js} +0 -0
- /package/dist/core/{MultiPointGradient-DDwac_mm.js → MultiPointGradient-8zGSIM4U.js} +0 -0
- /package/dist/core/{Neon-Dg8UfC7P.js → Neon-C1JlexhM.js} +0 -0
- /package/dist/core/{Paper-bMSMCeYK.js → Paper-B08rxNys.js} +0 -0
- /package/dist/core/{Perspective-BmfvQV6W.js → Perspective-BN_OpTZq.js} +0 -0
- /package/dist/core/{Pixelate-Dl26r6IT.js → Pixelate-dxPAFCRu.js} +0 -0
- /package/dist/core/{Plasma-CJWS1TvX.js → Plasma-DGCw0cd7.js} +0 -0
- /package/dist/core/{PolarCoordinates-lq6K4WBm.js → PolarCoordinates-CMYCFT4S.js} +0 -0
- /package/dist/core/{Polygon-DRCs3CYs.js → Polygon-CsCOt5YE.js} +0 -0
- /package/dist/core/{Posterize-BjH7Zscm.js → Posterize-Blv9pzPT.js} +0 -0
- /package/dist/core/{ProgressiveBlur-B8xwWyTM.js → ProgressiveBlur-Cx6eR7o9.js} +0 -0
- /package/dist/core/{RadialGradient-DiGFPgrn.js → RadialGradient-De0gtdh3.js} +0 -0
- /package/dist/core/{RectangularCoordinates-COkNDxi0.js → RectangularCoordinates-8Sa2GaDy.js} +0 -0
- /package/dist/core/{Ring-QApyKPzE.js → Ring-kHH-DIDQ.js} +0 -0
- /package/dist/core/{Ripples-C8Q17Hvz.js → Ripples-Bf6Zwg6X.js} +0 -0
- /package/dist/core/{RoundedRect-Ca9af9xe.js → RoundedRect-B0sWh2BN.js} +0 -0
- /package/dist/core/{Saturation-CgDaiq6n.js → Saturation-CB19kOXg.js} +0 -0
- /package/dist/core/{Sharpness-CRXT0D30.js → Sharpness-CQOboeqy.js} +0 -0
- /package/dist/core/{Shatter-BssZTRYJ.js → Shatter-BhK75BiG.js} +0 -0
- /package/dist/core/{SimplexNoise-KfTCAfpL.js → SimplexNoise-BcSgytjc.js} +0 -0
- /package/dist/core/{SineWave-Ckeap_YM.js → SineWave-VTNDSK_g.js} +0 -0
- /package/dist/core/{Solarize-DhtQYYpW.js → Solarize-CWDgSBiv.js} +0 -0
- /package/dist/core/{SolidColor-6yUkGybH.js → SolidColor-DhMdM3bE.js} +0 -0
- /package/dist/core/{Spherize-8LXrGGG_.js → Spherize-BZxwopX8.js} +0 -0
- /package/dist/core/{Spiral-Bs7uZrBr.js → Spiral-gpkw37l1.js} +0 -0
- /package/dist/core/{Star-DiXwnPGP.js → Star-WJAOZ5P5.js} +0 -0
- /package/dist/core/{Strands-DsAAVemq.js → Strands-DOthZNHt.js} +0 -0
- /package/dist/core/{Stretch-D7P2R5lV.js → Stretch--GV6hbru.js} +0 -0
- /package/dist/core/{Stripes-DF8agIiJ.js → Stripes-CFCXw1_N.js} +0 -0
- /package/dist/core/{StudioBackground-BFeNfwEu.js → StudioBackground-DJr-cxOL.js} +0 -0
- /package/dist/core/{Swirl-BwezrSAA.js → Swirl-By5FadQK.js} +0 -0
- /package/dist/core/{TiltShift-CI3FlfYk.js → TiltShift-Dh8wc9GG.js} +0 -0
- /package/dist/core/{Tint-BdXlqlzz.js → Tint-DaTx2HII.js} +0 -0
- /package/dist/core/{Trapezoid-BX_hmeZJ.js → Trapezoid-Co0sIA73.js} +0 -0
- /package/dist/core/{Tritone-BlJ7cchN.js → Tritone-C9Yx69Tw.js} +0 -0
- /package/dist/core/{Truchet-Bnn0fwbF.js → Truchet-CkFSkniR.js} +0 -0
- /package/dist/core/{Twirl-C5ijhqz1.js → Twirl-v8pLqUTN.js} +0 -0
- /package/dist/core/{VHS-CQJ1hV_D.js → VHS-mKd1QBBj.js} +0 -0
- /package/dist/core/{Vesica-DU0f85NG.js → Vesica-CxP7UD0a.js} +0 -0
- /package/dist/core/{Vibrance-CGvYDeds.js → Vibrance-WR5yQv_9.js} +0 -0
- /package/dist/core/{Vignette-BJaonUVL.js → Vignette-hAIKTi35.js} +0 -0
- /package/dist/core/{Voronoi-DZemzWA4.js → Voronoi-DOGmwUSK.js} +0 -0
- /package/dist/core/{WaveDistortion--Y-m667K.js → WaveDistortion-BGdgj3Iz.js} +0 -0
- /package/dist/core/{Weave-CtyohvHz.js → Weave-CIP_EUPa.js} +0 -0
- /package/dist/core/{ZoomBlur-BwkhsFRE.js → ZoomBlur-BuIVpHGG.js} +0 -0
- /package/dist/core/{browser-DTNngPey.js → browser-D8zonASQ.js} +0 -0
package/dist/core/index.js
CHANGED
|
@@ -42,75 +42,78 @@ import "./FloatingParticles-BtwGRl_d.js";
|
|
|
42
42
|
import "./Flower-MAwlZEv8.js";
|
|
43
43
|
import "./FlowField-RyqiRxyI.js";
|
|
44
44
|
import "./FlowingGradient-C0Zoyfd6.js";
|
|
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 "./
|
|
99
|
-
import "./
|
|
100
|
-
import "./
|
|
101
|
-
import "./
|
|
102
|
-
import "./
|
|
103
|
-
import "./
|
|
104
|
-
import "./
|
|
105
|
-
import "./
|
|
106
|
-
import "./
|
|
107
|
-
import "./
|
|
108
|
-
import "./
|
|
109
|
-
import "./
|
|
110
|
-
import "./
|
|
111
|
-
import "./
|
|
112
|
-
import "./
|
|
113
|
-
import
|
|
45
|
+
import "./Fog-DhFHErOx.js";
|
|
46
|
+
import "./Form3D-DaPbLGUi.js";
|
|
47
|
+
import "./Glass-CpcmrDfm.js";
|
|
48
|
+
import "./GlassTiles-Dgh6nOaE.js";
|
|
49
|
+
import "./Glitch-BsbzLahF.js";
|
|
50
|
+
import "./Glow-Ft2x2QHL.js";
|
|
51
|
+
import "./Godrays-D1LINbut.js";
|
|
52
|
+
import "./Grayscale-Ri-695Uh.js";
|
|
53
|
+
import "./Grid-BYSsAIEv.js";
|
|
54
|
+
import "./GridDistortion-DWFGD8ya.js";
|
|
55
|
+
import "./Group-CkhjTW59.js";
|
|
56
|
+
import "./Halftone-BUCDTTAU.js";
|
|
57
|
+
import "./HexGrid-BUiDrehv.js";
|
|
58
|
+
import "./HueShift-BtGVMu7q.js";
|
|
59
|
+
import "./ImageTexture-CrX_9-f0.js";
|
|
60
|
+
import "./Invert-azYrcDMi.js";
|
|
61
|
+
import "./Kaleidoscope-CFWtKisp.js";
|
|
62
|
+
import "./LensFlare-ttrXgfea.js";
|
|
63
|
+
import "./LinearBlur-By2aD8OO.js";
|
|
64
|
+
import "./LinearGradient-CM02z32l.js";
|
|
65
|
+
import "./Liquify-CyXo6vAH.js";
|
|
66
|
+
import "./Mirror-B7XmfGdw.js";
|
|
67
|
+
import "./MultiPointGradient-8zGSIM4U.js";
|
|
68
|
+
import "./Neon-C1JlexhM.js";
|
|
69
|
+
import "./Paper-B08rxNys.js";
|
|
70
|
+
import "./Perspective-BN_OpTZq.js";
|
|
71
|
+
import "./Pixelate-dxPAFCRu.js";
|
|
72
|
+
import "./Plasma-DGCw0cd7.js";
|
|
73
|
+
import "./PolarCoordinates-CMYCFT4S.js";
|
|
74
|
+
import "./Polygon-CsCOt5YE.js";
|
|
75
|
+
import "./Posterize-Blv9pzPT.js";
|
|
76
|
+
import "./ProgressiveBlur-Cx6eR7o9.js";
|
|
77
|
+
import "./RadialGradient-De0gtdh3.js";
|
|
78
|
+
import "./RectangularCoordinates-8Sa2GaDy.js";
|
|
79
|
+
import "./Ring-kHH-DIDQ.js";
|
|
80
|
+
import "./Ripples-Bf6Zwg6X.js";
|
|
81
|
+
import "./RoundedRect-B0sWh2BN.js";
|
|
82
|
+
import "./Saturation-CB19kOXg.js";
|
|
83
|
+
import "./Sharpness-CQOboeqy.js";
|
|
84
|
+
import "./Shatter-BhK75BiG.js";
|
|
85
|
+
import "./SimplexNoise-BcSgytjc.js";
|
|
86
|
+
import "./SineWave-VTNDSK_g.js";
|
|
87
|
+
import "./Smoke-LIDjCv7f.js";
|
|
88
|
+
import "./SmokeFill-ChSIfTxW.js";
|
|
89
|
+
import "./Solarize-CWDgSBiv.js";
|
|
90
|
+
import "./SolidColor-DhMdM3bE.js";
|
|
91
|
+
import "./Spherize-BZxwopX8.js";
|
|
92
|
+
import "./Spiral-gpkw37l1.js";
|
|
93
|
+
import "./Star-WJAOZ5P5.js";
|
|
94
|
+
import "./Strands-DOthZNHt.js";
|
|
95
|
+
import "./Stretch--GV6hbru.js";
|
|
96
|
+
import "./Stripes-CFCXw1_N.js";
|
|
97
|
+
import "./StudioBackground-DJr-cxOL.js";
|
|
98
|
+
import "./Swirl-By5FadQK.js";
|
|
99
|
+
import "./TiltShift-Dh8wc9GG.js";
|
|
100
|
+
import "./Tint-DaTx2HII.js";
|
|
101
|
+
import "./Trapezoid-Co0sIA73.js";
|
|
102
|
+
import "./Tritone-C9Yx69Tw.js";
|
|
103
|
+
import "./Truchet-CkFSkniR.js";
|
|
104
|
+
import "./Twirl-v8pLqUTN.js";
|
|
105
|
+
import "./Vesica-CxP7UD0a.js";
|
|
106
|
+
import "./VHS-mKd1QBBj.js";
|
|
107
|
+
import "./Vibrance-WR5yQv_9.js";
|
|
108
|
+
import "./browser-D8zonASQ.js";
|
|
109
|
+
import "./VideoTexture-SWLe5c3m.js";
|
|
110
|
+
import "./Vignette-hAIKTi35.js";
|
|
111
|
+
import "./Voronoi-DOGmwUSK.js";
|
|
112
|
+
import "./WaveDistortion-BGdgj3Iz.js";
|
|
113
|
+
import "./Weave-CIP_EUPa.js";
|
|
114
|
+
import "./WebcamTexture-cXPyEumA.js";
|
|
115
|
+
import "./ZoomBlur-BuIVpHGG.js";
|
|
116
|
+
import { t as getAllShaders } from "./shaderRegistry-CVhdTDhR.js";
|
|
114
117
|
import { Material, Mesh, MeshBasicNodeMaterial, OrthographicCamera, PlaneGeometry, SRGBColorSpace, Scene, Vector2, WebGPURenderer } from "three/webgpu";
|
|
115
118
|
import { WebGLRenderer } from "three";
|
|
116
119
|
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";
|
|
@@ -1143,7 +1146,7 @@ function shaderRenderer() {
|
|
|
1143
1146
|
const initNodeCompute = (nodeInfo, params) => {
|
|
1144
1147
|
nodeInfo.computeOutputs = void 0;
|
|
1145
1148
|
nodeInfo.computeGetNodes = void 0;
|
|
1146
|
-
if (nodeInfo.computeNodeFunc && renderer.backend?.isWebGPUBackend === true) try {
|
|
1149
|
+
if (!(typeof window !== "undefined" && window.sessionStorage?.getItem("__shadersForceWebGL") === "1") && nodeInfo.computeNodeFunc && renderer.backend?.isWebGPUBackend === true) try {
|
|
1147
1150
|
const result = nodeInfo.computeNodeFunc(params);
|
|
1148
1151
|
if (result) {
|
|
1149
1152
|
nodeInfo.computeOutputs = result.outputs;
|
package/dist/core/registry.js
CHANGED
|
@@ -42,73 +42,76 @@ import "./FloatingParticles-BtwGRl_d.js";
|
|
|
42
42
|
import "./Flower-MAwlZEv8.js";
|
|
43
43
|
import "./FlowField-RyqiRxyI.js";
|
|
44
44
|
import "./FlowingGradient-C0Zoyfd6.js";
|
|
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 "./
|
|
99
|
-
import "./
|
|
100
|
-
import "./
|
|
101
|
-
import "./
|
|
102
|
-
import "./
|
|
103
|
-
import "./
|
|
104
|
-
import "./
|
|
105
|
-
import "./
|
|
106
|
-
import "./
|
|
107
|
-
import "./
|
|
108
|
-
import "./
|
|
109
|
-
import "./
|
|
110
|
-
import "./
|
|
111
|
-
import "./
|
|
112
|
-
import "./
|
|
113
|
-
import
|
|
45
|
+
import "./Fog-DhFHErOx.js";
|
|
46
|
+
import "./Form3D-DaPbLGUi.js";
|
|
47
|
+
import "./Glass-CpcmrDfm.js";
|
|
48
|
+
import "./GlassTiles-Dgh6nOaE.js";
|
|
49
|
+
import "./Glitch-BsbzLahF.js";
|
|
50
|
+
import "./Glow-Ft2x2QHL.js";
|
|
51
|
+
import "./Godrays-D1LINbut.js";
|
|
52
|
+
import "./Grayscale-Ri-695Uh.js";
|
|
53
|
+
import "./Grid-BYSsAIEv.js";
|
|
54
|
+
import "./GridDistortion-DWFGD8ya.js";
|
|
55
|
+
import "./Group-CkhjTW59.js";
|
|
56
|
+
import "./Halftone-BUCDTTAU.js";
|
|
57
|
+
import "./HexGrid-BUiDrehv.js";
|
|
58
|
+
import "./HueShift-BtGVMu7q.js";
|
|
59
|
+
import "./ImageTexture-CrX_9-f0.js";
|
|
60
|
+
import "./Invert-azYrcDMi.js";
|
|
61
|
+
import "./Kaleidoscope-CFWtKisp.js";
|
|
62
|
+
import "./LensFlare-ttrXgfea.js";
|
|
63
|
+
import "./LinearBlur-By2aD8OO.js";
|
|
64
|
+
import "./LinearGradient-CM02z32l.js";
|
|
65
|
+
import "./Liquify-CyXo6vAH.js";
|
|
66
|
+
import "./Mirror-B7XmfGdw.js";
|
|
67
|
+
import "./MultiPointGradient-8zGSIM4U.js";
|
|
68
|
+
import "./Neon-C1JlexhM.js";
|
|
69
|
+
import "./Paper-B08rxNys.js";
|
|
70
|
+
import "./Perspective-BN_OpTZq.js";
|
|
71
|
+
import "./Pixelate-dxPAFCRu.js";
|
|
72
|
+
import "./Plasma-DGCw0cd7.js";
|
|
73
|
+
import "./PolarCoordinates-CMYCFT4S.js";
|
|
74
|
+
import "./Polygon-CsCOt5YE.js";
|
|
75
|
+
import "./Posterize-Blv9pzPT.js";
|
|
76
|
+
import "./ProgressiveBlur-Cx6eR7o9.js";
|
|
77
|
+
import "./RadialGradient-De0gtdh3.js";
|
|
78
|
+
import "./RectangularCoordinates-8Sa2GaDy.js";
|
|
79
|
+
import "./Ring-kHH-DIDQ.js";
|
|
80
|
+
import "./Ripples-Bf6Zwg6X.js";
|
|
81
|
+
import "./RoundedRect-B0sWh2BN.js";
|
|
82
|
+
import "./Saturation-CB19kOXg.js";
|
|
83
|
+
import "./Sharpness-CQOboeqy.js";
|
|
84
|
+
import "./Shatter-BhK75BiG.js";
|
|
85
|
+
import "./SimplexNoise-BcSgytjc.js";
|
|
86
|
+
import "./SineWave-VTNDSK_g.js";
|
|
87
|
+
import "./Smoke-LIDjCv7f.js";
|
|
88
|
+
import "./SmokeFill-ChSIfTxW.js";
|
|
89
|
+
import "./Solarize-CWDgSBiv.js";
|
|
90
|
+
import "./SolidColor-DhMdM3bE.js";
|
|
91
|
+
import "./Spherize-BZxwopX8.js";
|
|
92
|
+
import "./Spiral-gpkw37l1.js";
|
|
93
|
+
import "./Star-WJAOZ5P5.js";
|
|
94
|
+
import "./Strands-DOthZNHt.js";
|
|
95
|
+
import "./Stretch--GV6hbru.js";
|
|
96
|
+
import "./Stripes-CFCXw1_N.js";
|
|
97
|
+
import "./StudioBackground-DJr-cxOL.js";
|
|
98
|
+
import "./Swirl-By5FadQK.js";
|
|
99
|
+
import "./TiltShift-Dh8wc9GG.js";
|
|
100
|
+
import "./Tint-DaTx2HII.js";
|
|
101
|
+
import "./Trapezoid-Co0sIA73.js";
|
|
102
|
+
import "./Tritone-C9Yx69Tw.js";
|
|
103
|
+
import "./Truchet-CkFSkniR.js";
|
|
104
|
+
import "./Twirl-v8pLqUTN.js";
|
|
105
|
+
import "./Vesica-CxP7UD0a.js";
|
|
106
|
+
import "./VHS-mKd1QBBj.js";
|
|
107
|
+
import "./Vibrance-WR5yQv_9.js";
|
|
108
|
+
import "./browser-D8zonASQ.js";
|
|
109
|
+
import "./VideoTexture-SWLe5c3m.js";
|
|
110
|
+
import "./Vignette-hAIKTi35.js";
|
|
111
|
+
import "./Voronoi-DOGmwUSK.js";
|
|
112
|
+
import "./WaveDistortion-BGdgj3Iz.js";
|
|
113
|
+
import "./Weave-CIP_EUPa.js";
|
|
114
|
+
import "./WebcamTexture-cXPyEumA.js";
|
|
115
|
+
import "./ZoomBlur-BuIVpHGG.js";
|
|
116
|
+
import { a as shaderRegistry, i as getShadersByCategory, n as getShaderByName, r as getShaderCategories, t as getAllShaders } from "./shaderRegistry-CVhdTDhR.js";
|
|
114
117
|
export { getAllShaders, getShaderByName, getShaderCategories, getShadersByCategory, shaderRegistry };
|
|
@@ -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,EAAE,UAAU,EAA8D,YAAY,EAAE,cAAc,EAAE,cAAc,EAAqB,WAAW,EAAC,MAAM,SAAS,CAAA;AACrO,OAAO,EAAqB,gBAAgB,EAAC,MAAM,sBAAsB,CAAA;AAMzE;;GAEG;AACH,UAAU,QAAQ;IAEd;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,gBAAgB,EAAE,mBAAmB,CAAC,cAAc,CAAC,CAAA;IAErD;;OAEG;IACH,Q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I,CAAC,GAAG,IAAI;;;mCA9zEZ,MAAM,KAAG,QAAQ,EAAE;oCA+CzC,IAAI,YACF,QAAQ,UACV,MAAM,kBACE,GAAG,CAAC,MAAM,CAAC,gBACb,IAAI,KACnB,IAAI;0CA0VK,IAAI,YACF,QAAQ,KACnB,IAAI;;;;EA47DV"}
|
|
@@ -0,0 +1,252 @@
|
|
|
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-CuRSRXmA.js";
|
|
6
|
+
import { n as componentDefinition$5 } from "./Blur-CXXttTb1.js";
|
|
7
|
+
import { n as componentDefinition$6 } from "./BrightnessContrast-CJTOpQCn.js";
|
|
8
|
+
import { n as componentDefinition$7 } from "./Bulge-Chpbxxzj.js";
|
|
9
|
+
import { n as componentDefinition$8 } from "./ChannelBlur-gzP71FWd.js";
|
|
10
|
+
import { n as componentDefinition$9 } from "./Checkerboard-ucave4-a.js";
|
|
11
|
+
import { n as componentDefinition$10 } from "./ChromaFlow-BZXyVHtK.js";
|
|
12
|
+
import { n as componentDefinition$11 } from "./ChromaticAberration-DsMj-vBw.js";
|
|
13
|
+
import { n as componentDefinition$12 } from "./Circle-QgCuVo44.js";
|
|
14
|
+
import { n as componentDefinition$13 } from "./ConcentricSpin-Crfxti93.js";
|
|
15
|
+
import { n as componentDefinition$14 } from "./ConicGradient-CQAPYlQg.js";
|
|
16
|
+
import { n as componentDefinition$15 } from "./ContourLines-KTHC32hd.js";
|
|
17
|
+
import { n as componentDefinition$16 } from "./Crescent-BkRt-XWy.js";
|
|
18
|
+
import { n as componentDefinition$17 } from "./Cross-kkY7feuC.js";
|
|
19
|
+
import { n as componentDefinition$18 } from "./CRTScreen-CTwXU-NX.js";
|
|
20
|
+
import { n as componentDefinition$19 } from "./Crystal-xVyUhVD-.js";
|
|
21
|
+
import { n as componentDefinition$20 } from "./CursorRipples-Cgm7N0Bp.js";
|
|
22
|
+
import { n as componentDefinition$21 } from "./CursorTrail-CCRbdwHJ.js";
|
|
23
|
+
import { n as componentDefinition$22 } from "./DiamondGradient-BC3ugP8a.js";
|
|
24
|
+
import { n as componentDefinition$23 } from "./DiffuseBlur-eyM1v3ad.js";
|
|
25
|
+
import { n as componentDefinition$24 } from "./Dither-CDfDotR6.js";
|
|
26
|
+
import { n as componentDefinition$25 } from "./DOMTexture-D-RkeyMs.js";
|
|
27
|
+
import { n as componentDefinition$26 } from "./DotGrid-T9YbgC3V.js";
|
|
28
|
+
import { n as componentDefinition$27 } from "./DropShadow-jMhnYPXZ.js";
|
|
29
|
+
import { n as componentDefinition$28 } from "./Duotone-Bl02WcA2.js";
|
|
30
|
+
import { n as componentDefinition$29 } from "./Ellipse-CXxGqTYI.js";
|
|
31
|
+
import { n as componentDefinition$30 } from "./Emboss-ClQV27Mt.js";
|
|
32
|
+
import { n as componentDefinition$31 } from "./FallingLines-CArEXajJ.js";
|
|
33
|
+
import { n as componentDefinition$32 } from "./FilmGrain-DSJiMtEp.js";
|
|
34
|
+
import { n as componentDefinition$33 } from "./FloatingParticles-BtwGRl_d.js";
|
|
35
|
+
import { n as componentDefinition$34 } from "./Flower-MAwlZEv8.js";
|
|
36
|
+
import { n as componentDefinition$35 } from "./FlowField-RyqiRxyI.js";
|
|
37
|
+
import { n as componentDefinition$36 } from "./FlowingGradient-C0Zoyfd6.js";
|
|
38
|
+
import { n as componentDefinition$37 } from "./Fog-DhFHErOx.js";
|
|
39
|
+
import { n as componentDefinition$38 } from "./Form3D-DaPbLGUi.js";
|
|
40
|
+
import { n as componentDefinition$39 } from "./Glass-CpcmrDfm.js";
|
|
41
|
+
import { n as componentDefinition$40 } from "./GlassTiles-Dgh6nOaE.js";
|
|
42
|
+
import { n as componentDefinition$41 } from "./Glitch-BsbzLahF.js";
|
|
43
|
+
import { n as componentDefinition$42 } from "./Glow-Ft2x2QHL.js";
|
|
44
|
+
import { n as componentDefinition$43 } from "./Godrays-D1LINbut.js";
|
|
45
|
+
import { n as componentDefinition$44 } from "./Grayscale-Ri-695Uh.js";
|
|
46
|
+
import { n as componentDefinition$45 } from "./Grid-BYSsAIEv.js";
|
|
47
|
+
import { n as componentDefinition$46 } from "./GridDistortion-DWFGD8ya.js";
|
|
48
|
+
import { n as componentDefinition$47 } from "./Group-CkhjTW59.js";
|
|
49
|
+
import { n as componentDefinition$48 } from "./Halftone-BUCDTTAU.js";
|
|
50
|
+
import { n as componentDefinition$49 } from "./HexGrid-BUiDrehv.js";
|
|
51
|
+
import { n as componentDefinition$50 } from "./HueShift-BtGVMu7q.js";
|
|
52
|
+
import { n as componentDefinition$51 } from "./ImageTexture-CrX_9-f0.js";
|
|
53
|
+
import { n as componentDefinition$52 } from "./Invert-azYrcDMi.js";
|
|
54
|
+
import { n as componentDefinition$53 } from "./Kaleidoscope-CFWtKisp.js";
|
|
55
|
+
import { n as componentDefinition$54 } from "./LensFlare-ttrXgfea.js";
|
|
56
|
+
import { n as componentDefinition$55 } from "./LinearBlur-By2aD8OO.js";
|
|
57
|
+
import { n as componentDefinition$56 } from "./LinearGradient-CM02z32l.js";
|
|
58
|
+
import { n as componentDefinition$57 } from "./Liquify-CyXo6vAH.js";
|
|
59
|
+
import { n as componentDefinition$58 } from "./Mirror-B7XmfGdw.js";
|
|
60
|
+
import { n as componentDefinition$59 } from "./MultiPointGradient-8zGSIM4U.js";
|
|
61
|
+
import { n as componentDefinition$60 } from "./Neon-C1JlexhM.js";
|
|
62
|
+
import { n as componentDefinition$61 } from "./Paper-B08rxNys.js";
|
|
63
|
+
import { n as componentDefinition$62 } from "./Perspective-BN_OpTZq.js";
|
|
64
|
+
import { n as componentDefinition$63 } from "./Pixelate-dxPAFCRu.js";
|
|
65
|
+
import { n as componentDefinition$64 } from "./Plasma-DGCw0cd7.js";
|
|
66
|
+
import { n as componentDefinition$65 } from "./PolarCoordinates-CMYCFT4S.js";
|
|
67
|
+
import { n as componentDefinition$66 } from "./Polygon-CsCOt5YE.js";
|
|
68
|
+
import { n as componentDefinition$67 } from "./Posterize-Blv9pzPT.js";
|
|
69
|
+
import { n as componentDefinition$68 } from "./ProgressiveBlur-Cx6eR7o9.js";
|
|
70
|
+
import { n as componentDefinition$69 } from "./RadialGradient-De0gtdh3.js";
|
|
71
|
+
import { n as componentDefinition$70 } from "./RectangularCoordinates-8Sa2GaDy.js";
|
|
72
|
+
import { n as componentDefinition$71 } from "./Ring-kHH-DIDQ.js";
|
|
73
|
+
import { n as componentDefinition$72 } from "./Ripples-Bf6Zwg6X.js";
|
|
74
|
+
import { n as componentDefinition$73 } from "./RoundedRect-B0sWh2BN.js";
|
|
75
|
+
import { n as componentDefinition$74 } from "./Saturation-CB19kOXg.js";
|
|
76
|
+
import { n as componentDefinition$75 } from "./Sharpness-CQOboeqy.js";
|
|
77
|
+
import { n as componentDefinition$76 } from "./Shatter-BhK75BiG.js";
|
|
78
|
+
import { n as componentDefinition$77 } from "./SimplexNoise-BcSgytjc.js";
|
|
79
|
+
import { n as componentDefinition$78 } from "./SineWave-VTNDSK_g.js";
|
|
80
|
+
import { n as componentDefinition$79 } from "./Smoke-LIDjCv7f.js";
|
|
81
|
+
import { n as componentDefinition$80 } from "./SmokeFill-ChSIfTxW.js";
|
|
82
|
+
import { n as componentDefinition$81 } from "./Solarize-CWDgSBiv.js";
|
|
83
|
+
import { n as componentDefinition$82 } from "./SolidColor-DhMdM3bE.js";
|
|
84
|
+
import { n as componentDefinition$83 } from "./Spherize-BZxwopX8.js";
|
|
85
|
+
import { n as componentDefinition$84 } from "./Spiral-gpkw37l1.js";
|
|
86
|
+
import { n as componentDefinition$85 } from "./Star-WJAOZ5P5.js";
|
|
87
|
+
import { n as componentDefinition$86 } from "./Strands-DOthZNHt.js";
|
|
88
|
+
import { n as componentDefinition$87 } from "./Stretch--GV6hbru.js";
|
|
89
|
+
import { n as componentDefinition$88 } from "./Stripes-CFCXw1_N.js";
|
|
90
|
+
import { n as componentDefinition$89 } from "./StudioBackground-DJr-cxOL.js";
|
|
91
|
+
import { n as componentDefinition$90 } from "./Swirl-By5FadQK.js";
|
|
92
|
+
import { n as componentDefinition$91 } from "./TiltShift-Dh8wc9GG.js";
|
|
93
|
+
import { n as componentDefinition$92 } from "./Tint-DaTx2HII.js";
|
|
94
|
+
import { n as componentDefinition$93 } from "./Trapezoid-Co0sIA73.js";
|
|
95
|
+
import { n as componentDefinition$94 } from "./Tritone-C9Yx69Tw.js";
|
|
96
|
+
import { n as componentDefinition$95 } from "./Truchet-CkFSkniR.js";
|
|
97
|
+
import { n as componentDefinition$96 } from "./Twirl-v8pLqUTN.js";
|
|
98
|
+
import { n as componentDefinition$97 } from "./Vesica-CxP7UD0a.js";
|
|
99
|
+
import { n as componentDefinition$98 } from "./VHS-mKd1QBBj.js";
|
|
100
|
+
import { n as componentDefinition$99 } from "./Vibrance-WR5yQv_9.js";
|
|
101
|
+
import { n as componentDefinition$100 } from "./VideoTexture-SWLe5c3m.js";
|
|
102
|
+
import { n as componentDefinition$101 } from "./Vignette-hAIKTi35.js";
|
|
103
|
+
import { n as componentDefinition$102 } from "./Voronoi-DOGmwUSK.js";
|
|
104
|
+
import { n as componentDefinition$103 } from "./WaveDistortion-BGdgj3Iz.js";
|
|
105
|
+
import { n as componentDefinition$104 } from "./Weave-CIP_EUPa.js";
|
|
106
|
+
import { n as componentDefinition$105 } from "./WebcamTexture-cXPyEumA.js";
|
|
107
|
+
import { n as componentDefinition$106 } from "./ZoomBlur-BuIVpHGG.js";
|
|
108
|
+
var createShaderRegistry = () => {
|
|
109
|
+
const registry = {};
|
|
110
|
+
const shaderDefinitions = {
|
|
111
|
+
AngularBlur: componentDefinition,
|
|
112
|
+
Ascii: componentDefinition$1,
|
|
113
|
+
Aurora: componentDefinition$2,
|
|
114
|
+
Beam: componentDefinition$3,
|
|
115
|
+
Blob: componentDefinition$4,
|
|
116
|
+
Blur: componentDefinition$5,
|
|
117
|
+
BrightnessContrast: componentDefinition$6,
|
|
118
|
+
Bulge: componentDefinition$7,
|
|
119
|
+
ChannelBlur: componentDefinition$8,
|
|
120
|
+
Checkerboard: componentDefinition$9,
|
|
121
|
+
ChromaFlow: componentDefinition$10,
|
|
122
|
+
ChromaticAberration: componentDefinition$11,
|
|
123
|
+
Circle: componentDefinition$12,
|
|
124
|
+
ConcentricSpin: componentDefinition$13,
|
|
125
|
+
ConicGradient: componentDefinition$14,
|
|
126
|
+
ContourLines: componentDefinition$15,
|
|
127
|
+
Crescent: componentDefinition$16,
|
|
128
|
+
Cross: componentDefinition$17,
|
|
129
|
+
CRTScreen: componentDefinition$18,
|
|
130
|
+
Crystal: componentDefinition$19,
|
|
131
|
+
CursorRipples: componentDefinition$20,
|
|
132
|
+
CursorTrail: componentDefinition$21,
|
|
133
|
+
DiamondGradient: componentDefinition$22,
|
|
134
|
+
DiffuseBlur: componentDefinition$23,
|
|
135
|
+
Dither: componentDefinition$24,
|
|
136
|
+
DOMTexture: componentDefinition$25,
|
|
137
|
+
DotGrid: componentDefinition$26,
|
|
138
|
+
DropShadow: componentDefinition$27,
|
|
139
|
+
Duotone: componentDefinition$28,
|
|
140
|
+
Ellipse: componentDefinition$29,
|
|
141
|
+
Emboss: componentDefinition$30,
|
|
142
|
+
FallingLines: componentDefinition$31,
|
|
143
|
+
FilmGrain: componentDefinition$32,
|
|
144
|
+
FloatingParticles: componentDefinition$33,
|
|
145
|
+
Flower: componentDefinition$34,
|
|
146
|
+
FlowField: componentDefinition$35,
|
|
147
|
+
FlowingGradient: componentDefinition$36,
|
|
148
|
+
Fog: componentDefinition$37,
|
|
149
|
+
Form3D: componentDefinition$38,
|
|
150
|
+
Glass: componentDefinition$39,
|
|
151
|
+
GlassTiles: componentDefinition$40,
|
|
152
|
+
Glitch: componentDefinition$41,
|
|
153
|
+
Glow: componentDefinition$42,
|
|
154
|
+
Godrays: componentDefinition$43,
|
|
155
|
+
Grayscale: componentDefinition$44,
|
|
156
|
+
Grid: componentDefinition$45,
|
|
157
|
+
GridDistortion: componentDefinition$46,
|
|
158
|
+
Group: componentDefinition$47,
|
|
159
|
+
Halftone: componentDefinition$48,
|
|
160
|
+
HexGrid: componentDefinition$49,
|
|
161
|
+
HueShift: componentDefinition$50,
|
|
162
|
+
ImageTexture: componentDefinition$51,
|
|
163
|
+
Invert: componentDefinition$52,
|
|
164
|
+
Kaleidoscope: componentDefinition$53,
|
|
165
|
+
LensFlare: componentDefinition$54,
|
|
166
|
+
LinearBlur: componentDefinition$55,
|
|
167
|
+
LinearGradient: componentDefinition$56,
|
|
168
|
+
Liquify: componentDefinition$57,
|
|
169
|
+
Mirror: componentDefinition$58,
|
|
170
|
+
MultiPointGradient: componentDefinition$59,
|
|
171
|
+
Neon: componentDefinition$60,
|
|
172
|
+
Paper: componentDefinition$61,
|
|
173
|
+
Perspective: componentDefinition$62,
|
|
174
|
+
Pixelate: componentDefinition$63,
|
|
175
|
+
Plasma: componentDefinition$64,
|
|
176
|
+
PolarCoordinates: componentDefinition$65,
|
|
177
|
+
Polygon: componentDefinition$66,
|
|
178
|
+
Posterize: componentDefinition$67,
|
|
179
|
+
ProgressiveBlur: componentDefinition$68,
|
|
180
|
+
RadialGradient: componentDefinition$69,
|
|
181
|
+
RectangularCoordinates: componentDefinition$70,
|
|
182
|
+
Ring: componentDefinition$71,
|
|
183
|
+
Ripples: componentDefinition$72,
|
|
184
|
+
RoundedRect: componentDefinition$73,
|
|
185
|
+
Saturation: componentDefinition$74,
|
|
186
|
+
Sharpness: componentDefinition$75,
|
|
187
|
+
Shatter: componentDefinition$76,
|
|
188
|
+
SimplexNoise: componentDefinition$77,
|
|
189
|
+
SineWave: componentDefinition$78,
|
|
190
|
+
Smoke: componentDefinition$79,
|
|
191
|
+
SmokeFill: componentDefinition$80,
|
|
192
|
+
Solarize: componentDefinition$81,
|
|
193
|
+
SolidColor: componentDefinition$82,
|
|
194
|
+
Spherize: componentDefinition$83,
|
|
195
|
+
Spiral: componentDefinition$84,
|
|
196
|
+
Star: componentDefinition$85,
|
|
197
|
+
Strands: componentDefinition$86,
|
|
198
|
+
Stretch: componentDefinition$87,
|
|
199
|
+
Stripes: componentDefinition$88,
|
|
200
|
+
StudioBackground: componentDefinition$89,
|
|
201
|
+
Swirl: componentDefinition$90,
|
|
202
|
+
TiltShift: componentDefinition$91,
|
|
203
|
+
Tint: componentDefinition$92,
|
|
204
|
+
Trapezoid: componentDefinition$93,
|
|
205
|
+
Tritone: componentDefinition$94,
|
|
206
|
+
Truchet: componentDefinition$95,
|
|
207
|
+
Twirl: componentDefinition$96,
|
|
208
|
+
Vesica: componentDefinition$97,
|
|
209
|
+
VHS: componentDefinition$98,
|
|
210
|
+
Vibrance: componentDefinition$99,
|
|
211
|
+
VideoTexture: componentDefinition$100,
|
|
212
|
+
Vignette: componentDefinition$101,
|
|
213
|
+
Voronoi: componentDefinition$102,
|
|
214
|
+
WaveDistortion: componentDefinition$103,
|
|
215
|
+
Weave: componentDefinition$104,
|
|
216
|
+
WebcamTexture: componentDefinition$105,
|
|
217
|
+
ZoomBlur: componentDefinition$106
|
|
218
|
+
};
|
|
219
|
+
Object.entries(shaderDefinitions).forEach(([fileName, def]) => {
|
|
220
|
+
const propsMetadata = {};
|
|
221
|
+
if (def.props) Object.entries(def.props).forEach(([propName, propConfig]) => {
|
|
222
|
+
if (propConfig.ui) propsMetadata[propName] = {
|
|
223
|
+
ui: propConfig.ui,
|
|
224
|
+
default: propConfig.default,
|
|
225
|
+
description: propConfig.description
|
|
226
|
+
};
|
|
227
|
+
});
|
|
228
|
+
registry[def.name] = {
|
|
229
|
+
name: def.name,
|
|
230
|
+
fileName,
|
|
231
|
+
category: def.category || "Uncategorized",
|
|
232
|
+
definition: def,
|
|
233
|
+
propsMetadata
|
|
234
|
+
};
|
|
235
|
+
});
|
|
236
|
+
return registry;
|
|
237
|
+
};
|
|
238
|
+
const shaderRegistry = createShaderRegistry();
|
|
239
|
+
function getAllShaders() {
|
|
240
|
+
return Object.values(shaderRegistry);
|
|
241
|
+
}
|
|
242
|
+
function getShaderByName(name) {
|
|
243
|
+
return shaderRegistry[name];
|
|
244
|
+
}
|
|
245
|
+
function getShadersByCategory(category) {
|
|
246
|
+
return Object.values(shaderRegistry).filter((shader) => shader.category === category);
|
|
247
|
+
}
|
|
248
|
+
function getShaderCategories() {
|
|
249
|
+
const categories = new Set(Object.values(shaderRegistry).map((shader) => shader.category));
|
|
250
|
+
return Array.from(categories).sort();
|
|
251
|
+
}
|
|
252
|
+
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":"AA8GA,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+ID,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"}
|