shaders 2.2.20 → 2.2.21
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/react/codegen.d.ts +1 -0
- package/dist/react/components/AngularBlur.d.ts +31 -0
- package/dist/react/components/AngularBlur.d.ts.map +1 -0
- package/dist/react/components/Ascii.d.ts +31 -0
- package/dist/react/components/Ascii.d.ts.map +1 -0
- package/dist/react/components/Blob.d.ts +31 -0
- package/dist/react/components/Blob.d.ts.map +1 -0
- package/dist/react/components/Blur.d.ts +31 -0
- package/dist/react/components/Blur.d.ts.map +1 -0
- package/dist/react/components/Bulge.d.ts +31 -0
- package/dist/react/components/Bulge.d.ts.map +1 -0
- package/dist/react/components/CRTScreen.d.ts +31 -0
- package/dist/react/components/CRTScreen.d.ts.map +1 -0
- package/dist/react/components/ChannelBlur.d.ts +31 -0
- package/dist/react/components/ChannelBlur.d.ts.map +1 -0
- package/dist/react/components/Checkerboard.d.ts +31 -0
- package/dist/react/components/Checkerboard.d.ts.map +1 -0
- package/dist/react/components/ChromaFlow.d.ts +31 -0
- package/dist/react/components/ChromaFlow.d.ts.map +1 -0
- package/dist/react/components/ChromaticAberration.d.ts +31 -0
- package/dist/react/components/ChromaticAberration.d.ts.map +1 -0
- package/dist/react/components/Circle.d.ts +31 -0
- package/dist/react/components/Circle.d.ts.map +1 -0
- package/dist/react/components/CursorTrail.d.ts +31 -0
- package/dist/react/components/CursorTrail.d.ts.map +1 -0
- package/dist/react/components/DiffuseBlur.d.ts +31 -0
- package/dist/react/components/DiffuseBlur.d.ts.map +1 -0
- package/dist/react/components/Dither.d.ts +31 -0
- package/dist/react/components/Dither.d.ts.map +1 -0
- package/dist/react/components/DotGrid.d.ts +31 -0
- package/dist/react/components/DotGrid.d.ts.map +1 -0
- package/dist/react/components/Duotone.d.ts +31 -0
- package/dist/react/components/Duotone.d.ts.map +1 -0
- package/dist/react/components/FilmGrain.d.ts +31 -0
- package/dist/react/components/FilmGrain.d.ts.map +1 -0
- package/dist/react/components/FloatingParticles.d.ts +31 -0
- package/dist/react/components/FloatingParticles.d.ts.map +1 -0
- package/dist/react/components/GlassTiles.d.ts +31 -0
- package/dist/react/components/GlassTiles.d.ts.map +1 -0
- package/dist/react/components/Glow.d.ts +31 -0
- package/dist/react/components/Glow.d.ts.map +1 -0
- package/dist/react/components/Godrays.d.ts +31 -0
- package/dist/react/components/Godrays.d.ts.map +1 -0
- package/dist/react/components/Grayscale.d.ts +31 -0
- package/dist/react/components/Grayscale.d.ts.map +1 -0
- package/dist/react/components/Grid.d.ts +31 -0
- package/dist/react/components/Grid.d.ts.map +1 -0
- package/dist/react/components/GridDistortion.d.ts +31 -0
- package/dist/react/components/GridDistortion.d.ts.map +1 -0
- package/dist/react/components/Group.d.ts +31 -0
- package/dist/react/components/Group.d.ts.map +1 -0
- package/dist/react/components/Halftone.d.ts +31 -0
- package/dist/react/components/Halftone.d.ts.map +1 -0
- package/dist/react/components/HueShift.d.ts +31 -0
- package/dist/react/components/HueShift.d.ts.map +1 -0
- package/dist/react/components/ImageTexture.d.ts +31 -0
- package/dist/react/components/ImageTexture.d.ts.map +1 -0
- package/dist/react/components/Invert.d.ts +31 -0
- package/dist/react/components/Invert.d.ts.map +1 -0
- package/dist/react/components/LinearBlur.d.ts +31 -0
- package/dist/react/components/LinearBlur.d.ts.map +1 -0
- package/dist/react/components/LinearGradient.d.ts +31 -0
- package/dist/react/components/LinearGradient.d.ts.map +1 -0
- package/dist/react/components/Liquify.d.ts +31 -0
- package/dist/react/components/Liquify.d.ts.map +1 -0
- package/dist/react/components/Pixelate.d.ts +31 -0
- package/dist/react/components/Pixelate.d.ts.map +1 -0
- package/dist/react/components/PolarCoordinates.d.ts +31 -0
- package/dist/react/components/PolarCoordinates.d.ts.map +1 -0
- package/dist/react/components/Posterize.d.ts +31 -0
- package/dist/react/components/Posterize.d.ts.map +1 -0
- package/dist/react/components/ProgressiveBlur.d.ts +31 -0
- package/dist/react/components/ProgressiveBlur.d.ts.map +1 -0
- package/dist/react/components/RadialGradient.d.ts +31 -0
- package/dist/react/components/RadialGradient.d.ts.map +1 -0
- package/dist/react/components/RectangularCoordinates.d.ts +31 -0
- package/dist/react/components/RectangularCoordinates.d.ts.map +1 -0
- package/dist/react/components/Ripples.d.ts +31 -0
- package/dist/react/components/Ripples.d.ts.map +1 -0
- package/dist/react/components/Saturation.d.ts +31 -0
- package/dist/react/components/Saturation.d.ts.map +1 -0
- package/dist/react/components/SimplexNoise.d.ts +31 -0
- package/dist/react/components/SimplexNoise.d.ts.map +1 -0
- package/dist/react/components/SineWave.d.ts +31 -0
- package/dist/react/components/SineWave.d.ts.map +1 -0
- package/dist/react/components/SolidColor.d.ts +31 -0
- package/dist/react/components/SolidColor.d.ts.map +1 -0
- package/dist/react/components/Spherize.d.ts +31 -0
- package/dist/react/components/Spherize.d.ts.map +1 -0
- package/dist/react/components/Spiral.d.ts +31 -0
- package/dist/react/components/Spiral.d.ts.map +1 -0
- package/dist/react/components/Strands.d.ts +31 -0
- package/dist/react/components/Strands.d.ts.map +1 -0
- package/dist/react/components/Stretch.d.ts +31 -0
- package/dist/react/components/Stretch.d.ts.map +1 -0
- package/dist/react/components/Swirl.d.ts +31 -0
- package/dist/react/components/Swirl.d.ts.map +1 -0
- package/dist/react/components/TiltShift.d.ts +31 -0
- package/dist/react/components/TiltShift.d.ts.map +1 -0
- package/dist/react/components/Tritone.d.ts +31 -0
- package/dist/react/components/Tritone.d.ts.map +1 -0
- package/dist/react/components/Twirl.d.ts +31 -0
- package/dist/react/components/Twirl.d.ts.map +1 -0
- package/dist/react/components/Vibrance.d.ts +31 -0
- package/dist/react/components/Vibrance.d.ts.map +1 -0
- package/dist/react/components/WaveDistortion.d.ts +31 -0
- package/dist/react/components/WaveDistortion.d.ts.map +1 -0
- package/dist/react/components/ZoomBlur.d.ts +31 -0
- package/dist/react/components/ZoomBlur.d.ts.map +1 -0
- package/dist/react/generatePresetCode-DaS7jkcT.js +626 -0
- package/dist/react/index.d.ts +57 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/index.js +1 -1
- package/dist/{svelte/generatePresetCode.template.d.ts → react/utils/generatePresetCode.d.ts} +2 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -0
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/solid/codegen.d.ts +1 -0
- package/dist/solid/components/AngularBlur.d.ts +28 -0
- package/dist/solid/components/AngularBlur.d.ts.map +1 -0
- package/dist/solid/components/Ascii.d.ts +28 -0
- package/dist/solid/components/Ascii.d.ts.map +1 -0
- package/dist/solid/components/Blob.d.ts +28 -0
- package/dist/solid/components/Blob.d.ts.map +1 -0
- package/dist/solid/components/Blur.d.ts +28 -0
- package/dist/solid/components/Blur.d.ts.map +1 -0
- package/dist/solid/components/Bulge.d.ts +28 -0
- package/dist/solid/components/Bulge.d.ts.map +1 -0
- package/dist/solid/components/CRTScreen.d.ts +28 -0
- package/dist/solid/components/CRTScreen.d.ts.map +1 -0
- package/dist/solid/components/ChannelBlur.d.ts +28 -0
- package/dist/solid/components/ChannelBlur.d.ts.map +1 -0
- package/dist/solid/components/Checkerboard.d.ts +28 -0
- package/dist/solid/components/Checkerboard.d.ts.map +1 -0
- package/dist/solid/components/ChromaFlow.d.ts +28 -0
- package/dist/solid/components/ChromaFlow.d.ts.map +1 -0
- package/dist/solid/components/ChromaticAberration.d.ts +28 -0
- package/dist/solid/components/ChromaticAberration.d.ts.map +1 -0
- package/dist/solid/components/Circle.d.ts +28 -0
- package/dist/solid/components/Circle.d.ts.map +1 -0
- package/dist/solid/components/CursorTrail.d.ts +28 -0
- package/dist/solid/components/CursorTrail.d.ts.map +1 -0
- package/dist/solid/components/DiffuseBlur.d.ts +28 -0
- package/dist/solid/components/DiffuseBlur.d.ts.map +1 -0
- package/dist/solid/components/Dither.d.ts +28 -0
- package/dist/solid/components/Dither.d.ts.map +1 -0
- package/dist/solid/components/DotGrid.d.ts +28 -0
- package/dist/solid/components/DotGrid.d.ts.map +1 -0
- package/dist/solid/components/Duotone.d.ts +28 -0
- package/dist/solid/components/Duotone.d.ts.map +1 -0
- package/dist/solid/components/FilmGrain.d.ts +28 -0
- package/dist/solid/components/FilmGrain.d.ts.map +1 -0
- package/dist/solid/components/FloatingParticles.d.ts +28 -0
- package/dist/solid/components/FloatingParticles.d.ts.map +1 -0
- package/dist/solid/components/GlassTiles.d.ts +28 -0
- package/dist/solid/components/GlassTiles.d.ts.map +1 -0
- package/dist/solid/components/Glow.d.ts +28 -0
- package/dist/solid/components/Glow.d.ts.map +1 -0
- package/dist/solid/components/Godrays.d.ts +28 -0
- package/dist/solid/components/Godrays.d.ts.map +1 -0
- package/dist/solid/components/Grayscale.d.ts +28 -0
- package/dist/solid/components/Grayscale.d.ts.map +1 -0
- package/dist/solid/components/Grid.d.ts +28 -0
- package/dist/solid/components/Grid.d.ts.map +1 -0
- package/dist/solid/components/GridDistortion.d.ts +28 -0
- package/dist/solid/components/GridDistortion.d.ts.map +1 -0
- package/dist/solid/components/Group.d.ts +28 -0
- package/dist/solid/components/Group.d.ts.map +1 -0
- package/dist/solid/components/Halftone.d.ts +28 -0
- package/dist/solid/components/Halftone.d.ts.map +1 -0
- package/dist/solid/components/HueShift.d.ts +28 -0
- package/dist/solid/components/HueShift.d.ts.map +1 -0
- package/dist/solid/components/ImageTexture.d.ts +28 -0
- package/dist/solid/components/ImageTexture.d.ts.map +1 -0
- package/dist/solid/components/Invert.d.ts +28 -0
- package/dist/solid/components/Invert.d.ts.map +1 -0
- package/dist/solid/components/LinearBlur.d.ts +28 -0
- package/dist/solid/components/LinearBlur.d.ts.map +1 -0
- package/dist/solid/components/LinearGradient.d.ts +28 -0
- package/dist/solid/components/LinearGradient.d.ts.map +1 -0
- package/dist/solid/components/Liquify.d.ts +28 -0
- package/dist/solid/components/Liquify.d.ts.map +1 -0
- package/dist/solid/components/Pixelate.d.ts +28 -0
- package/dist/solid/components/Pixelate.d.ts.map +1 -0
- package/dist/solid/components/PolarCoordinates.d.ts +28 -0
- package/dist/solid/components/PolarCoordinates.d.ts.map +1 -0
- package/dist/solid/components/Posterize.d.ts +28 -0
- package/dist/solid/components/Posterize.d.ts.map +1 -0
- package/dist/solid/components/ProgressiveBlur.d.ts +28 -0
- package/dist/solid/components/ProgressiveBlur.d.ts.map +1 -0
- package/dist/solid/components/RadialGradient.d.ts +28 -0
- package/dist/solid/components/RadialGradient.d.ts.map +1 -0
- package/dist/solid/components/RectangularCoordinates.d.ts +28 -0
- package/dist/solid/components/RectangularCoordinates.d.ts.map +1 -0
- package/dist/solid/components/Ripples.d.ts +28 -0
- package/dist/solid/components/Ripples.d.ts.map +1 -0
- package/dist/solid/components/Saturation.d.ts +28 -0
- package/dist/solid/components/Saturation.d.ts.map +1 -0
- package/dist/solid/components/SimplexNoise.d.ts +28 -0
- package/dist/solid/components/SimplexNoise.d.ts.map +1 -0
- package/dist/solid/components/SineWave.d.ts +28 -0
- package/dist/solid/components/SineWave.d.ts.map +1 -0
- package/dist/solid/components/SolidColor.d.ts +28 -0
- package/dist/solid/components/SolidColor.d.ts.map +1 -0
- package/dist/solid/components/Spherize.d.ts +28 -0
- package/dist/solid/components/Spherize.d.ts.map +1 -0
- package/dist/solid/components/Spiral.d.ts +28 -0
- package/dist/solid/components/Spiral.d.ts.map +1 -0
- package/dist/solid/components/Strands.d.ts +28 -0
- package/dist/solid/components/Strands.d.ts.map +1 -0
- package/dist/solid/components/Stretch.d.ts +28 -0
- package/dist/solid/components/Stretch.d.ts.map +1 -0
- package/dist/solid/components/Swirl.d.ts +28 -0
- package/dist/solid/components/Swirl.d.ts.map +1 -0
- package/dist/solid/components/TiltShift.d.ts +28 -0
- package/dist/solid/components/TiltShift.d.ts.map +1 -0
- package/dist/solid/components/Tritone.d.ts +28 -0
- package/dist/solid/components/Tritone.d.ts.map +1 -0
- package/dist/solid/components/Twirl.d.ts +28 -0
- package/dist/solid/components/Twirl.d.ts.map +1 -0
- package/dist/solid/components/Vibrance.d.ts +28 -0
- package/dist/solid/components/Vibrance.d.ts.map +1 -0
- package/dist/solid/components/WaveDistortion.d.ts +28 -0
- package/dist/solid/components/WaveDistortion.d.ts.map +1 -0
- package/dist/solid/components/ZoomBlur.d.ts +28 -0
- package/dist/solid/components/ZoomBlur.d.ts.map +1 -0
- package/dist/solid/index.d.ts +57 -0
- package/dist/solid/index.d.ts.map +1 -0
- package/dist/solid/utils/generatePresetCode.d.ts +13 -0
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -0
- package/dist/solid/utils/generatePresetCode.js +396 -91
- package/dist/svelte/generatePresetCode-DaS7jkcT.js +626 -0
- package/dist/svelte/index.js +1 -1
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/codegen.d.ts +1 -0
- package/dist/vue/components/AngularBlur.vue.d.ts +57 -0
- package/dist/vue/components/AngularBlur.vue.d.ts.map +1 -0
- package/dist/vue/components/Ascii.vue.d.ts +57 -0
- package/dist/vue/components/Ascii.vue.d.ts.map +1 -0
- package/dist/vue/components/Blob.vue.d.ts +57 -0
- package/dist/vue/components/Blob.vue.d.ts.map +1 -0
- package/dist/vue/components/Blur.vue.d.ts +57 -0
- package/dist/vue/components/Blur.vue.d.ts.map +1 -0
- package/dist/vue/components/Bulge.vue.d.ts +57 -0
- package/dist/vue/components/Bulge.vue.d.ts.map +1 -0
- package/dist/vue/components/CRTScreen.vue.d.ts +57 -0
- package/dist/vue/components/CRTScreen.vue.d.ts.map +1 -0
- package/dist/vue/components/ChannelBlur.vue.d.ts +57 -0
- package/dist/vue/components/ChannelBlur.vue.d.ts.map +1 -0
- package/dist/vue/components/Checkerboard.vue.d.ts +57 -0
- package/dist/vue/components/Checkerboard.vue.d.ts.map +1 -0
- package/dist/vue/components/ChromaFlow.vue.d.ts +57 -0
- package/dist/vue/components/ChromaFlow.vue.d.ts.map +1 -0
- package/dist/vue/components/ChromaticAberration.vue.d.ts +57 -0
- package/dist/vue/components/ChromaticAberration.vue.d.ts.map +1 -0
- package/dist/vue/components/Circle.vue.d.ts +57 -0
- package/dist/vue/components/Circle.vue.d.ts.map +1 -0
- package/dist/vue/components/CursorTrail.vue.d.ts +57 -0
- package/dist/vue/components/CursorTrail.vue.d.ts.map +1 -0
- package/dist/vue/components/DiffuseBlur.vue.d.ts +57 -0
- package/dist/vue/components/DiffuseBlur.vue.d.ts.map +1 -0
- package/dist/vue/components/Dither.vue.d.ts +57 -0
- package/dist/vue/components/Dither.vue.d.ts.map +1 -0
- package/dist/vue/components/DotGrid.vue.d.ts +57 -0
- package/dist/vue/components/DotGrid.vue.d.ts.map +1 -0
- package/dist/vue/components/Duotone.vue.d.ts +57 -0
- package/dist/vue/components/Duotone.vue.d.ts.map +1 -0
- package/dist/vue/components/FilmGrain.vue.d.ts +57 -0
- package/dist/vue/components/FilmGrain.vue.d.ts.map +1 -0
- package/dist/vue/components/FloatingParticles.vue.d.ts +57 -0
- package/dist/vue/components/FloatingParticles.vue.d.ts.map +1 -0
- package/dist/vue/components/GlassTiles.vue.d.ts +57 -0
- package/dist/vue/components/GlassTiles.vue.d.ts.map +1 -0
- package/dist/vue/components/Glow.vue.d.ts +57 -0
- package/dist/vue/components/Glow.vue.d.ts.map +1 -0
- package/dist/vue/components/Godrays.vue.d.ts +57 -0
- package/dist/vue/components/Godrays.vue.d.ts.map +1 -0
- package/dist/vue/components/Grayscale.vue.d.ts +57 -0
- package/dist/vue/components/Grayscale.vue.d.ts.map +1 -0
- package/dist/vue/components/Grid.vue.d.ts +57 -0
- package/dist/vue/components/Grid.vue.d.ts.map +1 -0
- package/dist/vue/components/GridDistortion.vue.d.ts +57 -0
- package/dist/vue/components/GridDistortion.vue.d.ts.map +1 -0
- package/dist/vue/components/Group.vue.d.ts +57 -0
- package/dist/vue/components/Group.vue.d.ts.map +1 -0
- package/dist/vue/components/Halftone.vue.d.ts +57 -0
- package/dist/vue/components/Halftone.vue.d.ts.map +1 -0
- package/dist/vue/components/HueShift.vue.d.ts +57 -0
- package/dist/vue/components/HueShift.vue.d.ts.map +1 -0
- package/dist/vue/components/ImageTexture.vue.d.ts +57 -0
- package/dist/vue/components/ImageTexture.vue.d.ts.map +1 -0
- package/dist/vue/components/Invert.vue.d.ts +57 -0
- package/dist/vue/components/Invert.vue.d.ts.map +1 -0
- package/dist/vue/components/LinearBlur.vue.d.ts +57 -0
- package/dist/vue/components/LinearBlur.vue.d.ts.map +1 -0
- package/dist/vue/components/LinearGradient.vue.d.ts +57 -0
- package/dist/vue/components/LinearGradient.vue.d.ts.map +1 -0
- package/dist/vue/components/Liquify.vue.d.ts +57 -0
- package/dist/vue/components/Liquify.vue.d.ts.map +1 -0
- package/dist/vue/components/Pixelate.vue.d.ts +57 -0
- package/dist/vue/components/Pixelate.vue.d.ts.map +1 -0
- package/dist/vue/components/PolarCoordinates.vue.d.ts +57 -0
- package/dist/vue/components/PolarCoordinates.vue.d.ts.map +1 -0
- package/dist/vue/components/Posterize.vue.d.ts +57 -0
- package/dist/vue/components/Posterize.vue.d.ts.map +1 -0
- package/dist/vue/components/ProgressiveBlur.vue.d.ts +57 -0
- package/dist/vue/components/ProgressiveBlur.vue.d.ts.map +1 -0
- package/dist/vue/components/RadialGradient.vue.d.ts +57 -0
- package/dist/vue/components/RadialGradient.vue.d.ts.map +1 -0
- package/dist/vue/components/RectangularCoordinates.vue.d.ts +57 -0
- package/dist/vue/components/RectangularCoordinates.vue.d.ts.map +1 -0
- package/dist/vue/components/Ripples.vue.d.ts +57 -0
- package/dist/vue/components/Ripples.vue.d.ts.map +1 -0
- package/dist/vue/components/Saturation.vue.d.ts +57 -0
- package/dist/vue/components/Saturation.vue.d.ts.map +1 -0
- package/dist/vue/components/SimplexNoise.vue.d.ts +57 -0
- package/dist/vue/components/SimplexNoise.vue.d.ts.map +1 -0
- package/dist/vue/components/SineWave.vue.d.ts +57 -0
- package/dist/vue/components/SineWave.vue.d.ts.map +1 -0
- package/dist/vue/components/SolidColor.vue.d.ts +57 -0
- package/dist/vue/components/SolidColor.vue.d.ts.map +1 -0
- package/dist/vue/components/Spherize.vue.d.ts +57 -0
- package/dist/vue/components/Spherize.vue.d.ts.map +1 -0
- package/dist/vue/components/Spiral.vue.d.ts +57 -0
- package/dist/vue/components/Spiral.vue.d.ts.map +1 -0
- package/dist/vue/components/Strands.vue.d.ts +57 -0
- package/dist/vue/components/Strands.vue.d.ts.map +1 -0
- package/dist/vue/components/Stretch.vue.d.ts +57 -0
- package/dist/vue/components/Stretch.vue.d.ts.map +1 -0
- package/dist/vue/components/Swirl.vue.d.ts +57 -0
- package/dist/vue/components/Swirl.vue.d.ts.map +1 -0
- package/dist/vue/components/TiltShift.vue.d.ts +57 -0
- package/dist/vue/components/TiltShift.vue.d.ts.map +1 -0
- package/dist/vue/components/Tritone.vue.d.ts +57 -0
- package/dist/vue/components/Tritone.vue.d.ts.map +1 -0
- package/dist/vue/components/Twirl.vue.d.ts +57 -0
- package/dist/vue/components/Twirl.vue.d.ts.map +1 -0
- package/dist/vue/components/Vibrance.vue.d.ts +57 -0
- package/dist/vue/components/Vibrance.vue.d.ts.map +1 -0
- package/dist/vue/components/WaveDistortion.vue.d.ts +57 -0
- package/dist/vue/components/WaveDistortion.vue.d.ts.map +1 -0
- package/dist/vue/components/ZoomBlur.vue.d.ts +57 -0
- package/dist/vue/components/ZoomBlur.vue.d.ts.map +1 -0
- package/dist/vue/generatePresetCode-Cd1B-Y9j.js +632 -0
- package/dist/vue/index.d.ts +57 -0
- package/dist/vue/index.d.ts.map +1 -0
- package/dist/vue/index.js +1 -1
- package/dist/vue/utils/generatePresetCode.d.ts +13 -0
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -0
- package/dist/vue/utils/generatePresetCode.js +1 -1
- package/package.json +1 -1
- package/dist/react/generatePresetCode-BXrrE8g5.js +0 -321
- package/dist/svelte/generatePresetCode-BXrrE8g5.js +0 -321
- package/dist/vue/generatePresetCode-nej_B_Ke.js +0 -327
|
@@ -1,87 +1,203 @@
|
|
|
1
|
-
const
|
|
1
|
+
const d = {
|
|
2
2
|
AngularBlur: {
|
|
3
3
|
opacity: 1,
|
|
4
|
-
blendMode: "normal"
|
|
4
|
+
blendMode: "normal",
|
|
5
|
+
intensity: 20,
|
|
6
|
+
center: {
|
|
7
|
+
x: 0.5,
|
|
8
|
+
y: 0.5
|
|
9
|
+
}
|
|
5
10
|
},
|
|
6
11
|
Ascii: {
|
|
7
12
|
opacity: 1,
|
|
8
|
-
blendMode: "normal"
|
|
13
|
+
blendMode: "normal",
|
|
14
|
+
characters: "@%#*+=-:.",
|
|
15
|
+
cellSize: 30,
|
|
16
|
+
fontFamily: "JetBrains Mono",
|
|
17
|
+
spacing: 1
|
|
9
18
|
},
|
|
10
19
|
Blob: {
|
|
11
20
|
opacity: 1,
|
|
12
|
-
blendMode: "normal"
|
|
21
|
+
blendMode: "normal",
|
|
22
|
+
colorA: "#ff6b35",
|
|
23
|
+
colorB: "#e91e63",
|
|
24
|
+
size: 0.5,
|
|
25
|
+
deformation: 0.5,
|
|
26
|
+
softness: 0.5,
|
|
27
|
+
highlightIntensity: 0.5,
|
|
28
|
+
highlightX: 0.3,
|
|
29
|
+
highlightY: -0.3,
|
|
30
|
+
highlightZ: 0.4,
|
|
31
|
+
highlightColor: "#ffe11a",
|
|
32
|
+
speed: 0.5,
|
|
33
|
+
seed: 1,
|
|
34
|
+
center: {
|
|
35
|
+
x: 0.5,
|
|
36
|
+
y: 0.5
|
|
37
|
+
},
|
|
38
|
+
colorSpace: "linear"
|
|
13
39
|
},
|
|
14
40
|
Blur: {
|
|
15
41
|
opacity: 1,
|
|
16
|
-
blendMode: "normal"
|
|
42
|
+
blendMode: "normal",
|
|
43
|
+
intensity: 50
|
|
17
44
|
},
|
|
18
45
|
Bulge: {
|
|
19
46
|
opacity: 1,
|
|
20
|
-
blendMode: "normal"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
47
|
+
blendMode: "normal",
|
|
48
|
+
center: {
|
|
49
|
+
x: 0.5,
|
|
50
|
+
y: 0.5
|
|
51
|
+
},
|
|
52
|
+
strength: 1,
|
|
53
|
+
radius: 1,
|
|
54
|
+
falloff: 0.5,
|
|
55
|
+
edges: "stretch"
|
|
25
56
|
},
|
|
26
57
|
ChannelBlur: {
|
|
27
58
|
opacity: 1,
|
|
28
|
-
blendMode: "normal"
|
|
59
|
+
blendMode: "normal",
|
|
60
|
+
redIntensity: 0,
|
|
61
|
+
greenIntensity: 20,
|
|
62
|
+
blueIntensity: 40
|
|
29
63
|
},
|
|
30
64
|
Checkerboard: {
|
|
31
65
|
opacity: 1,
|
|
32
|
-
blendMode: "normal"
|
|
66
|
+
blendMode: "normal",
|
|
67
|
+
colorA: "#cccccc",
|
|
68
|
+
colorB: "#999999",
|
|
69
|
+
cells: 8,
|
|
70
|
+
softness: 0,
|
|
71
|
+
colorSpace: "linear"
|
|
33
72
|
},
|
|
34
73
|
ChromaFlow: {
|
|
35
74
|
opacity: 1,
|
|
36
|
-
blendMode: "normal"
|
|
75
|
+
blendMode: "normal",
|
|
76
|
+
baseColor: "#0066ff",
|
|
77
|
+
upColor: "#00ff00",
|
|
78
|
+
downColor: "#ff0000",
|
|
79
|
+
leftColor: "#0000ff",
|
|
80
|
+
rightColor: "#ffff00",
|
|
81
|
+
intensity: 1,
|
|
82
|
+
radius: 2,
|
|
83
|
+
momentum: 30
|
|
37
84
|
},
|
|
38
85
|
ChromaticAberration: {
|
|
39
86
|
opacity: 1,
|
|
40
|
-
blendMode: "normal"
|
|
87
|
+
blendMode: "normal",
|
|
88
|
+
strength: 0.2,
|
|
89
|
+
angle: 0,
|
|
90
|
+
redOffset: -1,
|
|
91
|
+
greenOffset: 0,
|
|
92
|
+
blueOffset: 1
|
|
41
93
|
},
|
|
42
94
|
Circle: {
|
|
43
95
|
opacity: 1,
|
|
44
|
-
blendMode: "normal"
|
|
96
|
+
blendMode: "normal",
|
|
97
|
+
color: "#ffffff",
|
|
98
|
+
radius: 1,
|
|
99
|
+
softness: 0,
|
|
100
|
+
center: {
|
|
101
|
+
x: 0.5,
|
|
102
|
+
y: 0.5
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
CRTScreen: {
|
|
106
|
+
opacity: 1,
|
|
107
|
+
blendMode: "normal",
|
|
108
|
+
pixelSize: 128,
|
|
109
|
+
colorShift: 1,
|
|
110
|
+
scanlineIntensity: 0.3,
|
|
111
|
+
scanlineFrequency: 200,
|
|
112
|
+
brightness: 1.1,
|
|
113
|
+
contrast: 1.2
|
|
45
114
|
},
|
|
46
115
|
CursorTrail: {
|
|
47
116
|
opacity: 1,
|
|
48
|
-
blendMode: "normal"
|
|
117
|
+
blendMode: "normal",
|
|
118
|
+
colorA: "#00aaff",
|
|
119
|
+
colorB: "#ff00aa",
|
|
120
|
+
radius: 0.5,
|
|
121
|
+
length: 0.5,
|
|
122
|
+
shrink: 1,
|
|
123
|
+
colorSpace: "linear"
|
|
49
124
|
},
|
|
50
125
|
DiffuseBlur: {
|
|
51
126
|
opacity: 1,
|
|
52
|
-
blendMode: "normal"
|
|
127
|
+
blendMode: "normal",
|
|
128
|
+
intensity: 30,
|
|
129
|
+
edges: "stretch"
|
|
53
130
|
},
|
|
54
131
|
Dither: {
|
|
55
132
|
opacity: 1,
|
|
56
|
-
blendMode: "normal"
|
|
133
|
+
blendMode: "normal",
|
|
134
|
+
pixelSize: 4,
|
|
135
|
+
threshold: 0.5,
|
|
136
|
+
colorA: "transparent",
|
|
137
|
+
colorB: "#ffffff"
|
|
57
138
|
},
|
|
58
139
|
DotGrid: {
|
|
59
140
|
opacity: 1,
|
|
60
|
-
blendMode: "normal"
|
|
141
|
+
blendMode: "normal",
|
|
142
|
+
color: "#ffffff",
|
|
143
|
+
density: 100,
|
|
144
|
+
dotSize: 0.3,
|
|
145
|
+
twinkle: 0
|
|
61
146
|
},
|
|
62
147
|
Duotone: {
|
|
63
148
|
opacity: 1,
|
|
64
|
-
blendMode: "normal"
|
|
149
|
+
blendMode: "normal",
|
|
150
|
+
colorA: "#ff0000",
|
|
151
|
+
colorB: "#023af4",
|
|
152
|
+
blend: 0.5,
|
|
153
|
+
colorSpace: "linear"
|
|
65
154
|
},
|
|
66
155
|
FilmGrain: {
|
|
67
156
|
opacity: 1,
|
|
68
|
-
blendMode: "normal"
|
|
157
|
+
blendMode: "normal",
|
|
158
|
+
strength: 0.5
|
|
69
159
|
},
|
|
70
160
|
FloatingParticles: {
|
|
71
161
|
opacity: 1,
|
|
72
|
-
blendMode: "normal"
|
|
162
|
+
blendMode: "normal",
|
|
163
|
+
randomness: 0.25,
|
|
164
|
+
speed: 0.25,
|
|
165
|
+
angle: 90,
|
|
166
|
+
particleSize: 1,
|
|
167
|
+
particleSoftness: 0,
|
|
168
|
+
twinkle: 0.5,
|
|
169
|
+
count: 5,
|
|
170
|
+
particleColor: "#ffffff",
|
|
171
|
+
speedVariance: 0.3,
|
|
172
|
+
angleVariance: 30,
|
|
173
|
+
particleDensity: 3
|
|
73
174
|
},
|
|
74
175
|
GlassTiles: {
|
|
75
176
|
opacity: 1,
|
|
76
|
-
blendMode: "normal"
|
|
177
|
+
blendMode: "normal",
|
|
178
|
+
intensity: 1,
|
|
179
|
+
tileCount: 100
|
|
77
180
|
},
|
|
78
181
|
Glow: {
|
|
79
182
|
opacity: 1,
|
|
80
|
-
blendMode: "normal"
|
|
183
|
+
blendMode: "normal",
|
|
184
|
+
intensity: 1,
|
|
185
|
+
threshold: 0.5,
|
|
186
|
+
size: 10
|
|
81
187
|
},
|
|
82
188
|
Godrays: {
|
|
83
189
|
opacity: 1,
|
|
84
|
-
blendMode: "normal"
|
|
190
|
+
blendMode: "normal",
|
|
191
|
+
center: {
|
|
192
|
+
x: 0,
|
|
193
|
+
y: 0
|
|
194
|
+
},
|
|
195
|
+
density: 0.3,
|
|
196
|
+
intensity: 0.8,
|
|
197
|
+
spotty: 1,
|
|
198
|
+
speed: 0.5,
|
|
199
|
+
rayColor: "#4283fb",
|
|
200
|
+
backgroundColor: "transparent"
|
|
85
201
|
},
|
|
86
202
|
Grayscale: {
|
|
87
203
|
opacity: 1,
|
|
@@ -89,11 +205,20 @@ const c = {
|
|
|
89
205
|
},
|
|
90
206
|
Grid: {
|
|
91
207
|
opacity: 1,
|
|
92
|
-
blendMode: "normal"
|
|
208
|
+
blendMode: "normal",
|
|
209
|
+
color: "#ffffff",
|
|
210
|
+
cells: 10,
|
|
211
|
+
thickness: 1
|
|
93
212
|
},
|
|
94
213
|
GridDistortion: {
|
|
95
214
|
opacity: 1,
|
|
96
|
-
blendMode: "normal"
|
|
215
|
+
blendMode: "normal",
|
|
216
|
+
intensity: 1,
|
|
217
|
+
swirl: 0,
|
|
218
|
+
decay: 3,
|
|
219
|
+
radius: 1,
|
|
220
|
+
gridSize: 20,
|
|
221
|
+
edges: "stretch"
|
|
97
222
|
},
|
|
98
223
|
Group: {
|
|
99
224
|
opacity: 1,
|
|
@@ -101,15 +226,21 @@ const c = {
|
|
|
101
226
|
},
|
|
102
227
|
Halftone: {
|
|
103
228
|
opacity: 1,
|
|
104
|
-
blendMode: "normal"
|
|
229
|
+
blendMode: "normal",
|
|
230
|
+
frequency: 100,
|
|
231
|
+
angle: 45,
|
|
232
|
+
smoothness: 0.1
|
|
105
233
|
},
|
|
106
234
|
HueShift: {
|
|
107
235
|
opacity: 1,
|
|
108
|
-
blendMode: "normal"
|
|
236
|
+
blendMode: "normal",
|
|
237
|
+
shift: 0
|
|
109
238
|
},
|
|
110
239
|
ImageTexture: {
|
|
111
240
|
opacity: 1,
|
|
112
|
-
blendMode: "normal"
|
|
241
|
+
blendMode: "normal",
|
|
242
|
+
url: "https://shaders.com/sample.jpg",
|
|
243
|
+
objectFit: "cover"
|
|
113
244
|
},
|
|
114
245
|
Invert: {
|
|
115
246
|
opacity: 1,
|
|
@@ -117,155 +248,329 @@ const c = {
|
|
|
117
248
|
},
|
|
118
249
|
LinearBlur: {
|
|
119
250
|
opacity: 1,
|
|
120
|
-
blendMode: "normal"
|
|
251
|
+
blendMode: "normal",
|
|
252
|
+
intensity: 30,
|
|
253
|
+
angle: 0
|
|
121
254
|
},
|
|
122
255
|
LinearGradient: {
|
|
123
256
|
opacity: 1,
|
|
124
|
-
blendMode: "normal"
|
|
257
|
+
blendMode: "normal",
|
|
258
|
+
colorA: "#1aff00",
|
|
259
|
+
colorB: "#0000ff",
|
|
260
|
+
start: {
|
|
261
|
+
x: 0,
|
|
262
|
+
y: 0.5
|
|
263
|
+
},
|
|
264
|
+
end: {
|
|
265
|
+
x: 1,
|
|
266
|
+
y: 0.5
|
|
267
|
+
},
|
|
268
|
+
angle: 0,
|
|
269
|
+
edges: "stretch",
|
|
270
|
+
colorSpace: "linear"
|
|
125
271
|
},
|
|
126
272
|
Liquify: {
|
|
127
273
|
opacity: 1,
|
|
128
|
-
blendMode: "normal"
|
|
274
|
+
blendMode: "normal",
|
|
275
|
+
intensity: 1,
|
|
276
|
+
swirl: 0,
|
|
277
|
+
decay: 3,
|
|
278
|
+
radius: 1,
|
|
279
|
+
edges: "stretch"
|
|
129
280
|
},
|
|
130
281
|
Pixelate: {
|
|
131
282
|
opacity: 1,
|
|
132
|
-
blendMode: "normal"
|
|
283
|
+
blendMode: "normal",
|
|
284
|
+
scale: 50
|
|
133
285
|
},
|
|
134
286
|
PolarCoordinates: {
|
|
135
287
|
opacity: 1,
|
|
136
|
-
blendMode: "normal"
|
|
288
|
+
blendMode: "normal",
|
|
289
|
+
center: {
|
|
290
|
+
x: 0.5,
|
|
291
|
+
y: 0.5
|
|
292
|
+
},
|
|
293
|
+
wrap: 1,
|
|
294
|
+
radius: 1,
|
|
295
|
+
intensity: 1,
|
|
296
|
+
edges: "transparent"
|
|
137
297
|
},
|
|
138
298
|
Posterize: {
|
|
139
299
|
opacity: 1,
|
|
140
|
-
blendMode: "normal"
|
|
300
|
+
blendMode: "normal",
|
|
301
|
+
intensity: 5
|
|
141
302
|
},
|
|
142
303
|
ProgressiveBlur: {
|
|
143
304
|
opacity: 1,
|
|
144
|
-
blendMode: "normal"
|
|
305
|
+
blendMode: "normal",
|
|
306
|
+
intensity: 50,
|
|
307
|
+
angle: 0,
|
|
308
|
+
center: {
|
|
309
|
+
x: 0,
|
|
310
|
+
y: 0.5
|
|
311
|
+
},
|
|
312
|
+
falloff: 1
|
|
145
313
|
},
|
|
146
314
|
RadialGradient: {
|
|
147
315
|
opacity: 1,
|
|
148
|
-
blendMode: "normal"
|
|
316
|
+
blendMode: "normal",
|
|
317
|
+
colorA: "#ff0000",
|
|
318
|
+
colorB: "#0000ff",
|
|
319
|
+
center: {
|
|
320
|
+
x: 0.5,
|
|
321
|
+
y: 0.5
|
|
322
|
+
},
|
|
323
|
+
radius: 1,
|
|
324
|
+
colorSpace: "linear"
|
|
149
325
|
},
|
|
150
326
|
RectangularCoordinates: {
|
|
151
327
|
opacity: 1,
|
|
152
|
-
blendMode: "normal"
|
|
328
|
+
blendMode: "normal",
|
|
329
|
+
center: {
|
|
330
|
+
x: 0.5,
|
|
331
|
+
y: 0.5
|
|
332
|
+
},
|
|
333
|
+
scale: 1,
|
|
334
|
+
intensity: 1,
|
|
335
|
+
edges: "transparent"
|
|
153
336
|
},
|
|
154
337
|
Ripples: {
|
|
155
338
|
opacity: 1,
|
|
156
|
-
blendMode: "normal"
|
|
339
|
+
blendMode: "normal",
|
|
340
|
+
center: {
|
|
341
|
+
x: 0.5,
|
|
342
|
+
y: 0.5
|
|
343
|
+
},
|
|
344
|
+
colorA: "#ffffff",
|
|
345
|
+
colorB: "#000000",
|
|
346
|
+
speed: 1,
|
|
347
|
+
frequency: 20,
|
|
348
|
+
softness: 0,
|
|
349
|
+
thickness: 0.5,
|
|
350
|
+
phase: 0
|
|
157
351
|
},
|
|
158
352
|
Saturation: {
|
|
159
353
|
opacity: 1,
|
|
160
|
-
blendMode: "normal"
|
|
354
|
+
blendMode: "normal",
|
|
355
|
+
intensity: 1
|
|
161
356
|
},
|
|
162
357
|
SimplexNoise: {
|
|
163
358
|
opacity: 1,
|
|
164
|
-
blendMode: "normal"
|
|
359
|
+
blendMode: "normal",
|
|
360
|
+
colorA: "#ffffff",
|
|
361
|
+
colorB: "#000000",
|
|
362
|
+
scale: 2,
|
|
363
|
+
balance: 0,
|
|
364
|
+
contrast: 0,
|
|
365
|
+
seed: 0,
|
|
366
|
+
speed: 1
|
|
165
367
|
},
|
|
166
368
|
SineWave: {
|
|
167
369
|
opacity: 1,
|
|
168
|
-
blendMode: "normal"
|
|
370
|
+
blendMode: "normal",
|
|
371
|
+
color: "#ffffff",
|
|
372
|
+
amplitude: 0.15,
|
|
373
|
+
frequency: 1,
|
|
374
|
+
speed: 1,
|
|
375
|
+
angle: 0,
|
|
376
|
+
position: {
|
|
377
|
+
x: 0.5,
|
|
378
|
+
y: 0.5
|
|
379
|
+
},
|
|
380
|
+
thickness: 0.2,
|
|
381
|
+
softness: 0.4
|
|
169
382
|
},
|
|
170
383
|
SolidColor: {
|
|
171
384
|
opacity: 1,
|
|
172
|
-
blendMode: "normal"
|
|
385
|
+
blendMode: "normal",
|
|
386
|
+
color: "#5b18ca"
|
|
173
387
|
},
|
|
174
388
|
Spherize: {
|
|
175
389
|
opacity: 1,
|
|
176
|
-
blendMode: "normal"
|
|
390
|
+
blendMode: "normal",
|
|
391
|
+
radius: 1,
|
|
392
|
+
depth: 1,
|
|
393
|
+
center: {
|
|
394
|
+
x: 0.5,
|
|
395
|
+
y: 0.5
|
|
396
|
+
},
|
|
397
|
+
lightPosition: {
|
|
398
|
+
x: 0.3,
|
|
399
|
+
y: 0.3
|
|
400
|
+
},
|
|
401
|
+
lightIntensity: 0.5,
|
|
402
|
+
lightSoftness: 0.5,
|
|
403
|
+
lightColor: "#ffffff"
|
|
177
404
|
},
|
|
178
405
|
Spiral: {
|
|
179
406
|
opacity: 1,
|
|
180
|
-
blendMode: "normal"
|
|
407
|
+
blendMode: "normal",
|
|
408
|
+
colorA: "#000000",
|
|
409
|
+
colorB: "#ffffff",
|
|
410
|
+
strokeWidth: 0.5,
|
|
411
|
+
strokeFalloff: 0,
|
|
412
|
+
softness: 0,
|
|
413
|
+
speed: 1,
|
|
414
|
+
center: {
|
|
415
|
+
x: 0.5,
|
|
416
|
+
y: 0.5
|
|
417
|
+
},
|
|
418
|
+
scale: 1,
|
|
419
|
+
colorSpace: "linear"
|
|
181
420
|
},
|
|
182
421
|
Strands: {
|
|
183
422
|
opacity: 1,
|
|
184
|
-
blendMode: "normal"
|
|
423
|
+
blendMode: "normal",
|
|
424
|
+
speed: 0.5,
|
|
425
|
+
amplitude: 1,
|
|
426
|
+
frequency: 1,
|
|
427
|
+
lineCount: 12,
|
|
428
|
+
lineWidth: 0.1,
|
|
429
|
+
waveColor: "#f1c907",
|
|
430
|
+
pinEdges: !0,
|
|
431
|
+
start: {
|
|
432
|
+
x: 0,
|
|
433
|
+
y: 0.5
|
|
434
|
+
},
|
|
435
|
+
end: {
|
|
436
|
+
x: 1,
|
|
437
|
+
y: 0.5
|
|
438
|
+
}
|
|
185
439
|
},
|
|
186
440
|
Stretch: {
|
|
187
441
|
opacity: 1,
|
|
188
|
-
blendMode: "normal"
|
|
442
|
+
blendMode: "normal",
|
|
443
|
+
center: {
|
|
444
|
+
x: 0.5,
|
|
445
|
+
y: 0.5
|
|
446
|
+
},
|
|
447
|
+
strength: 1,
|
|
448
|
+
angle: 0,
|
|
449
|
+
falloff: 0,
|
|
450
|
+
edges: "stretch"
|
|
189
451
|
},
|
|
190
452
|
Swirl: {
|
|
191
453
|
opacity: 1,
|
|
192
|
-
blendMode: "normal"
|
|
454
|
+
blendMode: "normal",
|
|
455
|
+
colorA: "#1275d8",
|
|
456
|
+
colorB: "#e19136",
|
|
457
|
+
speed: 1,
|
|
458
|
+
detail: 1,
|
|
459
|
+
blend: 50,
|
|
460
|
+
coarseX: 50,
|
|
461
|
+
coarseY: 50,
|
|
462
|
+
mediumX: 50,
|
|
463
|
+
mediumY: 50,
|
|
464
|
+
fineX: 50,
|
|
465
|
+
fineY: 50,
|
|
466
|
+
colorSpace: "linear"
|
|
193
467
|
},
|
|
194
468
|
TiltShift: {
|
|
195
469
|
opacity: 1,
|
|
196
|
-
blendMode: "normal"
|
|
470
|
+
blendMode: "normal",
|
|
471
|
+
intensity: 50,
|
|
472
|
+
width: 0.3,
|
|
473
|
+
falloff: 0.3,
|
|
474
|
+
angle: 0,
|
|
475
|
+
center: {
|
|
476
|
+
x: 0.5,
|
|
477
|
+
y: 0.5
|
|
478
|
+
}
|
|
197
479
|
},
|
|
198
480
|
Tritone: {
|
|
199
481
|
opacity: 1,
|
|
200
|
-
blendMode: "normal"
|
|
482
|
+
blendMode: "normal",
|
|
483
|
+
colorA: "#ce1bea",
|
|
484
|
+
colorB: "#2fff00",
|
|
485
|
+
colorC: "#ffff00",
|
|
486
|
+
blendMid: 0.5,
|
|
487
|
+
colorSpace: "linear"
|
|
201
488
|
},
|
|
202
489
|
Twirl: {
|
|
203
490
|
opacity: 1,
|
|
204
|
-
blendMode: "normal"
|
|
491
|
+
blendMode: "normal",
|
|
492
|
+
center: {
|
|
493
|
+
x: 0.5,
|
|
494
|
+
y: 0.5
|
|
495
|
+
},
|
|
496
|
+
intensity: 1,
|
|
497
|
+
edges: "stretch"
|
|
205
498
|
},
|
|
206
499
|
Vibrance: {
|
|
207
500
|
opacity: 1,
|
|
208
|
-
blendMode: "normal"
|
|
501
|
+
blendMode: "normal",
|
|
502
|
+
intensity: 0
|
|
209
503
|
},
|
|
210
504
|
WaveDistortion: {
|
|
211
505
|
opacity: 1,
|
|
212
|
-
blendMode: "normal"
|
|
506
|
+
blendMode: "normal",
|
|
507
|
+
strength: 0.3,
|
|
508
|
+
frequency: 1,
|
|
509
|
+
speed: 1,
|
|
510
|
+
angle: 0,
|
|
511
|
+
waveType: "sine",
|
|
512
|
+
edges: "stretch"
|
|
213
513
|
},
|
|
214
514
|
ZoomBlur: {
|
|
215
515
|
opacity: 1,
|
|
216
|
-
blendMode: "normal"
|
|
516
|
+
blendMode: "normal",
|
|
517
|
+
intensity: 30,
|
|
518
|
+
center: {
|
|
519
|
+
x: 0.5,
|
|
520
|
+
y: 0.5
|
|
521
|
+
}
|
|
217
522
|
}
|
|
218
523
|
};
|
|
219
|
-
function
|
|
220
|
-
return Object.entries(
|
|
221
|
-
const r =
|
|
222
|
-
if (r.hasOwnProperty(
|
|
223
|
-
const n = r[
|
|
224
|
-
return
|
|
524
|
+
function f(t, l, i = " ") {
|
|
525
|
+
return Object.entries(t).filter(([e, o]) => {
|
|
526
|
+
const r = d[l] || {};
|
|
527
|
+
if (r.hasOwnProperty(e)) {
|
|
528
|
+
const n = r[e];
|
|
529
|
+
return o !== null && n !== null && typeof o == "object" && typeof n == "object" ? JSON.stringify(o) !== JSON.stringify(n) : o !== n;
|
|
225
530
|
}
|
|
226
|
-
return !(
|
|
227
|
-
}).map(([
|
|
228
|
-
` +
|
|
531
|
+
return !(e === "opacity" && o === 1 || e === "blendMode" && o === "normal");
|
|
532
|
+
}).map(([e, o]) => typeof o == "string" ? `${e}=${JSON.stringify(o)}` : o !== null && typeof o == "object" ? `${e}={${JSON.stringify(o)}}` : `${e}={${o}}`).join(`
|
|
533
|
+
` + i + " ");
|
|
229
534
|
}
|
|
230
|
-
function
|
|
231
|
-
const
|
|
232
|
-
function o
|
|
233
|
-
for (const r of
|
|
234
|
-
|
|
535
|
+
function p(t, l) {
|
|
536
|
+
const i = [];
|
|
537
|
+
function e(o) {
|
|
538
|
+
for (const r of o)
|
|
539
|
+
i.push(r), r.children && e(r.children);
|
|
235
540
|
}
|
|
236
|
-
return
|
|
237
|
-
(
|
|
541
|
+
return e(l), i.some(
|
|
542
|
+
(o) => {
|
|
238
543
|
var r;
|
|
239
|
-
return ((r =
|
|
544
|
+
return ((r = o.props) == null ? void 0 : r.maskSource) === t;
|
|
240
545
|
}
|
|
241
546
|
);
|
|
242
547
|
}
|
|
243
|
-
function y(
|
|
244
|
-
const l = (
|
|
245
|
-
const r =
|
|
548
|
+
function y(t) {
|
|
549
|
+
const l = (e, o = " ") => {
|
|
550
|
+
const r = e.props ? f(e.props, e.type, o) : "";
|
|
246
551
|
let n = "";
|
|
247
|
-
|
|
248
|
-
const
|
|
249
|
-
` +
|
|
250
|
-
if (
|
|
251
|
-
const
|
|
552
|
+
e.id && p(e.id, t.components) && (n = `id="${e.id}"`);
|
|
553
|
+
const a = [n, r].filter(Boolean).join(`
|
|
554
|
+
` + o + " ");
|
|
555
|
+
if (e.children && e.children.length > 0) {
|
|
556
|
+
const s = e.children.map((c) => l(c, o + " ")).join(`
|
|
252
557
|
`);
|
|
253
|
-
return
|
|
254
|
-
${
|
|
255
|
-
${
|
|
256
|
-
${
|
|
257
|
-
${
|
|
258
|
-
${
|
|
558
|
+
return a ? `${o}<${e.type}
|
|
559
|
+
${o} ${a}>
|
|
560
|
+
${s}
|
|
561
|
+
${o}</${e.type}>` : `${o}<${e.type}>
|
|
562
|
+
${s}
|
|
563
|
+
${o}</${e.type}>`;
|
|
259
564
|
} else
|
|
260
|
-
return
|
|
261
|
-
${
|
|
565
|
+
return a ? `${o}<${e.type}
|
|
566
|
+
${o} ${a} />` : `${o}<${e.type} />`;
|
|
262
567
|
};
|
|
263
568
|
return `<Shader>
|
|
264
|
-
${
|
|
569
|
+
${t.components.map((e) => l(e)).join(`
|
|
265
570
|
`)}
|
|
266
571
|
</Shader>`;
|
|
267
572
|
}
|
|
268
|
-
const
|
|
573
|
+
const m = [
|
|
269
574
|
// @ts-ignore - replaced at build time
|
|
270
575
|
"AngularBlur",
|
|
271
576
|
"Ascii",
|
|
@@ -323,6 +628,6 @@ const b = [
|
|
|
323
628
|
"ZoomBlur"
|
|
324
629
|
];
|
|
325
630
|
export {
|
|
326
|
-
|
|
631
|
+
m as availableComponents,
|
|
327
632
|
y as generatePresetCode
|
|
328
633
|
};
|