shaders 2.5.85 → 2.5.86
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/README.md +1 -1
- package/dist/core/Crystal-z-2qqfhQ.js +394 -0
- package/dist/core/{VideoTexture-Dbsbgb1Y.js → VideoTexture-ChFw0jKS.js} +1 -1
- package/dist/core/{WebcamTexture-xvb8MuFz.js → WebcamTexture-CF1nwkNG.js} +1 -1
- package/dist/core/index.js +76 -75
- package/dist/core/registry.js +76 -75
- package/dist/core/shaderRegistry-76rjKeJu.js +222 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Crystal/index.d.ts +152 -0
- package/dist/core/shaders/Crystal/index.d.ts.map +1 -0
- package/dist/core/shaders/Crystal/index.js +4 -0
- package/dist/core/shaders/CursorRipples/index.js +1 -1
- package/dist/core/shaders/CursorTrail/index.js +1 -1
- package/dist/core/shaders/DiffuseBlur/index.js +1 -1
- package/dist/core/shaders/Dither/index.js +1 -1
- package/dist/core/shaders/DotGrid/index.js +1 -1
- package/dist/core/shaders/Duotone/index.js +1 -1
- package/dist/core/shaders/Ellipse/index.js +1 -1
- package/dist/core/shaders/Emboss/index.js +1 -1
- package/dist/core/shaders/FallingLines/index.js +1 -1
- package/dist/core/shaders/FilmGrain/index.js +1 -1
- package/dist/core/shaders/FloatingParticles/index.js +1 -1
- package/dist/core/shaders/FlowField/index.js +1 -1
- package/dist/core/shaders/Flower/index.js +1 -1
- package/dist/core/shaders/FlowingGradient/index.js +1 -1
- 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.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.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +27 -0
- package/dist/react/Crystal.js +181 -0
- package/dist/react/Preview.js +1 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/components/Crystal.d.ts +33 -0
- package/dist/react/components/Crystal.d.ts.map +1 -0
- package/dist/react/engine/Preview.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 +27 -0
- package/dist/registry.js +454 -0
- package/dist/solid/components/Crystal.d.ts +30 -0
- package/dist/solid/components/Crystal.d.ts.map +1 -0
- package/dist/solid/components/Crystal.js +183 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +38 -36
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +152 -150
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +27 -0
- package/dist/svelte/components/Crystal.svelte.d.ts +20 -0
- package/dist/svelte/{generatePresetCode-B9QYLcji.js → generatePresetCode-BzFhasGi.js} +27 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +477 -330
- package/dist/svelte/source/components/Crystal.svelte +287 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/Crystal.js +3 -0
- package/dist/vue/Crystal.vue_vue_type_script_setup_true_lang.js +186 -0
- 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 +1 -1
- package/dist/vue/components/Crystal.vue.d.ts +55 -0
- package/dist/vue/components/Crystal.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +27 -0
- package/package.json +9 -1
- package/dist/core/shaderRegistry-ClxU5BC7.js +0 -220
- /package/dist/core/{CursorRipples-BY1iu4MX.js → CursorRipples-CkVMs3DF.js} +0 -0
- /package/dist/core/{CursorTrail-BzrL2WMh.js → CursorTrail-1D7ymT9O.js} +0 -0
- /package/dist/core/{DiffuseBlur-Dyd42LXw.js → DiffuseBlur-BAq1jHVB.js} +0 -0
- /package/dist/core/{Dither-CTInG_SB.js → Dither-U_UFB8oZ.js} +0 -0
- /package/dist/core/{DotGrid-CsL0dnYB.js → DotGrid-BzAsAVrt.js} +0 -0
- /package/dist/core/{Duotone-BbCFLFMK.js → Duotone-CuIRHH_k.js} +0 -0
- /package/dist/core/{Ellipse-CZWtvB3q.js → Ellipse-CJFK20Xl.js} +0 -0
- /package/dist/core/{Emboss-DCKgs4_G.js → Emboss-DWXpvlZO.js} +0 -0
- /package/dist/core/{FallingLines-DBNJVWio.js → FallingLines-BQzBwOy0.js} +0 -0
- /package/dist/core/{FilmGrain-CSuerGc6.js → FilmGrain-Birzz05_.js} +0 -0
- /package/dist/core/{FloatingParticles-CoBM_CJ8.js → FloatingParticles-shoqY6fm.js} +0 -0
- /package/dist/core/{FlowField-Bh3-dX6I.js → FlowField-CJdtd3Za.js} +0 -0
- /package/dist/core/{Flower-fYEx6ZSB.js → Flower-BST3LQVi.js} +0 -0
- /package/dist/core/{FlowingGradient-DVproCI1.js → FlowingGradient-Dsuqf7Yn.js} +0 -0
- /package/dist/core/{Form3D-DhezVuyN.js → Form3D-Czd8VBcU.js} +0 -0
- /package/dist/core/{Glass-BioLeiH6.js → Glass-BzMX9lbo.js} +0 -0
- /package/dist/core/{GlassTiles-ClrOIpCg.js → GlassTiles-CQFngHS9.js} +0 -0
- /package/dist/core/{Glitch-DmWytiRl.js → Glitch-q3H4XH_K.js} +0 -0
- /package/dist/core/{Glow-Dm4dfZ_m.js → Glow-BltxRvyM.js} +0 -0
- /package/dist/core/{Godrays-CYILZUHg.js → Godrays-YxezlRHu.js} +0 -0
- /package/dist/core/{Grayscale-CPR_l4G2.js → Grayscale-D_RwmAV3.js} +0 -0
- /package/dist/core/{Grid-CCQZ3GhD.js → Grid-CV2iJqlk.js} +0 -0
- /package/dist/core/{GridDistortion-oGT8NaWa.js → GridDistortion-JCuvWcoV.js} +0 -0
- /package/dist/core/{Group-CC317vlL.js → Group-CeA8FtS3.js} +0 -0
- /package/dist/core/{Halftone-BZk1Hjz_.js → Halftone-4oL_AA-D.js} +0 -0
- /package/dist/core/{HueShift-CuE3YTBE.js → HueShift-7Gv8BV4v.js} +0 -0
- /package/dist/core/{ImageTexture-DWUSKXX0.js → ImageTexture-BaVcRld1.js} +0 -0
- /package/dist/core/{Invert-C9RiDYP_.js → Invert-D_jzp4D9.js} +0 -0
- /package/dist/core/{Kaleidoscope-DtVlQWKG.js → Kaleidoscope-Baz9Fu8k.js} +0 -0
- /package/dist/core/{LensFlare-AVpiDD1O.js → LensFlare-Dyv84bAb.js} +0 -0
- /package/dist/core/{LinearBlur-AR65FcZh.js → LinearBlur-ZGWbzIt4.js} +0 -0
- /package/dist/core/{LinearGradient-DXCXjS-K.js → LinearGradient-CZGPiyHq.js} +0 -0
- /package/dist/core/{Liquify-mhzPd19o.js → Liquify-DrWLq2Kz.js} +0 -0
- /package/dist/core/{Mirror-CSc5mJi1.js → Mirror-C5LuGm-w.js} +0 -0
- /package/dist/core/{Neon-uXetpVop.js → Neon-gsfaMvGq.js} +0 -0
- /package/dist/core/{Paper-DfUka0dt.js → Paper-BVuYd7u4.js} +0 -0
- /package/dist/core/{Perspective-uPiPmWy_.js → Perspective-CqV-lhEE.js} +0 -0
- /package/dist/core/{Pixelate-DRkAW4Lo.js → Pixelate-DrG7QsBR.js} +0 -0
- /package/dist/core/{Plasma-ELzbK-Us.js → Plasma-LpGeN0eG.js} +0 -0
- /package/dist/core/{PolarCoordinates-CalS_TB6.js → PolarCoordinates-CiNUC56M.js} +0 -0
- /package/dist/core/{Polygon-7mzxbJeF.js → Polygon-BeqB8MSz.js} +0 -0
- /package/dist/core/{Posterize-C4vtRmtA.js → Posterize-CGEUVRt_.js} +0 -0
- /package/dist/core/{ProgressiveBlur-CLYhfOvQ.js → ProgressiveBlur-jEam9zrU.js} +0 -0
- /package/dist/core/{RadialGradient-DtD8HWdM.js → RadialGradient-BMmhr2qB.js} +0 -0
- /package/dist/core/{RectangularCoordinates-B96mflF5.js → RectangularCoordinates-Cj-d2ol3.js} +0 -0
- /package/dist/core/{Ring-H6B01ZMz.js → Ring-DJl9JUMR.js} +0 -0
- /package/dist/core/{Ripples-Cevf-Hvg.js → Ripples-r12S7WG7.js} +0 -0
- /package/dist/core/{RoundedRect-OszKdYVD.js → RoundedRect--rHP7xW4.js} +0 -0
- /package/dist/core/{Saturation-CcDwPh2v.js → Saturation-BAORnZso.js} +0 -0
- /package/dist/core/{Sharpness-D_dXfDEo.js → Sharpness-CFzYBYlL.js} +0 -0
- /package/dist/core/{Shatter-NfZzVt54.js → Shatter-avsezFDy.js} +0 -0
- /package/dist/core/{SimplexNoise-aipzNV5j.js → SimplexNoise-BjoeAe6H.js} +0 -0
- /package/dist/core/{SineWave-CVeYx3n-.js → SineWave-B-2YxAht.js} +0 -0
- /package/dist/core/{SolidColor-BdbBnLxX.js → SolidColor-2o0vQu86.js} +0 -0
- /package/dist/core/{Spherize-BRGwLGeu.js → Spherize-DKJKva6y.js} +0 -0
- /package/dist/core/{Spiral-BkTBXb7z.js → Spiral-Dzsm_AJG.js} +0 -0
- /package/dist/core/{Star-CyjNgJVp.js → Star-CxI_taxd.js} +0 -0
- /package/dist/core/{Strands-Cjsw-cPu.js → Strands-42wUIQMv.js} +0 -0
- /package/dist/core/{Stretch-9cta3Z1W.js → Stretch-BVPICFxU.js} +0 -0
- /package/dist/core/{Stripes-C0sCGCz_.js → Stripes-DpWPzhd5.js} +0 -0
- /package/dist/core/{StudioBackground-BYv_-8df.js → StudioBackground-CxOYZ28g.js} +0 -0
- /package/dist/core/{Swirl-DXjIXfy7.js → Swirl-CaQpQWY2.js} +0 -0
- /package/dist/core/{TiltShift-56lcZ4cJ.js → TiltShift-yJYvxA1V.js} +0 -0
- /package/dist/core/{Tint-8_WIy9_e.js → Tint-BR2yMhfB.js} +0 -0
- /package/dist/core/{Trapezoid-SuI0dRgI.js → Trapezoid-D7qg9Gc5.js} +0 -0
- /package/dist/core/{Tritone-nyJyybHI.js → Tritone-PTTYWr_w.js} +0 -0
- /package/dist/core/{Twirl-BzSEz4xK.js → Twirl-CE2yzv3_.js} +0 -0
- /package/dist/core/{Vesica-Cj--pgNW.js → Vesica-p8oNtcOH.js} +0 -0
- /package/dist/core/{Vibrance-BETLN3Ie.js → Vibrance-CljpZu_J.js} +0 -0
- /package/dist/core/{WaveDistortion-C-j597Jm.js → WaveDistortion-BSt0JJbk.js} +0 -0
- /package/dist/core/{ZoomBlur-DFw0J9x3.js → ZoomBlur-CAeswzf5.js} +0 -0
- /package/dist/core/{browser-CqdrcD5J.js → browser-CWKHEzb9.js} +0 -0
|
@@ -242,6 +242,32 @@ var shaderMetadata = {
|
|
|
242
242
|
"vignetteIntensity": 1,
|
|
243
243
|
"vignetteRadius": .5
|
|
244
244
|
},
|
|
245
|
+
"Crystal": {
|
|
246
|
+
"opacity": 1,
|
|
247
|
+
"blendMode": "normal",
|
|
248
|
+
"center": {
|
|
249
|
+
"x": .5,
|
|
250
|
+
"y": .5
|
|
251
|
+
},
|
|
252
|
+
"scale": 1,
|
|
253
|
+
"cutout": false,
|
|
254
|
+
"refraction": .5,
|
|
255
|
+
"dispersion": .5,
|
|
256
|
+
"facets": 5,
|
|
257
|
+
"fresnel": .05,
|
|
258
|
+
"fresnelSoftness": 1,
|
|
259
|
+
"fresnelColor": "#ffffff",
|
|
260
|
+
"edgeSoftness": 0,
|
|
261
|
+
"innerZoom": 1.5,
|
|
262
|
+
"lightAngle": 270,
|
|
263
|
+
"highlights": .5,
|
|
264
|
+
"shadows": .3,
|
|
265
|
+
"brightness": 1.2,
|
|
266
|
+
"tintColor": "#e8e0ff",
|
|
267
|
+
"tintIntensity": 0,
|
|
268
|
+
"tintPreserveLuminosity": true,
|
|
269
|
+
"shape": "{\"type\":\"polygonSDF\",\"radius\":0.35,\"sides\":10}"
|
|
270
|
+
},
|
|
245
271
|
"CursorRipples": {
|
|
246
272
|
"opacity": 1,
|
|
247
273
|
"blendMode": "normal",
|
|
@@ -1225,6 +1251,7 @@ const availableComponents = [
|
|
|
1225
1251
|
"ContourLines",
|
|
1226
1252
|
"Crescent",
|
|
1227
1253
|
"Cross",
|
|
1254
|
+
"Crystal",
|
|
1228
1255
|
"CursorRipples",
|
|
1229
1256
|
"CursorTrail",
|
|
1230
1257
|
"DiffuseBlur",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shaders",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.86",
|
|
4
4
|
"description": "Shader magic for modern frontends",
|
|
5
5
|
"author": "Shader Effects Inc.",
|
|
6
6
|
"homepage": "https://shaders.com/",
|
|
@@ -552,6 +552,11 @@
|
|
|
552
552
|
"types": "./dist/core/shaders/FlowingGradient/index.d.ts",
|
|
553
553
|
"import": "./dist/core/shaders/FlowingGradient/index.js",
|
|
554
554
|
"require": "./dist/core/shaders/FlowingGradient/index.js"
|
|
555
|
+
},
|
|
556
|
+
"./core/Crystal": {
|
|
557
|
+
"types": "./dist/core/shaders/Crystal/index.d.ts",
|
|
558
|
+
"import": "./dist/core/shaders/Crystal/index.js",
|
|
559
|
+
"require": "./dist/core/shaders/Crystal/index.js"
|
|
555
560
|
}
|
|
556
561
|
},
|
|
557
562
|
"typesVersions": {
|
|
@@ -652,6 +657,9 @@
|
|
|
652
657
|
"core/Cross": [
|
|
653
658
|
"./dist/core/shaders/Cross/index.d.ts"
|
|
654
659
|
],
|
|
660
|
+
"core/Crystal": [
|
|
661
|
+
"./dist/core/shaders/Crystal/index.d.ts"
|
|
662
|
+
],
|
|
655
663
|
"core/CursorRipples": [
|
|
656
664
|
"./dist/core/shaders/CursorRipples/index.d.ts"
|
|
657
665
|
],
|
|
@@ -1,220 +0,0 @@
|
|
|
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-DnFexzlT.js";
|
|
17
|
-
import { n as componentDefinition$16 } from "./Cross-rsVMygBv.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-CZWtvB3q.js";
|
|
26
|
-
import { n as componentDefinition$25 } from "./Emboss-DCKgs4_G.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-fYEx6ZSB.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-BioLeiH6.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-uXetpVop.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-7mzxbJeF.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-H6B01ZMz.js";
|
|
65
|
-
import { n as componentDefinition$64 } from "./Ripples-Cevf-Hvg.js";
|
|
66
|
-
import { n as componentDefinition$65 } from "./RoundedRect-OszKdYVD.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-CyjNgJVp.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-SuI0dRgI.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-Cj--pgNW.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 };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/core/{RectangularCoordinates-B96mflF5.js → RectangularCoordinates-Cj-d2ol3.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|