shaders 2.5.87 → 2.5.89
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/ConicGradient-BXXizzIs.js +92 -0
- package/dist/core/{Crescent-DnFexzlT.js → Crescent-DPxGWdPH.js} +1 -1
- package/dist/core/{Cross-rsVMygBv.js → Cross-CDyzf8TT.js} +1 -1
- package/dist/core/{Crystal-z-2qqfhQ.js → Crystal-DSuN8TNY.js} +1 -1
- package/dist/core/DiamondGradient-TsOxHjg_.js +123 -0
- package/dist/core/DropShadow-_VJqd8du.js +131 -0
- package/dist/core/{Ellipse-CJFK20Xl.js → Ellipse-BvlGDQyZ.js} +1 -1
- package/dist/core/{Emboss-DWXpvlZO.js → Emboss-CF-BN_CQ.js} +1 -1
- package/dist/core/{Flower-BST3LQVi.js → Flower-ByQNUJyZ.js} +1 -1
- package/dist/core/{Glass-BDHs6Enu.js → Glass-BGy9jsiS.js} +1 -1
- package/dist/core/{Grid-CV2iJqlk.js → Grid-Dweeo8b2.js} +32 -6
- package/dist/core/HexGrid-KxwCqF1D.js +85 -0
- package/dist/core/MultiPointGradient-BcjurHeM.js +181 -0
- package/dist/core/{Neon-gsfaMvGq.js → Neon-CRC16G0F.js} +1 -1
- package/dist/core/{Plasma-LpGeN0eG.js → Plasma-Cuv1eJhl.js} +2 -2
- package/dist/core/{Polygon-BeqB8MSz.js → Polygon-2V8po0Ba.js} +1 -1
- package/dist/core/RadialGradient-niSnNlOF.js +123 -0
- package/dist/core/{Ring-DJl9JUMR.js → Ring-BiKv_lr2.js} +1 -1
- package/dist/core/{RoundedRect--rHP7xW4.js → RoundedRect-BjOTRXb0.js} +1 -1
- package/dist/core/Solarize-B0aT_8tE.js +47 -0
- package/dist/core/{Star-CxI_taxd.js → Star-DJnks6B5.js} +1 -1
- package/dist/core/{Trapezoid-D7qg9Gc5.js → Trapezoid-CoK8i1IS.js} +1 -1
- package/dist/core/Truchet-Bz6ETvSS.js +100 -0
- package/dist/core/{Vesica-p8oNtcOH.js → Vesica-BELYZ5M8.js} +1 -1
- package/dist/core/{VideoTexture-ChFw0jKS.js → VideoTexture-C90aUnt4.js} +1 -1
- package/dist/core/Vignette-B94FMFBz.js +84 -0
- package/dist/core/Voronoi-DPWvdZ05.js +152 -0
- package/dist/core/Weave-DzZv1-19.js +95 -0
- package/dist/core/{WebcamTexture-CF1nwkNG.js → WebcamTexture-7SK_C_Xf.js} +1 -1
- package/dist/core/index.js +91 -81
- package/dist/core/registry.js +91 -81
- package/dist/core/shaderRegistry-DICjiu4V.js +242 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/CRTScreen/index.js +1 -1
- package/dist/core/shaders/ConicGradient/index.d.ts +48 -0
- package/dist/core/shaders/ConicGradient/index.d.ts.map +1 -0
- package/dist/core/shaders/ConicGradient/index.js +4 -0
- package/dist/core/shaders/ContourLines/index.js +1 -1
- package/dist/core/shaders/Crescent/index.js +2 -2
- package/dist/core/shaders/Cross/index.js +2 -2
- package/dist/core/shaders/Crystal/index.js +2 -2
- package/dist/core/shaders/CursorRipples/index.js +1 -1
- package/dist/core/shaders/CursorTrail/index.js +1 -1
- package/dist/core/shaders/DiamondGradient/index.d.ts +60 -0
- package/dist/core/shaders/DiamondGradient/index.d.ts.map +1 -0
- package/dist/core/shaders/DiamondGradient/index.js +4 -0
- 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/DropShadow/index.d.ts +39 -0
- package/dist/core/shaders/DropShadow/index.d.ts.map +1 -0
- package/dist/core/shaders/DropShadow/index.js +4 -0
- package/dist/core/shaders/Duotone/index.js +1 -1
- package/dist/core/shaders/Ellipse/index.js +2 -2
- package/dist/core/shaders/Emboss/index.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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.d.ts +6 -0
- package/dist/core/shaders/Grid/index.d.ts.map +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.d.ts +41 -0
- package/dist/core/shaders/HexGrid/index.d.ts.map +1 -0
- package/dist/core/shaders/HexGrid/index.js +4 -0
- 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.d.ts +84 -0
- package/dist/core/shaders/MultiPointGradient/index.d.ts.map +1 -0
- package/dist/core/shaders/MultiPointGradient/index.js +3 -0
- package/dist/core/shaders/Neon/index.js +2 -2
- 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 +2 -2
- package/dist/core/shaders/Posterize/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
- package/dist/core/shaders/RadialGradient/index.d.ts +18 -0
- package/dist/core/shaders/RadialGradient/index.d.ts.map +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 +2 -2
- package/dist/core/shaders/Ripples/index.js +1 -1
- package/dist/core/shaders/RoundedRect/index.js +2 -2
- 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/Solarize/index.d.ts +19 -0
- package/dist/core/shaders/Solarize/index.d.ts.map +1 -0
- package/dist/core/shaders/Solarize/index.js +2 -0
- 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 +2 -2
- 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 +2 -2
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Truchet/index.d.ts +47 -0
- package/dist/core/shaders/Truchet/index.d.ts.map +1 -0
- package/dist/core/shaders/Truchet/index.js +4 -0
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vesica/index.js +2 -2
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/VideoTexture/index.js +2 -2
- package/dist/core/shaders/Vignette/index.d.ts +40 -0
- package/dist/core/shaders/Vignette/index.d.ts.map +1 -0
- package/dist/core/shaders/Vignette/index.js +3 -0
- package/dist/core/shaders/Voronoi/index.d.ts +67 -0
- package/dist/core/shaders/Voronoi/index.d.ts.map +1 -0
- package/dist/core/shaders/Voronoi/index.js +5 -0
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/Weave/index.d.ts +40 -0
- package/dist/core/shaders/Weave/index.d.ts.map +1 -0
- package/dist/core/shaders/Weave/index.js +3 -0
- 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 +141 -1
- package/dist/react/ConicGradient.js +181 -0
- package/dist/react/DiamondGradient.js +181 -0
- package/dist/react/DropShadow.js +181 -0
- package/dist/react/HexGrid.js +181 -0
- package/dist/react/MultiPointGradient.js +181 -0
- package/dist/react/Preview.js +10 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/Solarize.js +181 -0
- package/dist/react/Truchet.js +181 -0
- package/dist/react/Vignette.js +181 -0
- package/dist/react/Voronoi.js +181 -0
- package/dist/react/Weave.js +181 -0
- package/dist/react/components/ConicGradient.d.ts +35 -0
- package/dist/react/components/ConicGradient.d.ts.map +1 -0
- package/dist/react/components/DiamondGradient.d.ts +37 -0
- package/dist/react/components/DiamondGradient.d.ts.map +1 -0
- package/dist/react/components/DropShadow.d.ts +36 -0
- package/dist/react/components/DropShadow.d.ts.map +1 -0
- package/dist/react/components/Grid.d.ts +2 -1
- package/dist/react/components/Grid.d.ts.map +1 -1
- package/dist/react/components/HexGrid.d.ts +34 -0
- package/dist/react/components/HexGrid.d.ts.map +1 -0
- package/dist/react/components/MultiPointGradient.d.ts +38 -0
- package/dist/react/components/MultiPointGradient.d.ts.map +1 -0
- package/dist/react/components/RadialGradient.d.ts +4 -1
- package/dist/react/components/RadialGradient.d.ts.map +1 -1
- package/dist/react/components/Solarize.d.ts +34 -0
- package/dist/react/components/Solarize.d.ts.map +1 -0
- package/dist/react/components/Truchet.d.ts +35 -0
- package/dist/react/components/Truchet.d.ts.map +1 -0
- package/dist/react/components/Vignette.d.ts +36 -0
- package/dist/react/components/Vignette.d.ts.map +1 -0
- package/dist/react/components/Voronoi.d.ts +36 -0
- package/dist/react/components/Voronoi.d.ts.map +1 -0
- package/dist/react/components/Weave.d.ts +35 -0
- package/dist/react/components/Weave.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +10 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +11 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +141 -1
- package/dist/registry.js +2315 -267
- package/dist/solid/components/ConicGradient.d.ts +32 -0
- package/dist/solid/components/ConicGradient.d.ts.map +1 -0
- package/dist/solid/components/ConicGradient.js +183 -0
- package/dist/solid/components/DiamondGradient.d.ts +34 -0
- package/dist/solid/components/DiamondGradient.d.ts.map +1 -0
- package/dist/solid/components/DiamondGradient.js +183 -0
- package/dist/solid/components/DropShadow.d.ts +33 -0
- package/dist/solid/components/DropShadow.d.ts.map +1 -0
- package/dist/solid/components/DropShadow.js +183 -0
- package/dist/solid/components/Grid.d.ts +2 -1
- package/dist/solid/components/Grid.d.ts.map +1 -1
- package/dist/solid/components/HexGrid.d.ts +31 -0
- package/dist/solid/components/HexGrid.d.ts.map +1 -0
- package/dist/solid/components/HexGrid.js +183 -0
- package/dist/solid/components/MultiPointGradient.d.ts +35 -0
- package/dist/solid/components/MultiPointGradient.d.ts.map +1 -0
- package/dist/solid/components/MultiPointGradient.js +183 -0
- package/dist/solid/components/RadialGradient.d.ts +4 -1
- package/dist/solid/components/RadialGradient.d.ts.map +1 -1
- package/dist/solid/components/Solarize.d.ts +31 -0
- package/dist/solid/components/Solarize.d.ts.map +1 -0
- package/dist/solid/components/Solarize.js +183 -0
- package/dist/solid/components/Truchet.d.ts +32 -0
- package/dist/solid/components/Truchet.d.ts.map +1 -0
- package/dist/solid/components/Truchet.js +183 -0
- package/dist/solid/components/Vignette.d.ts +33 -0
- package/dist/solid/components/Vignette.d.ts.map +1 -0
- package/dist/solid/components/Vignette.js +183 -0
- package/dist/solid/components/Voronoi.d.ts +33 -0
- package/dist/solid/components/Voronoi.d.ts.map +1 -0
- package/dist/solid/components/Voronoi.js +183 -0
- package/dist/solid/components/Weave.d.ts +32 -0
- package/dist/solid/components/Weave.d.ts.map +1 -0
- package/dist/solid/components/Weave.js +183 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +200 -180
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +10 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +178 -158
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +141 -1
- package/dist/svelte/components/ConicGradient.svelte.d.ts +22 -0
- package/dist/svelte/components/DiamondGradient.svelte.d.ts +24 -0
- package/dist/svelte/components/DropShadow.svelte.d.ts +23 -0
- package/dist/svelte/components/Grid.svelte.d.ts +1 -0
- package/dist/svelte/components/HexGrid.svelte.d.ts +21 -0
- package/dist/svelte/components/MultiPointGradient.svelte.d.ts +25 -0
- package/dist/svelte/components/RadialGradient.svelte.d.ts +3 -0
- package/dist/svelte/components/Solarize.svelte.d.ts +21 -0
- package/dist/svelte/components/Truchet.svelte.d.ts +22 -0
- package/dist/svelte/components/Vignette.svelte.d.ts +23 -0
- package/dist/svelte/components/Voronoi.svelte.d.ts +23 -0
- package/dist/svelte/components/Weave.svelte.d.ts +22 -0
- package/dist/svelte/{generatePresetCode-BzFhasGi.js → generatePresetCode-C7KnCLnD.js} +141 -1
- package/dist/svelte/index.d.ts +10 -0
- package/dist/svelte/index.js +1810 -340
- package/dist/svelte/source/components/ConicGradient.svelte +289 -0
- package/dist/svelte/source/components/DiamondGradient.svelte +291 -0
- package/dist/svelte/source/components/DropShadow.svelte +290 -0
- package/dist/svelte/source/components/Grid.svelte +1 -0
- package/dist/svelte/source/components/HexGrid.svelte +288 -0
- package/dist/svelte/source/components/MultiPointGradient.svelte +292 -0
- package/dist/svelte/source/components/RadialGradient.svelte +3 -0
- package/dist/svelte/source/components/Solarize.svelte +288 -0
- package/dist/svelte/source/components/Truchet.svelte +289 -0
- package/dist/svelte/source/components/Vignette.svelte +290 -0
- package/dist/svelte/source/components/Voronoi.svelte +290 -0
- package/dist/svelte/source/components/Weave.svelte +289 -0
- package/dist/svelte/source/engine/Preview.svelte +20 -0
- package/dist/svelte/source/index.js +10 -0
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/ConicGradient.js +3 -0
- package/dist/vue/ConicGradient.vue_vue_type_script_setup_true_lang.js +171 -0
- package/dist/vue/DiamondGradient.js +3 -0
- package/dist/vue/DiamondGradient.vue_vue_type_script_setup_true_lang.js +173 -0
- package/dist/vue/DropShadow.js +3 -0
- package/dist/vue/DropShadow.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/vue/Grid.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/vue/HexGrid.js +3 -0
- package/dist/vue/HexGrid.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/vue/MultiPointGradient.js +3 -0
- package/dist/vue/MultiPointGradient.vue_vue_type_script_setup_true_lang.js +176 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +20 -0
- package/dist/vue/RadialGradient.vue_vue_type_script_setup_true_lang.js +3 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/Solarize.js +3 -0
- package/dist/vue/Solarize.vue_vue_type_script_setup_true_lang.js +167 -0
- package/dist/vue/Truchet.js +3 -0
- package/dist/vue/Truchet.vue_vue_type_script_setup_true_lang.js +171 -0
- package/dist/vue/Vignette.js +3 -0
- package/dist/vue/Vignette.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/vue/Voronoi.js +3 -0
- package/dist/vue/Voronoi.vue_vue_type_script_setup_true_lang.js +174 -0
- package/dist/vue/Weave.js +3 -0
- package/dist/vue/Weave.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/vue/components/ConicGradient.vue.d.ts +57 -0
- package/dist/vue/components/ConicGradient.vue.d.ts.map +1 -0
- package/dist/vue/components/DiamondGradient.vue.d.ts +59 -0
- package/dist/vue/components/DiamondGradient.vue.d.ts.map +1 -0
- package/dist/vue/components/DropShadow.vue.d.ts +58 -0
- package/dist/vue/components/DropShadow.vue.d.ts.map +1 -0
- package/dist/vue/components/Grid.vue.d.ts +1 -0
- package/dist/vue/components/Grid.vue.d.ts.map +1 -1
- package/dist/vue/components/HexGrid.vue.d.ts +56 -0
- package/dist/vue/components/HexGrid.vue.d.ts.map +1 -0
- package/dist/vue/components/MultiPointGradient.vue.d.ts +60 -0
- package/dist/vue/components/MultiPointGradient.vue.d.ts.map +1 -0
- package/dist/vue/components/RadialGradient.vue.d.ts +3 -0
- package/dist/vue/components/RadialGradient.vue.d.ts.map +1 -1
- package/dist/vue/components/Solarize.vue.d.ts +56 -0
- package/dist/vue/components/Solarize.vue.d.ts.map +1 -0
- package/dist/vue/components/Truchet.vue.d.ts +57 -0
- package/dist/vue/components/Truchet.vue.d.ts.map +1 -0
- package/dist/vue/components/Vignette.vue.d.ts +58 -0
- package/dist/vue/components/Vignette.vue.d.ts.map +1 -0
- package/dist/vue/components/Voronoi.vue.d.ts +58 -0
- package/dist/vue/components/Voronoi.vue.d.ts.map +1 -0
- package/dist/vue/components/Weave.vue.d.ts +57 -0
- package/dist/vue/components/Weave.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +10 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +11 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +141 -1
- package/package.json +106 -1
- package/dist/core/RadialGradient-BMmhr2qB.js +0 -75
- package/dist/core/shaderRegistry-O96t1zA9.js +0 -222
- /package/dist/core/{CRTScreen-BZ-sAmPZ.js → CRTScreen-DolQEkb1.js} +0 -0
- /package/dist/core/{ContourLines-yEb5IJ1Y.js → ContourLines-C0XSJEkE.js} +0 -0
- /package/dist/core/{CursorRipples-CkVMs3DF.js → CursorRipples-n_xEDr10.js} +0 -0
- /package/dist/core/{CursorTrail-1D7ymT9O.js → CursorTrail-Dm2pOh9x.js} +0 -0
- /package/dist/core/{DiffuseBlur-BAq1jHVB.js → DiffuseBlur-BqIV4JLM.js} +0 -0
- /package/dist/core/{Dither-U_UFB8oZ.js → Dither-D_YF6z03.js} +0 -0
- /package/dist/core/{DotGrid-BzAsAVrt.js → DotGrid-Cv_aCN_c.js} +0 -0
- /package/dist/core/{Duotone-CuIRHH_k.js → Duotone-Db9kfzCs.js} +0 -0
- /package/dist/core/{FallingLines-BQzBwOy0.js → FallingLines-CTa8zuvs.js} +0 -0
- /package/dist/core/{FilmGrain-Birzz05_.js → FilmGrain-SrB3ZXIg.js} +0 -0
- /package/dist/core/{FloatingParticles-shoqY6fm.js → FloatingParticles-BVUK6GlL.js} +0 -0
- /package/dist/core/{FlowField-CJdtd3Za.js → FlowField-CF95xOBc.js} +0 -0
- /package/dist/core/{FlowingGradient-Dsuqf7Yn.js → FlowingGradient-DhOce4wJ.js} +0 -0
- /package/dist/core/{Form3D-Czd8VBcU.js → Form3D-CcBdpCQr.js} +0 -0
- /package/dist/core/{GlassTiles-CQFngHS9.js → GlassTiles-LsfUL0JT.js} +0 -0
- /package/dist/core/{Glitch-q3H4XH_K.js → Glitch-DuQ-dtyM.js} +0 -0
- /package/dist/core/{Glow-BltxRvyM.js → Glow-CsiZkj9_.js} +0 -0
- /package/dist/core/{Godrays-YxezlRHu.js → Godrays-CoSL15CM.js} +0 -0
- /package/dist/core/{Grayscale-D_RwmAV3.js → Grayscale-BrwJ4_uW.js} +0 -0
- /package/dist/core/{GridDistortion-JCuvWcoV.js → GridDistortion-DIarsmKa.js} +0 -0
- /package/dist/core/{Group-CeA8FtS3.js → Group-Cc3_0QdC.js} +0 -0
- /package/dist/core/{Halftone-4oL_AA-D.js → Halftone-nfr7eNaT.js} +0 -0
- /package/dist/core/{HueShift-7Gv8BV4v.js → HueShift-kNK2rEVM.js} +0 -0
- /package/dist/core/{ImageTexture-BaVcRld1.js → ImageTexture-acllbA1z.js} +0 -0
- /package/dist/core/{Invert-D_jzp4D9.js → Invert-CMnUhHo2.js} +0 -0
- /package/dist/core/{Kaleidoscope-Baz9Fu8k.js → Kaleidoscope-CgnidMrq.js} +0 -0
- /package/dist/core/{LensFlare-Dyv84bAb.js → LensFlare-CkCTGuKS.js} +0 -0
- /package/dist/core/{LinearBlur-ZGWbzIt4.js → LinearBlur-ByirUCm_.js} +0 -0
- /package/dist/core/{LinearGradient-CZGPiyHq.js → LinearGradient-B2ErQXPL.js} +0 -0
- /package/dist/core/{Liquify-DrWLq2Kz.js → Liquify-BTyJAOmV.js} +0 -0
- /package/dist/core/{Mirror-C5LuGm-w.js → Mirror-CAW37Y13.js} +0 -0
- /package/dist/core/{Paper-BVuYd7u4.js → Paper-Dkh14pIW.js} +0 -0
- /package/dist/core/{Perspective-CqV-lhEE.js → Perspective-CyG4fNaI.js} +0 -0
- /package/dist/core/{Pixelate-DrG7QsBR.js → Pixelate-DkD_q_Ma.js} +0 -0
- /package/dist/core/{PolarCoordinates-CiNUC56M.js → PolarCoordinates-iQB2vg0q.js} +0 -0
- /package/dist/core/{Posterize-CGEUVRt_.js → Posterize-Bnf3EUfk.js} +0 -0
- /package/dist/core/{ProgressiveBlur-jEam9zrU.js → ProgressiveBlur-Bc_dXikb.js} +0 -0
- /package/dist/core/{RectangularCoordinates-Cj-d2ol3.js → RectangularCoordinates-DbQ25OTz.js} +0 -0
- /package/dist/core/{Ripples-r12S7WG7.js → Ripples-Daco0GPY.js} +0 -0
- /package/dist/core/{Saturation-BAORnZso.js → Saturation-BNWZN-nJ.js} +0 -0
- /package/dist/core/{Sharpness-CFzYBYlL.js → Sharpness-tRNM2arG.js} +0 -0
- /package/dist/core/{Shatter-avsezFDy.js → Shatter-Cyq_lBjn.js} +0 -0
- /package/dist/core/{SimplexNoise-BjoeAe6H.js → SimplexNoise-DSvDs4b7.js} +0 -0
- /package/dist/core/{SineWave-B-2YxAht.js → SineWave-Beim8Xoe.js} +0 -0
- /package/dist/core/{SolidColor-2o0vQu86.js → SolidColor-kt6ayyXz.js} +0 -0
- /package/dist/core/{Spherize-DKJKva6y.js → Spherize-u6gO2hh2.js} +0 -0
- /package/dist/core/{Spiral-Dzsm_AJG.js → Spiral-DRpE_jsz.js} +0 -0
- /package/dist/core/{Strands-42wUIQMv.js → Strands-BqCaitMb.js} +0 -0
- /package/dist/core/{Stretch-BVPICFxU.js → Stretch-TztFP3F2.js} +0 -0
- /package/dist/core/{Stripes-DpWPzhd5.js → Stripes-UYWf5Cmn.js} +0 -0
- /package/dist/core/{StudioBackground-CxOYZ28g.js → StudioBackground-CvKGt77W.js} +0 -0
- /package/dist/core/{Swirl-CaQpQWY2.js → Swirl-YCWu5OJE.js} +0 -0
- /package/dist/core/{TiltShift-yJYvxA1V.js → TiltShift-DKibnYzM.js} +0 -0
- /package/dist/core/{Tint-BR2yMhfB.js → Tint-aVYSCIlD.js} +0 -0
- /package/dist/core/{Tritone-PTTYWr_w.js → Tritone-Cn0ugwld.js} +0 -0
- /package/dist/core/{Twirl-CE2yzv3_.js → Twirl-Dk8y9GcM.js} +0 -0
- /package/dist/core/{Vibrance-CljpZu_J.js → Vibrance-Cdx5A_q2.js} +0 -0
- /package/dist/core/{WaveDistortion-BSt0JJbk.js → WaveDistortion-C7mIgJok.js} +0 -0
- /package/dist/core/{ZoomBlur-CAeswzf5.js → ZoomBlur-DUcqnggc.js} +0 -0
- /package/dist/core/{browser-CWKHEzb9.js → browser-CpS3EEFG.js} +0 -0
- /package/dist/core/{sdf-CZRX0uur.js → sdf-Bux00UoZ.js} +0 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
|
+
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
+
import { t as createAnimatedTime } from "./time-DUqSFWvT.js";
|
|
4
|
+
import { Fn, cos, dot, float, floor, fract, length, mix, pow, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
|
+
var voronoiHash = Fn(([p]) => {
|
|
6
|
+
return fract(sin(vec2(dot(p, vec2(127.1, 311.7)), dot(p, vec2(269.5, 183.3)))).mul(float(43758.5453)));
|
|
7
|
+
});
|
|
8
|
+
const componentDefinition = {
|
|
9
|
+
name: "Voronoi",
|
|
10
|
+
category: "Textures",
|
|
11
|
+
description: "Cellular pattern where each pixel is colored by its distance to the nearest of many scattered points",
|
|
12
|
+
props: {
|
|
13
|
+
colorA: {
|
|
14
|
+
default: "#3186cf",
|
|
15
|
+
transform: transformColor,
|
|
16
|
+
description: "Color near each cell's center point",
|
|
17
|
+
ui: {
|
|
18
|
+
type: "color",
|
|
19
|
+
label: "Color A (Center)",
|
|
20
|
+
group: "Colors"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
colorB: {
|
|
24
|
+
default: "#fc02dd",
|
|
25
|
+
transform: transformColor,
|
|
26
|
+
description: "Color at cell boundaries, far from any center point",
|
|
27
|
+
ui: {
|
|
28
|
+
type: "color",
|
|
29
|
+
label: "Color B (Edge)",
|
|
30
|
+
group: "Colors"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
colorBorder: {
|
|
34
|
+
default: "#000000",
|
|
35
|
+
transform: transformColor,
|
|
36
|
+
description: "Color of the cell boundary lines",
|
|
37
|
+
ui: {
|
|
38
|
+
type: "color",
|
|
39
|
+
label: "Border Color",
|
|
40
|
+
group: "Colors"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
scale: {
|
|
44
|
+
default: 6,
|
|
45
|
+
description: "Number of cells across the canvas",
|
|
46
|
+
ui: {
|
|
47
|
+
type: ["range", "map"],
|
|
48
|
+
min: 1,
|
|
49
|
+
max: 20,
|
|
50
|
+
step: .5,
|
|
51
|
+
label: "Scale",
|
|
52
|
+
group: "Effect"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
speed: {
|
|
56
|
+
default: .5,
|
|
57
|
+
description: "Animation speed — how fast the cell points drift",
|
|
58
|
+
ui: {
|
|
59
|
+
type: "range",
|
|
60
|
+
min: 0,
|
|
61
|
+
max: 5,
|
|
62
|
+
step: .1,
|
|
63
|
+
label: "Speed",
|
|
64
|
+
group: "Animation"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
seed: {
|
|
68
|
+
default: 0,
|
|
69
|
+
description: "Random seed — shifts the cell pattern without changing the overall structure",
|
|
70
|
+
ui: {
|
|
71
|
+
type: ["range", "map"],
|
|
72
|
+
min: 0,
|
|
73
|
+
max: 100,
|
|
74
|
+
step: 1,
|
|
75
|
+
label: "Seed",
|
|
76
|
+
group: "Effect"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
edgeIntensity: {
|
|
80
|
+
default: .5,
|
|
81
|
+
description: "Controls how much of the cell interior is filled by the edge color. Low = center color dominates with a sharp boundary. High = edge color spreads further into the cell.",
|
|
82
|
+
ui: {
|
|
83
|
+
type: ["range", "map"],
|
|
84
|
+
min: 0,
|
|
85
|
+
max: 1,
|
|
86
|
+
step: .01,
|
|
87
|
+
label: "Edge Intensity",
|
|
88
|
+
group: "Effect"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
edgeSoftness: {
|
|
92
|
+
default: .05,
|
|
93
|
+
description: "Width of the cell boundary lines.",
|
|
94
|
+
ui: {
|
|
95
|
+
type: ["range", "map"],
|
|
96
|
+
min: 0,
|
|
97
|
+
max: .4,
|
|
98
|
+
step: .005,
|
|
99
|
+
label: "Edge Softness",
|
|
100
|
+
group: "Effect"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
colorSpace: {
|
|
104
|
+
default: "oklch",
|
|
105
|
+
transform: transformColorSpace,
|
|
106
|
+
compileTime: true,
|
|
107
|
+
description: "Color space for color interpolation",
|
|
108
|
+
ui: {
|
|
109
|
+
type: "select",
|
|
110
|
+
options: colorSpaceOptions,
|
|
111
|
+
label: "Color Space",
|
|
112
|
+
group: "Colors"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
fragmentNode: (params) => {
|
|
117
|
+
const { uniforms } = params;
|
|
118
|
+
const colorA = uniforms.colorA.uniform;
|
|
119
|
+
const colorB = uniforms.colorB.uniform;
|
|
120
|
+
const colorBorder = uniforms.colorBorder.uniform;
|
|
121
|
+
const csMode = uniforms.colorSpace.uniform.value;
|
|
122
|
+
const scale = uniforms.scale.uniform;
|
|
123
|
+
const seed = uniforms.seed.uniform;
|
|
124
|
+
const t = createAnimatedTime(params, uniforms.speed);
|
|
125
|
+
const aspect = viewportSize.x.div(viewportSize.y);
|
|
126
|
+
const scaledUV = vec2(screenUV.x.mul(aspect), screenUV.y).mul(scale);
|
|
127
|
+
return Fn(([uv$1, animT, seedVal, edgeIntensity, edgeSoftness, borderColor]) => {
|
|
128
|
+
const cell = floor(uv$1);
|
|
129
|
+
const localUV = fract(uv$1);
|
|
130
|
+
let d1 = float(10);
|
|
131
|
+
let d2 = float(10);
|
|
132
|
+
for (let ny = -1; ny <= 1; ny++) for (let nx = -1; nx <= 1; nx++) {
|
|
133
|
+
const offset = vec2(float(nx), float(ny));
|
|
134
|
+
const h = voronoiHash(cell.add(offset).add(seedVal));
|
|
135
|
+
const pointX = h.x.add(sin(animT.add(h.x.mul(float(6.28)))).mul(float(.15))).clamp(float(.05), float(.95));
|
|
136
|
+
const pointY = h.y.add(cos(animT.mul(float(.7)).add(h.y.mul(float(6.28)))).mul(float(.15))).clamp(float(.05), float(.95));
|
|
137
|
+
const d = length(localUV.sub(offset.add(vec2(pointX, pointY))));
|
|
138
|
+
const isCloser = d.lessThan(d1);
|
|
139
|
+
d2 = isCloser.select(d1, d.lessThan(d2).select(d, d2));
|
|
140
|
+
d1 = isCloser.select(d, d1);
|
|
141
|
+
}
|
|
142
|
+
const safeSum = d1.add(d2).max(float(1e-4));
|
|
143
|
+
const cellColor = mixColors(colorA, colorB, pow(d1.mul(float(2)).div(safeSum).clamp(float(0), float(1)), float(4).sub(edgeIntensity.mul(float(3)))).clamp(float(0), float(1)), csMode);
|
|
144
|
+
const scaledEdgeSoftness = edgeSoftness.mul(scale).div(float(6));
|
|
145
|
+
const edgeMetric = d2.sub(d1).div(safeSum);
|
|
146
|
+
const edgeMask = smoothstep(float(0), scaledEdgeSoftness.add(float(.001)), edgeMetric);
|
|
147
|
+
return vec4(mix(borderColor.rgb, cellColor.rgb, edgeMask), cellColor.a);
|
|
148
|
+
})(scaledUV, t, seed, uniforms.edgeIntensity.uniform, uniforms.edgeSoftness.uniform, colorBorder);
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
var Voronoi_default = componentDefinition;
|
|
152
|
+
export { componentDefinition as n, Voronoi_default as t };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { a as transformColor } from "./transformations-B5lM6fYX.js";
|
|
2
|
+
import { cos, float, floor, fract, fwidth, mod, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
3
|
+
const componentDefinition = {
|
|
4
|
+
name: "Weave",
|
|
5
|
+
category: "Textures",
|
|
6
|
+
description: "Interlaced textile weave pattern with two thread colors going over and under each other",
|
|
7
|
+
props: {
|
|
8
|
+
colorA: {
|
|
9
|
+
default: "#c4c4c4",
|
|
10
|
+
transform: transformColor,
|
|
11
|
+
description: "Horizontal thread color",
|
|
12
|
+
ui: {
|
|
13
|
+
type: "color",
|
|
14
|
+
label: "X Color",
|
|
15
|
+
group: "Colors"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
colorB: {
|
|
19
|
+
default: "#4d4d4d",
|
|
20
|
+
transform: transformColor,
|
|
21
|
+
description: "Vertical thread color",
|
|
22
|
+
ui: {
|
|
23
|
+
type: "color",
|
|
24
|
+
label: "Y Color",
|
|
25
|
+
group: "Colors"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
cells: {
|
|
29
|
+
default: 10,
|
|
30
|
+
description: "Number of threads across the shortest canvas edge",
|
|
31
|
+
ui: {
|
|
32
|
+
type: ["range", "map"],
|
|
33
|
+
min: 2,
|
|
34
|
+
max: 40,
|
|
35
|
+
step: 1,
|
|
36
|
+
label: "Cells",
|
|
37
|
+
group: "Effect"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
gap: {
|
|
41
|
+
default: .25,
|
|
42
|
+
description: "Gap between threads (0 = no gap, 0.5 = maximum gap)",
|
|
43
|
+
ui: {
|
|
44
|
+
type: ["range", "map"],
|
|
45
|
+
min: 0,
|
|
46
|
+
max: .45,
|
|
47
|
+
step: .01,
|
|
48
|
+
label: "Gap",
|
|
49
|
+
group: "Effect"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
rotation: {
|
|
53
|
+
default: 0,
|
|
54
|
+
description: "Rotation of the weave pattern in degrees",
|
|
55
|
+
ui: {
|
|
56
|
+
type: ["range", "map"],
|
|
57
|
+
min: 0,
|
|
58
|
+
max: 360,
|
|
59
|
+
step: 1,
|
|
60
|
+
label: "Rotation",
|
|
61
|
+
group: "Effect"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
fragmentNode: ({ uniforms }) => {
|
|
66
|
+
const uv$1 = screenUV;
|
|
67
|
+
const aspect = viewportSize.x.div(viewportSize.y);
|
|
68
|
+
const correctedUV = vec2(uv$1.x.mul(aspect), uv$1.y);
|
|
69
|
+
const rotRad = uniforms.rotation.uniform.mul(float(Math.PI / 180));
|
|
70
|
+
const cosR = cos(rotRad);
|
|
71
|
+
const sinR = sin(rotRad);
|
|
72
|
+
const center = vec2(aspect.mul(float(.5)), float(.5));
|
|
73
|
+
const centered = correctedUV.sub(center);
|
|
74
|
+
const scaledUV = vec2(centered.x.mul(cosR).sub(centered.y.mul(sinR)), centered.x.mul(sinR).add(centered.y.mul(cosR))).add(center).mul(uniforms.cells.uniform);
|
|
75
|
+
const cell = floor(scaledUV);
|
|
76
|
+
const localUV = fract(scaledUV);
|
|
77
|
+
const gap = uniforms.gap.uniform;
|
|
78
|
+
const pixel = fwidth(scaledUV.x).mul(float(.5));
|
|
79
|
+
const hBand = smoothstep(gap, gap.add(pixel), localUV.y).mul(smoothstep(gap, gap.add(pixel), float(1).sub(localUV.y)));
|
|
80
|
+
const vBand = smoothstep(gap, gap.add(pixel), localUV.x).mul(smoothstep(gap, gap.add(pixel), float(1).sub(localUV.x)));
|
|
81
|
+
const isHTopFloat = mod(cell.x.add(cell.y), float(2));
|
|
82
|
+
const intersection = hBand.mul(vBand);
|
|
83
|
+
const hVis = hBand.sub(intersection.mul(isHTopFloat)).clamp(float(0), float(1));
|
|
84
|
+
const vVis = vBand.sub(intersection.mul(float(1).sub(isHTopFloat))).clamp(float(0), float(1));
|
|
85
|
+
const colorA = uniforms.colorA.uniform;
|
|
86
|
+
const colorB = uniforms.colorB.uniform;
|
|
87
|
+
const weightA = colorA.a.mul(hVis);
|
|
88
|
+
const weightB = colorB.a.mul(vVis);
|
|
89
|
+
const totalAlpha = weightA.add(weightB).clamp(float(0), float(1));
|
|
90
|
+
const safeWeight = weightA.add(weightB).max(float(.001));
|
|
91
|
+
return vec4(colorA.x.mul(weightA).add(colorB.x.mul(weightB)).div(safeWeight), colorA.y.mul(weightA).add(colorB.y.mul(weightB)).div(safeWeight), colorA.z.mul(weightA).add(colorB.z.mul(weightB)).div(safeWeight), totalAlpha);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
var Weave_default = componentDefinition;
|
|
95
|
+
export { componentDefinition as n, Weave_default as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as needsVideoCanvasWorkaround } from "./browser-
|
|
1
|
+
import { t as needsVideoCanvasWorkaround } from "./browser-CpS3EEFG.js";
|
|
2
2
|
import { CanvasTexture, SRGBColorSpace, VideoTexture } from "three/webgpu";
|
|
3
3
|
import { float, max, min, or, screenUV, select, step, texture, uniform, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
package/dist/core/index.js
CHANGED
|
@@ -17,87 +17,97 @@ import "./ChromaFlow-Cq6hDVjX.js";
|
|
|
17
17
|
import "./ChromaticAberration-G8_bwQtD.js";
|
|
18
18
|
import "./Circle--0oHzoCi.js";
|
|
19
19
|
import "./ConcentricSpin-BzxzMieZ.js";
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
28
|
-
import "./
|
|
29
|
-
import "./
|
|
30
|
-
import "./
|
|
31
|
-
import "./
|
|
32
|
-
import "./
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import "./
|
|
36
|
-
import "./
|
|
37
|
-
import "./
|
|
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 "./
|
|
99
|
-
import "./
|
|
100
|
-
import
|
|
20
|
+
import "./ConicGradient-BXXizzIs.js";
|
|
21
|
+
import "./ContourLines-C0XSJEkE.js";
|
|
22
|
+
import "./sdf-Bux00UoZ.js";
|
|
23
|
+
import "./Crescent-DPxGWdPH.js";
|
|
24
|
+
import "./Cross-CDyzf8TT.js";
|
|
25
|
+
import "./CRTScreen-DolQEkb1.js";
|
|
26
|
+
import "./Crystal-DSuN8TNY.js";
|
|
27
|
+
import "./CursorRipples-n_xEDr10.js";
|
|
28
|
+
import "./CursorTrail-Dm2pOh9x.js";
|
|
29
|
+
import "./DiamondGradient-TsOxHjg_.js";
|
|
30
|
+
import "./DiffuseBlur-BqIV4JLM.js";
|
|
31
|
+
import "./Dither-D_YF6z03.js";
|
|
32
|
+
import "./DotGrid-Cv_aCN_c.js";
|
|
33
|
+
import "./DropShadow-_VJqd8du.js";
|
|
34
|
+
import "./Duotone-Db9kfzCs.js";
|
|
35
|
+
import "./Ellipse-BvlGDQyZ.js";
|
|
36
|
+
import "./Emboss-CF-BN_CQ.js";
|
|
37
|
+
import "./FallingLines-CTa8zuvs.js";
|
|
38
|
+
import "./FilmGrain-SrB3ZXIg.js";
|
|
39
|
+
import "./FloatingParticles-BVUK6GlL.js";
|
|
40
|
+
import "./Flower-ByQNUJyZ.js";
|
|
41
|
+
import "./FlowField-CF95xOBc.js";
|
|
42
|
+
import "./FlowingGradient-DhOce4wJ.js";
|
|
43
|
+
import "./Form3D-CcBdpCQr.js";
|
|
44
|
+
import "./Glass-BGy9jsiS.js";
|
|
45
|
+
import "./GlassTiles-LsfUL0JT.js";
|
|
46
|
+
import "./Glitch-DuQ-dtyM.js";
|
|
47
|
+
import "./Glow-CsiZkj9_.js";
|
|
48
|
+
import "./Godrays-CoSL15CM.js";
|
|
49
|
+
import "./Grayscale-BrwJ4_uW.js";
|
|
50
|
+
import "./Grid-Dweeo8b2.js";
|
|
51
|
+
import "./GridDistortion-DIarsmKa.js";
|
|
52
|
+
import "./Group-Cc3_0QdC.js";
|
|
53
|
+
import "./Halftone-nfr7eNaT.js";
|
|
54
|
+
import "./HexGrid-KxwCqF1D.js";
|
|
55
|
+
import "./HueShift-kNK2rEVM.js";
|
|
56
|
+
import "./ImageTexture-acllbA1z.js";
|
|
57
|
+
import "./Invert-CMnUhHo2.js";
|
|
58
|
+
import "./Kaleidoscope-CgnidMrq.js";
|
|
59
|
+
import "./LensFlare-CkCTGuKS.js";
|
|
60
|
+
import "./LinearBlur-ByirUCm_.js";
|
|
61
|
+
import "./LinearGradient-B2ErQXPL.js";
|
|
62
|
+
import "./Liquify-BTyJAOmV.js";
|
|
63
|
+
import "./Mirror-CAW37Y13.js";
|
|
64
|
+
import "./MultiPointGradient-BcjurHeM.js";
|
|
65
|
+
import "./Neon-CRC16G0F.js";
|
|
66
|
+
import "./Paper-Dkh14pIW.js";
|
|
67
|
+
import "./Perspective-CyG4fNaI.js";
|
|
68
|
+
import "./Pixelate-DkD_q_Ma.js";
|
|
69
|
+
import "./Plasma-Cuv1eJhl.js";
|
|
70
|
+
import "./PolarCoordinates-iQB2vg0q.js";
|
|
71
|
+
import "./Polygon-2V8po0Ba.js";
|
|
72
|
+
import "./Posterize-Bnf3EUfk.js";
|
|
73
|
+
import "./ProgressiveBlur-Bc_dXikb.js";
|
|
74
|
+
import "./RadialGradient-niSnNlOF.js";
|
|
75
|
+
import "./RectangularCoordinates-DbQ25OTz.js";
|
|
76
|
+
import "./Ring-BiKv_lr2.js";
|
|
77
|
+
import "./Ripples-Daco0GPY.js";
|
|
78
|
+
import "./RoundedRect-BjOTRXb0.js";
|
|
79
|
+
import "./Saturation-BNWZN-nJ.js";
|
|
80
|
+
import "./Sharpness-tRNM2arG.js";
|
|
81
|
+
import "./Shatter-Cyq_lBjn.js";
|
|
82
|
+
import "./SimplexNoise-DSvDs4b7.js";
|
|
83
|
+
import "./SineWave-Beim8Xoe.js";
|
|
84
|
+
import "./Solarize-B0aT_8tE.js";
|
|
85
|
+
import "./SolidColor-kt6ayyXz.js";
|
|
86
|
+
import "./Spherize-u6gO2hh2.js";
|
|
87
|
+
import "./Spiral-DRpE_jsz.js";
|
|
88
|
+
import "./Star-DJnks6B5.js";
|
|
89
|
+
import "./Strands-BqCaitMb.js";
|
|
90
|
+
import "./Stretch-TztFP3F2.js";
|
|
91
|
+
import "./Stripes-UYWf5Cmn.js";
|
|
92
|
+
import "./StudioBackground-CvKGt77W.js";
|
|
93
|
+
import "./Swirl-YCWu5OJE.js";
|
|
94
|
+
import "./TiltShift-DKibnYzM.js";
|
|
95
|
+
import "./Tint-aVYSCIlD.js";
|
|
96
|
+
import "./Trapezoid-CoK8i1IS.js";
|
|
97
|
+
import "./Tritone-Cn0ugwld.js";
|
|
98
|
+
import "./Truchet-Bz6ETvSS.js";
|
|
99
|
+
import "./Twirl-Dk8y9GcM.js";
|
|
100
|
+
import "./Vesica-BELYZ5M8.js";
|
|
101
|
+
import "./Vibrance-Cdx5A_q2.js";
|
|
102
|
+
import "./browser-CpS3EEFG.js";
|
|
103
|
+
import "./VideoTexture-C90aUnt4.js";
|
|
104
|
+
import "./Vignette-B94FMFBz.js";
|
|
105
|
+
import "./Voronoi-DPWvdZ05.js";
|
|
106
|
+
import "./WaveDistortion-C7mIgJok.js";
|
|
107
|
+
import "./Weave-DzZv1-19.js";
|
|
108
|
+
import "./WebcamTexture-7SK_C_Xf.js";
|
|
109
|
+
import "./ZoomBlur-DUcqnggc.js";
|
|
110
|
+
import { t as getAllShaders } from "./shaderRegistry-DICjiu4V.js";
|
|
101
111
|
import { Material, Mesh, MeshBasicNodeMaterial, OrthographicCamera, PlaneGeometry, SRGBColorSpace, Scene, Vector2, WebGPURenderer } from "three/webgpu";
|
|
102
112
|
import { WebGLRenderer } from "three";
|
|
103
113
|
import { PI, abs, add, atan, clamp, convertToTexture, cos, div, dot, float, fract, max, min, mix, mul, pow, screenUV, sign, sin, smoothstep, sqrt, step, sub, time, uniform, uv, vec2, vec3, vec4 } from "three/tsl";
|
package/dist/core/registry.js
CHANGED
|
@@ -17,85 +17,95 @@ import "./ChromaFlow-Cq6hDVjX.js";
|
|
|
17
17
|
import "./ChromaticAberration-G8_bwQtD.js";
|
|
18
18
|
import "./Circle--0oHzoCi.js";
|
|
19
19
|
import "./ConcentricSpin-BzxzMieZ.js";
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import "./
|
|
24
|
-
import "./
|
|
25
|
-
import "./
|
|
26
|
-
import "./
|
|
27
|
-
import "./
|
|
28
|
-
import "./
|
|
29
|
-
import "./
|
|
30
|
-
import "./
|
|
31
|
-
import "./
|
|
32
|
-
import "./
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import "./
|
|
36
|
-
import "./
|
|
37
|
-
import "./
|
|
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 "./
|
|
99
|
-
import "./
|
|
100
|
-
import
|
|
20
|
+
import "./ConicGradient-BXXizzIs.js";
|
|
21
|
+
import "./ContourLines-C0XSJEkE.js";
|
|
22
|
+
import "./sdf-Bux00UoZ.js";
|
|
23
|
+
import "./Crescent-DPxGWdPH.js";
|
|
24
|
+
import "./Cross-CDyzf8TT.js";
|
|
25
|
+
import "./CRTScreen-DolQEkb1.js";
|
|
26
|
+
import "./Crystal-DSuN8TNY.js";
|
|
27
|
+
import "./CursorRipples-n_xEDr10.js";
|
|
28
|
+
import "./CursorTrail-Dm2pOh9x.js";
|
|
29
|
+
import "./DiamondGradient-TsOxHjg_.js";
|
|
30
|
+
import "./DiffuseBlur-BqIV4JLM.js";
|
|
31
|
+
import "./Dither-D_YF6z03.js";
|
|
32
|
+
import "./DotGrid-Cv_aCN_c.js";
|
|
33
|
+
import "./DropShadow-_VJqd8du.js";
|
|
34
|
+
import "./Duotone-Db9kfzCs.js";
|
|
35
|
+
import "./Ellipse-BvlGDQyZ.js";
|
|
36
|
+
import "./Emboss-CF-BN_CQ.js";
|
|
37
|
+
import "./FallingLines-CTa8zuvs.js";
|
|
38
|
+
import "./FilmGrain-SrB3ZXIg.js";
|
|
39
|
+
import "./FloatingParticles-BVUK6GlL.js";
|
|
40
|
+
import "./Flower-ByQNUJyZ.js";
|
|
41
|
+
import "./FlowField-CF95xOBc.js";
|
|
42
|
+
import "./FlowingGradient-DhOce4wJ.js";
|
|
43
|
+
import "./Form3D-CcBdpCQr.js";
|
|
44
|
+
import "./Glass-BGy9jsiS.js";
|
|
45
|
+
import "./GlassTiles-LsfUL0JT.js";
|
|
46
|
+
import "./Glitch-DuQ-dtyM.js";
|
|
47
|
+
import "./Glow-CsiZkj9_.js";
|
|
48
|
+
import "./Godrays-CoSL15CM.js";
|
|
49
|
+
import "./Grayscale-BrwJ4_uW.js";
|
|
50
|
+
import "./Grid-Dweeo8b2.js";
|
|
51
|
+
import "./GridDistortion-DIarsmKa.js";
|
|
52
|
+
import "./Group-Cc3_0QdC.js";
|
|
53
|
+
import "./Halftone-nfr7eNaT.js";
|
|
54
|
+
import "./HexGrid-KxwCqF1D.js";
|
|
55
|
+
import "./HueShift-kNK2rEVM.js";
|
|
56
|
+
import "./ImageTexture-acllbA1z.js";
|
|
57
|
+
import "./Invert-CMnUhHo2.js";
|
|
58
|
+
import "./Kaleidoscope-CgnidMrq.js";
|
|
59
|
+
import "./LensFlare-CkCTGuKS.js";
|
|
60
|
+
import "./LinearBlur-ByirUCm_.js";
|
|
61
|
+
import "./LinearGradient-B2ErQXPL.js";
|
|
62
|
+
import "./Liquify-BTyJAOmV.js";
|
|
63
|
+
import "./Mirror-CAW37Y13.js";
|
|
64
|
+
import "./MultiPointGradient-BcjurHeM.js";
|
|
65
|
+
import "./Neon-CRC16G0F.js";
|
|
66
|
+
import "./Paper-Dkh14pIW.js";
|
|
67
|
+
import "./Perspective-CyG4fNaI.js";
|
|
68
|
+
import "./Pixelate-DkD_q_Ma.js";
|
|
69
|
+
import "./Plasma-Cuv1eJhl.js";
|
|
70
|
+
import "./PolarCoordinates-iQB2vg0q.js";
|
|
71
|
+
import "./Polygon-2V8po0Ba.js";
|
|
72
|
+
import "./Posterize-Bnf3EUfk.js";
|
|
73
|
+
import "./ProgressiveBlur-Bc_dXikb.js";
|
|
74
|
+
import "./RadialGradient-niSnNlOF.js";
|
|
75
|
+
import "./RectangularCoordinates-DbQ25OTz.js";
|
|
76
|
+
import "./Ring-BiKv_lr2.js";
|
|
77
|
+
import "./Ripples-Daco0GPY.js";
|
|
78
|
+
import "./RoundedRect-BjOTRXb0.js";
|
|
79
|
+
import "./Saturation-BNWZN-nJ.js";
|
|
80
|
+
import "./Sharpness-tRNM2arG.js";
|
|
81
|
+
import "./Shatter-Cyq_lBjn.js";
|
|
82
|
+
import "./SimplexNoise-DSvDs4b7.js";
|
|
83
|
+
import "./SineWave-Beim8Xoe.js";
|
|
84
|
+
import "./Solarize-B0aT_8tE.js";
|
|
85
|
+
import "./SolidColor-kt6ayyXz.js";
|
|
86
|
+
import "./Spherize-u6gO2hh2.js";
|
|
87
|
+
import "./Spiral-DRpE_jsz.js";
|
|
88
|
+
import "./Star-DJnks6B5.js";
|
|
89
|
+
import "./Strands-BqCaitMb.js";
|
|
90
|
+
import "./Stretch-TztFP3F2.js";
|
|
91
|
+
import "./Stripes-UYWf5Cmn.js";
|
|
92
|
+
import "./StudioBackground-CvKGt77W.js";
|
|
93
|
+
import "./Swirl-YCWu5OJE.js";
|
|
94
|
+
import "./TiltShift-DKibnYzM.js";
|
|
95
|
+
import "./Tint-aVYSCIlD.js";
|
|
96
|
+
import "./Trapezoid-CoK8i1IS.js";
|
|
97
|
+
import "./Tritone-Cn0ugwld.js";
|
|
98
|
+
import "./Truchet-Bz6ETvSS.js";
|
|
99
|
+
import "./Twirl-Dk8y9GcM.js";
|
|
100
|
+
import "./Vesica-BELYZ5M8.js";
|
|
101
|
+
import "./Vibrance-Cdx5A_q2.js";
|
|
102
|
+
import "./browser-CpS3EEFG.js";
|
|
103
|
+
import "./VideoTexture-C90aUnt4.js";
|
|
104
|
+
import "./Vignette-B94FMFBz.js";
|
|
105
|
+
import "./Voronoi-DPWvdZ05.js";
|
|
106
|
+
import "./WaveDistortion-C7mIgJok.js";
|
|
107
|
+
import "./Weave-DzZv1-19.js";
|
|
108
|
+
import "./WebcamTexture-7SK_C_Xf.js";
|
|
109
|
+
import "./ZoomBlur-DUcqnggc.js";
|
|
110
|
+
import { a as shaderRegistry, i as getShadersByCategory, n as getShaderByName, r as getShaderCategories, t as getAllShaders } from "./shaderRegistry-DICjiu4V.js";
|
|
101
111
|
export { getAllShaders, getShaderByName, getShaderCategories, getShadersByCategory, shaderRegistry };
|