shaders 2.5.116 → 2.5.118
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/BarShift-2XBhva1A.js +141 -0
- package/dist/core/{Blur-DG7lJKPo.js → Blur-5_t3tR_g.js} +1 -1
- package/dist/core/BrickPattern-BfTsjp4I.js +175 -0
- package/dist/core/{ChannelBlur-BhcCkwcO.js → ChannelBlur-DWgS3nhn.js} +1 -1
- package/dist/core/Chevron-BKZjAXR_.js +142 -0
- package/dist/core/ColorWheel-BQUKQPM-.js +140 -0
- package/dist/core/{Crescent-DiioCL2k.js → Crescent-ppz7W7eM.js} +1 -1
- package/dist/core/{Cross-CxQTHuxC.js → Cross-BfNOtQ6s.js} +1 -1
- package/dist/core/{Crystal-B3iO7o_n.js → Crystal-QsQoy8fZ.js} +1 -1
- package/dist/core/{Ellipse-iwH-zEvD.js → Ellipse-sWhNvW9-.js} +1 -1
- package/dist/core/{Emboss-B4i61QDT.js → Emboss-DGaubb9x.js} +1 -1
- package/dist/core/{Flower-CdHVKJKu.js → Flower-BbRNrXIa.js} +1 -1
- package/dist/core/FractalNoise-Ccufnbw6.js +184 -0
- package/dist/core/{Glass-B19xsZLn.js → Glass-CXT1jdLw.js} +2 -2
- package/dist/core/{Glow-CsTZA75y.js → Glow-5PP4-rM9.js} +1 -1
- package/dist/core/Marble-DkHLcqFD.js +124 -0
- package/dist/core/{Neon-BeGABHrs.js → Neon-DQDB7hAE.js} +1 -1
- package/dist/core/{Polygon-_3DSqSBg.js → Polygon-C6_siOs0.js} +1 -1
- package/dist/core/{ProgressiveBlur-Dh8W2bZ3.js → ProgressiveBlur-BJwJ5mE0.js} +1 -1
- package/dist/core/{Ring-4J6h5Iof.js → Ring-CtnDtTY8.js} +1 -1
- package/dist/core/{RoundedRect-Dj-gqOc0.js → RoundedRect-tnt7Jr5b.js} +1 -1
- package/dist/core/{SmokeFill-rM9vUIm4.js → SmokeFill-DzEtYeKN.js} +1 -1
- package/dist/core/{Star-CJ4mkBZg.js → Star-0Flymgm9.js} +1 -1
- package/dist/core/SunBurst-D9X1-buZ.js +127 -0
- package/dist/core/{TiltShift-DSQ-CsXz.js → TiltShift-r4qzPb2k.js} +1 -1
- package/dist/core/{Trapezoid-P9gXhH9a.js → Trapezoid-JmybJMUr.js} +1 -1
- package/dist/core/{Vesica-DYov_i53.js → Vesica-D7iqgpJg.js} +1 -1
- package/dist/core/{VideoTexture-Cr1f0IOE.js → VideoTexture-D9XxE1Hw.js} +1 -1
- package/dist/core/{WebcamTexture-BQJpZvC5.js → WebcamTexture-9Td8qQWm.js} +1 -1
- package/dist/core/WorleyNoise-CWytDfGH.js +323 -0
- package/dist/core/index.js +117 -109
- package/dist/core/registry.js +117 -109
- package/dist/core/shaderRegistry-CO5SCxc6.js +270 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/BarShift/index.d.ts +47 -0
- package/dist/core/shaders/BarShift/index.d.ts.map +1 -0
- package/dist/core/shaders/BarShift/index.js +6 -0
- package/dist/core/shaders/Beam/index.js +1 -1
- package/dist/core/shaders/Blob/index.js +1 -1
- package/dist/core/shaders/Blur/index.js +2 -2
- package/dist/core/shaders/BrickPattern/index.d.ts +79 -0
- package/dist/core/shaders/BrickPattern/index.d.ts.map +1 -0
- package/dist/core/shaders/BrickPattern/index.js +5 -0
- package/dist/core/shaders/BrightnessContrast/index.js +1 -1
- package/dist/core/shaders/Bulge/index.js +1 -1
- package/dist/core/shaders/CRTScreen/index.js +1 -1
- package/dist/core/shaders/ChannelBlur/index.js +2 -2
- package/dist/core/shaders/Checkerboard/index.js +1 -1
- package/dist/core/shaders/Chevron/index.d.ts +66 -0
- package/dist/core/shaders/Chevron/index.d.ts.map +1 -0
- package/dist/core/shaders/Chevron/index.js +5 -0
- package/dist/core/shaders/ChromaFlow/index.js +1 -1
- package/dist/core/shaders/ChromaticAberration/index.js +1 -1
- package/dist/core/shaders/Circle/index.js +1 -1
- package/dist/core/shaders/ColorWheel/index.d.ts +62 -0
- package/dist/core/shaders/ColorWheel/index.d.ts.map +1 -0
- package/dist/core/shaders/ColorWheel/index.js +5 -0
- package/dist/core/shaders/ConcentricSpin/index.js +1 -1
- package/dist/core/shaders/ConicGradient/index.js +1 -1
- 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/DOMTexture/index.js +1 -1
- package/dist/core/shaders/DiamondGradient/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/DropShadow/index.js +1 -1
- 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/FlutedGlass/index.js +1 -1
- package/dist/core/shaders/Fog/index.js +1 -1
- package/dist/core/shaders/Form3D/index.js +1 -1
- package/dist/core/shaders/FractalNoise/index.d.ts +67 -0
- package/dist/core/shaders/FractalNoise/index.d.ts.map +1 -0
- package/dist/core/shaders/FractalNoise/index.js +5 -0
- package/dist/core/shaders/Glass/index.js +3 -3
- 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 +2 -2
- 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/Marble/index.d.ts +61 -0
- package/dist/core/shaders/Marble/index.d.ts.map +1 -0
- package/dist/core/shaders/Marble/index.js +5 -0
- 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 +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 +2 -2
- 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/Smoke/index.js +1 -1
- package/dist/core/shaders/SmokeFill/index.js +2 -2
- 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 +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/SunBurst/index.d.ts +61 -0
- package/dist/core/shaders/SunBurst/index.d.ts.map +1 -0
- package/dist/core/shaders/SunBurst/index.js +4 -0
- package/dist/core/shaders/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.js +2 -2
- 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.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 +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.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/WorleyNoise/index.d.ts +99 -0
- package/dist/core/shaders/WorleyNoise/index.d.ts.map +1 -0
- package/dist/core/shaders/WorleyNoise/index.js +5 -0
- 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 +116 -0
- package/dist/react/BarShift.js +217 -0
- package/dist/react/BrickPattern.js +217 -0
- package/dist/react/Chevron.js +217 -0
- package/dist/react/ColorWheel.js +217 -0
- package/dist/react/FractalNoise.js +217 -0
- package/dist/react/Marble.js +217 -0
- package/dist/react/Preview.js +8 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/SunBurst.js +217 -0
- package/dist/react/WorleyNoise.js +217 -0
- package/dist/react/bundle.js +268 -268
- package/dist/react/components/BarShift.d.ts +35 -0
- package/dist/react/components/BarShift.d.ts.map +1 -0
- package/dist/react/components/BrickPattern.d.ts +38 -0
- package/dist/react/components/BrickPattern.d.ts.map +1 -0
- package/dist/react/components/Chevron.d.ts +37 -0
- package/dist/react/components/Chevron.d.ts.map +1 -0
- package/dist/react/components/ColorWheel.d.ts +34 -0
- package/dist/react/components/ColorWheel.d.ts.map +1 -0
- package/dist/react/components/FractalNoise.d.ts +36 -0
- package/dist/react/components/FractalNoise.d.ts.map +1 -0
- package/dist/react/components/Marble.d.ts +35 -0
- package/dist/react/components/Marble.d.ts.map +1 -0
- package/dist/react/components/SunBurst.d.ts +36 -0
- package/dist/react/components/SunBurst.d.ts.map +1 -0
- package/dist/react/components/WorleyNoise.d.ts +39 -0
- package/dist/react/components/WorleyNoise.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +8 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +9 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +116 -0
- package/dist/registry.js +10924 -8503
- package/dist/solid/components/BarShift.d.ts +32 -0
- package/dist/solid/components/BarShift.d.ts.map +1 -0
- package/dist/solid/components/BarShift.js +228 -0
- package/dist/solid/components/BrickPattern.d.ts +35 -0
- package/dist/solid/components/BrickPattern.d.ts.map +1 -0
- package/dist/solid/components/BrickPattern.js +228 -0
- package/dist/solid/components/Chevron.d.ts +34 -0
- package/dist/solid/components/Chevron.d.ts.map +1 -0
- package/dist/solid/components/Chevron.js +228 -0
- package/dist/solid/components/ColorWheel.d.ts +31 -0
- package/dist/solid/components/ColorWheel.d.ts.map +1 -0
- package/dist/solid/components/ColorWheel.js +228 -0
- package/dist/solid/components/FractalNoise.d.ts +33 -0
- package/dist/solid/components/FractalNoise.d.ts.map +1 -0
- package/dist/solid/components/FractalNoise.js +228 -0
- package/dist/solid/components/Marble.d.ts +32 -0
- package/dist/solid/components/Marble.d.ts.map +1 -0
- package/dist/solid/components/Marble.js +228 -0
- package/dist/solid/components/SunBurst.d.ts +33 -0
- package/dist/solid/components/SunBurst.d.ts.map +1 -0
- package/dist/solid/components/SunBurst.js +228 -0
- package/dist/solid/components/WorleyNoise.d.ts +36 -0
- package/dist/solid/components/WorleyNoise.d.ts.map +1 -0
- package/dist/solid/components/WorleyNoise.js +228 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +230 -214
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +8 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +230 -214
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +116 -0
- package/dist/svelte/components/BarShift.svelte.d.ts +22 -0
- package/dist/svelte/components/BrickPattern.svelte.d.ts +25 -0
- package/dist/svelte/components/Chevron.svelte.d.ts +24 -0
- package/dist/svelte/components/ColorWheel.svelte.d.ts +21 -0
- package/dist/svelte/components/FractalNoise.svelte.d.ts +23 -0
- package/dist/svelte/components/Marble.svelte.d.ts +22 -0
- package/dist/svelte/components/SunBurst.svelte.d.ts +23 -0
- package/dist/svelte/components/WorleyNoise.svelte.d.ts +26 -0
- package/dist/svelte/index.d.ts +8 -0
- package/dist/svelte/index.js +2246 -646
- package/dist/svelte/source/components/BarShift.svelte +328 -0
- package/dist/svelte/source/components/BrickPattern.svelte +331 -0
- package/dist/svelte/source/components/Chevron.svelte +330 -0
- package/dist/svelte/source/components/ColorWheel.svelte +327 -0
- package/dist/svelte/source/components/FractalNoise.svelte +329 -0
- package/dist/svelte/source/components/Marble.svelte +328 -0
- package/dist/svelte/source/components/SunBurst.svelte +329 -0
- package/dist/svelte/source/components/WorleyNoise.svelte +332 -0
- package/dist/svelte/source/engine/Preview.svelte +16 -0
- package/dist/svelte/source/index.js +8 -0
- package/dist/svelte/utils/generatePresetCode.js +116 -0
- package/dist/vue/BarShift.js +3 -0
- package/dist/vue/BarShift.vue_vue_type_script_setup_true_lang.js +218 -0
- package/dist/vue/BrickPattern.js +3 -0
- package/dist/vue/BrickPattern.vue_vue_type_script_setup_true_lang.js +223 -0
- package/dist/vue/Chevron.js +3 -0
- package/dist/vue/Chevron.vue_vue_type_script_setup_true_lang.js +221 -0
- package/dist/vue/ColorWheel.js +3 -0
- package/dist/vue/ColorWheel.vue_vue_type_script_setup_true_lang.js +220 -0
- package/dist/vue/FractalNoise.js +3 -0
- package/dist/vue/FractalNoise.vue_vue_type_script_setup_true_lang.js +221 -0
- package/dist/vue/Marble.js +3 -0
- package/dist/vue/Marble.vue_vue_type_script_setup_true_lang.js +220 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +16 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +28 -18
- package/dist/vue/SunBurst.js +3 -0
- package/dist/vue/SunBurst.vue_vue_type_script_setup_true_lang.js +220 -0
- package/dist/vue/WorleyNoise.js +3 -0
- package/dist/vue/WorleyNoise.vue_vue_type_script_setup_true_lang.js +226 -0
- package/dist/vue/components/BarShift.vue.d.ts +57 -0
- package/dist/vue/components/BarShift.vue.d.ts.map +1 -0
- package/dist/vue/components/BrickPattern.vue.d.ts +60 -0
- package/dist/vue/components/BrickPattern.vue.d.ts.map +1 -0
- package/dist/vue/components/Chevron.vue.d.ts +59 -0
- package/dist/vue/components/Chevron.vue.d.ts.map +1 -0
- package/dist/vue/components/ColorWheel.vue.d.ts +56 -0
- package/dist/vue/components/ColorWheel.vue.d.ts.map +1 -0
- package/dist/vue/components/FractalNoise.vue.d.ts +58 -0
- package/dist/vue/components/FractalNoise.vue.d.ts.map +1 -0
- package/dist/vue/components/Marble.vue.d.ts +57 -0
- package/dist/vue/components/Marble.vue.d.ts.map +1 -0
- package/dist/vue/components/SunBurst.vue.d.ts +58 -0
- package/dist/vue/components/SunBurst.vue.d.ts.map +1 -0
- package/dist/vue/components/WorleyNoise.vue.d.ts +61 -0
- package/dist/vue/components/WorleyNoise.vue.d.ts.map +1 -0
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- package/dist/vue/index.d.ts +8 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +9 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +116 -0
- package/package.json +150 -1
- package/dist/core/shaderRegistry-BPtUQU-N.js +0 -254
- /package/dist/core/{Beam-mvF5Ri7_.js → Beam-B3BX08lR.js} +0 -0
- /package/dist/core/{Blob-CLHx5s6k.js → Blob-B7IFHhVB.js} +0 -0
- /package/dist/core/{BrightnessContrast-CJTOpQCn.js → BrightnessContrast-GppIqtkO.js} +0 -0
- /package/dist/core/{Bulge-wflTcWfI.js → Bulge-DMOATSEs.js} +0 -0
- /package/dist/core/{CRTScreen-CTwXU-NX.js → CRTScreen-corekL_R.js} +0 -0
- /package/dist/core/{Checkerboard-Db7Rb57F.js → Checkerboard-BVBGTvd-.js} +0 -0
- /package/dist/core/{ChromaFlow-DbiVz3hF.js → ChromaFlow-C0guw_LP.js} +0 -0
- /package/dist/core/{ChromaticAberration-Bg_I4XF-.js → ChromaticAberration-vygkvgz-.js} +0 -0
- /package/dist/core/{Circle-Bfi2e0Vm.js → Circle-BycqVCMt.js} +0 -0
- /package/dist/core/{ConcentricSpin-bAFd5_WI.js → ConcentricSpin-CO3Kx1I1.js} +0 -0
- /package/dist/core/{ConicGradient-Bcw4_25S.js → ConicGradient-DRvVwiSj.js} +0 -0
- /package/dist/core/{ContourLines-CcQWPKLx.js → ContourLines-s4waN3uU.js} +0 -0
- /package/dist/core/{CursorRipples-CsYAXG2E.js → CursorRipples-CLP7Sinv.js} +0 -0
- /package/dist/core/{CursorTrail-CUtEP_-P.js → CursorTrail-CshoSM5Y.js} +0 -0
- /package/dist/core/{DOMTexture-D-RkeyMs.js → DOMTexture-Ec0k6AnK.js} +0 -0
- /package/dist/core/{DiamondGradient-3b93bdrv.js → DiamondGradient-D6eyjZOn.js} +0 -0
- /package/dist/core/{DiffuseBlur-61Vuq571.js → DiffuseBlur-BjvXHmJx.js} +0 -0
- /package/dist/core/{Dither-Cv0Uci60.js → Dither-z6s-TFg7.js} +0 -0
- /package/dist/core/{DotGrid-C88Sux6D.js → DotGrid-BxAAGO4F.js} +0 -0
- /package/dist/core/{DropShadow-EZyCC_97.js → DropShadow-CR3cecIQ.js} +0 -0
- /package/dist/core/{Duotone-D4ads1T9.js → Duotone-PwTfBBtM.js} +0 -0
- /package/dist/core/{FallingLines-CQBvwLqn.js → FallingLines-DqIZ8wTH.js} +0 -0
- /package/dist/core/{FilmGrain-DSJiMtEp.js → FilmGrain-Dbw02Jz9.js} +0 -0
- /package/dist/core/{FloatingParticles-BAvsQDhF.js → FloatingParticles-C4sLwGyT.js} +0 -0
- /package/dist/core/{FlowField-D2xJ0Xr4.js → FlowField-D3CAHBBG.js} +0 -0
- /package/dist/core/{FlowingGradient-DVDnNpGd.js → FlowingGradient-BRQ_K-k3.js} +0 -0
- /package/dist/core/{FlutedGlass-trmBFfQr.js → FlutedGlass-CyFWN_SM.js} +0 -0
- /package/dist/core/{Fog-DrsxPyih.js → Fog-CLGVVVeo.js} +0 -0
- /package/dist/core/{Form3D-D1TtCjk8.js → Form3D-8tPyUgh4.js} +0 -0
- /package/dist/core/{GlassTiles-CMx4NyO-.js → GlassTiles-CXJHjEBe.js} +0 -0
- /package/dist/core/{Glitch-BdygvJKe.js → Glitch-Bg9W-KNm.js} +0 -0
- /package/dist/core/{Godrays-Mvz7ha2E.js → Godrays-DHXKsw5B.js} +0 -0
- /package/dist/core/{Grayscale-ChaVI3AW.js → Grayscale-DgXoUcmg.js} +0 -0
- /package/dist/core/{Grid-CsD21Eqg.js → Grid-DwyhjFAT.js} +0 -0
- /package/dist/core/{GridDistortion-BcDqBh9i.js → GridDistortion-DJ8S-96Y.js} +0 -0
- /package/dist/core/{Group-BqVJ4S7i.js → Group-DmgNNlDd.js} +0 -0
- /package/dist/core/{Halftone-3ImN5uQi.js → Halftone-x9boWkFW.js} +0 -0
- /package/dist/core/{HexGrid-BWwIHYEg.js → HexGrid-BUsgyF8P.js} +0 -0
- /package/dist/core/{HueShift-C1RxETwN.js → HueShift-D3_5D7jx.js} +0 -0
- /package/dist/core/{ImageTexture-DXhgMEOT.js → ImageTexture-6ZzBt79u.js} +0 -0
- /package/dist/core/{Invert-D3tc2UGp.js → Invert-kXxY97QJ.js} +0 -0
- /package/dist/core/{Kaleidoscope-D1HmcoOv.js → Kaleidoscope-D4jRcZCt.js} +0 -0
- /package/dist/core/{LensFlare-Be-Z9whi.js → LensFlare-D7vypE2Q.js} +0 -0
- /package/dist/core/{LinearBlur-xrHtMmWp.js → LinearBlur-2hspd2YP.js} +0 -0
- /package/dist/core/{LinearGradient-BiIad_hA.js → LinearGradient-glCc9IaB.js} +0 -0
- /package/dist/core/{Liquify-DkTxZZFW.js → Liquify-uZjs0wcu.js} +0 -0
- /package/dist/core/{Mirror-BDTE51kP.js → Mirror-Dv5fOEp6.js} +0 -0
- /package/dist/core/{MultiPointGradient-Bd-EGOI8.js → MultiPointGradient-Dvt1GUiv.js} +0 -0
- /package/dist/core/{Paper-BmeUPAFe.js → Paper-DNP2-hPM.js} +0 -0
- /package/dist/core/{Perspective-CqweSeFv.js → Perspective-CAIchX9p.js} +0 -0
- /package/dist/core/{Pixelate-DqZcUKFK.js → Pixelate-BbT3Rrf2.js} +0 -0
- /package/dist/core/{Plasma-DqKLBDYd.js → Plasma-D9rhkH2y.js} +0 -0
- /package/dist/core/{PolarCoordinates-CKT4CLT7.js → PolarCoordinates-2RBCk-fo.js} +0 -0
- /package/dist/core/{Posterize-CxYemXTn.js → Posterize-DNxTRgvF.js} +0 -0
- /package/dist/core/{RadialGradient-Dj3-DdO7.js → RadialGradient-CQIctl__.js} +0 -0
- /package/dist/core/{RectangularCoordinates-DxeLJ2nt.js → RectangularCoordinates-F2VzXmal.js} +0 -0
- /package/dist/core/{Ripples-CXeVzwUd.js → Ripples-B4H0VoZb.js} +0 -0
- /package/dist/core/{Saturation-n-aXJS81.js → Saturation-6FlxHXSi.js} +0 -0
- /package/dist/core/{Sharpness-7tm7b-Bu.js → Sharpness-C4cJlBuh.js} +0 -0
- /package/dist/core/{Shatter-CDza7dSw.js → Shatter-CnkycTRD.js} +0 -0
- /package/dist/core/{SimplexNoise-HQTocBLm.js → SimplexNoise-BnRaoxON.js} +0 -0
- /package/dist/core/{SineWave-S6nK8ZHR.js → SineWave-CZ4Fanvr.js} +0 -0
- /package/dist/core/{Smoke-DjlArYQW.js → Smoke-CXPjGG-b.js} +0 -0
- /package/dist/core/{Solarize-gNMmd47z.js → Solarize-CynVlxjT.js} +0 -0
- /package/dist/core/{SolidColor-a8bCIksn.js → SolidColor-dCAOGC_P.js} +0 -0
- /package/dist/core/{Spherize-BHmD2ajL.js → Spherize-C77QGVWj.js} +0 -0
- /package/dist/core/{Spiral-Bjsi8BMH.js → Spiral-eN65wa6O.js} +0 -0
- /package/dist/core/{Strands-C9fEwaiR.js → Strands-DnWJDGiO.js} +0 -0
- /package/dist/core/{Stretch-Cvht8B0L.js → Stretch-B5XGF1bF.js} +0 -0
- /package/dist/core/{Stripes-ChVSAeCO.js → Stripes-CNXJpFyr.js} +0 -0
- /package/dist/core/{StudioBackground-B8hilROB.js → StudioBackground-DtiE2mCf.js} +0 -0
- /package/dist/core/{Swirl-DZTPLx-W.js → Swirl-BV6pN94G.js} +0 -0
- /package/dist/core/{Tint-P7KwJAU5.js → Tint-CJ8FQdzA.js} +0 -0
- /package/dist/core/{Tritone-_9VR2bhu.js → Tritone-D_QvxjGc.js} +0 -0
- /package/dist/core/{Truchet-CbL5nYMj.js → Truchet-BJeZS_JQ.js} +0 -0
- /package/dist/core/{Twirl-C_97m32v.js → Twirl-8ayqS0n8.js} +0 -0
- /package/dist/core/{VHS-DbNjgUEX.js → VHS-Gbec95K_.js} +0 -0
- /package/dist/core/{Vibrance-IDvmP1Xw.js → Vibrance-COKHmh8r.js} +0 -0
- /package/dist/core/{Vignette-DmYVHciL.js → Vignette-Y_2yono-.js} +0 -0
- /package/dist/core/{Voronoi-kngFpTNB.js → Voronoi-DQ_f6k5D.js} +0 -0
- /package/dist/core/{WaveDistortion-DM-f_XCw.js → WaveDistortion-R5FfwKQN.js} +0 -0
- /package/dist/core/{Weave-DO0m0Dsh.js → Weave-DJ4s3Gwc.js} +0 -0
- /package/dist/core/{ZoomBlur-DLaH226M.js → ZoomBlur-DWFQVFMK.js} +0 -0
- /package/dist/core/{browser-CsOpQ0L_.js → browser-BamVDhaZ.js} +0 -0
- /package/dist/core/{computeBlur-DCRhuYEi.js → computeBlur-CprKe0xa.js} +0 -0
- /package/dist/core/{sdf-DyC2H_qS.js → sdf-D_EAGXhN.js} +0 -0
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CJcUeZIC.js";
|
|
2
|
+
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
+
import { t as createAnimatedTime } from "./time-DUqSFWvT.js";
|
|
4
|
+
import { Fn, abs, clamp, cos, dot, float, floor, fract, lengthSq, max, min, mix, screenUV, sin, sqrt, vec2, viewportSize } from "three/tsl";
|
|
5
|
+
var TAU = float(Math.PI * 2);
|
|
6
|
+
var HASH_AMP = float(.15);
|
|
7
|
+
var CELL_CENTER = float(.5);
|
|
8
|
+
var CELL_MIN = float(.05);
|
|
9
|
+
var CELL_MAX = float(.95);
|
|
10
|
+
var ANIM_PHASE_SCALE = float(.7);
|
|
11
|
+
var SENTINEL = float(10);
|
|
12
|
+
var worleyHash = Fn(([p]) => {
|
|
13
|
+
return fract(sin(vec2(dot(p, vec2(127.1, 311.7)), dot(p, vec2(269.5, 183.3)))).mul(float(43758.5453)));
|
|
14
|
+
});
|
|
15
|
+
var transformMode = (value) => {
|
|
16
|
+
return {
|
|
17
|
+
f1: 0,
|
|
18
|
+
f2: 1,
|
|
19
|
+
f2MinusF1: 2,
|
|
20
|
+
f1PlusF2: 3,
|
|
21
|
+
f1TimesF2: 4
|
|
22
|
+
}[value] ?? 0;
|
|
23
|
+
};
|
|
24
|
+
var transformDistance = (value) => {
|
|
25
|
+
return {
|
|
26
|
+
euclidean: 0,
|
|
27
|
+
manhattan: 1,
|
|
28
|
+
chebyshev: 2
|
|
29
|
+
}[value] ?? 0;
|
|
30
|
+
};
|
|
31
|
+
const componentDefinition = {
|
|
32
|
+
name: "WorleyNoise",
|
|
33
|
+
category: "Textures",
|
|
34
|
+
description: "Cellular noise field — distance-based, with selectable feature combinations and fractal octaves",
|
|
35
|
+
props: {
|
|
36
|
+
colorA: {
|
|
37
|
+
default: "#ffffff",
|
|
38
|
+
transform: transformColor,
|
|
39
|
+
description: "Color where the noise field is low (typically near cell centers)",
|
|
40
|
+
ui: {
|
|
41
|
+
type: "color",
|
|
42
|
+
label: "Color A (Low)",
|
|
43
|
+
group: "Colors"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
colorB: {
|
|
47
|
+
default: "#000000",
|
|
48
|
+
transform: transformColor,
|
|
49
|
+
description: "Color where the noise field is high (typically near cell boundaries)",
|
|
50
|
+
ui: {
|
|
51
|
+
type: "color",
|
|
52
|
+
label: "Color B (High)",
|
|
53
|
+
group: "Colors"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
colorSpace: {
|
|
57
|
+
default: "linear",
|
|
58
|
+
transform: transformColorSpace,
|
|
59
|
+
compileTime: true,
|
|
60
|
+
description: "Color space for color interpolation",
|
|
61
|
+
ui: {
|
|
62
|
+
type: "select",
|
|
63
|
+
options: colorSpaceOptions,
|
|
64
|
+
label: "Color Space",
|
|
65
|
+
group: "Colors"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
scale: {
|
|
69
|
+
default: 6,
|
|
70
|
+
description: "Number of cells across the canvas at the base octave",
|
|
71
|
+
ui: {
|
|
72
|
+
type: ["range", "map"],
|
|
73
|
+
min: 1,
|
|
74
|
+
max: 30,
|
|
75
|
+
step: .5,
|
|
76
|
+
label: "Scale",
|
|
77
|
+
group: "Effect"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
mode: {
|
|
81
|
+
default: "f1",
|
|
82
|
+
transform: transformMode,
|
|
83
|
+
compileTime: true,
|
|
84
|
+
description: "Field type. F1 = distance to nearest point. F2 = distance to second-nearest. F2 − F1 emphasises cell boundaries.",
|
|
85
|
+
ui: {
|
|
86
|
+
type: "select",
|
|
87
|
+
options: [
|
|
88
|
+
{
|
|
89
|
+
label: "F1 (Cells)",
|
|
90
|
+
value: "f1"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: "F2 (Wider Cells)",
|
|
94
|
+
value: "f2"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
label: "F2 − F1 (Edges)",
|
|
98
|
+
value: "f2MinusF1"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
label: "F1 + F2",
|
|
102
|
+
value: "f1PlusF2"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
label: "F1 × F2",
|
|
106
|
+
value: "f1TimesF2"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
label: "Mode",
|
|
110
|
+
group: "Effect"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
distance: {
|
|
114
|
+
default: "euclidean",
|
|
115
|
+
transform: transformDistance,
|
|
116
|
+
compileTime: true,
|
|
117
|
+
description: "Distance metric. Euclidean = round cells. Manhattan = diamond. Chebyshev = square.",
|
|
118
|
+
ui: {
|
|
119
|
+
type: "select",
|
|
120
|
+
options: [
|
|
121
|
+
{
|
|
122
|
+
label: "Euclidean",
|
|
123
|
+
value: "euclidean"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
label: "Manhattan",
|
|
127
|
+
value: "manhattan"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
label: "Chebyshev",
|
|
131
|
+
value: "chebyshev"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
label: "Distance",
|
|
135
|
+
group: "Effect"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
octaves: {
|
|
139
|
+
default: 1,
|
|
140
|
+
compileTime: true,
|
|
141
|
+
description: "Number of fractal layers stacked at progressively finer scales",
|
|
142
|
+
ui: {
|
|
143
|
+
type: "range",
|
|
144
|
+
min: 1,
|
|
145
|
+
max: 4,
|
|
146
|
+
step: 1,
|
|
147
|
+
label: "Octaves",
|
|
148
|
+
group: "Effect"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
lacunarity: {
|
|
152
|
+
default: 2,
|
|
153
|
+
description: "Scale multiplier between octaves (only active when Octaves > 1)",
|
|
154
|
+
ui: {
|
|
155
|
+
type: ["range", "map"],
|
|
156
|
+
min: 1.5,
|
|
157
|
+
max: 4,
|
|
158
|
+
step: .1,
|
|
159
|
+
label: "Lacunarity",
|
|
160
|
+
group: "Effect",
|
|
161
|
+
condition: { octaves: [
|
|
162
|
+
2,
|
|
163
|
+
3,
|
|
164
|
+
4
|
|
165
|
+
] }
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
persistence: {
|
|
169
|
+
default: .5,
|
|
170
|
+
description: "Amplitude multiplier between octaves (only active when Octaves > 1)",
|
|
171
|
+
ui: {
|
|
172
|
+
type: ["range", "map"],
|
|
173
|
+
min: 0,
|
|
174
|
+
max: 1,
|
|
175
|
+
step: .05,
|
|
176
|
+
label: "Persistence",
|
|
177
|
+
group: "Effect",
|
|
178
|
+
condition: { octaves: [
|
|
179
|
+
2,
|
|
180
|
+
3,
|
|
181
|
+
4
|
|
182
|
+
] }
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
jitter: {
|
|
186
|
+
default: 1,
|
|
187
|
+
description: "How much each cell's point drifts inside its cell. 0 = rigid grid (banded look), 1 = fully random.",
|
|
188
|
+
ui: {
|
|
189
|
+
type: ["range", "map"],
|
|
190
|
+
min: 0,
|
|
191
|
+
max: 1,
|
|
192
|
+
step: .05,
|
|
193
|
+
label: "Jitter",
|
|
194
|
+
group: "Effect"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
contrast: {
|
|
198
|
+
default: 1,
|
|
199
|
+
description: "Steepness of the gradient between low and high regions",
|
|
200
|
+
ui: {
|
|
201
|
+
type: ["range", "map"],
|
|
202
|
+
min: .25,
|
|
203
|
+
max: 4,
|
|
204
|
+
step: .05,
|
|
205
|
+
label: "Contrast",
|
|
206
|
+
group: "Effect"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
balance: {
|
|
210
|
+
default: 0,
|
|
211
|
+
description: "Shifts the gradient midpoint. Negative pulls the field toward Color A, positive toward Color B.",
|
|
212
|
+
ui: {
|
|
213
|
+
type: ["range", "map"],
|
|
214
|
+
min: -1,
|
|
215
|
+
max: 1,
|
|
216
|
+
step: .05,
|
|
217
|
+
label: "Balance",
|
|
218
|
+
group: "Effect"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
seed: {
|
|
222
|
+
default: 0,
|
|
223
|
+
description: "Random seed — shifts the cell pattern without changing its overall structure",
|
|
224
|
+
ui: {
|
|
225
|
+
type: ["range", "map"],
|
|
226
|
+
min: 0,
|
|
227
|
+
max: 100,
|
|
228
|
+
step: 1,
|
|
229
|
+
label: "Seed",
|
|
230
|
+
group: "Effect"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
speed: {
|
|
234
|
+
default: .5,
|
|
235
|
+
description: "Animation speed — how fast each cell's point drifts",
|
|
236
|
+
ui: {
|
|
237
|
+
type: "range",
|
|
238
|
+
min: 0,
|
|
239
|
+
max: 5,
|
|
240
|
+
step: .1,
|
|
241
|
+
label: "Speed",
|
|
242
|
+
group: "Animation"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
fragmentNode: (params) => {
|
|
247
|
+
const { uniforms } = params;
|
|
248
|
+
const colorA = uniforms.colorA.uniform;
|
|
249
|
+
const colorB = uniforms.colorB.uniform;
|
|
250
|
+
const csMode = uniforms.colorSpace.uniform.value;
|
|
251
|
+
const modeNum = uniforms.mode.uniform.value;
|
|
252
|
+
const distNum = uniforms.distance.uniform.value;
|
|
253
|
+
const octavesNum = Math.max(1, Math.min(4, Math.round(uniforms.octaves.uniform.value)));
|
|
254
|
+
const t = createAnimatedTime(params, uniforms.speed);
|
|
255
|
+
const aspect = viewportSize.x.div(viewportSize.y);
|
|
256
|
+
const baseUV = vec2(screenUV.x.mul(aspect), screenUV.y);
|
|
257
|
+
const scale = uniforms.scale.uniform;
|
|
258
|
+
const seed = uniforms.seed.uniform;
|
|
259
|
+
const jitter = uniforms.jitter.uniform;
|
|
260
|
+
const lacunarity = uniforms.lacunarity.uniform;
|
|
261
|
+
const persistence = uniforms.persistence.uniform;
|
|
262
|
+
let modeScale = 1.5;
|
|
263
|
+
if (modeNum === 1) modeScale = 1;
|
|
264
|
+
else if (modeNum === 2) modeScale = 2.5;
|
|
265
|
+
else if (modeNum === 3) modeScale = .6;
|
|
266
|
+
else if (modeNum === 4) modeScale = 2;
|
|
267
|
+
if (distNum === 1) modeScale *= .7;
|
|
268
|
+
else if (distNum === 2) modeScale *= 1.4;
|
|
269
|
+
const isSquaredEuclidean = distNum === 0;
|
|
270
|
+
const needsD2 = modeNum !== 0;
|
|
271
|
+
const evalOctaveRaw = Fn(([oUV, animT, seedOff]) => {
|
|
272
|
+
const animTSlow = animT.mul(ANIM_PHASE_SCALE);
|
|
273
|
+
const cell = floor(oUV);
|
|
274
|
+
const localUV = fract(oUV);
|
|
275
|
+
let d1 = SENTINEL;
|
|
276
|
+
let d2 = SENTINEL;
|
|
277
|
+
for (let ny = -1; ny <= 1; ny++) for (let nx = -1; nx <= 1; nx++) {
|
|
278
|
+
const offset = vec2(float(nx), float(ny));
|
|
279
|
+
const h = worleyHash(cell.add(offset).add(seedOff));
|
|
280
|
+
const px = h.x.add(sin(animT.add(h.x.mul(TAU))).mul(HASH_AMP));
|
|
281
|
+
const py = h.y.add(cos(animTSlow.add(h.y.mul(TAU))).mul(HASH_AMP));
|
|
282
|
+
const jx = mix(CELL_CENTER, px.clamp(CELL_MIN, CELL_MAX), jitter);
|
|
283
|
+
const jy = mix(CELL_CENTER, py.clamp(CELL_MIN, CELL_MAX), jitter);
|
|
284
|
+
const point = offset.add(vec2(jx, jy));
|
|
285
|
+
const delta = localUV.sub(point);
|
|
286
|
+
let d;
|
|
287
|
+
if (distNum === 1) d = abs(delta.x).add(abs(delta.y));
|
|
288
|
+
else if (distNum === 2) d = max(abs(delta.x), abs(delta.y));
|
|
289
|
+
else d = lengthSq(delta);
|
|
290
|
+
if (needsD2) {
|
|
291
|
+
d2 = min(d2, max(d, d1));
|
|
292
|
+
d1 = min(d1, d);
|
|
293
|
+
} else d1 = min(d1, d);
|
|
294
|
+
}
|
|
295
|
+
let raw;
|
|
296
|
+
if (isSquaredEuclidean) if (modeNum === 1) raw = sqrt(d2);
|
|
297
|
+
else if (modeNum === 2) raw = sqrt(d2).sub(sqrt(d1));
|
|
298
|
+
else if (modeNum === 3) raw = sqrt(d1).add(sqrt(d2));
|
|
299
|
+
else if (modeNum === 4) raw = sqrt(d1.mul(d2));
|
|
300
|
+
else raw = sqrt(d1);
|
|
301
|
+
else if (modeNum === 1) raw = d2;
|
|
302
|
+
else if (modeNum === 2) raw = d2.sub(d1);
|
|
303
|
+
else if (modeNum === 3) raw = d1.add(d2);
|
|
304
|
+
else if (modeNum === 4) raw = d1.mul(d2);
|
|
305
|
+
else raw = d1;
|
|
306
|
+
return raw;
|
|
307
|
+
});
|
|
308
|
+
let acc = float(0);
|
|
309
|
+
let totalAmp = float(0);
|
|
310
|
+
let amp = float(1);
|
|
311
|
+
let freq = scale;
|
|
312
|
+
for (let o = 0; o < octavesNum; o++) {
|
|
313
|
+
const raw = evalOctaveRaw(baseUV.mul(freq), t.add(float(o * 17)), seed.add(float(o * 31)));
|
|
314
|
+
acc = acc.add(raw.mul(amp));
|
|
315
|
+
totalAmp = totalAmp.add(amp);
|
|
316
|
+
amp = amp.mul(persistence);
|
|
317
|
+
freq = freq.mul(lacunarity);
|
|
318
|
+
}
|
|
319
|
+
return mixColors(colorA, colorB, clamp(acc.div(totalAmp.max(float(1e-4))).mul(float(modeScale)).mul(float(2)).sub(float(1)).mul(uniforms.contrast.uniform).add(uniforms.balance.uniform).mul(float(.5)).add(float(.5)), float(0), float(1)), csMode);
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
var WorleyNoise_default = componentDefinition;
|
|
323
|
+
export { componentDefinition as n, WorleyNoise_default as t };
|
package/dist/core/index.js
CHANGED
|
@@ -6,115 +6,123 @@ import "./Ascii-BwSMmD6Z.js";
|
|
|
6
6
|
import "./colorMixing-BPpDnR5I.js";
|
|
7
7
|
import { t as createAnimatedTime } from "./time-DUqSFWvT.js";
|
|
8
8
|
import "./Aurora-D5Pjk4ve.js";
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
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 "./
|
|
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 "./
|
|
114
|
-
import "./
|
|
115
|
-
import "./
|
|
116
|
-
import "./
|
|
117
|
-
import
|
|
9
|
+
import "./BarShift-2XBhva1A.js";
|
|
10
|
+
import "./Beam-B3BX08lR.js";
|
|
11
|
+
import "./Blob-B7IFHhVB.js";
|
|
12
|
+
import "./computeBlur-CprKe0xa.js";
|
|
13
|
+
import "./Blur-5_t3tR_g.js";
|
|
14
|
+
import "./BrickPattern-BfTsjp4I.js";
|
|
15
|
+
import "./BrightnessContrast-GppIqtkO.js";
|
|
16
|
+
import "./Bulge-DMOATSEs.js";
|
|
17
|
+
import "./ChannelBlur-DWgS3nhn.js";
|
|
18
|
+
import "./Checkerboard-BVBGTvd-.js";
|
|
19
|
+
import "./Chevron-BKZjAXR_.js";
|
|
20
|
+
import "./ChromaFlow-C0guw_LP.js";
|
|
21
|
+
import "./ChromaticAberration-vygkvgz-.js";
|
|
22
|
+
import "./Circle-BycqVCMt.js";
|
|
23
|
+
import "./ColorWheel-BQUKQPM-.js";
|
|
24
|
+
import "./ConcentricSpin-CO3Kx1I1.js";
|
|
25
|
+
import "./ConicGradient-DRvVwiSj.js";
|
|
26
|
+
import "./ContourLines-s4waN3uU.js";
|
|
27
|
+
import "./sdf-D_EAGXhN.js";
|
|
28
|
+
import "./Crescent-ppz7W7eM.js";
|
|
29
|
+
import "./Cross-BfNOtQ6s.js";
|
|
30
|
+
import "./CRTScreen-corekL_R.js";
|
|
31
|
+
import "./Crystal-QsQoy8fZ.js";
|
|
32
|
+
import "./CursorRipples-CLP7Sinv.js";
|
|
33
|
+
import "./CursorTrail-CshoSM5Y.js";
|
|
34
|
+
import "./DiamondGradient-D6eyjZOn.js";
|
|
35
|
+
import "./DiffuseBlur-BjvXHmJx.js";
|
|
36
|
+
import "./Dither-z6s-TFg7.js";
|
|
37
|
+
import "./DOMTexture-Ec0k6AnK.js";
|
|
38
|
+
import "./DotGrid-BxAAGO4F.js";
|
|
39
|
+
import "./DropShadow-CR3cecIQ.js";
|
|
40
|
+
import "./Duotone-PwTfBBtM.js";
|
|
41
|
+
import "./Ellipse-sWhNvW9-.js";
|
|
42
|
+
import "./Emboss-DGaubb9x.js";
|
|
43
|
+
import "./FallingLines-DqIZ8wTH.js";
|
|
44
|
+
import "./FilmGrain-Dbw02Jz9.js";
|
|
45
|
+
import "./FloatingParticles-C4sLwGyT.js";
|
|
46
|
+
import "./Flower-BbRNrXIa.js";
|
|
47
|
+
import "./FlowField-D3CAHBBG.js";
|
|
48
|
+
import "./FlowingGradient-BRQ_K-k3.js";
|
|
49
|
+
import "./FlutedGlass-CyFWN_SM.js";
|
|
50
|
+
import "./Fog-CLGVVVeo.js";
|
|
51
|
+
import "./Form3D-8tPyUgh4.js";
|
|
52
|
+
import "./FractalNoise-Ccufnbw6.js";
|
|
53
|
+
import "./Glass-CXT1jdLw.js";
|
|
54
|
+
import "./GlassTiles-CXJHjEBe.js";
|
|
55
|
+
import "./Glitch-Bg9W-KNm.js";
|
|
56
|
+
import "./Glow-5PP4-rM9.js";
|
|
57
|
+
import "./Godrays-DHXKsw5B.js";
|
|
58
|
+
import "./Grayscale-DgXoUcmg.js";
|
|
59
|
+
import "./Grid-DwyhjFAT.js";
|
|
60
|
+
import "./GridDistortion-DJ8S-96Y.js";
|
|
61
|
+
import "./Group-DmgNNlDd.js";
|
|
62
|
+
import "./Halftone-x9boWkFW.js";
|
|
63
|
+
import "./HexGrid-BUsgyF8P.js";
|
|
64
|
+
import "./HueShift-D3_5D7jx.js";
|
|
65
|
+
import "./ImageTexture-6ZzBt79u.js";
|
|
66
|
+
import "./Invert-kXxY97QJ.js";
|
|
67
|
+
import "./Kaleidoscope-D4jRcZCt.js";
|
|
68
|
+
import "./LensFlare-D7vypE2Q.js";
|
|
69
|
+
import "./LinearBlur-2hspd2YP.js";
|
|
70
|
+
import "./LinearGradient-glCc9IaB.js";
|
|
71
|
+
import "./Liquify-uZjs0wcu.js";
|
|
72
|
+
import "./Marble-DkHLcqFD.js";
|
|
73
|
+
import "./Mirror-Dv5fOEp6.js";
|
|
74
|
+
import "./MultiPointGradient-Dvt1GUiv.js";
|
|
75
|
+
import "./Neon-DQDB7hAE.js";
|
|
76
|
+
import "./Paper-DNP2-hPM.js";
|
|
77
|
+
import "./Perspective-CAIchX9p.js";
|
|
78
|
+
import "./Pixelate-BbT3Rrf2.js";
|
|
79
|
+
import "./Plasma-D9rhkH2y.js";
|
|
80
|
+
import "./PolarCoordinates-2RBCk-fo.js";
|
|
81
|
+
import "./Polygon-C6_siOs0.js";
|
|
82
|
+
import "./Posterize-DNxTRgvF.js";
|
|
83
|
+
import "./ProgressiveBlur-BJwJ5mE0.js";
|
|
84
|
+
import "./RadialGradient-CQIctl__.js";
|
|
85
|
+
import "./RectangularCoordinates-F2VzXmal.js";
|
|
86
|
+
import "./Ring-CtnDtTY8.js";
|
|
87
|
+
import "./Ripples-B4H0VoZb.js";
|
|
88
|
+
import "./RoundedRect-tnt7Jr5b.js";
|
|
89
|
+
import "./Saturation-6FlxHXSi.js";
|
|
90
|
+
import "./Sharpness-C4cJlBuh.js";
|
|
91
|
+
import "./Shatter-CnkycTRD.js";
|
|
92
|
+
import "./SimplexNoise-BnRaoxON.js";
|
|
93
|
+
import "./SineWave-CZ4Fanvr.js";
|
|
94
|
+
import "./Smoke-CXPjGG-b.js";
|
|
95
|
+
import "./SmokeFill-DzEtYeKN.js";
|
|
96
|
+
import "./Solarize-CynVlxjT.js";
|
|
97
|
+
import "./SolidColor-dCAOGC_P.js";
|
|
98
|
+
import "./Spherize-C77QGVWj.js";
|
|
99
|
+
import "./Spiral-eN65wa6O.js";
|
|
100
|
+
import "./Star-0Flymgm9.js";
|
|
101
|
+
import "./Strands-DnWJDGiO.js";
|
|
102
|
+
import "./Stretch-B5XGF1bF.js";
|
|
103
|
+
import "./Stripes-CNXJpFyr.js";
|
|
104
|
+
import "./StudioBackground-DtiE2mCf.js";
|
|
105
|
+
import "./SunBurst-D9X1-buZ.js";
|
|
106
|
+
import "./Swirl-BV6pN94G.js";
|
|
107
|
+
import "./TiltShift-r4qzPb2k.js";
|
|
108
|
+
import "./Tint-CJ8FQdzA.js";
|
|
109
|
+
import "./Trapezoid-JmybJMUr.js";
|
|
110
|
+
import "./Tritone-D_QvxjGc.js";
|
|
111
|
+
import "./Truchet-BJeZS_JQ.js";
|
|
112
|
+
import "./Twirl-8ayqS0n8.js";
|
|
113
|
+
import "./Vesica-D7iqgpJg.js";
|
|
114
|
+
import "./VHS-Gbec95K_.js";
|
|
115
|
+
import "./Vibrance-COKHmh8r.js";
|
|
116
|
+
import "./browser-BamVDhaZ.js";
|
|
117
|
+
import "./VideoTexture-D9XxE1Hw.js";
|
|
118
|
+
import "./Vignette-Y_2yono-.js";
|
|
119
|
+
import "./Voronoi-DQ_f6k5D.js";
|
|
120
|
+
import "./WaveDistortion-R5FfwKQN.js";
|
|
121
|
+
import "./Weave-DJ4s3Gwc.js";
|
|
122
|
+
import "./WebcamTexture-9Td8qQWm.js";
|
|
123
|
+
import "./WorleyNoise-CWytDfGH.js";
|
|
124
|
+
import "./ZoomBlur-DWFQVFMK.js";
|
|
125
|
+
import { t as getAllShaders } from "./shaderRegistry-CO5SCxc6.js";
|
|
118
126
|
import { Material, Mesh, MeshBasicNodeMaterial, OrthographicCamera, PlaneGeometry, SRGBColorSpace, Scene, Vector2, WebGPURenderer } from "three/webgpu";
|
|
119
127
|
import { WebGLRenderer } from "three";
|
|
120
128
|
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";
|