shaders 2.2.43 → 2.2.45
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/{AngularBlur-CuwAjUOA.js → AngularBlur-CQYutWxj.js} +6 -2
- package/dist/core/{Beam-CbG4MkLo.js → Beam-CZo-XeQ-.js} +4 -4
- package/dist/core/{Blob-Ck1tVOL_.js → Blob-D3PIrwWv.js} +7 -7
- package/dist/core/{BrightnessContrast-CaErceqR.js → BrightnessContrast-SC7HYw9z.js} +2 -2
- package/dist/core/{Bulge-BVcWo6On.js → Bulge-CbZA25NX.js} +3 -3
- package/dist/core/{CRTScreen-CcAYeqoI.js → CRTScreen-DV5Y2GRA.js} +34 -6
- package/dist/core/{Checkerboard-D_hGvoO7.js → Checkerboard-DBcVaYQv.js} +6 -9
- package/dist/core/{ChromaFlow-DizYQSgf.js → ChromaFlow-DcqnZ1wf.js} +5 -4
- package/dist/core/{ChromaticAberration-Bk_DMYJm.js → ChromaticAberration-Dgf83J6w.js} +4 -3
- package/dist/core/{Circle-BlVzkeyl.js → Circle-BWd84W7f.js} +2 -2
- package/dist/core/{CursorTrail-CxXWV7KH.js → CursorTrail-BKfdORYc.js} +5 -4
- package/dist/core/{Dither-C1KyBYuE.js → Dither-DWoCLL0e.js} +1 -1
- package/dist/core/{DotGrid-ll8XCA0p.js → DotGrid-BZVfqUZO.js} +2 -2
- package/dist/core/{Duotone-d2gQJr4M.js → Duotone-sjvdZBlx.js} +1 -1
- package/dist/core/{FilmGrain-3h6TIe1T.js → FilmGrain-Cr3qP38A.js} +1 -1
- package/dist/core/{FloatingParticles-D95-rj4h.js → FloatingParticles-CPsVFZJl.js} +5 -5
- package/dist/core/{GlassTiles-DqT67iqr.js → GlassTiles-C6LLjlnB.js} +9 -7
- package/dist/core/{Glow-BYNKuw0E.js → Glow-C2avDr73.js} +3 -3
- package/dist/core/{Godrays-DCk1c8sQ.js → Godrays-RVh5ylQ-.js} +8 -6
- package/dist/core/{GridDistortion-D-iiGELF.js → GridDistortion-fimECOse.js} +12 -23
- package/dist/core/{Halftone-CV0aFuRG.js → Halftone-Cb5yrPnj.js} +1 -1
- package/dist/core/{LinearBlur-CTXjolzL.js → LinearBlur-CfMT259a.js} +2 -1
- package/dist/core/{LinearGradient-CZo6e7r8.js → LinearGradient-Cn7w-umQ.js} +6 -2
- package/dist/core/{Liquify-BbfDBMNZ.js → Liquify-BCkIt0A1.js} +1 -18
- package/dist/core/{Perspective-CSP2Hb16.js → Perspective-CJOFHxEC.js} +1 -1
- package/dist/core/{Pixelate-BAoi-CSx.js → Pixelate-BhNAxBsT.js} +7 -3
- package/dist/core/{PolarCoordinates-BwN9HhFK.js → PolarCoordinates-DLs3K__1.js} +3 -3
- package/dist/core/{ProgressiveBlur-RuAm_BKx.js → ProgressiveBlur-BIZSnUjp.js} +5 -2
- package/dist/core/{RadialGradient-BfFuRbIl.js → RadialGradient-sQgXXXQk.js} +1 -1
- package/dist/core/{RectangularCoordinates-CiW3J4UT.js → RectangularCoordinates-CyarkXn0.js} +2 -2
- package/dist/core/{Ripples-DKBIp3Qq.js → Ripples-Djjw66Bn.js} +3 -3
- package/dist/core/{Saturation-DVVlpikK.js → Saturation-DLHW_GP6.js} +1 -1
- package/dist/core/{Sharpness-cw57bW0s.js → Sharpness-DkGuV_dy.js} +1 -1
- package/dist/core/{Shatter-COjV2jLy.js → Shatter-DVgj2Ea3.js} +3 -2
- package/dist/core/{SimplexNoise-Ce79jgYM.js → SimplexNoise-BXtLTcAr.js} +1 -1
- package/dist/core/{SineWave-Cv2gOU8a.js → SineWave-BxqFasFh.js} +3 -3
- package/dist/core/{Spherize-R-s4pX9t.js → Spherize-DIJ4c_EG.js} +4 -4
- package/dist/core/{Spiral-W4dALX1z.js → Spiral-BBtmU1Fv.js} +3 -3
- package/dist/core/{Strands-DtN5POfO.js → Strands-D6UOhX0L.js} +5 -5
- package/dist/core/{Stretch-BzvP_hdu.js → Stretch-DLpz8Ofm.js} +2 -2
- package/dist/core/{Stripes-BbNFX05u.js → Stripes-Bre3Z2m_.js} +5 -5
- package/dist/core/{TiltShift-B6gbm7Z8.js → TiltShift-BPpXBzBg.js} +6 -4
- package/dist/core/{Tint-CpnitsHw.js → Tint-BazvezVn.js} +1 -1
- package/dist/core/{Tritone-DzvSKVfR.js → Tritone-w0h2ebDB.js} +1 -1
- package/dist/core/{Twirl-BXH4uAd6.js → Twirl-dmfYS2Eo.js} +7 -5
- package/dist/core/{Vibrance-ByN9bRgU.js → Vibrance-BpWyAK9W.js} +1 -1
- package/dist/core/{WaveDistortion-BA1PyqYH.js → WaveDistortion-hWdvaZmT.js} +6 -4
- package/dist/core/{ZoomBlur-CIkkDBIo.js → ZoomBlur-DCI4uHOL.js} +5 -2
- package/dist/core/index.d.ts +0 -2
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +8 -170
- package/dist/core/registry.d.ts +10 -0
- package/dist/core/registry.d.ts.map +1 -0
- package/dist/core/registry.js +166 -0
- package/dist/core/shaders/AngularBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +1 -1
- package/dist/core/shaders/Beam/index.js +1 -1
- package/dist/core/shaders/Blob/index.js +1 -1
- package/dist/core/shaders/BrightnessContrast/index.js +1 -1
- package/dist/core/shaders/Bulge/index.js +1 -1
- package/dist/core/shaders/CRTScreen/index.d.ts +14 -0
- package/dist/core/shaders/CRTScreen/index.d.ts.map +1 -1
- package/dist/core/shaders/CRTScreen/index.js +1 -1
- package/dist/core/shaders/Checkerboard/index.d.ts.map +1 -1
- package/dist/core/shaders/Checkerboard/index.js +1 -1
- package/dist/core/shaders/ChromaFlow/index.d.ts +1 -1
- package/dist/core/shaders/ChromaFlow/index.d.ts.map +1 -1
- package/dist/core/shaders/ChromaFlow/index.js +1 -1
- package/dist/core/shaders/ChromaticAberration/index.d.ts.map +1 -1
- package/dist/core/shaders/ChromaticAberration/index.js +1 -1
- package/dist/core/shaders/Circle/index.js +1 -1
- package/dist/core/shaders/CursorTrail/index.d.ts.map +1 -1
- package/dist/core/shaders/CursorTrail/index.js +1 -1
- package/dist/core/shaders/Dither/index.js +1 -1
- package/dist/core/shaders/DotGrid/index.js +1 -1
- package/dist/core/shaders/Duotone/index.js +1 -1
- package/dist/core/shaders/FilmGrain/index.js +1 -1
- package/dist/core/shaders/FloatingParticles/index.js +1 -1
- package/dist/core/shaders/GlassTiles/index.d.ts +1 -1
- package/dist/core/shaders/GlassTiles/index.d.ts.map +1 -1
- package/dist/core/shaders/GlassTiles/index.js +1 -1
- package/dist/core/shaders/Glow/index.js +1 -1
- package/dist/core/shaders/Godrays/index.d.ts.map +1 -1
- package/dist/core/shaders/Godrays/index.js +1 -1
- package/dist/core/shaders/GridDistortion/index.d.ts +0 -7
- package/dist/core/shaders/GridDistortion/index.d.ts.map +1 -1
- package/dist/core/shaders/GridDistortion/index.js +1 -1
- package/dist/core/shaders/Halftone/index.js +1 -1
- package/dist/core/shaders/LinearBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/LinearBlur/index.js +1 -1
- package/dist/core/shaders/LinearGradient/index.d.ts.map +1 -1
- package/dist/core/shaders/LinearGradient/index.js +1 -1
- package/dist/core/shaders/Liquify/index.d.ts +0 -7
- package/dist/core/shaders/Liquify/index.d.ts.map +1 -1
- package/dist/core/shaders/Liquify/index.js +1 -1
- package/dist/core/shaders/Perspective/index.js +1 -1
- package/dist/core/shaders/Pixelate/index.d.ts +1 -1
- package/dist/core/shaders/Pixelate/index.d.ts.map +1 -1
- package/dist/core/shaders/Pixelate/index.js +1 -1
- package/dist/core/shaders/PolarCoordinates/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.d.ts.map +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.d.ts.map +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/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/Strands/index.d.ts +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.d.ts +1 -1
- package/dist/core/shaders/Stripes/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.d.ts.map +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.d.ts.map +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.d.ts.map +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/react/AngularBlur.js +144 -0
- package/dist/react/Ascii.js +144 -0
- package/dist/react/Beam.js +144 -0
- package/dist/react/Blob.js +144 -0
- package/dist/react/Blur.js +144 -0
- package/dist/react/BrightnessContrast.js +144 -0
- package/dist/react/Bulge.js +144 -0
- package/dist/react/CRTScreen.js +144 -0
- package/dist/react/ChannelBlur.js +144 -0
- package/dist/react/Checkerboard.js +144 -0
- package/dist/react/ChromaFlow.js +144 -0
- package/dist/react/ChromaticAberration.js +144 -0
- package/dist/react/Circle.js +144 -0
- package/dist/react/CursorTrail.js +144 -0
- package/dist/react/DiffuseBlur.js +144 -0
- package/dist/react/Dither.js +144 -0
- package/dist/react/DotGrid.js +144 -0
- package/dist/react/Duotone.js +144 -0
- package/dist/react/FilmGrain.js +144 -0
- package/dist/react/FloatingParticles.js +144 -0
- package/dist/react/GlassTiles.js +144 -0
- package/dist/react/Glow.js +144 -0
- package/dist/react/Godrays.js +144 -0
- package/dist/react/Grayscale.js +144 -0
- package/dist/react/Grid.js +144 -0
- package/dist/react/GridDistortion.js +144 -0
- package/dist/react/Group.js +144 -0
- package/dist/react/Halftone.js +144 -0
- package/dist/react/HueShift.js +144 -0
- package/dist/react/ImageTexture.js +144 -0
- package/dist/react/Invert.js +144 -0
- package/dist/react/LinearBlur.js +144 -0
- package/dist/react/LinearGradient.js +144 -0
- package/dist/react/Liquify.js +144 -0
- package/dist/react/Perspective.js +144 -0
- package/dist/react/Pixelate.js +144 -0
- package/dist/react/PolarCoordinates.js +144 -0
- package/dist/react/Posterize.js +144 -0
- package/dist/react/ProgressiveBlur.js +144 -0
- package/dist/react/RadialGradient.js +144 -0
- package/dist/react/RectangularCoordinates.js +144 -0
- package/dist/react/Ripples.js +144 -0
- package/dist/react/Saturation.js +144 -0
- package/dist/react/Shader.js +166 -0
- package/dist/react/Sharpness.js +144 -0
- package/dist/react/Shatter.js +144 -0
- package/dist/react/SimplexNoise.js +144 -0
- package/dist/react/SineWave.js +144 -0
- package/dist/react/SolidColor.js +144 -0
- package/dist/react/Spherize.js +144 -0
- package/dist/react/Spiral.js +144 -0
- package/dist/react/Strands.js +144 -0
- package/dist/react/Stretch.js +144 -0
- package/dist/react/Stripes.js +144 -0
- package/dist/react/Swirl.js +144 -0
- package/dist/react/TiltShift.js +144 -0
- package/dist/react/Tint.js +144 -0
- package/dist/react/Tritone.js +144 -0
- package/dist/react/Twirl.js +144 -0
- package/dist/react/Vibrance.js +144 -0
- package/dist/react/WaveDistortion.js +144 -0
- package/dist/react/WebcamTexture.js +144 -0
- package/dist/react/ZoomBlur.js +144 -0
- package/dist/react/index.js +64 -8784
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +392 -1
- package/dist/registry.js +228 -228
- package/dist/solid/components/AngularBlur.js +148 -0
- package/dist/solid/components/Ascii.js +148 -0
- package/dist/solid/components/Beam.js +148 -0
- package/dist/solid/components/Blob.js +148 -0
- package/dist/solid/components/Blur.js +148 -0
- package/dist/solid/components/BrightnessContrast.js +148 -0
- package/dist/solid/components/Bulge.js +148 -0
- package/dist/solid/components/CRTScreen.js +148 -0
- package/dist/solid/components/ChannelBlur.js +148 -0
- package/dist/solid/components/Checkerboard.js +148 -0
- package/dist/solid/components/ChromaFlow.js +148 -0
- package/dist/solid/components/ChromaticAberration.js +148 -0
- package/dist/solid/components/Circle.js +148 -0
- package/dist/solid/components/CursorTrail.js +148 -0
- package/dist/solid/components/DiffuseBlur.js +148 -0
- package/dist/solid/components/Dither.js +148 -0
- package/dist/solid/components/DotGrid.js +148 -0
- package/dist/solid/components/Duotone.js +148 -0
- package/dist/solid/components/FilmGrain.js +148 -0
- package/dist/solid/components/FloatingParticles.js +148 -0
- package/dist/solid/components/GlassTiles.js +148 -0
- package/dist/solid/components/Glow.js +148 -0
- package/dist/solid/components/Godrays.js +148 -0
- package/dist/solid/components/Grayscale.js +148 -0
- package/dist/solid/components/Grid.js +148 -0
- package/dist/solid/components/GridDistortion.js +148 -0
- package/dist/solid/components/Group.js +148 -0
- package/dist/solid/components/Halftone.js +148 -0
- package/dist/solid/components/HueShift.js +148 -0
- package/dist/solid/components/ImageTexture.js +148 -0
- package/dist/solid/components/Invert.js +148 -0
- package/dist/solid/components/LinearBlur.js +148 -0
- package/dist/solid/components/LinearGradient.js +148 -0
- package/dist/solid/components/Liquify.js +148 -0
- package/dist/solid/components/Perspective.js +148 -0
- package/dist/solid/components/Pixelate.js +148 -0
- package/dist/solid/components/PolarCoordinates.js +148 -0
- package/dist/solid/components/Posterize.js +148 -0
- package/dist/solid/components/ProgressiveBlur.js +148 -0
- package/dist/solid/components/RadialGradient.js +148 -0
- package/dist/solid/components/RectangularCoordinates.js +148 -0
- package/dist/solid/components/Ripples.js +148 -0
- package/dist/solid/components/Saturation.js +148 -0
- package/dist/solid/components/Sharpness.js +148 -0
- package/dist/solid/components/Shatter.js +148 -0
- package/dist/solid/components/SimplexNoise.js +148 -0
- package/dist/solid/components/SineWave.js +148 -0
- package/dist/solid/components/SolidColor.js +148 -0
- package/dist/solid/components/Spherize.js +148 -0
- package/dist/solid/components/Spiral.js +148 -0
- package/dist/solid/components/Strands.js +148 -0
- package/dist/solid/components/Stretch.js +148 -0
- package/dist/solid/components/Stripes.js +148 -0
- package/dist/solid/components/Swirl.js +148 -0
- package/dist/solid/components/TiltShift.js +148 -0
- package/dist/solid/components/Tint.js +148 -0
- package/dist/solid/components/Tritone.js +148 -0
- package/dist/solid/components/Twirl.js +148 -0
- package/dist/solid/components/Vibrance.js +148 -0
- package/dist/solid/components/WaveDistortion.js +148 -0
- package/dist/solid/components/WebcamTexture.js +148 -0
- package/dist/solid/components/ZoomBlur.js +148 -0
- package/dist/solid/engine/Shader.js +189 -0
- package/dist/solid/index.js +126 -8989
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +62 -417
- package/dist/svelte/generatePresetCode-CtXcoyI0.js +393 -0
- package/dist/svelte/index.js +1 -1
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/AngularBlur.js +3 -0
- package/dist/vue/AngularBlur.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/vue/Ascii.js +3 -0
- package/dist/vue/Ascii.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/Beam.js +3 -0
- package/dist/vue/Beam.vue_vue_type_script_setup_true_lang.js +132 -0
- package/dist/vue/Blob.js +3 -0
- package/dist/vue/Blob.vue_vue_type_script_setup_true_lang.js +137 -0
- package/dist/vue/Blur.js +3 -0
- package/dist/vue/Blur.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/vue/BrightnessContrast.js +3 -0
- package/dist/vue/BrightnessContrast.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/vue/Bulge.js +3 -0
- package/dist/vue/Bulge.vue_vue_type_script_setup_true_lang.js +128 -0
- package/dist/vue/CRTScreen.js +3 -0
- package/dist/vue/CRTScreen.vue_vue_type_script_setup_true_lang.js +131 -0
- package/dist/vue/ChannelBlur.js +3 -0
- package/dist/vue/ChannelBlur.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/vue/Checkerboard.js +3 -0
- package/dist/vue/Checkerboard.vue_vue_type_script_setup_true_lang.js +128 -0
- package/dist/vue/ChromaFlow.js +3 -0
- package/dist/vue/ChromaFlow.vue_vue_type_script_setup_true_lang.js +131 -0
- package/dist/vue/ChromaticAberration.js +3 -0
- package/dist/vue/ChromaticAberration.vue_vue_type_script_setup_true_lang.js +128 -0
- package/dist/vue/Circle.js +3 -0
- package/dist/vue/Circle.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/CursorTrail.js +3 -0
- package/dist/vue/CursorTrail.vue_vue_type_script_setup_true_lang.js +129 -0
- package/dist/vue/DiffuseBlur.js +3 -0
- package/dist/vue/DiffuseBlur.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/vue/Dither.js +3 -0
- package/dist/vue/Dither.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/DotGrid.js +3 -0
- package/dist/vue/DotGrid.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/Duotone.js +3 -0
- package/dist/vue/Duotone.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/FilmGrain.js +3 -0
- package/dist/vue/FilmGrain.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/vue/FloatingParticles.js +3 -0
- package/dist/vue/FloatingParticles.vue_vue_type_script_setup_true_lang.js +134 -0
- package/dist/vue/GlassTiles.js +3 -0
- package/dist/vue/GlassTiles.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/Glow.js +3 -0
- package/dist/vue/Glow.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/vue/Godrays.js +3 -0
- package/dist/vue/Godrays.vue_vue_type_script_setup_true_lang.js +130 -0
- package/dist/vue/Grayscale.js +3 -0
- package/dist/vue/Grayscale.vue_vue_type_script_setup_true_lang.js +123 -0
- package/dist/vue/Grid.js +3 -0
- package/dist/vue/Grid.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/vue/GridDistortion.js +3 -0
- package/dist/vue/GridDistortion.vue_vue_type_script_setup_true_lang.js +128 -0
- package/dist/vue/Group.js +3 -0
- package/dist/vue/Group.vue_vue_type_script_setup_true_lang.js +123 -0
- package/dist/vue/Halftone.js +3 -0
- package/dist/vue/Halftone.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/vue/HueShift.js +3 -0
- package/dist/vue/HueShift.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/vue/ImageTexture.js +3 -0
- package/dist/vue/ImageTexture.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/vue/Invert.js +3 -0
- package/dist/vue/Invert.vue_vue_type_script_setup_true_lang.js +123 -0
- package/dist/vue/LinearBlur.js +3 -0
- package/dist/vue/LinearBlur.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/vue/LinearGradient.js +3 -0
- package/dist/vue/LinearGradient.vue_vue_type_script_setup_true_lang.js +130 -0
- package/dist/vue/Liquify.js +3 -0
- package/dist/vue/Liquify.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/Perspective.js +3 -0
- package/dist/vue/Perspective.vue_vue_type_script_setup_true_lang.js +130 -0
- package/dist/vue/Pixelate.js +3 -0
- package/dist/vue/Pixelate.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/vue/PolarCoordinates.js +3 -0
- package/dist/vue/PolarCoordinates.vue_vue_type_script_setup_true_lang.js +128 -0
- package/dist/vue/Posterize.js +3 -0
- package/dist/vue/Posterize.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/vue/ProgressiveBlur.js +3 -0
- package/dist/vue/ProgressiveBlur.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/RadialGradient.js +3 -0
- package/dist/vue/RadialGradient.vue_vue_type_script_setup_true_lang.js +128 -0
- package/dist/vue/RectangularCoordinates.js +3 -0
- package/dist/vue/RectangularCoordinates.vue_vue_type_script_setup_true_lang.js +127 -0
- package/dist/vue/Ripples.js +3 -0
- package/dist/vue/Ripples.vue_vue_type_script_setup_true_lang.js +131 -0
- package/dist/vue/Saturation.js +3 -0
- package/dist/vue/Saturation.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/vue/Shader.js +3 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +153 -0
- package/dist/vue/Sharpness.js +3 -0
- package/dist/vue/Sharpness.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/vue/Shatter.js +3 -0
- package/dist/vue/Shatter.vue_vue_type_script_setup_true_lang.js +132 -0
- package/dist/vue/SimplexNoise.js +3 -0
- package/dist/vue/SimplexNoise.vue_vue_type_script_setup_true_lang.js +130 -0
- package/dist/vue/SineWave.js +3 -0
- package/dist/vue/SineWave.vue_vue_type_script_setup_true_lang.js +131 -0
- package/dist/vue/SolidColor.js +3 -0
- package/dist/vue/SolidColor.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/vue/Spherize.js +3 -0
- package/dist/vue/Spherize.vue_vue_type_script_setup_true_lang.js +130 -0
- package/dist/vue/Spiral.js +3 -0
- package/dist/vue/Spiral.vue_vue_type_script_setup_true_lang.js +132 -0
- package/dist/vue/Strands.js +3 -0
- package/dist/vue/Strands.vue_vue_type_script_setup_true_lang.js +132 -0
- package/dist/vue/Stretch.js +3 -0
- package/dist/vue/Stretch.vue_vue_type_script_setup_true_lang.js +128 -0
- package/dist/vue/Stripes.js +3 -0
- package/dist/vue/Stripes.vue_vue_type_script_setup_true_lang.js +132 -0
- package/dist/vue/Swirl.js +3 -0
- package/dist/vue/Swirl.vue_vue_type_script_setup_true_lang.js +129 -0
- package/dist/vue/TiltShift.js +3 -0
- package/dist/vue/TiltShift.vue_vue_type_script_setup_true_lang.js +128 -0
- package/dist/vue/Tint.js +3 -0
- package/dist/vue/Tint.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/vue/Tritone.js +3 -0
- package/dist/vue/Tritone.vue_vue_type_script_setup_true_lang.js +128 -0
- package/dist/vue/Twirl.js +3 -0
- package/dist/vue/Twirl.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/vue/Vibrance.js +3 -0
- package/dist/vue/Vibrance.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/vue/WaveDistortion.js +3 -0
- package/dist/vue/WaveDistortion.vue_vue_type_script_setup_true_lang.js +129 -0
- package/dist/vue/WebcamTexture.js +3 -0
- package/dist/vue/WebcamTexture.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/vue/ZoomBlur.js +3 -0
- package/dist/vue/ZoomBlur.vue_vue_type_script_setup_true_lang.js +125 -0
- package/dist/vue/index.js +64 -7870
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +391 -1
- package/package.json +1 -1
- package/dist/react/generatePresetCode-D0yiVxb4.js +0 -748
- package/dist/svelte/generatePresetCode-DUGaV_ym.js +0 -748
- package/dist/vue/generatePresetCode-CShQ8TLw.js +0 -747
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
2
|
import { o as transformEdges } from "./transformations-YbhRK-rd.js";
|
|
3
3
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
4
|
-
import { PI, abs, convertToTexture, cos, float, fract, screenUV, sin, step, vec2, vec4 } from "three/tsl";
|
|
4
|
+
import { PI, abs, convertToTexture, cos, float, fract, screenUV, sin, step, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
6
6
|
name: "WaveDistortion",
|
|
7
7
|
category: "Distortions",
|
|
@@ -16,7 +16,7 @@ const componentDefinition = {
|
|
|
16
16
|
type: "range",
|
|
17
17
|
min: 0,
|
|
18
18
|
max: 1,
|
|
19
|
-
step: .
|
|
19
|
+
step: .1,
|
|
20
20
|
label: "Strength"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
@@ -119,12 +119,14 @@ const componentDefinition = {
|
|
|
119
119
|
const { uniforms, childNode, onCleanup } = params;
|
|
120
120
|
if (!childNode) return vec4(0, 0, 0, 0);
|
|
121
121
|
const uvCoord = screenUV;
|
|
122
|
+
const aspect = viewportSize.x.div(viewportSize.y);
|
|
122
123
|
const t = createAnimatedTime(params, uniforms.speed).mul(.5);
|
|
123
124
|
const angleRad = uniforms.angle.uniform.mul(PI).div(180);
|
|
124
125
|
const cosAngle = cos(angleRad);
|
|
125
126
|
const sinAngle = sin(angleRad);
|
|
126
127
|
const centeredUV = uvCoord.sub(vec2(.5, .5));
|
|
127
|
-
const
|
|
128
|
+
const aspectCorrectedUV = vec2(centeredUV.x.mul(aspect), centeredUV.y);
|
|
129
|
+
const phase = vec2(aspectCorrectedUV.x.mul(cosAngle).sub(aspectCorrectedUV.y.mul(sinAngle)), aspectCorrectedUV.x.mul(sinAngle).add(aspectCorrectedUV.y.mul(cosAngle))).y.add(.5).mul(uniforms.frequency.uniform).mul(PI.mul(2)).add(t);
|
|
128
130
|
const normalizedPhase = fract(phase.div(PI.mul(2)));
|
|
129
131
|
const sineWave = sin(phase);
|
|
130
132
|
const triangleWave = abs(normalizedPhase.mul(2).sub(1)).mul(2).sub(1);
|
|
@@ -136,7 +138,7 @@ const componentDefinition = {
|
|
|
136
138
|
const isSquare = step(float(1.5), waveTypeValue).mul(step(waveTypeValue, float(2.5)));
|
|
137
139
|
const isSawtooth = step(float(2.5), waveTypeValue);
|
|
138
140
|
const displacement = sineWave.mul(isSine).add(triangleWave.mul(isTriangle)).add(squareWave.mul(isSquare)).add(sawtoothWave.mul(isSawtooth)).mul(uniforms.strength.uniform).mul(.5);
|
|
139
|
-
const displacementX = displacement.mul(cosAngle);
|
|
141
|
+
const displacementX = displacement.mul(cosAngle).div(aspect);
|
|
140
142
|
const displacementY = displacement.mul(sinAngle);
|
|
141
143
|
const distortedUV = vec2(uvCoord.x.add(displacementX), uvCoord.y.add(displacementY));
|
|
142
144
|
const childTexture = convertToTexture(childNode);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as transformPosition } from "./transformations-YbhRK-rd.js";
|
|
2
|
-
import { Fn, convertToTexture, float, screenUV, vec2, vec4 } from "three/tsl";
|
|
2
|
+
import { Fn, convertToTexture, float, screenUV, vec2, vec4, viewportSize } from "three/tsl";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "ZoomBlur",
|
|
5
5
|
category: "Blurs",
|
|
@@ -39,6 +39,7 @@ const componentDefinition = {
|
|
|
39
39
|
});
|
|
40
40
|
const center = vec2(uniforms.center.uniform.x, uniforms.center.uniform.y.oneMinus());
|
|
41
41
|
const radius = uniforms.intensity.uniform.mul(.01);
|
|
42
|
+
const aspect = viewportSize.x.div(viewportSize.y);
|
|
42
43
|
return Fn(() => {
|
|
43
44
|
const uv$1 = screenUV;
|
|
44
45
|
const total = vec4(0).toVar();
|
|
@@ -48,7 +49,9 @@ const componentDefinition = {
|
|
|
48
49
|
const weightT = t.sub(.5).mul(2);
|
|
49
50
|
const weight = float(1).div(float(2.506628)).mul(float(-.5).mul(weightT).mul(weightT).div(float(.64)).exp());
|
|
50
51
|
const scale = float(1).add(radius.mul(t));
|
|
51
|
-
const
|
|
52
|
+
const delta = uv$1.sub(center);
|
|
53
|
+
const scaledDelta = vec2(delta.x.mul(aspect), delta.y).div(scale);
|
|
54
|
+
const scaledCoord = vec2(scaledDelta.x.div(aspect), scaledDelta.y).add(center);
|
|
52
55
|
const sample = childTexture.sample(scaledCoord).mul(weight);
|
|
53
56
|
total.assign(total.add(sample));
|
|
54
57
|
totalWeight.assign(totalWeight.add(weight));
|
package/dist/core/index.d.ts
CHANGED
|
@@ -16,6 +16,4 @@ export { edgeMask } from './helpers/edgeMask';
|
|
|
16
16
|
export type { UniformsMap, PropConfig, NodeMetadata, MaskConfig, TransformConfig } from './types';
|
|
17
17
|
export type { BlendMode } from './blendModes';
|
|
18
18
|
export type { PerformanceStats } from './performanceTracker';
|
|
19
|
-
export { shaderRegistry, getAllShaders, getShaderByName, getShadersByCategory, getShaderCategories } from './shaderRegistry';
|
|
20
|
-
export type { ShaderRegistryEntry } from './shaderRegistry';
|
|
21
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAG3C,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAG1D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAG7C,YAAY,EAAC,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAC,MAAM,SAAS,CAAA;AAC/F,YAAY,EAAC,SAAS,EAAC,MAAM,cAAc,CAAA;AAC3C,YAAY,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAG3C,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAA;AAG1D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAG7C,YAAY,EAAC,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAC,MAAM,SAAS,CAAA;AAC/F,YAAY,EAAC,SAAS,EAAC,MAAM,cAAc,CAAA;AAC3C,YAAY,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAA"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,69 +1,6 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
2
|
import { a as transformColorUpdate, c as transformPositionUpdate, r as transformColor, s as transformPosition } from "./transformations-YbhRK-rd.js";
|
|
3
3
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
4
|
-
import { n as componentDefinition } from "./AngularBlur-CuwAjUOA.js";
|
|
5
|
-
import { n as componentDefinition$1 } from "./Ascii-Dxk6VaBp.js";
|
|
6
|
-
import "./colorMixing-CZPFmiT4.js";
|
|
7
|
-
import { n as componentDefinition$2 } from "./Beam-CbG4MkLo.js";
|
|
8
|
-
import { n as componentDefinition$3 } from "./Blob-Ck1tVOL_.js";
|
|
9
|
-
import { n as componentDefinition$4 } from "./Blur-k37gOaRA.js";
|
|
10
|
-
import { n as componentDefinition$5 } from "./BrightnessContrast-CaErceqR.js";
|
|
11
|
-
import { n as componentDefinition$6 } from "./Bulge-BVcWo6On.js";
|
|
12
|
-
import { n as componentDefinition$7 } from "./ChannelBlur-CQoP7Igg.js";
|
|
13
|
-
import { n as componentDefinition$8 } from "./Checkerboard-D_hGvoO7.js";
|
|
14
|
-
import { n as componentDefinition$9 } from "./ChromaFlow-DizYQSgf.js";
|
|
15
|
-
import { n as componentDefinition$10 } from "./ChromaticAberration-Bk_DMYJm.js";
|
|
16
|
-
import { n as componentDefinition$11 } from "./Circle-BlVzkeyl.js";
|
|
17
|
-
import { n as componentDefinition$12 } from "./CRTScreen-CcAYeqoI.js";
|
|
18
|
-
import { n as componentDefinition$13 } from "./CursorTrail-CxXWV7KH.js";
|
|
19
|
-
import { n as componentDefinition$14 } from "./DiffuseBlur-BTSRl65K.js";
|
|
20
|
-
import { n as componentDefinition$15 } from "./Dither-C1KyBYuE.js";
|
|
21
|
-
import { n as componentDefinition$16 } from "./DotGrid-ll8XCA0p.js";
|
|
22
|
-
import { n as componentDefinition$17 } from "./Duotone-d2gQJr4M.js";
|
|
23
|
-
import { n as componentDefinition$18 } from "./FilmGrain-3h6TIe1T.js";
|
|
24
|
-
import { n as componentDefinition$19 } from "./FloatingParticles-D95-rj4h.js";
|
|
25
|
-
import { n as componentDefinition$20 } from "./GlassTiles-DqT67iqr.js";
|
|
26
|
-
import { n as componentDefinition$21 } from "./Glow-BYNKuw0E.js";
|
|
27
|
-
import { n as componentDefinition$22 } from "./Godrays-DCk1c8sQ.js";
|
|
28
|
-
import { n as componentDefinition$23 } from "./Grayscale-BH3tLDGN.js";
|
|
29
|
-
import { n as componentDefinition$24 } from "./Grid-CdslWvoH.js";
|
|
30
|
-
import { n as componentDefinition$25 } from "./GridDistortion-D-iiGELF.js";
|
|
31
|
-
import { n as componentDefinition$26 } from "./Group-ByGv48Lm.js";
|
|
32
|
-
import { n as componentDefinition$27 } from "./Halftone-CV0aFuRG.js";
|
|
33
|
-
import { n as componentDefinition$28 } from "./HueShift-DQ2WgImx.js";
|
|
34
|
-
import { n as componentDefinition$29 } from "./ImageTexture-DKFb8ze3.js";
|
|
35
|
-
import { n as componentDefinition$30 } from "./Invert-w9duGaUu.js";
|
|
36
|
-
import { n as componentDefinition$31 } from "./LinearBlur-CTXjolzL.js";
|
|
37
|
-
import { n as componentDefinition$32 } from "./LinearGradient-CZo6e7r8.js";
|
|
38
|
-
import { n as componentDefinition$33 } from "./Liquify-BbfDBMNZ.js";
|
|
39
|
-
import { n as componentDefinition$34 } from "./Perspective-CSP2Hb16.js";
|
|
40
|
-
import { n as componentDefinition$35 } from "./Pixelate-BAoi-CSx.js";
|
|
41
|
-
import { n as componentDefinition$36 } from "./PolarCoordinates-BwN9HhFK.js";
|
|
42
|
-
import { n as componentDefinition$37 } from "./Posterize-XoAqPWv2.js";
|
|
43
|
-
import { n as componentDefinition$38 } from "./ProgressiveBlur-RuAm_BKx.js";
|
|
44
|
-
import { n as componentDefinition$39 } from "./RadialGradient-BfFuRbIl.js";
|
|
45
|
-
import { n as componentDefinition$40 } from "./RectangularCoordinates-CiW3J4UT.js";
|
|
46
|
-
import { n as componentDefinition$41 } from "./Ripples-DKBIp3Qq.js";
|
|
47
|
-
import { n as componentDefinition$42 } from "./Saturation-DVVlpikK.js";
|
|
48
|
-
import { n as componentDefinition$43 } from "./Sharpness-cw57bW0s.js";
|
|
49
|
-
import { n as componentDefinition$44 } from "./Shatter-COjV2jLy.js";
|
|
50
|
-
import { n as componentDefinition$45 } from "./SimplexNoise-Ce79jgYM.js";
|
|
51
|
-
import { n as componentDefinition$46 } from "./SineWave-Cv2gOU8a.js";
|
|
52
|
-
import { n as componentDefinition$47 } from "./SolidColor-DFkDBFq3.js";
|
|
53
|
-
import { n as componentDefinition$48 } from "./Spherize-R-s4pX9t.js";
|
|
54
|
-
import { n as componentDefinition$49 } from "./Spiral-W4dALX1z.js";
|
|
55
|
-
import { n as componentDefinition$50 } from "./Strands-DtN5POfO.js";
|
|
56
|
-
import { n as componentDefinition$51 } from "./Stretch-BzvP_hdu.js";
|
|
57
|
-
import { n as componentDefinition$52 } from "./Stripes-BbNFX05u.js";
|
|
58
|
-
import { n as componentDefinition$53 } from "./Swirl-CfsYsr4X.js";
|
|
59
|
-
import { n as componentDefinition$54 } from "./TiltShift-B6gbm7Z8.js";
|
|
60
|
-
import { n as componentDefinition$55 } from "./Tint-CpnitsHw.js";
|
|
61
|
-
import { n as componentDefinition$56 } from "./Tritone-DzvSKVfR.js";
|
|
62
|
-
import { n as componentDefinition$57 } from "./Twirl-BXH4uAd6.js";
|
|
63
|
-
import { n as componentDefinition$58 } from "./Vibrance-ByN9bRgU.js";
|
|
64
|
-
import { n as componentDefinition$59 } from "./WaveDistortion-BA1PyqYH.js";
|
|
65
|
-
import { n as componentDefinition$60 } from "./WebcamTexture-D4Uv7Plz.js";
|
|
66
|
-
import { n as componentDefinition$61 } from "./ZoomBlur-CIkkDBIo.js";
|
|
67
4
|
import { Material, Mesh, MeshBasicNodeMaterial, OrthographicCamera, PlaneGeometry, SRGBColorSpace, Scene, WebGPURenderer } from "three/webgpu";
|
|
68
5
|
import { WebGLRenderer } from "three";
|
|
69
6
|
import { PI, abs, add, atan, convertToTexture, cos, div, dot, float, fract, max, min, mix, mul, pow, screenUV, sin, smoothstep, sqrt, step, sub, time, uniform, uv, vec2, vec3, vec4 } from "three/tsl";
|
|
@@ -1090,7 +1027,7 @@ function shaderRenderer() {
|
|
|
1090
1027
|
}
|
|
1091
1028
|
}
|
|
1092
1029
|
};
|
|
1093
|
-
const registerNode = (id, fragmentNodeFunc, parentId, metadata, uniforms = {}, componentDefinition
|
|
1030
|
+
const registerNode = (id, fragmentNodeFunc, parentId, metadata, uniforms = {}, componentDefinition) => {
|
|
1094
1031
|
if (fragmentNodeFunc === null) {
|
|
1095
1032
|
const queueIndex = pendingRegistrationQueue.findIndex((item) => item.id === id);
|
|
1096
1033
|
if (queueIndex !== -1) {
|
|
@@ -1108,7 +1045,7 @@ function shaderRenderer() {
|
|
|
1108
1045
|
parentId,
|
|
1109
1046
|
metadata,
|
|
1110
1047
|
uniforms,
|
|
1111
|
-
componentDefinition
|
|
1048
|
+
componentDefinition
|
|
1112
1049
|
};
|
|
1113
1050
|
else pendingRegistrationQueue.push({
|
|
1114
1051
|
id,
|
|
@@ -1116,7 +1053,7 @@ function shaderRenderer() {
|
|
|
1116
1053
|
parentId,
|
|
1117
1054
|
metadata,
|
|
1118
1055
|
uniforms,
|
|
1119
|
-
componentDefinition
|
|
1056
|
+
componentDefinition
|
|
1120
1057
|
});
|
|
1121
1058
|
return;
|
|
1122
1059
|
}
|
|
@@ -1149,11 +1086,11 @@ function shaderRenderer() {
|
|
|
1149
1086
|
}
|
|
1150
1087
|
const nodeInfo = {
|
|
1151
1088
|
id,
|
|
1152
|
-
componentName: componentDefinition
|
|
1089
|
+
componentName: componentDefinition?.name || "Unknown",
|
|
1153
1090
|
fragmentNodeFunc,
|
|
1154
1091
|
parentId,
|
|
1155
|
-
requiresRTT: componentDefinition
|
|
1156
|
-
requiresChild: componentDefinition
|
|
1092
|
+
requiresRTT: componentDefinition?.requiresRTT || false,
|
|
1093
|
+
requiresChild: componentDefinition?.requiresChild || false,
|
|
1157
1094
|
opacityUniform,
|
|
1158
1095
|
metadata: {
|
|
1159
1096
|
blendMode: metadata?.blendMode || "normal",
|
|
@@ -1469,7 +1406,7 @@ function shaderRenderer() {
|
|
|
1469
1406
|
if (pendingRegistrationQueue.length === 0) return;
|
|
1470
1407
|
const queue = [...pendingRegistrationQueue];
|
|
1471
1408
|
pendingRegistrationQueue = [];
|
|
1472
|
-
for (const { id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition
|
|
1409
|
+
for (const { id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition } of queue) if (fragmentNodeFunc) registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition);
|
|
1473
1410
|
};
|
|
1474
1411
|
const initialize = async ({ canvas, enablePerformanceTracking: enableTracking = false }) => {
|
|
1475
1412
|
if (isInitialized || isInitializing) return;
|
|
@@ -1761,103 +1698,4 @@ const edgeMask = (options = {}) => {
|
|
|
1761
1698
|
const ovalDistance = ovalX.mul(ovalX).add(ovalY.mul(ovalY)).sqrt();
|
|
1762
1699
|
return float(1).sub(smoothstep(float(1).sub(float(inset)), float(1).sub(float(inset)).add(float(softness)), ovalDistance.mul(float(1).add(float(softness)))));
|
|
1763
1700
|
};
|
|
1764
|
-
|
|
1765
|
-
const registry = {};
|
|
1766
|
-
const shaderDefinitions = {
|
|
1767
|
-
AngularBlur: componentDefinition,
|
|
1768
|
-
Ascii: componentDefinition$1,
|
|
1769
|
-
Beam: componentDefinition$2,
|
|
1770
|
-
Blob: componentDefinition$3,
|
|
1771
|
-
Blur: componentDefinition$4,
|
|
1772
|
-
BrightnessContrast: componentDefinition$5,
|
|
1773
|
-
Bulge: componentDefinition$6,
|
|
1774
|
-
ChannelBlur: componentDefinition$7,
|
|
1775
|
-
Checkerboard: componentDefinition$8,
|
|
1776
|
-
ChromaFlow: componentDefinition$9,
|
|
1777
|
-
ChromaticAberration: componentDefinition$10,
|
|
1778
|
-
Circle: componentDefinition$11,
|
|
1779
|
-
CRTScreen: componentDefinition$12,
|
|
1780
|
-
CursorTrail: componentDefinition$13,
|
|
1781
|
-
DiffuseBlur: componentDefinition$14,
|
|
1782
|
-
Dither: componentDefinition$15,
|
|
1783
|
-
DotGrid: componentDefinition$16,
|
|
1784
|
-
Duotone: componentDefinition$17,
|
|
1785
|
-
FilmGrain: componentDefinition$18,
|
|
1786
|
-
FloatingParticles: componentDefinition$19,
|
|
1787
|
-
GlassTiles: componentDefinition$20,
|
|
1788
|
-
Glow: componentDefinition$21,
|
|
1789
|
-
Godrays: componentDefinition$22,
|
|
1790
|
-
Grayscale: componentDefinition$23,
|
|
1791
|
-
Grid: componentDefinition$24,
|
|
1792
|
-
GridDistortion: componentDefinition$25,
|
|
1793
|
-
Group: componentDefinition$26,
|
|
1794
|
-
Halftone: componentDefinition$27,
|
|
1795
|
-
HueShift: componentDefinition$28,
|
|
1796
|
-
ImageTexture: componentDefinition$29,
|
|
1797
|
-
Invert: componentDefinition$30,
|
|
1798
|
-
LinearBlur: componentDefinition$31,
|
|
1799
|
-
LinearGradient: componentDefinition$32,
|
|
1800
|
-
Liquify: componentDefinition$33,
|
|
1801
|
-
Perspective: componentDefinition$34,
|
|
1802
|
-
Pixelate: componentDefinition$35,
|
|
1803
|
-
PolarCoordinates: componentDefinition$36,
|
|
1804
|
-
Posterize: componentDefinition$37,
|
|
1805
|
-
ProgressiveBlur: componentDefinition$38,
|
|
1806
|
-
RadialGradient: componentDefinition$39,
|
|
1807
|
-
RectangularCoordinates: componentDefinition$40,
|
|
1808
|
-
Ripples: componentDefinition$41,
|
|
1809
|
-
Saturation: componentDefinition$42,
|
|
1810
|
-
Sharpness: componentDefinition$43,
|
|
1811
|
-
Shatter: componentDefinition$44,
|
|
1812
|
-
SimplexNoise: componentDefinition$45,
|
|
1813
|
-
SineWave: componentDefinition$46,
|
|
1814
|
-
SolidColor: componentDefinition$47,
|
|
1815
|
-
Spherize: componentDefinition$48,
|
|
1816
|
-
Spiral: componentDefinition$49,
|
|
1817
|
-
Strands: componentDefinition$50,
|
|
1818
|
-
Stretch: componentDefinition$51,
|
|
1819
|
-
Stripes: componentDefinition$52,
|
|
1820
|
-
Swirl: componentDefinition$53,
|
|
1821
|
-
TiltShift: componentDefinition$54,
|
|
1822
|
-
Tint: componentDefinition$55,
|
|
1823
|
-
Tritone: componentDefinition$56,
|
|
1824
|
-
Twirl: componentDefinition$57,
|
|
1825
|
-
Vibrance: componentDefinition$58,
|
|
1826
|
-
WaveDistortion: componentDefinition$59,
|
|
1827
|
-
WebcamTexture: componentDefinition$60,
|
|
1828
|
-
ZoomBlur: componentDefinition$61
|
|
1829
|
-
};
|
|
1830
|
-
Object.entries(shaderDefinitions).forEach(([fileName, def]) => {
|
|
1831
|
-
const propsMetadata = {};
|
|
1832
|
-
if (def.props) Object.entries(def.props).forEach(([propName, propConfig]) => {
|
|
1833
|
-
if (propConfig.ui) propsMetadata[propName] = {
|
|
1834
|
-
ui: propConfig.ui,
|
|
1835
|
-
default: propConfig.default,
|
|
1836
|
-
description: propConfig.description
|
|
1837
|
-
};
|
|
1838
|
-
});
|
|
1839
|
-
registry[def.name] = {
|
|
1840
|
-
name: def.name,
|
|
1841
|
-
fileName,
|
|
1842
|
-
category: def.category || "Uncategorized",
|
|
1843
|
-
definition: def,
|
|
1844
|
-
propsMetadata
|
|
1845
|
-
};
|
|
1846
|
-
});
|
|
1847
|
-
return registry;
|
|
1848
|
-
};
|
|
1849
|
-
const shaderRegistry = createShaderRegistry();
|
|
1850
|
-
function getAllShaders() {
|
|
1851
|
-
return Object.values(shaderRegistry);
|
|
1852
|
-
}
|
|
1853
|
-
function getShaderByName(name) {
|
|
1854
|
-
return shaderRegistry[name];
|
|
1855
|
-
}
|
|
1856
|
-
function getShadersByCategory(category) {
|
|
1857
|
-
return Object.values(shaderRegistry).filter((shader) => shader.category === category);
|
|
1858
|
-
}
|
|
1859
|
-
function getShaderCategories() {
|
|
1860
|
-
const categories = new Set(Object.values(shaderRegistry).map((shader) => shader.category));
|
|
1861
|
-
return Array.from(categories).sort();
|
|
1862
|
-
}
|
|
1863
|
-
export { createAnimatedTime, createUniformsMap, distort, edgeMask, getAllShaders, getShaderByName, getShaderCategories, getShadersByCategory, glow, grain, resolveMaskDependencies, shaderRegistry, shaderRenderer, updateUniformValue };
|
|
1701
|
+
export { createAnimatedTime, createUniformsMap, distort, edgeMask, glow, grain, resolveMaskDependencies, shaderRenderer, updateUniformValue };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shader Registry - imports all shader definitions
|
|
3
|
+
*
|
|
4
|
+
* Import from 'shaders-core/registry' to access the full shader registry.
|
|
5
|
+
* Note: This will bundle all shader definitions into your app.
|
|
6
|
+
* Only import this if you need dynamic access to all shaders.
|
|
7
|
+
*/
|
|
8
|
+
export { shaderRegistry, getAllShaders, getShaderByName, getShadersByCategory, getShaderCategories } from './shaderRegistry';
|
|
9
|
+
export type { ShaderRegistryEntry } from './shaderRegistry';
|
|
10
|
+
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,cAAc,EACd,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,kBAAkB,CAAA;AAEzB,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import "./edges-Bd7GP4s2.js";
|
|
2
|
+
import "./transformations-YbhRK-rd.js";
|
|
3
|
+
import "./time-BZqyVJXt.js";
|
|
4
|
+
import { n as componentDefinition } from "./AngularBlur-CQYutWxj.js";
|
|
5
|
+
import { n as componentDefinition$1 } from "./Ascii-Dxk6VaBp.js";
|
|
6
|
+
import "./colorMixing-CZPFmiT4.js";
|
|
7
|
+
import { n as componentDefinition$2 } from "./Beam-CZo-XeQ-.js";
|
|
8
|
+
import { n as componentDefinition$3 } from "./Blob-D3PIrwWv.js";
|
|
9
|
+
import { n as componentDefinition$4 } from "./Blur-k37gOaRA.js";
|
|
10
|
+
import { n as componentDefinition$5 } from "./BrightnessContrast-SC7HYw9z.js";
|
|
11
|
+
import { n as componentDefinition$6 } from "./Bulge-CbZA25NX.js";
|
|
12
|
+
import { n as componentDefinition$7 } from "./ChannelBlur-CQoP7Igg.js";
|
|
13
|
+
import { n as componentDefinition$8 } from "./Checkerboard-DBcVaYQv.js";
|
|
14
|
+
import { n as componentDefinition$9 } from "./ChromaFlow-DcqnZ1wf.js";
|
|
15
|
+
import { n as componentDefinition$10 } from "./ChromaticAberration-Dgf83J6w.js";
|
|
16
|
+
import { n as componentDefinition$11 } from "./Circle-BWd84W7f.js";
|
|
17
|
+
import { n as componentDefinition$12 } from "./CRTScreen-DV5Y2GRA.js";
|
|
18
|
+
import { n as componentDefinition$13 } from "./CursorTrail-BKfdORYc.js";
|
|
19
|
+
import { n as componentDefinition$14 } from "./DiffuseBlur-BTSRl65K.js";
|
|
20
|
+
import { n as componentDefinition$15 } from "./Dither-DWoCLL0e.js";
|
|
21
|
+
import { n as componentDefinition$16 } from "./DotGrid-BZVfqUZO.js";
|
|
22
|
+
import { n as componentDefinition$17 } from "./Duotone-sjvdZBlx.js";
|
|
23
|
+
import { n as componentDefinition$18 } from "./FilmGrain-Cr3qP38A.js";
|
|
24
|
+
import { n as componentDefinition$19 } from "./FloatingParticles-CPsVFZJl.js";
|
|
25
|
+
import { n as componentDefinition$20 } from "./GlassTiles-C6LLjlnB.js";
|
|
26
|
+
import { n as componentDefinition$21 } from "./Glow-C2avDr73.js";
|
|
27
|
+
import { n as componentDefinition$22 } from "./Godrays-RVh5ylQ-.js";
|
|
28
|
+
import { n as componentDefinition$23 } from "./Grayscale-BH3tLDGN.js";
|
|
29
|
+
import { n as componentDefinition$24 } from "./Grid-CdslWvoH.js";
|
|
30
|
+
import { n as componentDefinition$25 } from "./GridDistortion-fimECOse.js";
|
|
31
|
+
import { n as componentDefinition$26 } from "./Group-ByGv48Lm.js";
|
|
32
|
+
import { n as componentDefinition$27 } from "./Halftone-Cb5yrPnj.js";
|
|
33
|
+
import { n as componentDefinition$28 } from "./HueShift-DQ2WgImx.js";
|
|
34
|
+
import { n as componentDefinition$29 } from "./ImageTexture-DKFb8ze3.js";
|
|
35
|
+
import { n as componentDefinition$30 } from "./Invert-w9duGaUu.js";
|
|
36
|
+
import { n as componentDefinition$31 } from "./LinearBlur-CfMT259a.js";
|
|
37
|
+
import { n as componentDefinition$32 } from "./LinearGradient-Cn7w-umQ.js";
|
|
38
|
+
import { n as componentDefinition$33 } from "./Liquify-BCkIt0A1.js";
|
|
39
|
+
import { n as componentDefinition$34 } from "./Perspective-CJOFHxEC.js";
|
|
40
|
+
import { n as componentDefinition$35 } from "./Pixelate-BhNAxBsT.js";
|
|
41
|
+
import { n as componentDefinition$36 } from "./PolarCoordinates-DLs3K__1.js";
|
|
42
|
+
import { n as componentDefinition$37 } from "./Posterize-XoAqPWv2.js";
|
|
43
|
+
import { n as componentDefinition$38 } from "./ProgressiveBlur-BIZSnUjp.js";
|
|
44
|
+
import { n as componentDefinition$39 } from "./RadialGradient-sQgXXXQk.js";
|
|
45
|
+
import { n as componentDefinition$40 } from "./RectangularCoordinates-CyarkXn0.js";
|
|
46
|
+
import { n as componentDefinition$41 } from "./Ripples-Djjw66Bn.js";
|
|
47
|
+
import { n as componentDefinition$42 } from "./Saturation-DLHW_GP6.js";
|
|
48
|
+
import { n as componentDefinition$43 } from "./Sharpness-DkGuV_dy.js";
|
|
49
|
+
import { n as componentDefinition$44 } from "./Shatter-DVgj2Ea3.js";
|
|
50
|
+
import { n as componentDefinition$45 } from "./SimplexNoise-BXtLTcAr.js";
|
|
51
|
+
import { n as componentDefinition$46 } from "./SineWave-BxqFasFh.js";
|
|
52
|
+
import { n as componentDefinition$47 } from "./SolidColor-DFkDBFq3.js";
|
|
53
|
+
import { n as componentDefinition$48 } from "./Spherize-DIJ4c_EG.js";
|
|
54
|
+
import { n as componentDefinition$49 } from "./Spiral-BBtmU1Fv.js";
|
|
55
|
+
import { n as componentDefinition$50 } from "./Strands-D6UOhX0L.js";
|
|
56
|
+
import { n as componentDefinition$51 } from "./Stretch-DLpz8Ofm.js";
|
|
57
|
+
import { n as componentDefinition$52 } from "./Stripes-Bre3Z2m_.js";
|
|
58
|
+
import { n as componentDefinition$53 } from "./Swirl-CfsYsr4X.js";
|
|
59
|
+
import { n as componentDefinition$54 } from "./TiltShift-BPpXBzBg.js";
|
|
60
|
+
import { n as componentDefinition$55 } from "./Tint-BazvezVn.js";
|
|
61
|
+
import { n as componentDefinition$56 } from "./Tritone-w0h2ebDB.js";
|
|
62
|
+
import { n as componentDefinition$57 } from "./Twirl-dmfYS2Eo.js";
|
|
63
|
+
import { n as componentDefinition$58 } from "./Vibrance-BpWyAK9W.js";
|
|
64
|
+
import { n as componentDefinition$59 } from "./WaveDistortion-hWdvaZmT.js";
|
|
65
|
+
import { n as componentDefinition$60 } from "./WebcamTexture-D4Uv7Plz.js";
|
|
66
|
+
import { n as componentDefinition$61 } from "./ZoomBlur-DCI4uHOL.js";
|
|
67
|
+
var createShaderRegistry = () => {
|
|
68
|
+
const registry = {};
|
|
69
|
+
const shaderDefinitions = {
|
|
70
|
+
AngularBlur: componentDefinition,
|
|
71
|
+
Ascii: componentDefinition$1,
|
|
72
|
+
Beam: componentDefinition$2,
|
|
73
|
+
Blob: componentDefinition$3,
|
|
74
|
+
Blur: componentDefinition$4,
|
|
75
|
+
BrightnessContrast: componentDefinition$5,
|
|
76
|
+
Bulge: componentDefinition$6,
|
|
77
|
+
ChannelBlur: componentDefinition$7,
|
|
78
|
+
Checkerboard: componentDefinition$8,
|
|
79
|
+
ChromaFlow: componentDefinition$9,
|
|
80
|
+
ChromaticAberration: componentDefinition$10,
|
|
81
|
+
Circle: componentDefinition$11,
|
|
82
|
+
CRTScreen: componentDefinition$12,
|
|
83
|
+
CursorTrail: componentDefinition$13,
|
|
84
|
+
DiffuseBlur: componentDefinition$14,
|
|
85
|
+
Dither: componentDefinition$15,
|
|
86
|
+
DotGrid: componentDefinition$16,
|
|
87
|
+
Duotone: componentDefinition$17,
|
|
88
|
+
FilmGrain: componentDefinition$18,
|
|
89
|
+
FloatingParticles: componentDefinition$19,
|
|
90
|
+
GlassTiles: componentDefinition$20,
|
|
91
|
+
Glow: componentDefinition$21,
|
|
92
|
+
Godrays: componentDefinition$22,
|
|
93
|
+
Grayscale: componentDefinition$23,
|
|
94
|
+
Grid: componentDefinition$24,
|
|
95
|
+
GridDistortion: componentDefinition$25,
|
|
96
|
+
Group: componentDefinition$26,
|
|
97
|
+
Halftone: componentDefinition$27,
|
|
98
|
+
HueShift: componentDefinition$28,
|
|
99
|
+
ImageTexture: componentDefinition$29,
|
|
100
|
+
Invert: componentDefinition$30,
|
|
101
|
+
LinearBlur: componentDefinition$31,
|
|
102
|
+
LinearGradient: componentDefinition$32,
|
|
103
|
+
Liquify: componentDefinition$33,
|
|
104
|
+
Perspective: componentDefinition$34,
|
|
105
|
+
Pixelate: componentDefinition$35,
|
|
106
|
+
PolarCoordinates: componentDefinition$36,
|
|
107
|
+
Posterize: componentDefinition$37,
|
|
108
|
+
ProgressiveBlur: componentDefinition$38,
|
|
109
|
+
RadialGradient: componentDefinition$39,
|
|
110
|
+
RectangularCoordinates: componentDefinition$40,
|
|
111
|
+
Ripples: componentDefinition$41,
|
|
112
|
+
Saturation: componentDefinition$42,
|
|
113
|
+
Sharpness: componentDefinition$43,
|
|
114
|
+
Shatter: componentDefinition$44,
|
|
115
|
+
SimplexNoise: componentDefinition$45,
|
|
116
|
+
SineWave: componentDefinition$46,
|
|
117
|
+
SolidColor: componentDefinition$47,
|
|
118
|
+
Spherize: componentDefinition$48,
|
|
119
|
+
Spiral: componentDefinition$49,
|
|
120
|
+
Strands: componentDefinition$50,
|
|
121
|
+
Stretch: componentDefinition$51,
|
|
122
|
+
Stripes: componentDefinition$52,
|
|
123
|
+
Swirl: componentDefinition$53,
|
|
124
|
+
TiltShift: componentDefinition$54,
|
|
125
|
+
Tint: componentDefinition$55,
|
|
126
|
+
Tritone: componentDefinition$56,
|
|
127
|
+
Twirl: componentDefinition$57,
|
|
128
|
+
Vibrance: componentDefinition$58,
|
|
129
|
+
WaveDistortion: componentDefinition$59,
|
|
130
|
+
WebcamTexture: componentDefinition$60,
|
|
131
|
+
ZoomBlur: componentDefinition$61
|
|
132
|
+
};
|
|
133
|
+
Object.entries(shaderDefinitions).forEach(([fileName, def]) => {
|
|
134
|
+
const propsMetadata = {};
|
|
135
|
+
if (def.props) Object.entries(def.props).forEach(([propName, propConfig]) => {
|
|
136
|
+
if (propConfig.ui) propsMetadata[propName] = {
|
|
137
|
+
ui: propConfig.ui,
|
|
138
|
+
default: propConfig.default,
|
|
139
|
+
description: propConfig.description
|
|
140
|
+
};
|
|
141
|
+
});
|
|
142
|
+
registry[def.name] = {
|
|
143
|
+
name: def.name,
|
|
144
|
+
fileName,
|
|
145
|
+
category: def.category || "Uncategorized",
|
|
146
|
+
definition: def,
|
|
147
|
+
propsMetadata
|
|
148
|
+
};
|
|
149
|
+
});
|
|
150
|
+
return registry;
|
|
151
|
+
};
|
|
152
|
+
const shaderRegistry = createShaderRegistry();
|
|
153
|
+
function getAllShaders() {
|
|
154
|
+
return Object.values(shaderRegistry);
|
|
155
|
+
}
|
|
156
|
+
function getShaderByName(name) {
|
|
157
|
+
return shaderRegistry[name];
|
|
158
|
+
}
|
|
159
|
+
function getShadersByCategory(category) {
|
|
160
|
+
return Object.values(shaderRegistry).filter((shader) => shader.category === category);
|
|
161
|
+
}
|
|
162
|
+
function getShaderCategories() {
|
|
163
|
+
const categories = new Set(Object.values(shaderRegistry).map((shader) => shader.category));
|
|
164
|
+
return Array.from(categories).sort();
|
|
165
|
+
}
|
|
166
|
+
export { getAllShaders, getShaderByName, getShaderCategories, getShadersByCategory, shaderRegistry };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/AngularBlur/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAA;AAErE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;CAClD;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/AngularBlur/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAA;AAErE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;CAClD;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA4FnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as AngularBlur_default } from "../../AngularBlur-
|
|
2
|
+
import { n as componentDefinition, t as AngularBlur_default } from "../../AngularBlur-CQYutWxj.js";
|
|
3
3
|
export { componentDefinition, AngularBlur_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 Beam_default } from "../../Beam-
|
|
3
|
+
import { n as componentDefinition, t as Beam_default } from "../../Beam-CZo-XeQ-.js";
|
|
4
4
|
export { componentDefinition, Beam_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 Blob_default } from "../../Blob-
|
|
4
|
+
import { n as componentDefinition, t as Blob_default } from "../../Blob-D3PIrwWv.js";
|
|
5
5
|
export { componentDefinition, Blob_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as BrightnessContrast_default } from "../../BrightnessContrast-
|
|
1
|
+
import { n as componentDefinition, t as BrightnessContrast_default } from "../../BrightnessContrast-SC7HYw9z.js";
|
|
2
2
|
export { componentDefinition, BrightnessContrast_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 Bulge_default } from "../../Bulge-
|
|
3
|
+
import { n as componentDefinition, t as Bulge_default } from "../../Bulge-CbZA25NX.js";
|
|
4
4
|
export { componentDefinition, Bulge_default as default };
|
|
@@ -43,6 +43,20 @@ export interface ComponentProps {
|
|
|
43
43
|
* @default 1.2
|
|
44
44
|
*/
|
|
45
45
|
contrast: number;
|
|
46
|
+
/**
|
|
47
|
+
* Strength of corner darkening effect (0 = off)
|
|
48
|
+
*
|
|
49
|
+
* Accepts a number between 0 and 1.
|
|
50
|
+
* @default 1
|
|
51
|
+
*/
|
|
52
|
+
vignetteIntensity: number;
|
|
53
|
+
/**
|
|
54
|
+
* How far the vignette extends inward (0 = edges only, 1 = reaches center)
|
|
55
|
+
*
|
|
56
|
+
* Accepts a number between 0 and 1.
|
|
57
|
+
* @default 0.5
|
|
58
|
+
*/
|
|
59
|
+
vignetteRadius: number;
|
|
46
60
|
}
|
|
47
61
|
export declare const componentDefinition: ComponentDefinition<ComponentProps>;
|
|
48
62
|
export default componentDefinition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/CRTScreen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/CRTScreen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAA;CACzB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAwInE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as CRTScreen_default } from "../../CRTScreen-
|
|
1
|
+
import { n as componentDefinition, t as CRTScreen_default } from "../../CRTScreen-DV5Y2GRA.js";
|
|
2
2
|
export { componentDefinition, CRTScreen_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Checkerboard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAyC,MAAM,qCAAqC,CAAA;AAG1G,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Checkerboard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAyC,MAAM,qCAAqC,CAAA;AAG1G,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAmGnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../colorMixing-CZPFmiT4.js";
|
|
3
|
-
import { n as componentDefinition, t as Checkerboard_default } from "../../Checkerboard-
|
|
3
|
+
import { n as componentDefinition, t as Checkerboard_default } from "../../Checkerboard-DBcVaYQv.js";
|
|
4
4
|
export { componentDefinition, Checkerboard_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/ChromaFlow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAGlE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,OAAO,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9C,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,UAAU,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/ChromaFlow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAGlE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,OAAO,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC9C,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAChD,UAAU,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAoTnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as ChromaFlow_default } from "../../ChromaFlow-
|
|
2
|
+
import { n as componentDefinition, t as ChromaFlow_default } from "../../ChromaFlow-DcqnZ1wf.js";
|
|
3
3
|
export { componentDefinition, ChromaFlow_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/ChromaticAberration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAElE,MAAM,WAAW,cAAc;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/ChromaticAberration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAElE,MAAM,WAAW,cAAc;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA4GnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as ChromaticAberration_default } from "../../ChromaticAberration-
|
|
2
|
+
import { n as componentDefinition, t as ChromaticAberration_default } from "../../ChromaticAberration-Dgf83J6w.js";
|
|
3
3
|
export { componentDefinition, ChromaticAberration_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as Circle_default } from "../../Circle-
|
|
2
|
+
import { n as componentDefinition, t as Circle_default } from "../../Circle-BWd84W7f.js";
|
|
3
3
|
export { componentDefinition, Circle_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/CursorTrail/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAyC,MAAM,qCAAqC,CAAA;AAI1G,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/CursorTrail/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAIvE,OAAO,EAAC,cAAc,EAAyC,MAAM,qCAAqC,CAAA;AAI1G,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAA;CACrB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAuLnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../colorMixing-CZPFmiT4.js";
|
|
3
|
-
import { n as componentDefinition, t as CursorTrail_default } from "../../CursorTrail-
|
|
3
|
+
import { n as componentDefinition, t as CursorTrail_default } from "../../CursorTrail-BKfdORYc.js";
|
|
4
4
|
export { componentDefinition, CursorTrail_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as Dither_default } from "../../Dither-
|
|
2
|
+
import { n as componentDefinition, t as Dither_default } from "../../Dither-DWoCLL0e.js";
|
|
3
3
|
export { componentDefinition, Dither_default as default };
|