shaders 2.2.44 → 2.2.46
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/{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.js +0 -25
- package/dist/core/registry.js +48 -48
- package/dist/core/renderer.d.ts +0 -1
- package/dist/core/renderer.d.ts.map +1 -1
- 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/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/LinearBlur.js +7 -7
- package/dist/react/LinearGradient.js +7 -7
- package/dist/react/Liquify.js +7 -7
- 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/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/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/registry.js +228 -228
- 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/svelte/engine/Shader.svelte.d.ts +1 -1
- package/dist/svelte/index.js +22 -9
- 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 +11 -9
- 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 -9
- 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/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 -9
- 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/engine/Shader.vue.d.ts +4 -4
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- package/package.json +3 -4
|
@@ -25,7 +25,7 @@ const componentDefinition = {
|
|
|
25
25
|
type: "range",
|
|
26
26
|
min: 0,
|
|
27
27
|
max: 1,
|
|
28
|
-
step: .
|
|
28
|
+
step: .1,
|
|
29
29
|
label: "Width"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
@@ -36,7 +36,7 @@ const componentDefinition = {
|
|
|
36
36
|
type: "range",
|
|
37
37
|
min: 0,
|
|
38
38
|
max: 1,
|
|
39
|
-
step: .
|
|
39
|
+
step: .1,
|
|
40
40
|
label: "Falloff"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
@@ -71,11 +71,13 @@ const componentDefinition = {
|
|
|
71
71
|
onCleanup(() => {
|
|
72
72
|
if (childTexture?.renderTarget?.dispose) childTexture.renderTarget.dispose();
|
|
73
73
|
});
|
|
74
|
+
const aspect = viewportSize.x.div(viewportSize.y);
|
|
74
75
|
const angleRad = radians(uniforms.angle.uniform);
|
|
75
76
|
const cosAngle = cos(angleRad);
|
|
76
77
|
const perpVector = vec2(sin(angleRad).negate(), cosAngle);
|
|
77
78
|
const centerPosition = vec2(uniforms.center.uniform[0], uniforms.center.uniform[1].oneMinus());
|
|
78
|
-
const
|
|
79
|
+
const centeredUV = screenUV.sub(centerPosition);
|
|
80
|
+
const distFromLine = abs(dot(vec2(centeredUV.x.mul(aspect), centeredUV.y), perpVector));
|
|
79
81
|
const focusWidth = uniforms.width.uniform.mul(.5);
|
|
80
82
|
const falloff = uniforms.falloff.uniform;
|
|
81
83
|
const blurAmount = smoothstep(focusWidth, focusWidth.add(falloff), distFromLine);
|
|
@@ -96,7 +98,7 @@ const componentDefinition = {
|
|
|
96
98
|
.135,
|
|
97
99
|
.056
|
|
98
100
|
];
|
|
99
|
-
const weightSum = 6.
|
|
101
|
+
const weightSum = 6.21;
|
|
100
102
|
const horizontalTexture = convertToTexture(Fn(() => {
|
|
101
103
|
const uv$1 = screenUV;
|
|
102
104
|
const pixelSize = vec2(1).div(viewportSize);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
2
|
import { o as transformEdges, s as transformPosition } from "./transformations-YbhRK-rd.js";
|
|
3
|
-
import { convertToTexture, cos, length, screenUV, sin, vec2, vec4 } from "three/tsl";
|
|
3
|
+
import { convertToTexture, cos, length, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
5
5
|
name: "Twirl",
|
|
6
6
|
category: "Distortions",
|
|
@@ -69,14 +69,16 @@ const componentDefinition = {
|
|
|
69
69
|
if (texture$1?.renderTarget?.dispose) texture$1.renderTarget.dispose();
|
|
70
70
|
});
|
|
71
71
|
const uvNode = screenUV;
|
|
72
|
+
const aspect = viewportSize.x.div(viewportSize.y);
|
|
72
73
|
const centerPos = vec2(uniforms.center.uniform.x, uniforms.center.uniform.y.oneMinus());
|
|
73
74
|
const delta = uvNode.sub(centerPos);
|
|
74
|
-
const
|
|
75
|
+
const aspectCorrectedDelta = vec2(delta.x.mul(aspect), delta.y);
|
|
76
|
+
const angle = uniforms.intensity.uniform.mul(length(aspectCorrectedDelta));
|
|
75
77
|
const cosAngle = cos(angle);
|
|
76
78
|
const sinAngle = sin(angle);
|
|
77
|
-
const rotatedX = cosAngle.mul(
|
|
78
|
-
const rotatedY = sinAngle.mul(
|
|
79
|
-
const twistedUV = vec2(rotatedX.add(centerPos.x), rotatedY.add(centerPos.y));
|
|
79
|
+
const rotatedX = cosAngle.mul(aspectCorrectedDelta.x).sub(sinAngle.mul(aspectCorrectedDelta.y));
|
|
80
|
+
const rotatedY = sinAngle.mul(aspectCorrectedDelta.x).add(cosAngle.mul(aspectCorrectedDelta.y));
|
|
81
|
+
const twistedUV = vec2(rotatedX.div(aspect).add(centerPos.x), rotatedY.add(centerPos.y));
|
|
80
82
|
return applyEdgeHandling(twistedUV, texture$1.sample(twistedUV), texture$1, uniforms.edges.uniform);
|
|
81
83
|
}
|
|
82
84
|
};
|
|
@@ -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.js
CHANGED
|
@@ -508,7 +508,6 @@ function updateUniformValue(uniform$1, newValue) {
|
|
|
508
508
|
}
|
|
509
509
|
} else uniform$1.uniform.value = newValue;
|
|
510
510
|
}
|
|
511
|
-
var hasLoggedLicenseInfo = false;
|
|
512
511
|
var globalEventManager = (() => {
|
|
513
512
|
let instanceCount = 0;
|
|
514
513
|
const callbacks = /* @__PURE__ */ new Set();
|
|
@@ -569,24 +568,6 @@ var globalEventManager = (() => {
|
|
|
569
568
|
};
|
|
570
569
|
} };
|
|
571
570
|
})();
|
|
572
|
-
var isDevelopment = () => {
|
|
573
|
-
try {
|
|
574
|
-
{
|
|
575
|
-
const { MODE, DEV } = {
|
|
576
|
-
"DEV": false,
|
|
577
|
-
"MODE": "production"
|
|
578
|
-
};
|
|
579
|
-
return DEV || MODE === "development";
|
|
580
|
-
}
|
|
581
|
-
if (typeof window !== "undefined" && window.location) {
|
|
582
|
-
const hostname = window.location.hostname;
|
|
583
|
-
return hostname === "localhost" || hostname === "127.0.0.1" || hostname.endsWith(".local") || hostname.includes("dev.") || hostname.startsWith("dev-");
|
|
584
|
-
}
|
|
585
|
-
return false;
|
|
586
|
-
} catch (error) {
|
|
587
|
-
return false;
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
571
|
function shaderRenderer() {
|
|
591
572
|
let canvasElement = null;
|
|
592
573
|
let renderer;
|
|
@@ -1518,11 +1499,6 @@ function shaderRenderer() {
|
|
|
1518
1499
|
if (initializationAbortController === localAbortController) initializationAbortController = null;
|
|
1519
1500
|
}
|
|
1520
1501
|
};
|
|
1521
|
-
const showLicenseWarning = () => {
|
|
1522
|
-
if (!isDevelopment() || hasLoggedLicenseInfo) return;
|
|
1523
|
-
console.warn("Shaders is running in development mode. Please purchase a license at https://shaders.com to use it in production.");
|
|
1524
|
-
hasLoggedLicenseInfo = true;
|
|
1525
|
-
};
|
|
1526
1502
|
const cleanup = () => {
|
|
1527
1503
|
if (initializationAbortController) initializationAbortController.abort();
|
|
1528
1504
|
if (resizeObserver) {
|
|
@@ -1606,7 +1582,6 @@ function shaderRenderer() {
|
|
|
1606
1582
|
removeNode,
|
|
1607
1583
|
updateUniformValue: updateUniformValue$1,
|
|
1608
1584
|
updateNodeMetadata,
|
|
1609
|
-
showLicenseWarning,
|
|
1610
1585
|
isInitialized: () => isInitialized,
|
|
1611
1586
|
startAnimation,
|
|
1612
1587
|
stopAnimation,
|
package/dist/core/registry.js
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import "./edges-Bd7GP4s2.js";
|
|
2
2
|
import "./transformations-YbhRK-rd.js";
|
|
3
3
|
import "./time-BZqyVJXt.js";
|
|
4
|
-
import { n as componentDefinition } from "./AngularBlur-
|
|
4
|
+
import { n as componentDefinition } from "./AngularBlur-CQYutWxj.js";
|
|
5
5
|
import { n as componentDefinition$1 } from "./Ascii-Dxk6VaBp.js";
|
|
6
6
|
import "./colorMixing-CZPFmiT4.js";
|
|
7
|
-
import { n as componentDefinition$2 } from "./Beam-
|
|
8
|
-
import { n as componentDefinition$3 } from "./Blob-
|
|
7
|
+
import { n as componentDefinition$2 } from "./Beam-CZo-XeQ-.js";
|
|
8
|
+
import { n as componentDefinition$3 } from "./Blob-D3PIrwWv.js";
|
|
9
9
|
import { n as componentDefinition$4 } from "./Blur-k37gOaRA.js";
|
|
10
|
-
import { n as componentDefinition$5 } from "./BrightnessContrast-
|
|
11
|
-
import { n as componentDefinition$6 } from "./Bulge-
|
|
10
|
+
import { n as componentDefinition$5 } from "./BrightnessContrast-SC7HYw9z.js";
|
|
11
|
+
import { n as componentDefinition$6 } from "./Bulge-CbZA25NX.js";
|
|
12
12
|
import { n as componentDefinition$7 } from "./ChannelBlur-CQoP7Igg.js";
|
|
13
|
-
import { n as componentDefinition$8 } from "./Checkerboard-
|
|
14
|
-
import { n as componentDefinition$9 } from "./ChromaFlow-
|
|
15
|
-
import { n as componentDefinition$10 } from "./ChromaticAberration-
|
|
16
|
-
import { n as componentDefinition$11 } from "./Circle-
|
|
17
|
-
import { n as componentDefinition$12 } from "./CRTScreen-
|
|
18
|
-
import { n as componentDefinition$13 } from "./CursorTrail-
|
|
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
19
|
import { n as componentDefinition$14 } from "./DiffuseBlur-BTSRl65K.js";
|
|
20
|
-
import { n as componentDefinition$15 } from "./Dither-
|
|
21
|
-
import { n as componentDefinition$16 } from "./DotGrid-
|
|
22
|
-
import { n as componentDefinition$17 } from "./Duotone-
|
|
23
|
-
import { n as componentDefinition$18 } from "./FilmGrain-
|
|
24
|
-
import { n as componentDefinition$19 } from "./FloatingParticles-
|
|
25
|
-
import { n as componentDefinition$20 } from "./GlassTiles-
|
|
26
|
-
import { n as componentDefinition$21 } from "./Glow-
|
|
27
|
-
import { n as componentDefinition$22 } from "./Godrays-
|
|
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
28
|
import { n as componentDefinition$23 } from "./Grayscale-BH3tLDGN.js";
|
|
29
29
|
import { n as componentDefinition$24 } from "./Grid-CdslWvoH.js";
|
|
30
|
-
import { n as componentDefinition$25 } from "./GridDistortion-
|
|
30
|
+
import { n as componentDefinition$25 } from "./GridDistortion-fimECOse.js";
|
|
31
31
|
import { n as componentDefinition$26 } from "./Group-ByGv48Lm.js";
|
|
32
|
-
import { n as componentDefinition$27 } from "./Halftone-
|
|
32
|
+
import { n as componentDefinition$27 } from "./Halftone-Cb5yrPnj.js";
|
|
33
33
|
import { n as componentDefinition$28 } from "./HueShift-DQ2WgImx.js";
|
|
34
34
|
import { n as componentDefinition$29 } from "./ImageTexture-DKFb8ze3.js";
|
|
35
35
|
import { n as componentDefinition$30 } from "./Invert-w9duGaUu.js";
|
|
36
|
-
import { n as componentDefinition$31 } from "./LinearBlur-
|
|
37
|
-
import { n as componentDefinition$32 } from "./LinearGradient-
|
|
38
|
-
import { n as componentDefinition$33 } from "./Liquify-
|
|
39
|
-
import { n as componentDefinition$34 } from "./Perspective-
|
|
40
|
-
import { n as componentDefinition$35 } from "./Pixelate-
|
|
41
|
-
import { n as componentDefinition$36 } from "./PolarCoordinates-
|
|
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
42
|
import { n as componentDefinition$37 } from "./Posterize-XoAqPWv2.js";
|
|
43
|
-
import { n as componentDefinition$38 } from "./ProgressiveBlur-
|
|
44
|
-
import { n as componentDefinition$39 } from "./RadialGradient-
|
|
45
|
-
import { n as componentDefinition$40 } from "./RectangularCoordinates-
|
|
46
|
-
import { n as componentDefinition$41 } from "./Ripples-
|
|
47
|
-
import { n as componentDefinition$42 } from "./Saturation-
|
|
48
|
-
import { n as componentDefinition$43 } from "./Sharpness-
|
|
49
|
-
import { n as componentDefinition$44 } from "./Shatter-
|
|
50
|
-
import { n as componentDefinition$45 } from "./SimplexNoise-
|
|
51
|
-
import { n as componentDefinition$46 } from "./SineWave-
|
|
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
52
|
import { n as componentDefinition$47 } from "./SolidColor-DFkDBFq3.js";
|
|
53
|
-
import { n as componentDefinition$48 } from "./Spherize-
|
|
54
|
-
import { n as componentDefinition$49 } from "./Spiral-
|
|
55
|
-
import { n as componentDefinition$50 } from "./Strands-
|
|
56
|
-
import { n as componentDefinition$51 } from "./Stretch-
|
|
57
|
-
import { n as componentDefinition$52 } from "./Stripes-
|
|
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
58
|
import { n as componentDefinition$53 } from "./Swirl-CfsYsr4X.js";
|
|
59
|
-
import { n as componentDefinition$54 } from "./TiltShift-
|
|
60
|
-
import { n as componentDefinition$55 } from "./Tint-
|
|
61
|
-
import { n as componentDefinition$56 } from "./Tritone-
|
|
62
|
-
import { n as componentDefinition$57 } from "./Twirl-
|
|
63
|
-
import { n as componentDefinition$58 } from "./Vibrance-
|
|
64
|
-
import { n as componentDefinition$59 } from "./WaveDistortion-
|
|
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
65
|
import { n as componentDefinition$60 } from "./WebcamTexture-D4Uv7Plz.js";
|
|
66
|
-
import { n as componentDefinition$61 } from "./ZoomBlur-
|
|
66
|
+
import { n as componentDefinition$61 } from "./ZoomBlur-DCI4uHOL.js";
|
|
67
67
|
var createShaderRegistry = () => {
|
|
68
68
|
const registry = {};
|
|
69
69
|
const shaderDefinitions = {
|
package/dist/core/renderer.d.ts
CHANGED
|
@@ -112,7 +112,6 @@ export declare function shaderRenderer(): {
|
|
|
112
112
|
removeNode: (id: string) => void;
|
|
113
113
|
updateUniformValue: (nodeId: string, uniformName: string, value: any) => void;
|
|
114
114
|
updateNodeMetadata: (nodeId: string, metadata: Partial<NodeMetadata>) => void;
|
|
115
|
-
showLicenseWarning: () => void;
|
|
116
115
|
isInitialized: () => boolean;
|
|
117
116
|
startAnimation: () => void;
|
|
118
117
|
stopAnimation: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,IAAI,EAMZ,MAAM,cAAc,CAAA;AAKrB,OAAO,EAAC,eAAe,EAAE,mBAAmB,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAC,MAAM,SAAS,CAAA;AACvH,OAAO,EAAqB,gBAAgB,EAAC,MAAM,sBAAsB,CAAA;AAKzE;;GAEG;AACH,UAAU,QAAQ;IAEd;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,gBAAgB,EAAE,mBAAmB,CAAC,cAAc,CAAC,CAAA;IAErD;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,cAAc,EAAE,GAAG,CAAA;IAEnB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAA;IAEtB;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAA;IAErB;;;OAGG;IACH,gBAAgB,EAAE,eAAe,EAAE,CAAA;IAEnC;;;OAGG;IACH,qBAAqB,EAAE,cAAc,EAAE,CAAA;IAEvC;;;OAGG;IACH,oBAAoB,EAAE,cAAc,EAAE,CAAA;IAEtC;;;OAGG;IACH,eAAe,EAAE,cAAc,EAAE,CAAA;IAEjC;;;OAGG;IACH,iBAAiB,CAAC,EAAE;QAChB,OAAO,EAAE,GAAG,CAAA;QACZ,OAAO,EAAE,GAAG,CAAA;QACZ,QAAQ,EAAE,GAAG,CAAA;QACb,KAAK,EAAE,GAAG,CAAA;QACV,OAAO,EAAE,GAAG,CAAA;QACZ,OAAO,EAAE,GAAG,CAAA;QACZ,KAAK,EAAE,GAAG,CAAA;QACV,WAAW,EAAE,GAAG,CAAA;KACnB,CAAA;IAED;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAE/B;AAED;;GAEG;AACH,UAAU,YAAY;IAClB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC5B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAClC;AAED;;GAEG;AACH,UAAU,iBAAiB;IACvB,MAAM,EAAE,iBAAiB,CAAA;IACzB,yBAAyB,CAAC,EAAE,OAAO,CAAA;CACtC;
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,IAAI,EAMZ,MAAM,cAAc,CAAA;AAKrB,OAAO,EAAC,eAAe,EAAE,mBAAmB,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAC,MAAM,SAAS,CAAA;AACvH,OAAO,EAAqB,gBAAgB,EAAC,MAAM,sBAAsB,CAAA;AAKzE;;GAEG;AACH,UAAU,QAAQ;IAEd;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,gBAAgB,EAAE,mBAAmB,CAAC,cAAc,CAAC,CAAA;IAErD;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAEvB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,cAAc,EAAE,GAAG,CAAA;IAEnB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAA;IAEtB;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAA;IAErB;;;OAGG;IACH,gBAAgB,EAAE,eAAe,EAAE,CAAA;IAEnC;;;OAGG;IACH,qBAAqB,EAAE,cAAc,EAAE,CAAA;IAEvC;;;OAGG;IACH,oBAAoB,EAAE,cAAc,EAAE,CAAA;IAEtC;;;OAGG;IACH,eAAe,EAAE,cAAc,EAAE,CAAA;IAEjC;;;OAGG;IACH,iBAAiB,CAAC,EAAE;QAChB,OAAO,EAAE,GAAG,CAAA;QACZ,OAAO,EAAE,GAAG,CAAA;QACZ,QAAQ,EAAE,GAAG,CAAA;QACb,KAAK,EAAE,GAAG,CAAA;QACV,OAAO,EAAE,GAAG,CAAA;QACZ,OAAO,EAAE,GAAG,CAAA;QACZ,KAAK,EAAE,GAAG,CAAA;QACV,WAAW,EAAE,GAAG,CAAA;KACnB,CAAA;IAED;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAE/B;AAED;;GAEG;AACH,UAAU,YAAY;IAClB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;IAC5B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAClC;AAED;;GAEG;AACH,UAAU,iBAAiB;IACvB,MAAM,EAAE,iBAAiB,CAAA;IACzB,yBAAyB,CAAC,EAAE,OAAO,CAAA;CACtC;AA2FD;;GAEG;AACH,wBAAgB,cAAc;wEAwmDG,iBAAiB;;uBAxrBpB,MAAM,oBAAoB,mBAAmB,CAAC,cAAc,CAAC,GAAG,IAAI,YAAY,MAAM,GAAG,IAAI,YAAY,YAAY,GAAG,IAAI,aAAY,WAAW,wBAA6B,mBAAmB,KAAG,IAAI;qBA4R5M,MAAM,KAAG,IAAI;iCA1ID,MAAM,eAAe,MAAM,SAAS,GAAG,KAAG,IAAI;iCAgC9C,MAAM,YAAY,OAAO,CAAC,YAAY,CAAC,KAAG,IAAI;;0BAqXvD,IAAI;yBAeL,IAAI;yBA/LE,OAAO,CAAC,IAAI,CAAC;+BAgKb,gBAAgB;;eA4doB,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC;;2BAjBrE,QAAQ,GAAG,OAAO,GAAG,IAAI;;;mCAzhDnB,MAAM,KAAG,QAAQ,EAAE;oCAuCzC,IAAI,YACF,QAAQ,UACV,MAAM,kBACE,GAAG,CAAC,MAAM,CAAC,gBACb,IAAI,KACnB,IAAI;0CAuCK,IAAI,YACF,QAAQ,KACnB,IAAI;;;;EAk+CV"}
|
|
@@ -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 };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
|
-
import { n as componentDefinition, t as DotGrid_default } from "../../DotGrid-
|
|
2
|
+
import { n as componentDefinition, t as DotGrid_default } from "../../DotGrid-BZVfqUZO.js";
|
|
3
3
|
export { componentDefinition, DotGrid_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 Duotone_default } from "../../Duotone-
|
|
3
|
+
import { n as componentDefinition, t as Duotone_default } from "../../Duotone-sjvdZBlx.js";
|
|
4
4
|
export { componentDefinition, Duotone_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as FilmGrain_default } from "../../FilmGrain-
|
|
1
|
+
import { n as componentDefinition, t as FilmGrain_default } from "../../FilmGrain-Cr3qP38A.js";
|
|
2
2
|
export { componentDefinition, FilmGrain_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 FloatingParticles_default } from "../../FloatingParticles-
|
|
3
|
+
import { n as componentDefinition, t as FloatingParticles_default } from "../../FloatingParticles-CPsVFZJl.js";
|
|
4
4
|
export { componentDefinition, FloatingParticles_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/GlassTiles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAKvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/GlassTiles/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAKvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAoHnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as GlassTiles_default } from "../../GlassTiles-
|
|
1
|
+
import { n as componentDefinition, t as GlassTiles_default } from "../../GlassTiles-C6LLjlnB.js";
|
|
2
2
|
export { componentDefinition, GlassTiles_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Glow_default } from "../../Glow-
|
|
1
|
+
import { n as componentDefinition, t as Glow_default } from "../../Glow-C2avDr73.js";
|
|
2
2
|
export { componentDefinition, Glow_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Godrays/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAOvE,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAA;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Godrays/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAOvE,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAA;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,MAAM,CAAA;CAC1B;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA+JnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-YbhRK-rd.js";
|
|
2
2
|
import "../../time-BZqyVJXt.js";
|
|
3
|
-
import { n as componentDefinition, t as Godrays_default } from "../../Godrays-
|
|
3
|
+
import { n as componentDefinition, t as Godrays_default } from "../../Godrays-RVh5ylQ-.js";
|
|
4
4
|
export { componentDefinition, Godrays_default as default };
|
|
@@ -8,13 +8,6 @@ export interface ComponentProps {
|
|
|
8
8
|
* @default 1
|
|
9
9
|
*/
|
|
10
10
|
intensity: number;
|
|
11
|
-
/**
|
|
12
|
-
* Amount of swirl motion
|
|
13
|
-
*
|
|
14
|
-
* Accepts a number between 0 and 2.
|
|
15
|
-
* @default 0
|
|
16
|
-
*/
|
|
17
|
-
swirl: number;
|
|
18
11
|
/**
|
|
19
12
|
* Rate of distortion decay (higher = faster)
|
|
20
13
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/GridDistortion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAQvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/GridDistortion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAQvE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CAChB;AAoDD,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAoMnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../edges-Bd7GP4s2.js";
|
|
2
2
|
import "../../transformations-YbhRK-rd.js";
|
|
3
|
-
import { n as componentDefinition, t as GridDistortion_default } from "../../GridDistortion-
|
|
3
|
+
import { n as componentDefinition, t as GridDistortion_default } from "../../GridDistortion-fimECOse.js";
|
|
4
4
|
export { componentDefinition, GridDistortion_default as default };
|