shaders 2.2.45 → 2.2.47
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/LICENSE +17 -6
- package/README.md +4 -60
- package/dist/core/Kaleidoscope-3Kt0m_sh.js +97 -0
- package/dist/core/Mirror-CnEZ7wHa.js +84 -0
- package/dist/core/index.js +0 -25
- package/dist/core/registry.js +66 -62
- package/dist/core/renderer.d.ts +0 -1
- package/dist/core/renderer.d.ts.map +1 -1
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Kaleidoscope/index.d.ts +36 -0
- package/dist/core/shaders/Kaleidoscope/index.d.ts.map +1 -0
- package/dist/core/shaders/Kaleidoscope/index.js +4 -0
- 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.d.ts +29 -0
- package/dist/core/shaders/Mirror/index.d.ts.map +1 -0
- package/dist/core/shaders/Mirror/index.js +4 -0
- package/dist/core/shaders/Perspective/index.js +1 -1
- package/dist/core/shaders/Pixelate/index.js +1 -1
- package/dist/core/shaders/PolarCoordinates/index.js +1 -1
- package/dist/core/shaders/Posterize/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
- package/dist/core/shaders/RadialGradient/index.js +1 -1
- package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
- package/dist/core/shaders/Ripples/index.js +1 -1
- package/dist/core/shaders/Saturation/index.js +1 -1
- package/dist/core/shaders/Sharpness/index.js +1 -1
- package/dist/core/shaders/Shatter/index.js +1 -1
- package/dist/core/shaders/SimplexNoise/index.js +1 -1
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/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/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/Tritone/index.js +1 -1
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/WebcamTexture/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/core/telemetry/collector.d.ts.map +1 -1
- package/dist/core/telemetry/environmentCollector.d.ts.map +1 -1
- package/dist/core/telemetry/index.d.ts +1 -1
- package/dist/core/telemetry/index.d.ts.map +1 -1
- package/dist/core/telemetry/index.js +28 -23
- package/dist/core/telemetry/types.d.ts +2 -8
- package/dist/core/telemetry/types.d.ts.map +1 -1
- package/dist/react/AngularBlur.js +7 -7
- package/dist/react/Ascii.js +7 -7
- package/dist/react/Beam.js +7 -7
- package/dist/react/Blob.js +7 -7
- package/dist/react/Blur.js +7 -7
- package/dist/react/BrightnessContrast.js +7 -7
- package/dist/react/Bulge.js +7 -7
- package/dist/react/CRTScreen.js +7 -7
- package/dist/react/ChannelBlur.js +7 -7
- package/dist/react/Checkerboard.js +7 -7
- package/dist/react/ChromaFlow.js +7 -7
- package/dist/react/ChromaticAberration.js +7 -7
- package/dist/react/Circle.js +7 -7
- package/dist/react/CursorTrail.js +7 -7
- package/dist/react/DiffuseBlur.js +7 -7
- package/dist/react/Dither.js +7 -7
- package/dist/react/DotGrid.js +7 -7
- package/dist/react/Duotone.js +7 -7
- package/dist/react/FilmGrain.js +7 -7
- package/dist/react/FloatingParticles.js +7 -7
- package/dist/react/GlassTiles.js +7 -7
- package/dist/react/Glow.js +7 -7
- package/dist/react/Godrays.js +7 -7
- package/dist/react/Grayscale.js +7 -7
- package/dist/react/Grid.js +7 -7
- package/dist/react/GridDistortion.js +7 -7
- package/dist/react/Group.js +7 -7
- package/dist/react/Halftone.js +7 -7
- package/dist/react/HueShift.js +7 -7
- package/dist/react/ImageTexture.js +7 -7
- package/dist/react/Invert.js +7 -7
- package/dist/react/Kaleidoscope.js +144 -0
- package/dist/react/LinearBlur.js +7 -7
- package/dist/react/LinearGradient.js +7 -7
- package/dist/react/Liquify.js +7 -7
- package/dist/react/Mirror.js +144 -0
- package/dist/react/Perspective.js +7 -7
- package/dist/react/Pixelate.js +7 -7
- package/dist/react/PolarCoordinates.js +7 -7
- package/dist/react/Posterize.js +7 -7
- package/dist/react/ProgressiveBlur.js +7 -7
- package/dist/react/RadialGradient.js +7 -7
- package/dist/react/RectangularCoordinates.js +7 -7
- package/dist/react/Ripples.js +7 -7
- package/dist/react/Saturation.js +7 -7
- package/dist/react/Shader.js +33 -21
- package/dist/react/Sharpness.js +7 -7
- package/dist/react/Shatter.js +7 -7
- package/dist/react/SimplexNoise.js +7 -7
- package/dist/react/SineWave.js +7 -7
- package/dist/react/SolidColor.js +7 -7
- package/dist/react/Spherize.js +7 -7
- package/dist/react/Spiral.js +7 -7
- package/dist/react/Strands.js +7 -7
- package/dist/react/Stretch.js +7 -7
- package/dist/react/Stripes.js +7 -7
- package/dist/react/Swirl.js +7 -7
- package/dist/react/TiltShift.js +7 -7
- package/dist/react/Tint.js +7 -7
- package/dist/react/Tritone.js +7 -7
- package/dist/react/Twirl.js +7 -7
- package/dist/react/Vibrance.js +7 -7
- package/dist/react/WaveDistortion.js +7 -7
- package/dist/react/WebcamTexture.js +7 -7
- package/dist/react/ZoomBlur.js +7 -7
- package/dist/react/components/AngularBlur.d.ts +2 -2
- package/dist/react/components/AngularBlur.d.ts.map +1 -1
- package/dist/react/components/Ascii.d.ts +2 -2
- package/dist/react/components/Ascii.d.ts.map +1 -1
- package/dist/react/components/Beam.d.ts +2 -2
- package/dist/react/components/Beam.d.ts.map +1 -1
- package/dist/react/components/Blob.d.ts +2 -2
- package/dist/react/components/Blob.d.ts.map +1 -1
- package/dist/react/components/Blur.d.ts +2 -2
- package/dist/react/components/Blur.d.ts.map +1 -1
- package/dist/react/components/BrightnessContrast.d.ts +2 -2
- package/dist/react/components/BrightnessContrast.d.ts.map +1 -1
- package/dist/react/components/Bulge.d.ts +2 -2
- package/dist/react/components/Bulge.d.ts.map +1 -1
- package/dist/react/components/CRTScreen.d.ts +2 -2
- package/dist/react/components/CRTScreen.d.ts.map +1 -1
- package/dist/react/components/ChannelBlur.d.ts +2 -2
- package/dist/react/components/ChannelBlur.d.ts.map +1 -1
- package/dist/react/components/Checkerboard.d.ts +2 -2
- package/dist/react/components/Checkerboard.d.ts.map +1 -1
- package/dist/react/components/ChromaFlow.d.ts +2 -2
- package/dist/react/components/ChromaFlow.d.ts.map +1 -1
- package/dist/react/components/ChromaticAberration.d.ts +2 -2
- package/dist/react/components/ChromaticAberration.d.ts.map +1 -1
- package/dist/react/components/Circle.d.ts +2 -2
- package/dist/react/components/Circle.d.ts.map +1 -1
- package/dist/react/components/CursorTrail.d.ts +2 -2
- package/dist/react/components/CursorTrail.d.ts.map +1 -1
- package/dist/react/components/DiffuseBlur.d.ts +2 -2
- package/dist/react/components/DiffuseBlur.d.ts.map +1 -1
- package/dist/react/components/Dither.d.ts +2 -2
- package/dist/react/components/Dither.d.ts.map +1 -1
- package/dist/react/components/DotGrid.d.ts +2 -2
- package/dist/react/components/DotGrid.d.ts.map +1 -1
- package/dist/react/components/Duotone.d.ts +2 -2
- package/dist/react/components/Duotone.d.ts.map +1 -1
- package/dist/react/components/FilmGrain.d.ts +2 -2
- package/dist/react/components/FilmGrain.d.ts.map +1 -1
- package/dist/react/components/FloatingParticles.d.ts +2 -2
- package/dist/react/components/FloatingParticles.d.ts.map +1 -1
- package/dist/react/components/GlassTiles.d.ts +2 -2
- package/dist/react/components/GlassTiles.d.ts.map +1 -1
- package/dist/react/components/Glow.d.ts +2 -2
- package/dist/react/components/Glow.d.ts.map +1 -1
- package/dist/react/components/Godrays.d.ts +2 -2
- package/dist/react/components/Godrays.d.ts.map +1 -1
- package/dist/react/components/Grayscale.d.ts +2 -2
- package/dist/react/components/Grayscale.d.ts.map +1 -1
- package/dist/react/components/Grid.d.ts +2 -2
- package/dist/react/components/Grid.d.ts.map +1 -1
- package/dist/react/components/GridDistortion.d.ts +2 -2
- package/dist/react/components/GridDistortion.d.ts.map +1 -1
- package/dist/react/components/Group.d.ts +2 -2
- package/dist/react/components/Group.d.ts.map +1 -1
- package/dist/react/components/Halftone.d.ts +2 -2
- package/dist/react/components/Halftone.d.ts.map +1 -1
- package/dist/react/components/HueShift.d.ts +2 -2
- package/dist/react/components/HueShift.d.ts.map +1 -1
- package/dist/react/components/ImageTexture.d.ts +2 -2
- package/dist/react/components/ImageTexture.d.ts.map +1 -1
- package/dist/react/components/Invert.d.ts +2 -2
- package/dist/react/components/Invert.d.ts.map +1 -1
- package/dist/react/components/Kaleidoscope.d.ts +31 -0
- package/dist/react/components/Kaleidoscope.d.ts.map +1 -0
- package/dist/react/components/LinearBlur.d.ts +2 -2
- package/dist/react/components/LinearBlur.d.ts.map +1 -1
- package/dist/react/components/LinearGradient.d.ts +2 -2
- package/dist/react/components/LinearGradient.d.ts.map +1 -1
- package/dist/react/components/Liquify.d.ts +2 -2
- package/dist/react/components/Liquify.d.ts.map +1 -1
- package/dist/react/components/Mirror.d.ts +31 -0
- package/dist/react/components/Mirror.d.ts.map +1 -0
- package/dist/react/components/Perspective.d.ts +2 -2
- package/dist/react/components/Perspective.d.ts.map +1 -1
- package/dist/react/components/Pixelate.d.ts +2 -2
- package/dist/react/components/Pixelate.d.ts.map +1 -1
- package/dist/react/components/PolarCoordinates.d.ts +2 -2
- package/dist/react/components/PolarCoordinates.d.ts.map +1 -1
- package/dist/react/components/Posterize.d.ts +2 -2
- package/dist/react/components/Posterize.d.ts.map +1 -1
- package/dist/react/components/ProgressiveBlur.d.ts +2 -2
- package/dist/react/components/ProgressiveBlur.d.ts.map +1 -1
- package/dist/react/components/RadialGradient.d.ts +2 -2
- package/dist/react/components/RadialGradient.d.ts.map +1 -1
- package/dist/react/components/RectangularCoordinates.d.ts +2 -2
- package/dist/react/components/RectangularCoordinates.d.ts.map +1 -1
- package/dist/react/components/Ripples.d.ts +2 -2
- package/dist/react/components/Ripples.d.ts.map +1 -1
- package/dist/react/components/Saturation.d.ts +2 -2
- package/dist/react/components/Saturation.d.ts.map +1 -1
- package/dist/react/components/Sharpness.d.ts +2 -2
- package/dist/react/components/Sharpness.d.ts.map +1 -1
- package/dist/react/components/Shatter.d.ts +2 -2
- package/dist/react/components/Shatter.d.ts.map +1 -1
- package/dist/react/components/SimplexNoise.d.ts +2 -2
- package/dist/react/components/SimplexNoise.d.ts.map +1 -1
- package/dist/react/components/SineWave.d.ts +2 -2
- package/dist/react/components/SineWave.d.ts.map +1 -1
- package/dist/react/components/SolidColor.d.ts +2 -2
- package/dist/react/components/SolidColor.d.ts.map +1 -1
- package/dist/react/components/Spherize.d.ts +2 -2
- package/dist/react/components/Spherize.d.ts.map +1 -1
- package/dist/react/components/Spiral.d.ts +2 -2
- package/dist/react/components/Spiral.d.ts.map +1 -1
- package/dist/react/components/Strands.d.ts +2 -2
- package/dist/react/components/Strands.d.ts.map +1 -1
- package/dist/react/components/Stretch.d.ts +2 -2
- package/dist/react/components/Stretch.d.ts.map +1 -1
- package/dist/react/components/Stripes.d.ts +2 -2
- package/dist/react/components/Stripes.d.ts.map +1 -1
- package/dist/react/components/Swirl.d.ts +2 -2
- package/dist/react/components/Swirl.d.ts.map +1 -1
- package/dist/react/components/TiltShift.d.ts +2 -2
- package/dist/react/components/TiltShift.d.ts.map +1 -1
- package/dist/react/components/Tint.d.ts +2 -2
- package/dist/react/components/Tint.d.ts.map +1 -1
- package/dist/react/components/Tritone.d.ts +2 -2
- package/dist/react/components/Tritone.d.ts.map +1 -1
- package/dist/react/components/Twirl.d.ts +2 -2
- package/dist/react/components/Twirl.d.ts.map +1 -1
- package/dist/react/components/Vibrance.d.ts +2 -2
- package/dist/react/components/Vibrance.d.ts.map +1 -1
- package/dist/react/components/WaveDistortion.d.ts +2 -2
- package/dist/react/components/WaveDistortion.d.ts.map +1 -1
- package/dist/react/components/WebcamTexture.d.ts +2 -2
- package/dist/react/components/WebcamTexture.d.ts.map +1 -1
- package/dist/react/components/ZoomBlur.d.ts +2 -2
- package/dist/react/components/ZoomBlur.d.ts.map +1 -1
- package/dist/react/engine/Shader.d.ts +9 -9
- package/dist/react/engine/Shader.d.ts.map +1 -1
- package/dist/react/engine/component.template.d.ts +2 -2
- package/dist/react/engine/component.template.d.ts.map +1 -1
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +3 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +10 -0
- package/dist/registry.js +250 -0
- package/dist/solid/components/Kaleidoscope.d.ts +28 -0
- package/dist/solid/components/Kaleidoscope.d.ts.map +1 -0
- package/dist/solid/components/Kaleidoscope.js +148 -0
- package/dist/solid/components/Mirror.d.ts +28 -0
- package/dist/solid/components/Mirror.d.ts.map +1 -0
- package/dist/solid/components/Mirror.js +148 -0
- package/dist/solid/engine/Shader.d.ts +1 -1
- package/dist/solid/engine/Shader.d.ts.map +1 -1
- package/dist/solid/engine/Shader.js +24 -7
- package/dist/solid/index.d.ts +2 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +68 -64
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +10 -0
- package/dist/svelte/components/Kaleidoscope.svelte.d.ts +19 -0
- package/dist/svelte/components/Mirror.svelte.d.ts +19 -0
- package/dist/svelte/engine/Shader.svelte.d.ts +1 -1
- package/dist/svelte/{generatePresetCode-CtXcoyI0.js → generatePresetCode-on2wdSC3.js} +10 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +308 -73
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/AngularBlur.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Ascii.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Beam.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Blob.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Blur.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/BrightnessContrast.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Bulge.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/CRTScreen.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/ChannelBlur.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Checkerboard.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/ChromaFlow.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/ChromaticAberration.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Circle.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/CursorTrail.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/DiffuseBlur.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Dither.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/DotGrid.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Duotone.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/FilmGrain.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/FloatingParticles.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/GlassTiles.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Glow.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Godrays.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Grayscale.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Grid.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/GridDistortion.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Group.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Halftone.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/HueShift.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/ImageTexture.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Invert.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Kaleidoscope.js +3 -0
- package/dist/vue/Kaleidoscope.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/LinearBlur.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/LinearGradient.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Liquify.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Mirror.js +3 -0
- package/dist/vue/Mirror.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/vue/Perspective.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Pixelate.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/PolarCoordinates.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Posterize.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/ProgressiveBlur.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/RadialGradient.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/RectangularCoordinates.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Ripples.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Saturation.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +27 -14
- package/dist/vue/Sharpness.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Shatter.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/SimplexNoise.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/SineWave.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/SolidColor.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Spherize.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Spiral.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Strands.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Stretch.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Stripes.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Swirl.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/TiltShift.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Tint.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Tritone.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Twirl.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/Vibrance.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/WaveDistortion.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/WebcamTexture.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/ZoomBlur.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/vue/components/Kaleidoscope.vue.d.ts +57 -0
- package/dist/vue/components/Kaleidoscope.vue.d.ts.map +1 -0
- package/dist/vue/components/Mirror.vue.d.ts +57 -0
- package/dist/vue/components/Mirror.vue.d.ts.map +1 -0
- package/dist/vue/engine/Shader.vue.d.ts +4 -4
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +3 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +10 -0
- package/package.json +19 -4
- /package/dist/core/{LinearBlur-CfMT259a.js → LinearBlur-B-rumcdD.js} +0 -0
- /package/dist/core/{LinearGradient-Cn7w-umQ.js → LinearGradient-Al78T7WU.js} +0 -0
- /package/dist/core/{Liquify-BCkIt0A1.js → Liquify-BJgkphoQ.js} +0 -0
- /package/dist/core/{Perspective-CJOFHxEC.js → Perspective-CPhjpprG.js} +0 -0
- /package/dist/core/{Pixelate-BhNAxBsT.js → Pixelate-rlHN9jV1.js} +0 -0
- /package/dist/core/{PolarCoordinates-DLs3K__1.js → PolarCoordinates-Bfa-U0fi.js} +0 -0
- /package/dist/core/{Posterize-XoAqPWv2.js → Posterize-DDzCt2n9.js} +0 -0
- /package/dist/core/{ProgressiveBlur-BIZSnUjp.js → ProgressiveBlur-9-KRqfdm.js} +0 -0
- /package/dist/core/{RadialGradient-sQgXXXQk.js → RadialGradient-BHuQVJ4Q.js} +0 -0
- /package/dist/core/{RectangularCoordinates-CyarkXn0.js → RectangularCoordinates-CMd1Rp4Y.js} +0 -0
- /package/dist/core/{Ripples-Djjw66Bn.js → Ripples-Cil48gEl.js} +0 -0
- /package/dist/core/{Saturation-DLHW_GP6.js → Saturation-D_yZO7cz.js} +0 -0
- /package/dist/core/{Sharpness-DkGuV_dy.js → Sharpness-229T6rR0.js} +0 -0
- /package/dist/core/{Shatter-DVgj2Ea3.js → Shatter-B9tvT-jr.js} +0 -0
- /package/dist/core/{SimplexNoise-BXtLTcAr.js → SimplexNoise-YauHkNYZ.js} +0 -0
- /package/dist/core/{SineWave-BxqFasFh.js → SineWave-BEm0T7c8.js} +0 -0
- /package/dist/core/{SolidColor-DFkDBFq3.js → SolidColor-BSC8voa9.js} +0 -0
- /package/dist/core/{Spherize-DIJ4c_EG.js → Spherize-C6xkW6TJ.js} +0 -0
- /package/dist/core/{Spiral-BBtmU1Fv.js → Spiral-BY5eOKPL.js} +0 -0
- /package/dist/core/{Strands-D6UOhX0L.js → Strands-C5-TqTXW.js} +0 -0
- /package/dist/core/{Stretch-DLpz8Ofm.js → Stretch-CatYi4MC.js} +0 -0
- /package/dist/core/{Stripes-Bre3Z2m_.js → Stripes-BbNIMHDl.js} +0 -0
- /package/dist/core/{Swirl-CfsYsr4X.js → Swirl-ytfGCJTs.js} +0 -0
- /package/dist/core/{TiltShift-BPpXBzBg.js → TiltShift-CvEKlLKc.js} +0 -0
- /package/dist/core/{Tint-BazvezVn.js → Tint-PBKR7M-T.js} +0 -0
- /package/dist/core/{Tritone-w0h2ebDB.js → Tritone-D1rsE5HX.js} +0 -0
- /package/dist/core/{Twirl-dmfYS2Eo.js → Twirl-BQzDHvml.js} +0 -0
- /package/dist/core/{Vibrance-BpWyAK9W.js → Vibrance-JFvD6I5g.js} +0 -0
- /package/dist/core/{WaveDistortion-hWdvaZmT.js → WaveDistortion-D9Dox1gF.js} +0 -0
- /package/dist/core/{WebcamTexture-D4Uv7Plz.js → WebcamTexture-BnrsnuMO.js} +0 -0
- /package/dist/core/{ZoomBlur-DCI4uHOL.js → ZoomBlur-D9At8opY.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../edges-Bd7GP4s2.js";
|
|
2
2
|
import "../../transformations-YbhRK-rd.js";
|
|
3
|
-
import { n as componentDefinition, t as PolarCoordinates_default } from "../../PolarCoordinates-
|
|
3
|
+
import { n as componentDefinition, t as PolarCoordinates_default } from "../../PolarCoordinates-Bfa-U0fi.js";
|
|
4
4
|
export { componentDefinition, PolarCoordinates_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Posterize_default } from "../../Posterize-
|
|
1
|
+
import { n as componentDefinition, t as Posterize_default } from "../../Posterize-DDzCt2n9.js";
|
|
2
2
|
export { componentDefinition, Posterize_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as ProgressiveBlur_default } from "../../ProgressiveBlur-
|
|
2
|
+
import { n as componentDefinition, t as ProgressiveBlur_default } from "../../ProgressiveBlur-9-KRqfdm.js";
|
|
3
3
|
export { componentDefinition, ProgressiveBlur_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../colorMixing-CZPFmiT4.js";
|
|
3
|
-
import { n as componentDefinition, t as RadialGradient_default } from "../../RadialGradient-
|
|
3
|
+
import { n as componentDefinition, t as RadialGradient_default } from "../../RadialGradient-BHuQVJ4Q.js";
|
|
4
4
|
export { componentDefinition, RadialGradient_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../edges-Bd7GP4s2.js";
|
|
2
2
|
import "../../transformations-YbhRK-rd.js";
|
|
3
|
-
import { n as componentDefinition, t as RectangularCoordinates_default } from "../../RectangularCoordinates-
|
|
3
|
+
import { n as componentDefinition, t as RectangularCoordinates_default } from "../../RectangularCoordinates-CMd1Rp4Y.js";
|
|
4
4
|
export { componentDefinition, RectangularCoordinates_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../time-BZqyVJXt.js";
|
|
3
3
|
import "../../colorMixing-CZPFmiT4.js";
|
|
4
|
-
import { n as componentDefinition, t as Ripples_default } from "../../Ripples-
|
|
4
|
+
import { n as componentDefinition, t as Ripples_default } from "../../Ripples-Cil48gEl.js";
|
|
5
5
|
export { componentDefinition, Ripples_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Saturation_default } from "../../Saturation-
|
|
1
|
+
import { n as componentDefinition, t as Saturation_default } from "../../Saturation-D_yZO7cz.js";
|
|
2
2
|
export { componentDefinition, Saturation_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Sharpness_default } from "../../Sharpness-
|
|
1
|
+
import { n as componentDefinition, t as Sharpness_default } from "../../Sharpness-229T6rR0.js";
|
|
2
2
|
export { componentDefinition, Sharpness_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../edges-Bd7GP4s2.js";
|
|
2
2
|
import "../../transformations-YbhRK-rd.js";
|
|
3
|
-
import { n as componentDefinition, t as Shatter_default } from "../../Shatter-
|
|
3
|
+
import { n as componentDefinition, t as Shatter_default } from "../../Shatter-B9tvT-jr.js";
|
|
4
4
|
export { componentDefinition, Shatter_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../time-BZqyVJXt.js";
|
|
3
3
|
import "../../colorMixing-CZPFmiT4.js";
|
|
4
|
-
import { n as componentDefinition, t as SimplexNoise_default } from "../../SimplexNoise-
|
|
4
|
+
import { n as componentDefinition, t as SimplexNoise_default } from "../../SimplexNoise-YauHkNYZ.js";
|
|
5
5
|
export { componentDefinition, SimplexNoise_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../time-BZqyVJXt.js";
|
|
3
|
-
import { n as componentDefinition, t as SineWave_default } from "../../SineWave-
|
|
3
|
+
import { n as componentDefinition, t as SineWave_default } from "../../SineWave-BEm0T7c8.js";
|
|
4
4
|
export { componentDefinition, SineWave_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as SolidColor_default } from "../../SolidColor-
|
|
2
|
+
import { n as componentDefinition, t as SolidColor_default } from "../../SolidColor-BSC8voa9.js";
|
|
3
3
|
export { componentDefinition, SolidColor_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as Spherize_default } from "../../Spherize-
|
|
2
|
+
import { n as componentDefinition, t as Spherize_default } from "../../Spherize-C6xkW6TJ.js";
|
|
3
3
|
export { componentDefinition, Spherize_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../time-BZqyVJXt.js";
|
|
3
3
|
import "../../colorMixing-CZPFmiT4.js";
|
|
4
|
-
import { n as componentDefinition, t as Spiral_default } from "../../Spiral-
|
|
4
|
+
import { n as componentDefinition, t as Spiral_default } from "../../Spiral-BY5eOKPL.js";
|
|
5
5
|
export { componentDefinition, Spiral_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../time-BZqyVJXt.js";
|
|
3
|
-
import { n as componentDefinition, t as Strands_default } from "../../Strands-
|
|
3
|
+
import { n as componentDefinition, t as Strands_default } from "../../Strands-C5-TqTXW.js";
|
|
4
4
|
export { componentDefinition, Strands_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../edges-Bd7GP4s2.js";
|
|
2
2
|
import "../../transformations-YbhRK-rd.js";
|
|
3
|
-
import { n as componentDefinition, t as Stretch_default } from "../../Stretch-
|
|
3
|
+
import { n as componentDefinition, t as Stretch_default } from "../../Stretch-CatYi4MC.js";
|
|
4
4
|
export { componentDefinition, Stretch_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../time-BZqyVJXt.js";
|
|
3
3
|
import "../../colorMixing-CZPFmiT4.js";
|
|
4
|
-
import { n as componentDefinition, t as Stripes_default } from "../../Stripes-
|
|
4
|
+
import { n as componentDefinition, t as Stripes_default } from "../../Stripes-BbNIMHDl.js";
|
|
5
5
|
export { componentDefinition, Stripes_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../time-BZqyVJXt.js";
|
|
3
3
|
import "../../colorMixing-CZPFmiT4.js";
|
|
4
|
-
import { n as componentDefinition, t as Swirl_default } from "../../Swirl-
|
|
4
|
+
import { n as componentDefinition, t as Swirl_default } from "../../Swirl-ytfGCJTs.js";
|
|
5
5
|
export { componentDefinition, Swirl_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as TiltShift_default } from "../../TiltShift-
|
|
2
|
+
import { n as componentDefinition, t as TiltShift_default } from "../../TiltShift-CvEKlLKc.js";
|
|
3
3
|
export { componentDefinition, TiltShift_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as Tint_default } from "../../Tint-
|
|
2
|
+
import { n as componentDefinition, t as Tint_default } from "../../Tint-PBKR7M-T.js";
|
|
3
3
|
export { componentDefinition, Tint_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../colorMixing-CZPFmiT4.js";
|
|
3
|
-
import { n as componentDefinition, t as Tritone_default } from "../../Tritone-
|
|
3
|
+
import { n as componentDefinition, t as Tritone_default } from "../../Tritone-D1rsE5HX.js";
|
|
4
4
|
export { componentDefinition, Tritone_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../edges-Bd7GP4s2.js";
|
|
2
2
|
import "../../transformations-YbhRK-rd.js";
|
|
3
|
-
import { n as componentDefinition, t as Twirl_default } from "../../Twirl-
|
|
3
|
+
import { n as componentDefinition, t as Twirl_default } from "../../Twirl-BQzDHvml.js";
|
|
4
4
|
export { componentDefinition, Twirl_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Vibrance_default } from "../../Vibrance-
|
|
1
|
+
import { n as componentDefinition, t as Vibrance_default } from "../../Vibrance-JFvD6I5g.js";
|
|
2
2
|
export { componentDefinition, Vibrance_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../edges-Bd7GP4s2.js";
|
|
2
2
|
import "../../transformations-YbhRK-rd.js";
|
|
3
3
|
import "../../time-BZqyVJXt.js";
|
|
4
|
-
import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-
|
|
4
|
+
import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-D9Dox1gF.js";
|
|
5
5
|
export { componentDefinition, WaveDistortion_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-
|
|
1
|
+
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-BnrsnuMO.js";
|
|
2
2
|
export { componentDefinition, WebcamTexture_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-
|
|
2
|
+
import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-D9At8opY.js";
|
|
3
3
|
export { componentDefinition, ZoomBlur_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collector.d.ts","sourceRoot":"","sources":["../../src/telemetry/collector.ts"],"names":[],"mappings":"AAKA,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAK;IACrB,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,YAAY,CAAyB;IAC7C,OAAO,CAAC,cAAc,CAAsB;IAC5C,OAAO,CAAC,OAAO,CAAiB;gBAEpB,QAAQ,EAAE,GAAG;IAKlB,IAAI,IAAI,IAAI;IAQb,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"collector.d.ts","sourceRoot":"","sources":["../../src/telemetry/collector.ts"],"names":[],"mappings":"AAKA,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAK;IACrB,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,YAAY,CAAyB;IAC7C,OAAO,CAAC,cAAc,CAAsB;IAC5C,OAAO,CAAC,OAAO,CAAiB;gBAEpB,QAAQ,EAAE,GAAG;IAKlB,IAAI,IAAI,IAAI;IAQb,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IA4C5B,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,aAAa;IAiBrB,OAAO,CAAC,oBAAoB;IA0C5B,OAAO,CAAC,kBAAkB;IAa1B,OAAO,CAAC,iBAAiB;YAwBX,aAAa;IA0B3B,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,mBAAmB;CAQ5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environmentCollector.d.ts","sourceRoot":"","sources":["../../src/telemetry/environmentCollector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"environmentCollector.d.ts","sourceRoot":"","sources":["../../src/telemetry/environmentCollector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAyC9C,wBAAgB,kBAAkB,IAAI,eAAe,CAiBpD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function shouldCollectTelemetry(): boolean;
|
|
1
|
+
export declare function shouldCollectTelemetry(disableTelemetry?: boolean): boolean;
|
|
2
2
|
export declare function isExternalUser(): boolean;
|
|
3
3
|
export { TelemetryCollector } from './collector';
|
|
4
4
|
export type { TelemetryPayload, PerformanceMetrics, ComponentInfo, RendererInfo, EnvironmentData } from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/telemetry/index.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/telemetry/index.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,CAAC,gBAAgB,GAAE,OAAe,GAAG,OAAO,CAYjF;AAED,wBAAgB,cAAc,IAAI,OAAO,CAUxC;AAED,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAChD,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,aAAa,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1,32 +1,35 @@
|
|
|
1
1
|
const TELEMETRY_CONFIG = {
|
|
2
|
-
samplingRate: .
|
|
3
|
-
collectionDuration:
|
|
4
|
-
warmupDuration:
|
|
2
|
+
samplingRate: .01,
|
|
3
|
+
collectionDuration: 5e3,
|
|
4
|
+
warmupDuration: 500,
|
|
5
5
|
sampleInterval: 100,
|
|
6
6
|
apiEndpoint: "https://shaders.com/api/telemetry"
|
|
7
7
|
};
|
|
8
|
+
function detectBrowserFamily(userAgent) {
|
|
9
|
+
if (userAgent.includes("Edg/") || userAgent.includes("EdgiOS")) return "Edge";
|
|
10
|
+
if (userAgent.includes("OPR/") || userAgent.includes("Opera/")) return "Opera";
|
|
11
|
+
if (userAgent.includes("Chrome/") || userAgent.includes("CriOS")) return "Chrome";
|
|
12
|
+
if (userAgent.includes("Firefox/") || userAgent.includes("FxiOS")) return "Firefox";
|
|
13
|
+
if (userAgent.includes("Safari/") && !userAgent.includes("Chrome")) return "Safari";
|
|
14
|
+
return "Other";
|
|
15
|
+
}
|
|
16
|
+
function detectDeviceType(userAgent) {
|
|
17
|
+
if (/iPad|Tablet|PlayBook/i.test(userAgent)) return "tablet";
|
|
18
|
+
if (/Android/i.test(userAgent) && !/Mobile/i.test(userAgent)) return "tablet";
|
|
19
|
+
if (/Mobile|Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(userAgent)) return "mobile";
|
|
20
|
+
return "desktop";
|
|
21
|
+
}
|
|
8
22
|
function collectEnvironment() {
|
|
9
23
|
if (typeof window === "undefined" || typeof navigator === "undefined") return {
|
|
10
24
|
domain: "unknown",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
viewport: {
|
|
14
|
-
width: 0,
|
|
15
|
-
height: 0
|
|
16
|
-
},
|
|
17
|
-
devicePixelRatio: 1,
|
|
18
|
-
locale: "en-US"
|
|
25
|
+
browserFamily: "unknown",
|
|
26
|
+
deviceType: "unknown"
|
|
19
27
|
};
|
|
28
|
+
const userAgent = navigator.userAgent;
|
|
20
29
|
return {
|
|
21
30
|
domain: window.location.hostname,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
viewport: {
|
|
25
|
-
width: window.innerWidth,
|
|
26
|
-
height: window.innerHeight
|
|
27
|
-
},
|
|
28
|
-
devicePixelRatio: window.devicePixelRatio,
|
|
29
|
-
locale: navigator.language
|
|
31
|
+
browserFamily: detectBrowserFamily(userAgent),
|
|
32
|
+
deviceType: detectDeviceType(userAgent)
|
|
30
33
|
};
|
|
31
34
|
}
|
|
32
35
|
var TelemetryCollector = class {
|
|
@@ -65,10 +68,10 @@ var TelemetryCollector = class {
|
|
|
65
68
|
clearInterval(this.sampleInterval);
|
|
66
69
|
this.sampleInterval = null;
|
|
67
70
|
}
|
|
68
|
-
if (!this.stopped && this.frameSamples.length >=
|
|
71
|
+
if (!this.stopped && this.frameSamples.length >= 50) {
|
|
69
72
|
const payload = this.aggregateData();
|
|
70
73
|
await this.sendTelemetry(payload);
|
|
71
|
-
}
|
|
74
|
+
}
|
|
72
75
|
} catch (error) {
|
|
73
76
|
console.error("Telemetry collection error:", error);
|
|
74
77
|
}
|
|
@@ -153,6 +156,7 @@ var TelemetryCollector = class {
|
|
|
153
156
|
}
|
|
154
157
|
}
|
|
155
158
|
async sendTelemetry(payload) {
|
|
159
|
+
if (payload.performance.fps === 0 || payload.performance.frameTime.avg === 0) return;
|
|
156
160
|
try {
|
|
157
161
|
const response = await fetch(TELEMETRY_CONFIG.apiEndpoint, {
|
|
158
162
|
method: "POST",
|
|
@@ -182,8 +186,9 @@ var TelemetryCollector = class {
|
|
|
182
186
|
return sorted[Math.max(0, index)];
|
|
183
187
|
}
|
|
184
188
|
};
|
|
185
|
-
function shouldCollectTelemetry() {
|
|
186
|
-
if (
|
|
189
|
+
function shouldCollectTelemetry(disableTelemetry = false) {
|
|
190
|
+
if (disableTelemetry) return false;
|
|
191
|
+
if (typeof navigator !== "undefined" && navigator.doNotTrack === "1") return false;
|
|
187
192
|
return Math.random() < TELEMETRY_CONFIG.samplingRate;
|
|
188
193
|
}
|
|
189
194
|
function isExternalUser() {
|
|
@@ -30,13 +30,7 @@ export interface RendererInfo {
|
|
|
30
30
|
}
|
|
31
31
|
export interface EnvironmentData {
|
|
32
32
|
domain: string;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
viewport: {
|
|
36
|
-
width: number;
|
|
37
|
-
height: number;
|
|
38
|
-
};
|
|
39
|
-
devicePixelRatio: number;
|
|
40
|
-
locale: string;
|
|
33
|
+
browserFamily: string;
|
|
34
|
+
deviceType: string;
|
|
41
35
|
}
|
|
42
36
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/telemetry/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,WAAW,EAAE,kBAAkB,CAAA;IAC/B,QAAQ,EAAE,YAAY,CAAA;IACtB,UAAU,EAAE,aAAa,EAAE,CAAA;IAC3B,WAAW,EAAE,eAAe,CAAA;CAC7B;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE;QACT,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,EAAE,MAAM,CAAA;KACZ,CAAA;IACD,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/telemetry/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,WAAW,EAAE,kBAAkB,CAAA;IAC/B,QAAQ,EAAE,YAAY,CAAA;IACtB,UAAU,EAAE,aAAa,EAAE,CAAA;IAC3B,WAAW,EAAE,eAAe,CAAA;CAC7B;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE;QACT,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,EAAE,MAAM,CAAA;QACX,GAAG,EAAE,MAAM,CAAA;KACZ,CAAA;IACD,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAA;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;CAC5B;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ShaderContext } from "./Shader.js";
|
|
2
2
|
import { useContext, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { createUniformsMap } from "../core/index.js";
|
|
4
4
|
import { componentDefinition } from "../core/shaders/AngularBlur/index.js";
|
|
@@ -30,10 +30,10 @@ try {
|
|
|
30
30
|
} catch (e) {
|
|
31
31
|
console.warn("Error extracting default props:", e);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
const context = useContext(
|
|
33
|
+
const ShaderComponent = (props) => {
|
|
34
|
+
const context = useContext(ShaderContext);
|
|
35
35
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
36
|
-
const {
|
|
36
|
+
const { shaderParentId: parentId, shaderNodeRegister: parentRegister, shaderUniformUpdate: parentUniformUpdate, shaderMetadataUpdate: parentMetadataUpdate } = context;
|
|
37
37
|
const instanceId = useMemo(() => {
|
|
38
38
|
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
39
39
|
}, [props.id]);
|
|
@@ -49,7 +49,7 @@ const OmbreComponent = (props) => {
|
|
|
49
49
|
const childContextValue = useMemo(() => {
|
|
50
50
|
return {
|
|
51
51
|
...context,
|
|
52
|
-
|
|
52
|
+
shaderParentId: instanceId
|
|
53
53
|
};
|
|
54
54
|
}, [context, instanceId]);
|
|
55
55
|
useEffect(() => {
|
|
@@ -135,10 +135,10 @@ const OmbreComponent = (props) => {
|
|
|
135
135
|
if (props.ref && typeof props.ref === "function") try {
|
|
136
136
|
props.ref(null);
|
|
137
137
|
} catch (e) {}
|
|
138
|
-
return /* @__PURE__ */ jsx(
|
|
138
|
+
return /* @__PURE__ */ jsx(ShaderContext.Provider, {
|
|
139
139
|
value: childContextValue,
|
|
140
140
|
children: props.children
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
|
-
var AngularBlur_default =
|
|
143
|
+
var AngularBlur_default = ShaderComponent;
|
|
144
144
|
export { AngularBlur_default as default };
|
package/dist/react/Ascii.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ShaderContext } from "./Shader.js";
|
|
2
2
|
import { useContext, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { createUniformsMap } from "../core/index.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -30,10 +30,10 @@ try {
|
|
|
30
30
|
} catch (e) {
|
|
31
31
|
console.warn("Error extracting default props:", e);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
const context = useContext(
|
|
33
|
+
const ShaderComponent = (props) => {
|
|
34
|
+
const context = useContext(ShaderContext);
|
|
35
35
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
36
|
-
const {
|
|
36
|
+
const { shaderParentId: parentId, shaderNodeRegister: parentRegister, shaderUniformUpdate: parentUniformUpdate, shaderMetadataUpdate: parentMetadataUpdate } = context;
|
|
37
37
|
const instanceId = useMemo(() => {
|
|
38
38
|
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
39
39
|
}, [props.id]);
|
|
@@ -49,7 +49,7 @@ const OmbreComponent = (props) => {
|
|
|
49
49
|
const childContextValue = useMemo(() => {
|
|
50
50
|
return {
|
|
51
51
|
...context,
|
|
52
|
-
|
|
52
|
+
shaderParentId: instanceId
|
|
53
53
|
};
|
|
54
54
|
}, [context, instanceId]);
|
|
55
55
|
useEffect(() => {
|
|
@@ -135,10 +135,10 @@ const OmbreComponent = (props) => {
|
|
|
135
135
|
if (props.ref && typeof props.ref === "function") try {
|
|
136
136
|
props.ref(null);
|
|
137
137
|
} catch (e) {}
|
|
138
|
-
return /* @__PURE__ */ jsx(
|
|
138
|
+
return /* @__PURE__ */ jsx(ShaderContext.Provider, {
|
|
139
139
|
value: childContextValue,
|
|
140
140
|
children: props.children
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
|
-
var Ascii_default =
|
|
143
|
+
var Ascii_default = ShaderComponent;
|
|
144
144
|
export { Ascii_default as default };
|
package/dist/react/Beam.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ShaderContext } from "./Shader.js";
|
|
2
2
|
import { useContext, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { createUniformsMap } from "../core/index.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -30,10 +30,10 @@ try {
|
|
|
30
30
|
} catch (e) {
|
|
31
31
|
console.warn("Error extracting default props:", e);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
const context = useContext(
|
|
33
|
+
const ShaderComponent = (props) => {
|
|
34
|
+
const context = useContext(ShaderContext);
|
|
35
35
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
36
|
-
const {
|
|
36
|
+
const { shaderParentId: parentId, shaderNodeRegister: parentRegister, shaderUniformUpdate: parentUniformUpdate, shaderMetadataUpdate: parentMetadataUpdate } = context;
|
|
37
37
|
const instanceId = useMemo(() => {
|
|
38
38
|
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
39
39
|
}, [props.id]);
|
|
@@ -49,7 +49,7 @@ const OmbreComponent = (props) => {
|
|
|
49
49
|
const childContextValue = useMemo(() => {
|
|
50
50
|
return {
|
|
51
51
|
...context,
|
|
52
|
-
|
|
52
|
+
shaderParentId: instanceId
|
|
53
53
|
};
|
|
54
54
|
}, [context, instanceId]);
|
|
55
55
|
useEffect(() => {
|
|
@@ -135,10 +135,10 @@ const OmbreComponent = (props) => {
|
|
|
135
135
|
if (props.ref && typeof props.ref === "function") try {
|
|
136
136
|
props.ref(null);
|
|
137
137
|
} catch (e) {}
|
|
138
|
-
return /* @__PURE__ */ jsx(
|
|
138
|
+
return /* @__PURE__ */ jsx(ShaderContext.Provider, {
|
|
139
139
|
value: childContextValue,
|
|
140
140
|
children: props.children
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
|
-
var Beam_default =
|
|
143
|
+
var Beam_default = ShaderComponent;
|
|
144
144
|
export { Beam_default as default };
|
package/dist/react/Blob.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ShaderContext } from "./Shader.js";
|
|
2
2
|
import { useContext, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { createUniformsMap } from "../core/index.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -30,10 +30,10 @@ try {
|
|
|
30
30
|
} catch (e) {
|
|
31
31
|
console.warn("Error extracting default props:", e);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
const context = useContext(
|
|
33
|
+
const ShaderComponent = (props) => {
|
|
34
|
+
const context = useContext(ShaderContext);
|
|
35
35
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
36
|
-
const {
|
|
36
|
+
const { shaderParentId: parentId, shaderNodeRegister: parentRegister, shaderUniformUpdate: parentUniformUpdate, shaderMetadataUpdate: parentMetadataUpdate } = context;
|
|
37
37
|
const instanceId = useMemo(() => {
|
|
38
38
|
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
39
39
|
}, [props.id]);
|
|
@@ -49,7 +49,7 @@ const OmbreComponent = (props) => {
|
|
|
49
49
|
const childContextValue = useMemo(() => {
|
|
50
50
|
return {
|
|
51
51
|
...context,
|
|
52
|
-
|
|
52
|
+
shaderParentId: instanceId
|
|
53
53
|
};
|
|
54
54
|
}, [context, instanceId]);
|
|
55
55
|
useEffect(() => {
|
|
@@ -135,10 +135,10 @@ const OmbreComponent = (props) => {
|
|
|
135
135
|
if (props.ref && typeof props.ref === "function") try {
|
|
136
136
|
props.ref(null);
|
|
137
137
|
} catch (e) {}
|
|
138
|
-
return /* @__PURE__ */ jsx(
|
|
138
|
+
return /* @__PURE__ */ jsx(ShaderContext.Provider, {
|
|
139
139
|
value: childContextValue,
|
|
140
140
|
children: props.children
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
|
-
var Blob_default =
|
|
143
|
+
var Blob_default = ShaderComponent;
|
|
144
144
|
export { Blob_default as default };
|
package/dist/react/Blur.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ShaderContext } from "./Shader.js";
|
|
2
2
|
import { useContext, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { createUniformsMap } from "../core/index.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -30,10 +30,10 @@ try {
|
|
|
30
30
|
} catch (e) {
|
|
31
31
|
console.warn("Error extracting default props:", e);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
const context = useContext(
|
|
33
|
+
const ShaderComponent = (props) => {
|
|
34
|
+
const context = useContext(ShaderContext);
|
|
35
35
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
36
|
-
const {
|
|
36
|
+
const { shaderParentId: parentId, shaderNodeRegister: parentRegister, shaderUniformUpdate: parentUniformUpdate, shaderMetadataUpdate: parentMetadataUpdate } = context;
|
|
37
37
|
const instanceId = useMemo(() => {
|
|
38
38
|
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
39
39
|
}, [props.id]);
|
|
@@ -49,7 +49,7 @@ const OmbreComponent = (props) => {
|
|
|
49
49
|
const childContextValue = useMemo(() => {
|
|
50
50
|
return {
|
|
51
51
|
...context,
|
|
52
|
-
|
|
52
|
+
shaderParentId: instanceId
|
|
53
53
|
};
|
|
54
54
|
}, [context, instanceId]);
|
|
55
55
|
useEffect(() => {
|
|
@@ -135,10 +135,10 @@ const OmbreComponent = (props) => {
|
|
|
135
135
|
if (props.ref && typeof props.ref === "function") try {
|
|
136
136
|
props.ref(null);
|
|
137
137
|
} catch (e) {}
|
|
138
|
-
return /* @__PURE__ */ jsx(
|
|
138
|
+
return /* @__PURE__ */ jsx(ShaderContext.Provider, {
|
|
139
139
|
value: childContextValue,
|
|
140
140
|
children: props.children
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
|
-
var Blur_default =
|
|
143
|
+
var Blur_default = ShaderComponent;
|
|
144
144
|
export { Blur_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ShaderContext } from "./Shader.js";
|
|
2
2
|
import { useContext, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { createUniformsMap } from "../core/index.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -30,10 +30,10 @@ try {
|
|
|
30
30
|
} catch (e) {
|
|
31
31
|
console.warn("Error extracting default props:", e);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
const context = useContext(
|
|
33
|
+
const ShaderComponent = (props) => {
|
|
34
|
+
const context = useContext(ShaderContext);
|
|
35
35
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
36
|
-
const {
|
|
36
|
+
const { shaderParentId: parentId, shaderNodeRegister: parentRegister, shaderUniformUpdate: parentUniformUpdate, shaderMetadataUpdate: parentMetadataUpdate } = context;
|
|
37
37
|
const instanceId = useMemo(() => {
|
|
38
38
|
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
39
39
|
}, [props.id]);
|
|
@@ -49,7 +49,7 @@ const OmbreComponent = (props) => {
|
|
|
49
49
|
const childContextValue = useMemo(() => {
|
|
50
50
|
return {
|
|
51
51
|
...context,
|
|
52
|
-
|
|
52
|
+
shaderParentId: instanceId
|
|
53
53
|
};
|
|
54
54
|
}, [context, instanceId]);
|
|
55
55
|
useEffect(() => {
|
|
@@ -135,10 +135,10 @@ const OmbreComponent = (props) => {
|
|
|
135
135
|
if (props.ref && typeof props.ref === "function") try {
|
|
136
136
|
props.ref(null);
|
|
137
137
|
} catch (e) {}
|
|
138
|
-
return /* @__PURE__ */ jsx(
|
|
138
|
+
return /* @__PURE__ */ jsx(ShaderContext.Provider, {
|
|
139
139
|
value: childContextValue,
|
|
140
140
|
children: props.children
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
|
-
var BrightnessContrast_default =
|
|
143
|
+
var BrightnessContrast_default = ShaderComponent;
|
|
144
144
|
export { BrightnessContrast_default as default };
|
package/dist/react/Bulge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ShaderContext } from "./Shader.js";
|
|
2
2
|
import { useContext, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { createUniformsMap } from "../core/index.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -30,10 +30,10 @@ try {
|
|
|
30
30
|
} catch (e) {
|
|
31
31
|
console.warn("Error extracting default props:", e);
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
const context = useContext(
|
|
33
|
+
const ShaderComponent = (props) => {
|
|
34
|
+
const context = useContext(ShaderContext);
|
|
35
35
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
36
|
-
const {
|
|
36
|
+
const { shaderParentId: parentId, shaderNodeRegister: parentRegister, shaderUniformUpdate: parentUniformUpdate, shaderMetadataUpdate: parentMetadataUpdate } = context;
|
|
37
37
|
const instanceId = useMemo(() => {
|
|
38
38
|
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
39
39
|
}, [props.id]);
|
|
@@ -49,7 +49,7 @@ const OmbreComponent = (props) => {
|
|
|
49
49
|
const childContextValue = useMemo(() => {
|
|
50
50
|
return {
|
|
51
51
|
...context,
|
|
52
|
-
|
|
52
|
+
shaderParentId: instanceId
|
|
53
53
|
};
|
|
54
54
|
}, [context, instanceId]);
|
|
55
55
|
useEffect(() => {
|
|
@@ -135,10 +135,10 @@ const OmbreComponent = (props) => {
|
|
|
135
135
|
if (props.ref && typeof props.ref === "function") try {
|
|
136
136
|
props.ref(null);
|
|
137
137
|
} catch (e) {}
|
|
138
|
-
return /* @__PURE__ */ jsx(
|
|
138
|
+
return /* @__PURE__ */ jsx(ShaderContext.Provider, {
|
|
139
139
|
value: childContextValue,
|
|
140
140
|
children: props.children
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
|
-
var Bulge_default =
|
|
143
|
+
var Bulge_default = ShaderComponent;
|
|
144
144
|
export { Bulge_default as default };
|