shaders 2.3.59 → 2.3.61
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-CHTeMEG5.js → AngularBlur-m_DWR-a1.js} +1 -1
- package/dist/core/{Aurora-CF3ANMDG.js → Aurora-CYCPE1wp.js} +1 -1
- package/dist/core/{Beam-DtcIK_b_.js → Beam-COjEb2JI.js} +1 -1
- package/dist/core/{Blob-BnpAPM8l.js → Blob-jHnoxt2N.js} +1 -1
- package/dist/core/{Bulge-C3jFPuOK.js → Bulge-CsNj4Jew.js} +1 -1
- package/dist/core/{Checkerboard-D1ae-0n2.js → Checkerboard-DwiW08iJ.js} +1 -1
- package/dist/core/{ChromaFlow-CeXcR6pL.js → ChromaFlow-DfP9ZDg0.js} +1 -1
- package/dist/core/{ChromaticAberration-B4012BNj.js → ChromaticAberration-VL5tfOeo.js} +1 -1
- package/dist/core/{Circle-DOQ5F63j.js → Circle-CUYMdgd5.js} +1 -1
- package/dist/core/{ConcentricSpin-Ct7YyQP3.js → ConcentricSpin-DBqXmCjg.js} +1 -1
- package/dist/core/{ContourLines-DWw0CHEU.js → ContourLines-D2KRIOBw.js} +1 -1
- package/dist/core/{CursorRipples-Dl6VZaiT.js → CursorRipples-JWrDL_dU.js} +1 -1
- package/dist/core/{CursorTrail-B7RS5cXG.js → CursorTrail-D2_14ZEz.js} +1 -1
- package/dist/core/{DiffuseBlur-o0h84ibu.js → DiffuseBlur-siJmc-84.js} +1 -1
- package/dist/core/{Dither-BIhaGd7d.js → Dither-GoyNQ4_v.js} +1 -1
- package/dist/core/{DotGrid-CrBCbO3M.js → DotGrid-B8bSufr6.js} +1 -1
- package/dist/core/{Duotone-HYxV5a8V.js → Duotone-CRiDL3YN.js} +1 -1
- package/dist/core/{FloatingParticles-DeWwEtlq.js → FloatingParticles-CtrWM2rw.js} +1 -1
- package/dist/core/{FlowField-Bo4T5OFm.js → FlowField-B-sNApu9.js} +1 -1
- package/dist/core/{Godrays-CcJx19_L.js → Godrays-BV94FCDI.js} +1 -1
- package/dist/core/{Grid-Cvpth9Oi.js → Grid-Czxa6-My.js} +1 -1
- package/dist/core/{GridDistortion-cTIdpRyG.js → GridDistortion-CKhOZRpM.js} +1 -1
- package/dist/core/{Halftone-BEPTnKW6.js → Halftone-YTJAc3Ie.js} +1 -1
- package/dist/core/{Kaleidoscope-Cnfedu-B.js → Kaleidoscope-BDTIWTFC.js} +1 -1
- package/dist/core/{LensFlare-DNO4UQG8.js → LensFlare-CxyJBEvr.js} +1 -1
- package/dist/core/{LinearBlur-C_bpZQcG.js → LinearBlur-BtsleV0J.js} +1 -1
- package/dist/core/{LinearGradient-Bc1INE7C.js → LinearGradient-BP91wtXm.js} +1 -1
- package/dist/core/{Liquify-D5sl_Rtk.js → Liquify-2u2lkBhB.js} +1 -1
- package/dist/core/{Mirror-C0hacD-B.js → Mirror-BonA1elw.js} +1 -1
- package/dist/core/{Perspective-CfC6bKsJ.js → Perspective-Cwpv4683.js} +1 -1
- package/dist/core/{Plasma-D5gyjFl8.js → Plasma-BU4ujuLB.js} +1 -1
- package/dist/core/{PolarCoordinates-BhAihp7Z.js → PolarCoordinates-6BZYZFoj.js} +1 -1
- package/dist/core/{ProgressiveBlur-CJavcHQI.js → ProgressiveBlur-Y8YqC7HM.js} +1 -1
- package/dist/core/{RadialGradient-D4yl6nJ-.js → RadialGradient-DauSwpwY.js} +1 -1
- package/dist/core/{RectangularCoordinates-CtXnf1mj.js → RectangularCoordinates-C5585uvf.js} +1 -1
- package/dist/core/{Ripples-DbZdh29z.js → Ripples-QWGujQgy.js} +1 -1
- package/dist/core/{Shatter-CYHavYlJ.js → Shatter-DRSn9uGZ.js} +1 -1
- package/dist/core/{SimplexNoise-VmkKWJJ_.js → SimplexNoise-W0fx_Y5Q.js} +1 -1
- package/dist/core/{SineWave-BJiQQ5mH.js → SineWave-C-r5bVGK.js} +1 -1
- package/dist/core/{SolidColor-Dym-TMi_.js → SolidColor-BY2tBGcO.js} +1 -1
- package/dist/core/{Spherize-tGTqCifk.js → Spherize-DF4iTTzb.js} +1 -1
- package/dist/core/{Spiral-q4HnjiwB.js → Spiral-DWBdkW7Y.js} +1 -1
- package/dist/core/{Strands-BPQ8qqBR.js → Strands-BFVI3C04.js} +1 -1
- package/dist/core/{Stretch-DnMB46Ey.js → Stretch-CB92XLiC.js} +1 -1
- package/dist/core/{Stripes-Bb3sqRlB.js → Stripes-CTmvjI0U.js} +1 -1
- package/dist/core/{StudioBackground-DNezGoE_.js → StudioBackground-DXHPEKcb.js} +1 -1
- package/dist/core/{Swirl-BnoTw2v_.js → Swirl-DVaTB8HY.js} +1 -1
- package/dist/core/{TiltShift-B35F5fNx.js → TiltShift-CMTVpEBO.js} +1 -1
- package/dist/core/{Tint-BmwtUjg4.js → Tint-COD37j4D.js} +1 -1
- package/dist/core/{Tritone-BplKm991.js → Tritone-BETUi-og.js} +1 -1
- package/dist/core/{Twirl-Dn5j12Yk.js → Twirl-BUlMUymT.js} +1 -1
- package/dist/core/{WaveDistortion-Dv8k3RMK.js → WaveDistortion-DzwdX6Wj.js} +1 -1
- package/dist/core/{ZoomBlur-CCSC20me.js → ZoomBlur-BE1vT38D.js} +1 -1
- package/dist/core/index.js +10 -5
- package/dist/core/registry.js +54 -54
- package/dist/core/renderer.d.ts +2 -1
- package/dist/core/renderer.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +2 -2
- package/dist/core/shaders/Aurora/index.js +2 -2
- package/dist/core/shaders/Beam/index.js +2 -2
- package/dist/core/shaders/Blob/index.js +2 -2
- package/dist/core/shaders/Bulge/index.js +2 -2
- package/dist/core/shaders/Checkerboard/index.js +2 -2
- package/dist/core/shaders/ChromaFlow/index.js +2 -2
- package/dist/core/shaders/ChromaticAberration/index.js +2 -2
- package/dist/core/shaders/Circle/index.js +2 -2
- package/dist/core/shaders/ConcentricSpin/index.js +2 -2
- package/dist/core/shaders/ContourLines/index.js +2 -2
- package/dist/core/shaders/CursorRipples/index.js +2 -2
- package/dist/core/shaders/CursorTrail/index.js +2 -2
- package/dist/core/shaders/DiffuseBlur/index.js +2 -2
- package/dist/core/shaders/Dither/index.js +2 -2
- package/dist/core/shaders/DotGrid/index.js +2 -2
- package/dist/core/shaders/Duotone/index.js +2 -2
- package/dist/core/shaders/FloatingParticles/index.js +2 -2
- package/dist/core/shaders/FlowField/index.js +2 -2
- package/dist/core/shaders/Godrays/index.js +2 -2
- package/dist/core/shaders/Grid/index.js +2 -2
- package/dist/core/shaders/GridDistortion/index.js +2 -2
- package/dist/core/shaders/Halftone/index.js +2 -2
- package/dist/core/shaders/Kaleidoscope/index.js +2 -2
- package/dist/core/shaders/LensFlare/index.js +2 -2
- package/dist/core/shaders/LinearBlur/index.js +2 -2
- package/dist/core/shaders/LinearGradient/index.js +2 -2
- package/dist/core/shaders/Liquify/index.js +2 -2
- package/dist/core/shaders/Mirror/index.js +2 -2
- package/dist/core/shaders/Perspective/index.js +2 -2
- package/dist/core/shaders/Plasma/index.js +2 -2
- package/dist/core/shaders/PolarCoordinates/index.js +2 -2
- package/dist/core/shaders/ProgressiveBlur/index.js +2 -2
- package/dist/core/shaders/RadialGradient/index.js +2 -2
- package/dist/core/shaders/RectangularCoordinates/index.js +2 -2
- package/dist/core/shaders/Ripples/index.js +2 -2
- package/dist/core/shaders/Shatter/index.js +2 -2
- package/dist/core/shaders/SimplexNoise/index.js +2 -2
- package/dist/core/shaders/SineWave/index.js +2 -2
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +2 -2
- package/dist/core/shaders/Spiral/index.js +2 -2
- package/dist/core/shaders/Strands/index.js +2 -2
- package/dist/core/shaders/Stretch/index.js +2 -2
- package/dist/core/shaders/Stripes/index.js +2 -2
- package/dist/core/shaders/StudioBackground/index.js +2 -2
- package/dist/core/shaders/Swirl/index.js +2 -2
- package/dist/core/shaders/TiltShift/index.js +2 -2
- package/dist/core/shaders/Tint/index.js +2 -2
- package/dist/core/shaders/Tritone/index.js +2 -2
- package/dist/core/shaders/Twirl/index.js +2 -2
- package/dist/core/shaders/WaveDistortion/index.js +2 -2
- package/dist/core/shaders/ZoomBlur/index.js +2 -2
- package/dist/core/telemetry/collector.d.ts.map +1 -1
- package/dist/core/telemetry/index.js +1 -0
- package/dist/core/telemetry/types.d.ts +1 -0
- package/dist/core/telemetry/types.d.ts.map +1 -1
- package/dist/core/{transformations-DM6huB9g.js → transformations-B5lM6fYX.js} +10 -3
- package/dist/core/utilities/transformations/index.js +2 -0
- package/dist/core/utilities/transformations.d.ts +3 -0
- package/dist/core/utilities/transformations.d.ts.map +1 -1
- package/dist/react/AngularBlur.js +6 -2
- package/dist/react/Ascii.js +6 -2
- package/dist/react/Aurora.js +6 -2
- package/dist/react/Beam.js +6 -2
- package/dist/react/Blob.js +6 -2
- package/dist/react/Blur.js +6 -2
- package/dist/react/BrightnessContrast.js +6 -2
- package/dist/react/Bulge.js +6 -2
- package/dist/react/CRTScreen.js +6 -2
- package/dist/react/ChannelBlur.js +6 -2
- package/dist/react/Checkerboard.js +6 -2
- package/dist/react/ChromaFlow.js +6 -2
- package/dist/react/ChromaticAberration.js +6 -2
- package/dist/react/Circle.js +6 -2
- package/dist/react/ConcentricSpin.js +6 -2
- package/dist/react/ContourLines.js +6 -2
- package/dist/react/CursorRipples.js +6 -2
- package/dist/react/CursorTrail.js +6 -2
- package/dist/react/DiffuseBlur.js +6 -2
- package/dist/react/Dither.js +6 -2
- package/dist/react/DotGrid.js +6 -2
- package/dist/react/Duotone.js +6 -2
- package/dist/react/FilmGrain.js +6 -2
- package/dist/react/FloatingParticles.js +6 -2
- package/dist/react/FlowField.js +6 -2
- package/dist/react/GlassTiles.js +6 -2
- package/dist/react/Glitch.js +6 -2
- package/dist/react/Glow.js +6 -2
- package/dist/react/Godrays.js +6 -2
- package/dist/react/Grayscale.js +6 -2
- package/dist/react/Grid.js +6 -2
- package/dist/react/GridDistortion.js +6 -2
- package/dist/react/Group.js +6 -2
- package/dist/react/Halftone.js +6 -2
- package/dist/react/HueShift.js +6 -2
- package/dist/react/ImageTexture.js +6 -2
- package/dist/react/Invert.js +6 -2
- package/dist/react/Kaleidoscope.js +6 -2
- package/dist/react/LensFlare.js +6 -2
- package/dist/react/LinearBlur.js +6 -2
- package/dist/react/LinearGradient.js +6 -2
- package/dist/react/Liquify.js +6 -2
- package/dist/react/Mirror.js +6 -2
- package/dist/react/Perspective.js +6 -2
- package/dist/react/Pixelate.js +6 -2
- package/dist/react/Plasma.js +6 -2
- package/dist/react/PolarCoordinates.js +6 -2
- package/dist/react/Posterize.js +6 -2
- package/dist/react/ProgressiveBlur.js +6 -2
- package/dist/react/RadialGradient.js +6 -2
- package/dist/react/RectangularCoordinates.js +6 -2
- package/dist/react/Ripples.js +6 -2
- package/dist/react/Saturation.js +6 -2
- package/dist/react/Shader.js +31 -6
- package/dist/react/Sharpness.js +6 -2
- package/dist/react/Shatter.js +6 -2
- package/dist/react/SimplexNoise.js +6 -2
- package/dist/react/SineWave.js +6 -2
- package/dist/react/SolidColor.js +6 -2
- package/dist/react/Spherize.js +6 -2
- package/dist/react/Spiral.js +6 -2
- package/dist/react/Strands.js +6 -2
- package/dist/react/Stretch.js +6 -2
- package/dist/react/Stripes.js +6 -2
- package/dist/react/StudioBackground.js +6 -2
- package/dist/react/Swirl.js +6 -2
- package/dist/react/TiltShift.js +6 -2
- package/dist/react/Tint.js +6 -2
- package/dist/react/Tritone.js +6 -2
- package/dist/react/Twirl.js +6 -2
- package/dist/react/Vibrance.js +6 -2
- package/dist/react/VideoTexture.js +6 -2
- package/dist/react/WaveDistortion.js +6 -2
- package/dist/react/WebcamTexture.js +6 -2
- package/dist/react/ZoomBlur.js +6 -2
- package/dist/react/components/AngularBlur.d.ts.map +1 -1
- package/dist/react/components/Ascii.d.ts.map +1 -1
- package/dist/react/components/Aurora.d.ts.map +1 -1
- package/dist/react/components/Beam.d.ts.map +1 -1
- package/dist/react/components/Blob.d.ts.map +1 -1
- package/dist/react/components/Blur.d.ts.map +1 -1
- package/dist/react/components/BrightnessContrast.d.ts.map +1 -1
- package/dist/react/components/Bulge.d.ts.map +1 -1
- package/dist/react/components/CRTScreen.d.ts.map +1 -1
- package/dist/react/components/ChannelBlur.d.ts.map +1 -1
- package/dist/react/components/Checkerboard.d.ts.map +1 -1
- package/dist/react/components/ChromaFlow.d.ts.map +1 -1
- package/dist/react/components/ChromaticAberration.d.ts.map +1 -1
- package/dist/react/components/Circle.d.ts.map +1 -1
- package/dist/react/components/ConcentricSpin.d.ts.map +1 -1
- package/dist/react/components/ContourLines.d.ts.map +1 -1
- package/dist/react/components/CursorRipples.d.ts.map +1 -1
- package/dist/react/components/CursorTrail.d.ts.map +1 -1
- package/dist/react/components/DiffuseBlur.d.ts.map +1 -1
- package/dist/react/components/Dither.d.ts.map +1 -1
- package/dist/react/components/DotGrid.d.ts.map +1 -1
- package/dist/react/components/Duotone.d.ts.map +1 -1
- package/dist/react/components/FilmGrain.d.ts.map +1 -1
- package/dist/react/components/FloatingParticles.d.ts.map +1 -1
- package/dist/react/components/FlowField.d.ts.map +1 -1
- package/dist/react/components/GlassTiles.d.ts.map +1 -1
- package/dist/react/components/Glitch.d.ts.map +1 -1
- package/dist/react/components/Glow.d.ts.map +1 -1
- package/dist/react/components/Godrays.d.ts.map +1 -1
- package/dist/react/components/Grayscale.d.ts.map +1 -1
- package/dist/react/components/Grid.d.ts.map +1 -1
- package/dist/react/components/GridDistortion.d.ts.map +1 -1
- package/dist/react/components/Group.d.ts.map +1 -1
- package/dist/react/components/Halftone.d.ts.map +1 -1
- package/dist/react/components/HueShift.d.ts.map +1 -1
- package/dist/react/components/ImageTexture.d.ts.map +1 -1
- package/dist/react/components/Invert.d.ts.map +1 -1
- package/dist/react/components/Kaleidoscope.d.ts.map +1 -1
- package/dist/react/components/LensFlare.d.ts.map +1 -1
- package/dist/react/components/LinearBlur.d.ts.map +1 -1
- package/dist/react/components/LinearGradient.d.ts.map +1 -1
- package/dist/react/components/Liquify.d.ts.map +1 -1
- package/dist/react/components/Mirror.d.ts.map +1 -1
- package/dist/react/components/Perspective.d.ts.map +1 -1
- package/dist/react/components/Pixelate.d.ts.map +1 -1
- package/dist/react/components/Plasma.d.ts.map +1 -1
- package/dist/react/components/PolarCoordinates.d.ts.map +1 -1
- package/dist/react/components/Posterize.d.ts.map +1 -1
- package/dist/react/components/ProgressiveBlur.d.ts.map +1 -1
- package/dist/react/components/RadialGradient.d.ts.map +1 -1
- package/dist/react/components/RectangularCoordinates.d.ts.map +1 -1
- package/dist/react/components/Ripples.d.ts.map +1 -1
- package/dist/react/components/Saturation.d.ts.map +1 -1
- package/dist/react/components/Sharpness.d.ts.map +1 -1
- package/dist/react/components/Shatter.d.ts.map +1 -1
- package/dist/react/components/SimplexNoise.d.ts.map +1 -1
- package/dist/react/components/SineWave.d.ts.map +1 -1
- package/dist/react/components/SolidColor.d.ts.map +1 -1
- package/dist/react/components/Spherize.d.ts.map +1 -1
- package/dist/react/components/Spiral.d.ts.map +1 -1
- package/dist/react/components/Strands.d.ts.map +1 -1
- package/dist/react/components/Stretch.d.ts.map +1 -1
- package/dist/react/components/Stripes.d.ts.map +1 -1
- package/dist/react/components/StudioBackground.d.ts.map +1 -1
- package/dist/react/components/Swirl.d.ts.map +1 -1
- package/dist/react/components/TiltShift.d.ts.map +1 -1
- package/dist/react/components/Tint.d.ts.map +1 -1
- package/dist/react/components/Tritone.d.ts.map +1 -1
- package/dist/react/components/Twirl.d.ts.map +1 -1
- package/dist/react/components/Vibrance.d.ts.map +1 -1
- package/dist/react/components/VideoTexture.d.ts.map +1 -1
- package/dist/react/components/WaveDistortion.d.ts.map +1 -1
- package/dist/react/components/WebcamTexture.d.ts.map +1 -1
- package/dist/react/components/ZoomBlur.d.ts.map +1 -1
- package/dist/react/engine/Shader.d.ts +2 -0
- package/dist/react/engine/Shader.d.ts.map +1 -1
- package/dist/react/engine/component.template.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.d.ts +1 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +3 -2
- package/dist/react/utils/generatePresetCode.template.d.ts +1 -1
- package/dist/react/utils/generatePresetCode.template.d.ts.map +1 -1
- package/dist/solid/components/AngularBlur.d.ts.map +1 -1
- package/dist/solid/components/AngularBlur.js +5 -2
- package/dist/solid/components/Ascii.d.ts.map +1 -1
- package/dist/solid/components/Ascii.js +5 -2
- package/dist/solid/components/Aurora.d.ts.map +1 -1
- package/dist/solid/components/Aurora.js +5 -2
- package/dist/solid/components/Beam.d.ts.map +1 -1
- package/dist/solid/components/Beam.js +5 -2
- package/dist/solid/components/Blob.d.ts.map +1 -1
- package/dist/solid/components/Blob.js +5 -2
- package/dist/solid/components/Blur.d.ts.map +1 -1
- package/dist/solid/components/Blur.js +5 -2
- package/dist/solid/components/BrightnessContrast.d.ts.map +1 -1
- package/dist/solid/components/BrightnessContrast.js +5 -2
- package/dist/solid/components/Bulge.d.ts.map +1 -1
- package/dist/solid/components/Bulge.js +5 -2
- package/dist/solid/components/CRTScreen.d.ts.map +1 -1
- package/dist/solid/components/CRTScreen.js +5 -2
- package/dist/solid/components/ChannelBlur.d.ts.map +1 -1
- package/dist/solid/components/ChannelBlur.js +5 -2
- package/dist/solid/components/Checkerboard.d.ts.map +1 -1
- package/dist/solid/components/Checkerboard.js +5 -2
- package/dist/solid/components/ChromaFlow.d.ts.map +1 -1
- package/dist/solid/components/ChromaFlow.js +5 -2
- package/dist/solid/components/ChromaticAberration.d.ts.map +1 -1
- package/dist/solid/components/ChromaticAberration.js +5 -2
- package/dist/solid/components/Circle.d.ts.map +1 -1
- package/dist/solid/components/Circle.js +5 -2
- package/dist/solid/components/ConcentricSpin.d.ts.map +1 -1
- package/dist/solid/components/ConcentricSpin.js +5 -2
- package/dist/solid/components/ContourLines.d.ts.map +1 -1
- package/dist/solid/components/ContourLines.js +5 -2
- package/dist/solid/components/CursorRipples.d.ts.map +1 -1
- package/dist/solid/components/CursorRipples.js +5 -2
- package/dist/solid/components/CursorTrail.d.ts.map +1 -1
- package/dist/solid/components/CursorTrail.js +5 -2
- package/dist/solid/components/DiffuseBlur.d.ts.map +1 -1
- package/dist/solid/components/DiffuseBlur.js +5 -2
- package/dist/solid/components/Dither.d.ts.map +1 -1
- package/dist/solid/components/Dither.js +5 -2
- package/dist/solid/components/DotGrid.d.ts.map +1 -1
- package/dist/solid/components/DotGrid.js +5 -2
- package/dist/solid/components/Duotone.d.ts.map +1 -1
- package/dist/solid/components/Duotone.js +5 -2
- package/dist/solid/components/FilmGrain.d.ts.map +1 -1
- package/dist/solid/components/FilmGrain.js +5 -2
- package/dist/solid/components/FloatingParticles.d.ts.map +1 -1
- package/dist/solid/components/FloatingParticles.js +5 -2
- package/dist/solid/components/FlowField.d.ts.map +1 -1
- package/dist/solid/components/FlowField.js +5 -2
- package/dist/solid/components/GlassTiles.d.ts.map +1 -1
- package/dist/solid/components/GlassTiles.js +5 -2
- package/dist/solid/components/Glitch.d.ts.map +1 -1
- package/dist/solid/components/Glitch.js +5 -2
- package/dist/solid/components/Glow.d.ts.map +1 -1
- package/dist/solid/components/Glow.js +5 -2
- package/dist/solid/components/Godrays.d.ts.map +1 -1
- package/dist/solid/components/Godrays.js +5 -2
- package/dist/solid/components/Grayscale.d.ts.map +1 -1
- package/dist/solid/components/Grayscale.js +5 -2
- package/dist/solid/components/Grid.d.ts.map +1 -1
- package/dist/solid/components/Grid.js +5 -2
- package/dist/solid/components/GridDistortion.d.ts.map +1 -1
- package/dist/solid/components/GridDistortion.js +5 -2
- package/dist/solid/components/Group.d.ts.map +1 -1
- package/dist/solid/components/Group.js +5 -2
- package/dist/solid/components/Halftone.d.ts.map +1 -1
- package/dist/solid/components/Halftone.js +5 -2
- package/dist/solid/components/HueShift.d.ts.map +1 -1
- package/dist/solid/components/HueShift.js +5 -2
- package/dist/solid/components/ImageTexture.d.ts.map +1 -1
- package/dist/solid/components/ImageTexture.js +5 -2
- package/dist/solid/components/Invert.d.ts.map +1 -1
- package/dist/solid/components/Invert.js +5 -2
- package/dist/solid/components/Kaleidoscope.d.ts.map +1 -1
- package/dist/solid/components/Kaleidoscope.js +5 -2
- package/dist/solid/components/LensFlare.d.ts.map +1 -1
- package/dist/solid/components/LensFlare.js +5 -2
- package/dist/solid/components/LinearBlur.d.ts.map +1 -1
- package/dist/solid/components/LinearBlur.js +5 -2
- package/dist/solid/components/LinearGradient.d.ts.map +1 -1
- package/dist/solid/components/LinearGradient.js +5 -2
- package/dist/solid/components/Liquify.d.ts.map +1 -1
- package/dist/solid/components/Liquify.js +5 -2
- package/dist/solid/components/Mirror.d.ts.map +1 -1
- package/dist/solid/components/Mirror.js +5 -2
- package/dist/solid/components/Perspective.d.ts.map +1 -1
- package/dist/solid/components/Perspective.js +5 -2
- package/dist/solid/components/Pixelate.d.ts.map +1 -1
- package/dist/solid/components/Pixelate.js +5 -2
- package/dist/solid/components/Plasma.d.ts.map +1 -1
- package/dist/solid/components/Plasma.js +5 -2
- package/dist/solid/components/PolarCoordinates.d.ts.map +1 -1
- package/dist/solid/components/PolarCoordinates.js +5 -2
- package/dist/solid/components/Posterize.d.ts.map +1 -1
- package/dist/solid/components/Posterize.js +5 -2
- package/dist/solid/components/ProgressiveBlur.d.ts.map +1 -1
- package/dist/solid/components/ProgressiveBlur.js +5 -2
- package/dist/solid/components/RadialGradient.d.ts.map +1 -1
- package/dist/solid/components/RadialGradient.js +5 -2
- package/dist/solid/components/RectangularCoordinates.d.ts.map +1 -1
- package/dist/solid/components/RectangularCoordinates.js +5 -2
- package/dist/solid/components/Ripples.d.ts.map +1 -1
- package/dist/solid/components/Ripples.js +5 -2
- package/dist/solid/components/Saturation.d.ts.map +1 -1
- package/dist/solid/components/Saturation.js +5 -2
- package/dist/solid/components/Sharpness.d.ts.map +1 -1
- package/dist/solid/components/Sharpness.js +5 -2
- package/dist/solid/components/Shatter.d.ts.map +1 -1
- package/dist/solid/components/Shatter.js +5 -2
- package/dist/solid/components/SimplexNoise.d.ts.map +1 -1
- package/dist/solid/components/SimplexNoise.js +5 -2
- package/dist/solid/components/SineWave.d.ts.map +1 -1
- package/dist/solid/components/SineWave.js +5 -2
- package/dist/solid/components/SolidColor.d.ts.map +1 -1
- package/dist/solid/components/SolidColor.js +5 -2
- package/dist/solid/components/Spherize.d.ts.map +1 -1
- package/dist/solid/components/Spherize.js +5 -2
- package/dist/solid/components/Spiral.d.ts.map +1 -1
- package/dist/solid/components/Spiral.js +5 -2
- package/dist/solid/components/Strands.d.ts.map +1 -1
- package/dist/solid/components/Strands.js +5 -2
- package/dist/solid/components/Stretch.d.ts.map +1 -1
- package/dist/solid/components/Stretch.js +5 -2
- package/dist/solid/components/Stripes.d.ts.map +1 -1
- package/dist/solid/components/Stripes.js +5 -2
- package/dist/solid/components/StudioBackground.d.ts.map +1 -1
- package/dist/solid/components/StudioBackground.js +5 -2
- package/dist/solid/components/Swirl.d.ts.map +1 -1
- package/dist/solid/components/Swirl.js +5 -2
- package/dist/solid/components/TiltShift.d.ts.map +1 -1
- package/dist/solid/components/TiltShift.js +5 -2
- package/dist/solid/components/Tint.d.ts.map +1 -1
- package/dist/solid/components/Tint.js +5 -2
- package/dist/solid/components/Tritone.d.ts.map +1 -1
- package/dist/solid/components/Tritone.js +5 -2
- package/dist/solid/components/Twirl.d.ts.map +1 -1
- package/dist/solid/components/Twirl.js +5 -2
- package/dist/solid/components/Vibrance.d.ts.map +1 -1
- package/dist/solid/components/Vibrance.js +5 -2
- package/dist/solid/components/VideoTexture.d.ts.map +1 -1
- package/dist/solid/components/VideoTexture.js +5 -2
- package/dist/solid/components/WaveDistortion.d.ts.map +1 -1
- package/dist/solid/components/WaveDistortion.js +5 -2
- package/dist/solid/components/WebcamTexture.d.ts.map +1 -1
- package/dist/solid/components/WebcamTexture.js +5 -2
- package/dist/solid/components/ZoomBlur.d.ts.map +1 -1
- package/dist/solid/components/ZoomBlur.js +5 -2
- package/dist/solid/engine/Shader.d.ts +2 -0
- package/dist/solid/engine/Shader.d.ts.map +1 -1
- package/dist/solid/engine/Shader.js +27 -6
- package/dist/solid/engine/component.template.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.d.ts +1 -1
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +3 -2
- package/dist/solid/utils/generatePresetCode.template.d.ts +1 -1
- package/dist/solid/utils/generatePresetCode.template.d.ts.map +1 -1
- package/dist/svelte/engine/Shader.svelte.d.ts +1 -0
- package/dist/svelte/{generatePresetCode-CO9fAymD.js → generatePresetCode-EA1bmNOJ.js} +3 -2
- package/dist/svelte/index.js +174 -5
- package/dist/svelte/utils/generatePresetCode.d.ts +1 -1
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/svelte/utils/generatePresetCode.template.d.ts +1 -1
- package/dist/vue/AngularBlur.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Ascii.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Aurora.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Beam.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Blob.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Blur.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/BrightnessContrast.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Bulge.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/CRTScreen.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/ChannelBlur.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Checkerboard.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/ChromaFlow.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/ChromaticAberration.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Circle.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/ConcentricSpin.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/ContourLines.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/CursorRipples.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/CursorTrail.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/DiffuseBlur.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Dither.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/DotGrid.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Duotone.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/FilmGrain.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/FloatingParticles.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/FlowField.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/GlassTiles.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Glitch.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Glow.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Godrays.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Grayscale.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Grid.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/GridDistortion.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Group.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Halftone.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/HueShift.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/ImageTexture.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Invert.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Kaleidoscope.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/LensFlare.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/LinearBlur.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/LinearGradient.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Liquify.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Mirror.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Perspective.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Pixelate.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Plasma.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/PolarCoordinates.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Posterize.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/ProgressiveBlur.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/RadialGradient.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/RectangularCoordinates.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Ripples.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Saturation.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +23 -6
- package/dist/vue/Sharpness.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Shatter.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/SimplexNoise.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/SineWave.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/SolidColor.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Spherize.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Spiral.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Strands.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Stretch.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Stripes.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/StudioBackground.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Swirl.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/TiltShift.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Tint.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Tritone.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Twirl.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/Vibrance.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/VideoTexture.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/WaveDistortion.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/WebcamTexture.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/ZoomBlur.vue_vue_type_script_setup_true_lang.js +6 -2
- package/dist/vue/components/AngularBlur.vue.d.ts.map +1 -1
- package/dist/vue/components/Ascii.vue.d.ts.map +1 -1
- package/dist/vue/components/Aurora.vue.d.ts.map +1 -1
- package/dist/vue/components/Beam.vue.d.ts.map +1 -1
- package/dist/vue/components/Blob.vue.d.ts.map +1 -1
- package/dist/vue/components/Blur.vue.d.ts.map +1 -1
- package/dist/vue/components/BrightnessContrast.vue.d.ts.map +1 -1
- package/dist/vue/components/Bulge.vue.d.ts.map +1 -1
- package/dist/vue/components/CRTScreen.vue.d.ts.map +1 -1
- package/dist/vue/components/ChannelBlur.vue.d.ts.map +1 -1
- package/dist/vue/components/Checkerboard.vue.d.ts.map +1 -1
- package/dist/vue/components/ChromaFlow.vue.d.ts.map +1 -1
- package/dist/vue/components/ChromaticAberration.vue.d.ts.map +1 -1
- package/dist/vue/components/Circle.vue.d.ts.map +1 -1
- package/dist/vue/components/ConcentricSpin.vue.d.ts.map +1 -1
- package/dist/vue/components/ContourLines.vue.d.ts.map +1 -1
- package/dist/vue/components/CursorRipples.vue.d.ts.map +1 -1
- package/dist/vue/components/CursorTrail.vue.d.ts.map +1 -1
- package/dist/vue/components/DiffuseBlur.vue.d.ts.map +1 -1
- package/dist/vue/components/Dither.vue.d.ts.map +1 -1
- package/dist/vue/components/DotGrid.vue.d.ts.map +1 -1
- package/dist/vue/components/Duotone.vue.d.ts.map +1 -1
- package/dist/vue/components/FilmGrain.vue.d.ts.map +1 -1
- package/dist/vue/components/FloatingParticles.vue.d.ts.map +1 -1
- package/dist/vue/components/FlowField.vue.d.ts.map +1 -1
- package/dist/vue/components/GlassTiles.vue.d.ts.map +1 -1
- package/dist/vue/components/Glitch.vue.d.ts.map +1 -1
- package/dist/vue/components/Glow.vue.d.ts.map +1 -1
- package/dist/vue/components/Godrays.vue.d.ts.map +1 -1
- package/dist/vue/components/Grayscale.vue.d.ts.map +1 -1
- package/dist/vue/components/Grid.vue.d.ts.map +1 -1
- package/dist/vue/components/GridDistortion.vue.d.ts.map +1 -1
- package/dist/vue/components/Group.vue.d.ts.map +1 -1
- package/dist/vue/components/Halftone.vue.d.ts.map +1 -1
- package/dist/vue/components/HueShift.vue.d.ts.map +1 -1
- package/dist/vue/components/ImageTexture.vue.d.ts.map +1 -1
- package/dist/vue/components/Invert.vue.d.ts.map +1 -1
- package/dist/vue/components/Kaleidoscope.vue.d.ts.map +1 -1
- package/dist/vue/components/LensFlare.vue.d.ts.map +1 -1
- package/dist/vue/components/LinearBlur.vue.d.ts.map +1 -1
- package/dist/vue/components/LinearGradient.vue.d.ts.map +1 -1
- package/dist/vue/components/Liquify.vue.d.ts.map +1 -1
- package/dist/vue/components/Mirror.vue.d.ts.map +1 -1
- package/dist/vue/components/Perspective.vue.d.ts.map +1 -1
- package/dist/vue/components/Pixelate.vue.d.ts.map +1 -1
- package/dist/vue/components/Plasma.vue.d.ts.map +1 -1
- package/dist/vue/components/PolarCoordinates.vue.d.ts.map +1 -1
- package/dist/vue/components/Posterize.vue.d.ts.map +1 -1
- package/dist/vue/components/ProgressiveBlur.vue.d.ts.map +1 -1
- package/dist/vue/components/RadialGradient.vue.d.ts.map +1 -1
- package/dist/vue/components/RectangularCoordinates.vue.d.ts.map +1 -1
- package/dist/vue/components/Ripples.vue.d.ts.map +1 -1
- package/dist/vue/components/Saturation.vue.d.ts.map +1 -1
- package/dist/vue/components/Sharpness.vue.d.ts.map +1 -1
- package/dist/vue/components/Shatter.vue.d.ts.map +1 -1
- package/dist/vue/components/SimplexNoise.vue.d.ts.map +1 -1
- package/dist/vue/components/SineWave.vue.d.ts.map +1 -1
- package/dist/vue/components/SolidColor.vue.d.ts.map +1 -1
- package/dist/vue/components/Spherize.vue.d.ts.map +1 -1
- package/dist/vue/components/Spiral.vue.d.ts.map +1 -1
- package/dist/vue/components/Strands.vue.d.ts.map +1 -1
- package/dist/vue/components/Stretch.vue.d.ts.map +1 -1
- package/dist/vue/components/Stripes.vue.d.ts.map +1 -1
- package/dist/vue/components/StudioBackground.vue.d.ts.map +1 -1
- package/dist/vue/components/Swirl.vue.d.ts.map +1 -1
- package/dist/vue/components/TiltShift.vue.d.ts.map +1 -1
- package/dist/vue/components/Tint.vue.d.ts.map +1 -1
- package/dist/vue/components/Tritone.vue.d.ts.map +1 -1
- package/dist/vue/components/Twirl.vue.d.ts.map +1 -1
- package/dist/vue/components/Vibrance.vue.d.ts.map +1 -1
- package/dist/vue/components/VideoTexture.vue.d.ts.map +1 -1
- package/dist/vue/components/WaveDistortion.vue.d.ts.map +1 -1
- package/dist/vue/components/WebcamTexture.vue.d.ts.map +1 -1
- package/dist/vue/components/ZoomBlur.vue.d.ts.map +1 -1
- package/dist/vue/engine/Shader.vue.d.ts +4 -0
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.d.ts +1 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +3 -2
- package/dist/vue/utils/generatePresetCode.template.d.ts +1 -1
- package/dist/vue/utils/generatePresetCode.template.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { Fn, convertToTexture, cos, float, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var rawWeights = Array.from({ length: 32 }, (_, i) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { Fn, clamp, exp, float, fract, mix, mx_noise_float, pow, screenUV, sin, smoothstep, step, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
3
3
|
import { clamp, float, max, mix, pow, screenUV, smoothstep, sqrt, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { dot, float, length, max, normalize, pow, reflect, screenUV, sin, smoothstep, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { convertToTexture, float, length, max, screenUV, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
3
3
|
import { float, floor, fract, min, mod, screenUV, smoothstep, vec2, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { DataTexture, FloatType, LinearFilter, RGFormat } from "three";
|
|
3
3
|
import { float, mix, screenUV, smoothstep, texture, uniform, vec2, vec4 } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as transformAngle } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { convertToTexture, cos, radians, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
3
3
|
import { float, length, screenUV, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var transformStrokePosition = (value) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
4
4
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
5
5
|
import { Fn, convertToTexture, cos, float, floor, fract, mix, mod, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { dot, float, fract, fwidth, mix, oneMinus, pow, smoothstep, vec3, vec4 } from "three/tsl";
|
|
3
3
|
var transformSource = (value) => {
|
|
4
4
|
return value === "alpha" ? 1 : 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { DataTexture, FloatType, LinearFilter, RGFormat } from "three";
|
|
5
5
|
import { convertToTexture, float, screenUV, texture, vec2, vec4 } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
3
3
|
import { DataTexture, FloatType, LinearFilter, RGBAFormat } from "three";
|
|
4
4
|
import { float, screenUV, step, texture, vec2, vec4 } from "three/tsl";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { convertToTexture, dot, fract, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { DataTexture, FloatType, NearestFilter, RGBAFormat, RepeatWrapping } from "three";
|
|
4
4
|
import { convertToTexture, dot, float, floor, fract, mix, screenUV, sin, step, texture, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { float, floor, fwidth, length, mix, screenUV, sin, smoothstep, time, vec2, vec4, viewportSize } from "three/tsl";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "DotGrid",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { convertToTexture, dot, screenUV, smoothstep, vec3, vec4 } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { Fn, cos, dot, float, floor, fract, length, min, mix, screenUV, sin, smoothstep, time, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var hash1_2 = Fn(([p]) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
4
4
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
5
5
|
import { convertToTexture, cos, float, length, max, mx_noise_float, screenUV, sin, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { Fn, PI, abs, atan, clamp, float, length, mix, pow, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { fract, fwidth, max, screenUV, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Grid",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { DataTexture, FloatType, LinearFilter, RGFormat } from "three";
|
|
5
5
|
import { convertToTexture, float, screenUV, texture, uniform, vec2, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as transformAngle } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { cos, dot, fract, length, radians, screenUV, sin, smoothstep, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Halftone",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { atan2, convertToTexture, cos, float, length, mod, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { Fn, abs, atan2, clamp, cos, dot, float, max, mix, pow, screenUV, sin, smoothstep, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var spectralColor = Fn(([t]) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as transformAngle } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { Fn, convertToTexture, cos, float, radians, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var rawWeights = Array.from({ length: 32 }, (_, i) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, c as transformEdges, l as transformPosition, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
3
3
|
import { abs, cos, dot, float, fract, length, mod, normalize, radians, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { DataTexture, FloatType, LinearFilter, RGFormat } from "three";
|
|
5
5
|
import { convertToTexture, float, screenUV, texture, uniform, vec2, vec4 } from "three/tsl";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { convertToTexture, cos, mix, screenUV, sin, step, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { convertToTexture, cos, float, max, screenUV, sin, tan, vec2, vec4 } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { clamp, exp, float, mx_noise_float, pow, screenUV, vec3, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { PI, atan, convertToTexture, length, mix, screenUV, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as transformPosition, r as transformAngle } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { Fn, convertToTexture, cos, float, max, radians, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
3
3
|
import { distance, float, screenUV, vec2, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { PI, convertToTexture, cos, mix, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { distance, float, screenUV, sin, smoothstep, vec2, viewportSize } from "three/tsl";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { DataTexture, FloatType, LinearFilter, NearestFilter, RGBAFormat } from "three";
|
|
5
5
|
import { convertToTexture, float, screenUV, smoothstep, texture, vec2, vec4 } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { clamp, exp, float, mx_noise_float, screenUV, vec2, vec3, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition, r as transformAngle } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { PI, abs, cos, radians, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { convertToTexture, dot, float, max, normalize, pow, screenUV, smoothstep, sqrt, vec2, vec3, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { abs, atan, clamp, float, fract, fwidth, length, mix, screenUV, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { Fn, abs, cos, float, max, mix, screenUV, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { clamp, convertToTexture, cos, float, mix, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { cos, fract, fwidth, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { Fn, clamp, cos, exp, float, fract, mix, screenUV, sin, smoothstep, vec3, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { cos, screenUV, sin, smoothstep, vec2, vec4 } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as transformPosition, r as transformAngle } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { Fn, abs, convertToTexture, cos, dot, float, mix, radians, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { t as mixColors } from "./colorMixing-D_wMclqL.js";
|
|
4
4
|
import { convertToTexture, dot, screenUV, smoothstep, vec3, vec4 } from "three/tsl";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
4
4
|
import { convertToTexture, cos, length, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import {
|
|
2
|
+
import { c as transformEdges } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
4
4
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
5
5
|
import { PI, abs, convertToTexture, cos, float, fract, screenUV, sin, step, vec2, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as transformPosition } from "./transformations-B5lM6fYX.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-Byel9eTg.js";
|
|
3
3
|
import { Fn, convertToTexture, float, screenUV, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var rawWeights = Array.from({ length: 32 }, (_, i) => {
|
package/dist/core/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-Bd7GP4s2.js";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as transformColor, l as transformPosition, n as setColorSpaceMode, s as transformColorUpdate, u as transformPositionUpdate } from "./transformations-B5lM6fYX.js";
|
|
3
3
|
import { t as createAnimatedTime } from "./time-BZqyVJXt.js";
|
|
4
4
|
import { Material, Mesh, MeshBasicNodeMaterial, OrthographicCamera, PlaneGeometry, SRGBColorSpace, Scene, WebGPURenderer } from "three/webgpu";
|
|
5
5
|
import { WebGLRenderer } from "three";
|
|
@@ -616,6 +616,7 @@ function shaderRenderer() {
|
|
|
616
616
|
let intersectionObserver = null;
|
|
617
617
|
let isInitialized = false;
|
|
618
618
|
let isInitializing = false;
|
|
619
|
+
let rendererColorSpace = "p3-linear";
|
|
619
620
|
let hasInitialDimensions = false;
|
|
620
621
|
let initializationAbortController = null;
|
|
621
622
|
let isVisible = false;
|
|
@@ -631,7 +632,7 @@ function shaderRenderer() {
|
|
|
631
632
|
let pendingNodeRemoval = false;
|
|
632
633
|
let globalEventUnregister = null;
|
|
633
634
|
let unloadHandler = null;
|
|
634
|
-
let enablePerformanceTracking =
|
|
635
|
+
let enablePerformanceTracking = true;
|
|
635
636
|
const performanceTracker = new PerformanceTracker();
|
|
636
637
|
let pendingRegistrationQueue = [];
|
|
637
638
|
let isRendererReady = false;
|
|
@@ -1148,8 +1149,10 @@ function shaderRenderer() {
|
|
|
1148
1149
|
if (!nodeInfo || !nodeInfo.uniforms) return;
|
|
1149
1150
|
const uniformDefinition = nodeInfo.uniforms[uniformName];
|
|
1150
1151
|
if (!uniformDefinition || !uniformDefinition.uniform) return;
|
|
1151
|
-
if (uniformDefinition.transform)
|
|
1152
|
-
|
|
1152
|
+
if (uniformDefinition.transform) {
|
|
1153
|
+
setColorSpaceMode(rendererColorSpace);
|
|
1154
|
+
updateUniformValue(uniformDefinition, value);
|
|
1155
|
+
} else uniformDefinition.uniform.value = value;
|
|
1153
1156
|
if (!animationFrameId) renderFrame();
|
|
1154
1157
|
};
|
|
1155
1158
|
const updateNodeMetadata = (nodeId, metadata) => {
|
|
@@ -1436,9 +1439,11 @@ function shaderRenderer() {
|
|
|
1436
1439
|
pendingRegistrationQueue = [];
|
|
1437
1440
|
for (const { id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition } of queue) if (fragmentNodeFunc) registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition);
|
|
1438
1441
|
};
|
|
1439
|
-
const initialize = async ({ canvas, enablePerformanceTracking: enableTracking =
|
|
1442
|
+
const initialize = async ({ canvas, enablePerformanceTracking: enableTracking = true, colorSpace = "p3-linear" }) => {
|
|
1440
1443
|
if (isInitialized || isInitializing) return;
|
|
1441
1444
|
enablePerformanceTracking = enableTracking;
|
|
1445
|
+
rendererColorSpace = colorSpace;
|
|
1446
|
+
setColorSpaceMode(colorSpace);
|
|
1442
1447
|
isInitializing = true;
|
|
1443
1448
|
initializationAbortController = new AbortController();
|
|
1444
1449
|
const localAbortController = initializationAbortController;
|