shaders 2.3.55 → 2.3.57
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-HQuGCKow.js → AngularBlur-BNL2_pBD.js} +2 -1
- package/dist/core/{Ascii-BmSlALjq.js → Ascii-CmRuGRU3.js} +2 -1
- package/dist/core/{Aurora-BDnL1XdK.js → Aurora-DtnRdRC-.js} +1 -1
- package/dist/core/{Beam-CyRoRQEj.js → Beam-qJlv6CVV.js} +1 -1
- package/dist/core/{Blob-CunyZ0A6.js → Blob-DGRz-vGs.js} +1 -1
- package/dist/core/{Blur-NNElJwzj.js → Blur-DpAOfmjB.js} +2 -1
- package/dist/core/{Bulge-Ca9hW7y4.js → Bulge-54fwrqfj.js} +2 -1
- package/dist/core/{CRTScreen-BHKDJ9_0.js → CRTScreen-cc_j5lyg.js} +2 -1
- package/dist/core/{ChannelBlur-A0r5Gx_y.js → ChannelBlur-4f44pSJj.js} +2 -1
- package/dist/core/{Checkerboard-XJh_tV6B.js → Checkerboard-DwFfxCnj.js} +1 -1
- package/dist/core/{ChromaticAberration-CYvju_kr.js → ChromaticAberration-CNR09GFf.js} +2 -1
- package/dist/core/Circle-zhbK6F5c.js +148 -0
- package/dist/core/{ConcentricSpin-CnuAW_6I.js → ConcentricSpin-CDjyEIxy.js} +2 -1
- package/dist/core/{CursorRipples-Dn_rE8nA.js → CursorRipples-CmE0GhQh.js} +2 -1
- package/dist/core/{CursorTrail-DD4YxAqo.js → CursorTrail--yjKF5x6.js} +1 -1
- package/dist/core/{DiffuseBlur-GlibDd8O.js → DiffuseBlur-CfZ3V94k.js} +2 -1
- package/dist/core/{Dither-BOWyA2dp.js → Dither-Cro5_SzL.js} +2 -1
- package/dist/core/{Duotone-C8mRw_1e.js → Duotone-bPh-N4wz.js} +3 -2
- package/dist/core/{FlowField-S_LXjhaN.js → FlowField-Cuy2JAYR.js} +2 -1
- package/dist/core/{GlassTiles--hbefQlc.js → GlassTiles-DR6mVq-O.js} +2 -1
- package/dist/core/{Glitch-lbgQYebN.js → Glitch-D3mDX28q.js} +2 -1
- package/dist/core/{Glow-DM9zbhbr.js → Glow-CN4IeRq4.js} +2 -1
- package/dist/core/{GridDistortion-PNU8pi2I.js → GridDistortion-B3b17eue.js} +2 -1
- package/dist/core/{Invert-oYct5uwC.js → Invert-c6RNEzsq.js} +1 -3
- package/dist/core/{Kaleidoscope-BXKsOJl2.js → Kaleidoscope-BL6E3BVU.js} +2 -1
- package/dist/core/{LinearBlur-gV1sIMuQ.js → LinearBlur-C022H2bm.js} +2 -1
- package/dist/core/{LinearGradient-C5kz9RSs.js → LinearGradient-Bw4cgU2M.js} +1 -1
- package/dist/core/{Liquify-CtUvuV0S.js → Liquify-C6s_nyRi.js} +2 -1
- package/dist/core/{Mirror-C3Bn9m7T.js → Mirror-uDxrbYeY.js} +2 -1
- package/dist/core/{Perspective-NsMXVWAS.js → Perspective-C2l3C8d0.js} +2 -1
- package/dist/core/{Pixelate-C-LbtIjf.js → Pixelate-Bxo1bkqM.js} +2 -1
- package/dist/core/{Plasma-Dr516u2H.js → Plasma-B4lUXy1l.js} +1 -1
- package/dist/core/{PolarCoordinates-HVxz9oX-.js → PolarCoordinates-CxxFpdz2.js} +2 -1
- package/dist/core/{ProgressiveBlur-Cf2pKf8U.js → ProgressiveBlur-BnWdDciO.js} +2 -1
- package/dist/core/{RadialGradient-Bel2cjwV.js → RadialGradient-RBdy6zz7.js} +1 -1
- package/dist/core/{RectangularCoordinates-BfeH7Mp6.js → RectangularCoordinates-CuKEfncN.js} +2 -1
- package/dist/core/{Ripples-DBqbjqb_.js → Ripples-DPp17BSt.js} +1 -1
- package/dist/core/{Sharpness-C5h9h3NY.js → Sharpness-DAu01Qy4.js} +2 -1
- package/dist/core/{Shatter-BDTHZrbz.js → Shatter-CABbAt_A.js} +2 -1
- package/dist/core/{SimplexNoise-DU-QPbwp.js → SimplexNoise-B6NBzB1e.js} +1 -1
- package/dist/core/{Spherize-BxUTtFAg.js → Spherize-DRGaSHzl.js} +3 -6
- package/dist/core/{Spiral-DVURsiiQ.js → Spiral-DT16M2Ky.js} +1 -1
- package/dist/core/{Stretch-uSJDtqi2.js → Stretch-DFVmX2dB.js} +2 -1
- package/dist/core/{Stripes-IFl3of9w.js → Stripes-80nKu5P2.js} +1 -1
- package/dist/core/{Swirl-C16tmwEg.js → Swirl-C0caKRGI.js} +1 -1
- package/dist/core/{TiltShift-C5t3YMVT.js → TiltShift-CNn3Yo34.js} +2 -1
- package/dist/core/{Tritone-v6z_O967.js → Tritone-CM5ZgDQ5.js} +3 -2
- package/dist/core/{Twirl-BWpsT8iI.js → Twirl-Bc95ho0B.js} +2 -1
- package/dist/core/{VideoTexture-DfsNWCXk.js → VideoTexture-DUk9pA_6.js} +1 -1
- package/dist/core/{WaveDistortion-xj8fjAf_.js → WaveDistortion-w4LX_3ES.js} +2 -1
- package/dist/core/{WebcamTexture-Cxppkhiu.js → WebcamTexture-BmeO4qY-.js} +1 -1
- package/dist/core/{ZoomBlur-BePhHTgF.js → ZoomBlur-D2DwyQKZ.js} +2 -1
- package/dist/core/alpha-Byel9eTg.js +6 -0
- package/dist/core/registry.js +77 -76
- package/dist/core/shaders/AngularBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +2 -1
- package/dist/core/shaders/Ascii/index.d.ts.map +1 -1
- package/dist/core/shaders/Ascii/index.js +2 -1
- 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/Blur/index.d.ts.map +1 -1
- package/dist/core/shaders/Blur/index.js +2 -1
- package/dist/core/shaders/BrightnessContrast/index.js +1 -1
- package/dist/core/shaders/Bulge/index.d.ts.map +1 -1
- package/dist/core/shaders/Bulge/index.js +2 -1
- package/dist/core/shaders/CRTScreen/index.d.ts.map +1 -1
- package/dist/core/shaders/CRTScreen/index.js +2 -1
- package/dist/core/shaders/ChannelBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/ChannelBlur/index.js +2 -1
- package/dist/core/shaders/Checkerboard/index.js +2 -2
- 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 +2 -1
- package/dist/core/shaders/Circle/index.d.ts +28 -0
- package/dist/core/shaders/Circle/index.d.ts.map +1 -1
- package/dist/core/shaders/Circle/index.js +2 -1
- package/dist/core/shaders/ConcentricSpin/index.d.ts.map +1 -1
- package/dist/core/shaders/ConcentricSpin/index.js +2 -1
- package/dist/core/shaders/ContourLines/index.js +1 -1
- package/dist/core/shaders/CursorRipples/index.d.ts.map +1 -1
- package/dist/core/shaders/CursorRipples/index.js +2 -1
- package/dist/core/shaders/CursorTrail/index.js +2 -2
- package/dist/core/shaders/DiffuseBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/DiffuseBlur/index.js +2 -1
- package/dist/core/shaders/Dither/index.d.ts.map +1 -1
- package/dist/core/shaders/Dither/index.js +2 -1
- package/dist/core/shaders/DotGrid/index.js +1 -1
- package/dist/core/shaders/Duotone/index.d.ts.map +1 -1
- package/dist/core/shaders/Duotone/index.js +3 -2
- package/dist/core/shaders/FilmGrain/index.js +1 -1
- package/dist/core/shaders/FloatingParticles/index.js +1 -1
- package/dist/core/shaders/FlowField/index.d.ts.map +1 -1
- package/dist/core/shaders/FlowField/index.js +2 -1
- package/dist/core/shaders/GlassTiles/index.d.ts.map +1 -1
- package/dist/core/shaders/GlassTiles/index.js +2 -1
- package/dist/core/shaders/Glitch/index.d.ts.map +1 -1
- package/dist/core/shaders/Glitch/index.js +2 -1
- package/dist/core/shaders/Glow/index.d.ts.map +1 -1
- package/dist/core/shaders/Glow/index.js +2 -1
- package/dist/core/shaders/Godrays/index.js +1 -1
- package/dist/core/shaders/Grayscale/index.js +1 -1
- package/dist/core/shaders/Grid/index.js +1 -1
- package/dist/core/shaders/GridDistortion/index.d.ts.map +1 -1
- package/dist/core/shaders/GridDistortion/index.js +2 -1
- package/dist/core/shaders/Group/index.js +1 -1
- package/dist/core/shaders/Halftone/index.js +1 -1
- package/dist/core/shaders/HueShift/index.js +1 -1
- package/dist/core/shaders/ImageTexture/index.js +1 -1
- package/dist/core/shaders/Invert/index.d.ts.map +1 -1
- package/dist/core/shaders/Invert/index.js +1 -1
- package/dist/core/shaders/Kaleidoscope/index.d.ts.map +1 -1
- package/dist/core/shaders/Kaleidoscope/index.js +2 -1
- package/dist/core/shaders/LensFlare/index.js +1 -1
- package/dist/core/shaders/LinearBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/LinearBlur/index.js +2 -1
- package/dist/core/shaders/LinearGradient/index.js +2 -2
- package/dist/core/shaders/Liquify/index.d.ts.map +1 -1
- package/dist/core/shaders/Liquify/index.js +2 -1
- package/dist/core/shaders/Mirror/index.d.ts.map +1 -1
- package/dist/core/shaders/Mirror/index.js +2 -1
- package/dist/core/shaders/Perspective/index.d.ts.map +1 -1
- package/dist/core/shaders/Perspective/index.js +2 -1
- package/dist/core/shaders/Pixelate/index.d.ts.map +1 -1
- package/dist/core/shaders/Pixelate/index.js +2 -1
- package/dist/core/shaders/Plasma/index.js +2 -2
- package/dist/core/shaders/PolarCoordinates/index.d.ts.map +1 -1
- package/dist/core/shaders/PolarCoordinates/index.js +2 -1
- package/dist/core/shaders/Posterize/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +2 -1
- package/dist/core/shaders/RadialGradient/index.js +2 -2
- package/dist/core/shaders/RectangularCoordinates/index.d.ts.map +1 -1
- package/dist/core/shaders/RectangularCoordinates/index.js +2 -1
- package/dist/core/shaders/Ripples/index.js +2 -2
- package/dist/core/shaders/Saturation/index.js +1 -1
- package/dist/core/shaders/Sharpness/index.d.ts.map +1 -1
- package/dist/core/shaders/Sharpness/index.js +2 -1
- package/dist/core/shaders/Shatter/index.d.ts.map +1 -1
- package/dist/core/shaders/Shatter/index.js +2 -1
- package/dist/core/shaders/SimplexNoise/index.js +2 -2
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.d.ts.map +1 -1
- package/dist/core/shaders/Spherize/index.js +2 -1
- package/dist/core/shaders/Spiral/index.js +2 -2
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.d.ts.map +1 -1
- package/dist/core/shaders/Stretch/index.js +2 -1
- package/dist/core/shaders/Stripes/index.js +2 -2
- package/dist/core/shaders/StudioBackground/index.js +1 -1
- package/dist/core/shaders/Swirl/index.js +2 -2
- package/dist/core/shaders/TiltShift/index.d.ts.map +1 -1
- package/dist/core/shaders/TiltShift/index.js +2 -1
- package/dist/core/shaders/Tint/index.js +1 -1
- package/dist/core/shaders/Tritone/index.d.ts.map +1 -1
- package/dist/core/shaders/Tritone/index.js +3 -2
- package/dist/core/shaders/Twirl/index.d.ts.map +1 -1
- package/dist/core/shaders/Twirl/index.js +2 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/VideoTexture/index.js +2 -2
- package/dist/core/shaders/WaveDistortion/index.d.ts.map +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +2 -1
- package/dist/core/shaders/WebcamTexture/index.js +2 -2
- package/dist/core/shaders/ZoomBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +2 -1
- package/dist/core/utilities/alpha.d.ts +15 -0
- package/dist/core/utilities/alpha.d.ts.map +1 -0
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +5 -1
- package/dist/registry.js +136 -2
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +5 -1
- package/dist/svelte/{generatePresetCode-DN-iUvZN.js → generatePresetCode-CO9fAymD.js} +5 -1
- package/dist/svelte/index.js +1 -1
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/Circle.vue_vue_type_script_setup_true_lang.js +5 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +5 -1
- package/package.json +1 -1
- package/dist/core/Circle-C9DYXDnD.js +0 -69
- /package/dist/core/{BrightnessContrast-FdkKMaQQ.js → BrightnessContrast-zL5bGGzg.js} +0 -0
- /package/dist/core/{ChromaFlow-Cc647Knw.js → ChromaFlow-EXxrLXaR.js} +0 -0
- /package/dist/core/{ContourLines-DJ0R9q6Y.js → ContourLines-zyy6CCUx.js} +0 -0
- /package/dist/core/{DotGrid-Cm-wz6WU.js → DotGrid-BOS1G6mL.js} +0 -0
- /package/dist/core/{FilmGrain-BzD2zoUK.js → FilmGrain-BxtaYExl.js} +0 -0
- /package/dist/core/{FloatingParticles-GkVY1twT.js → FloatingParticles-DzTtE8CB.js} +0 -0
- /package/dist/core/{Godrays-DVo1ikUR.js → Godrays-CbslvOsk.js} +0 -0
- /package/dist/core/{Grayscale-CRYK8foe.js → Grayscale-B_YZd3uy.js} +0 -0
- /package/dist/core/{Grid-BmYSb6Ur.js → Grid-CGHXquxS.js} +0 -0
- /package/dist/core/{Group-D-QMn-Co.js → Group-NJlcbnkb.js} +0 -0
- /package/dist/core/{Halftone-BlY2LuT8.js → Halftone-iU8wtr1b.js} +0 -0
- /package/dist/core/{HueShift-p4t6HfqE.js → HueShift-Bf2V6FVR.js} +0 -0
- /package/dist/core/{ImageTexture-BAOtuVAy.js → ImageTexture-6e1Gz4IG.js} +0 -0
- /package/dist/core/{LensFlare-BWl8PWjv.js → LensFlare-B-SuRYrs.js} +0 -0
- /package/dist/core/{Posterize-DbPe3f5d.js → Posterize--X9GTtfd.js} +0 -0
- /package/dist/core/{Saturation-4L5KnzYg.js → Saturation-1mdcFzVI.js} +0 -0
- /package/dist/core/{SineWave-CsoVJf9C.js → SineWave-6gxiNlvQ.js} +0 -0
- /package/dist/core/{SolidColor-BOK2t0JT.js → SolidColor-DEXByN1S.js} +0 -0
- /package/dist/core/{Strands-C2l4JaUt.js → Strands-CQBNeiNL.js} +0 -0
- /package/dist/core/{StudioBackground-DbBGv5fk.js → StudioBackground-81057m29.js} +0 -0
- /package/dist/core/{Tint-VTnDmiKF.js → Tint-CfVQjPxR.js} +0 -0
- /package/dist/core/{Vibrance-C_DSuzwf.js → Vibrance-CWMwA5S-.js} +0 -0
- /package/dist/core/{browser-Dcr7w1AA.js → browser-C7ZSkE-t.js} +0 -0
- /package/dist/core/{colorMixing-Ehw-Hfs_.js → colorMixing-DZpckBhm.js} +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "../../transformations-CC_c-QAT.js";
|
|
2
|
-
import "../../
|
|
3
|
-
import
|
|
2
|
+
import "../../alpha-Byel9eTg.js";
|
|
3
|
+
import "../../colorMixing-DZpckBhm.js";
|
|
4
|
+
import { n as componentDefinition, t as Tritone_default } from "../../Tritone-CM5ZgDQ5.js";
|
|
4
5
|
export { componentDefinition, Tritone_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Twirl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Twirl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAOvE,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAC,GAAG,MAAM,CAAA;IACvC,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA2FnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import "../../edges-Bd7GP4s2.js";
|
|
2
2
|
import "../../transformations-CC_c-QAT.js";
|
|
3
|
-
import
|
|
3
|
+
import "../../alpha-Byel9eTg.js";
|
|
4
|
+
import { n as componentDefinition, t as Twirl_default } from "../../Twirl-Bc95ho0B.js";
|
|
4
5
|
export { componentDefinition, Twirl_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Vibrance_default } from "../../Vibrance-
|
|
1
|
+
import { n as componentDefinition, t as Vibrance_default } from "../../Vibrance-CWMwA5S-.js";
|
|
2
2
|
export { componentDefinition, Vibrance_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../browser-
|
|
2
|
-
import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-
|
|
1
|
+
import "../../browser-C7ZSkE-t.js";
|
|
2
|
+
import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-DUk9pA_6.js";
|
|
3
3
|
export { componentDefinition, VideoTexture_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/WaveDistortion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/WaveDistortion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AASvE,MAAM,WAAW,cAAc;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CAChB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAgMnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "../../edges-Bd7GP4s2.js";
|
|
2
2
|
import "../../transformations-CC_c-QAT.js";
|
|
3
3
|
import "../../time-BZqyVJXt.js";
|
|
4
|
-
import
|
|
4
|
+
import "../../alpha-Byel9eTg.js";
|
|
5
|
+
import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-w4LX_3ES.js";
|
|
5
6
|
export { componentDefinition, WaveDistortion_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../browser-
|
|
2
|
-
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-
|
|
1
|
+
import "../../browser-C7ZSkE-t.js";
|
|
2
|
+
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-BmeO4qY-.js";
|
|
3
3
|
export { componentDefinition, WebcamTexture_default as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/ZoomBlur/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/ZoomBlur/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAqB,MAAM,iBAAiB,CAAA;AAKvE,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;AAWD,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA8DnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import "../../transformations-CC_c-QAT.js";
|
|
2
|
-
import
|
|
2
|
+
import "../../alpha-Byel9eTg.js";
|
|
3
|
+
import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-D2DwyQKZ.js";
|
|
3
4
|
export { componentDefinition, ZoomBlur_default as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Node } from 'three/webgpu';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Converts a premultiplied-alpha color to straight alpha.
|
|
5
|
+
*
|
|
6
|
+
* RTT boundaries in the renderer produce premultiplied data because
|
|
7
|
+
* blending over a transparent base multiplies RGB by alpha. Effects
|
|
8
|
+
* that sample from RTT textures (blur, distortion, color processing)
|
|
9
|
+
* must convert back to straight alpha before returning, since the
|
|
10
|
+
* blend mode composition pipeline expects straight alpha.
|
|
11
|
+
*
|
|
12
|
+
* For fully opaque content (alpha = 1), this is a no-op.
|
|
13
|
+
*/
|
|
14
|
+
export declare const unpremultiplyAlpha: (color: Node) => Node;
|
|
15
|
+
//# sourceMappingURL=alpha.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alpha.d.ts","sourceRoot":"","sources":["../../src/utilities/alpha.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,cAAc,CAAA;AAGjC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,UAAW,IAAI,KAAG,IAOhD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatePresetCode.d.ts","sourceRoot":"","sources":["../../src/utils/generatePresetCode.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAA;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B;
|
|
1
|
+
{"version":3,"file":"generatePresetCode.d.ts","sourceRoot":"","sources":["../../src/utils/generatePresetCode.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAA;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B;AAy4BD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAyC/D;AAGD,eAAO,MAAM,mBAAmB,UA4E/B,CAAA"}
|
package/dist/registry.js
CHANGED
|
@@ -2182,7 +2182,7 @@ export const shaderRegistry = [
|
|
|
2182
2182
|
"type": "range",
|
|
2183
2183
|
"min": 0,
|
|
2184
2184
|
"max": 1,
|
|
2185
|
-
"step": 0.
|
|
2185
|
+
"step": 0.01,
|
|
2186
2186
|
"label": "Softness",
|
|
2187
2187
|
"group": "Effect"
|
|
2188
2188
|
}
|
|
@@ -2198,6 +2198,73 @@ export const shaderRegistry = [
|
|
|
2198
2198
|
"label": "Center Position",
|
|
2199
2199
|
"group": "Position"
|
|
2200
2200
|
}
|
|
2201
|
+
},
|
|
2202
|
+
"strokeThickness": {
|
|
2203
|
+
"default": 0,
|
|
2204
|
+
"description": "The thickness of the stroke outline. Zero (0) means no stroke.",
|
|
2205
|
+
"ui": {
|
|
2206
|
+
"type": "range",
|
|
2207
|
+
"min": 0,
|
|
2208
|
+
"max": 0.5,
|
|
2209
|
+
"step": 0.01,
|
|
2210
|
+
"label": "Stroke Thickness",
|
|
2211
|
+
"group": "Stroke"
|
|
2212
|
+
}
|
|
2213
|
+
},
|
|
2214
|
+
"strokeColor": {
|
|
2215
|
+
"default": "#000000",
|
|
2216
|
+
"description": "The color of the stroke outline",
|
|
2217
|
+
"ui": {
|
|
2218
|
+
"type": "color",
|
|
2219
|
+
"label": "Stroke Color",
|
|
2220
|
+
"group": "Colors"
|
|
2221
|
+
}
|
|
2222
|
+
},
|
|
2223
|
+
"strokePosition": {
|
|
2224
|
+
"default": "center",
|
|
2225
|
+
"description": "Position of the stroke relative to the circle edge",
|
|
2226
|
+
"ui": {
|
|
2227
|
+
"type": "select",
|
|
2228
|
+
"options": [
|
|
2229
|
+
{
|
|
2230
|
+
"label": "Outside",
|
|
2231
|
+
"value": "outside"
|
|
2232
|
+
},
|
|
2233
|
+
{
|
|
2234
|
+
"label": "Center",
|
|
2235
|
+
"value": "center"
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
"label": "Inside",
|
|
2239
|
+
"value": "inside"
|
|
2240
|
+
}
|
|
2241
|
+
],
|
|
2242
|
+
"label": "Stroke Position",
|
|
2243
|
+
"group": "Stroke"
|
|
2244
|
+
}
|
|
2245
|
+
},
|
|
2246
|
+
"colorSpace": {
|
|
2247
|
+
"default": "linear",
|
|
2248
|
+
"description": "Color space for blending fill and stroke colors in soft edges",
|
|
2249
|
+
"ui": {
|
|
2250
|
+
"type": "select",
|
|
2251
|
+
"options": [
|
|
2252
|
+
{
|
|
2253
|
+
"label": "Linear RGB",
|
|
2254
|
+
"value": "linear"
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"label": "OKLCh",
|
|
2258
|
+
"value": "oklch"
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"label": "OKLAB",
|
|
2262
|
+
"value": "oklab"
|
|
2263
|
+
}
|
|
2264
|
+
],
|
|
2265
|
+
"label": "Color Blending",
|
|
2266
|
+
"group": "Colors"
|
|
2267
|
+
}
|
|
2201
2268
|
}
|
|
2202
2269
|
}
|
|
2203
2270
|
},
|
|
@@ -2228,7 +2295,7 @@ export const shaderRegistry = [
|
|
|
2228
2295
|
"type": "range",
|
|
2229
2296
|
"min": 0,
|
|
2230
2297
|
"max": 1,
|
|
2231
|
-
"step": 0.
|
|
2298
|
+
"step": 0.01,
|
|
2232
2299
|
"label": "Softness",
|
|
2233
2300
|
"group": "Effect"
|
|
2234
2301
|
},
|
|
@@ -2246,6 +2313,73 @@ export const shaderRegistry = [
|
|
|
2246
2313
|
"y": 0.5
|
|
2247
2314
|
},
|
|
2248
2315
|
"description": "The center point of the circle"
|
|
2316
|
+
},
|
|
2317
|
+
"strokeThickness": {
|
|
2318
|
+
"ui": {
|
|
2319
|
+
"type": "range",
|
|
2320
|
+
"min": 0,
|
|
2321
|
+
"max": 0.5,
|
|
2322
|
+
"step": 0.01,
|
|
2323
|
+
"label": "Stroke Thickness",
|
|
2324
|
+
"group": "Stroke"
|
|
2325
|
+
},
|
|
2326
|
+
"default": 0,
|
|
2327
|
+
"description": "The thickness of the stroke outline. Zero (0) means no stroke."
|
|
2328
|
+
},
|
|
2329
|
+
"strokeColor": {
|
|
2330
|
+
"ui": {
|
|
2331
|
+
"type": "color",
|
|
2332
|
+
"label": "Stroke Color",
|
|
2333
|
+
"group": "Colors"
|
|
2334
|
+
},
|
|
2335
|
+
"default": "#000000",
|
|
2336
|
+
"description": "The color of the stroke outline"
|
|
2337
|
+
},
|
|
2338
|
+
"strokePosition": {
|
|
2339
|
+
"ui": {
|
|
2340
|
+
"type": "select",
|
|
2341
|
+
"options": [
|
|
2342
|
+
{
|
|
2343
|
+
"label": "Outside",
|
|
2344
|
+
"value": "outside"
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
"label": "Center",
|
|
2348
|
+
"value": "center"
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"label": "Inside",
|
|
2352
|
+
"value": "inside"
|
|
2353
|
+
}
|
|
2354
|
+
],
|
|
2355
|
+
"label": "Stroke Position",
|
|
2356
|
+
"group": "Stroke"
|
|
2357
|
+
},
|
|
2358
|
+
"default": "center",
|
|
2359
|
+
"description": "Position of the stroke relative to the circle edge"
|
|
2360
|
+
},
|
|
2361
|
+
"colorSpace": {
|
|
2362
|
+
"ui": {
|
|
2363
|
+
"type": "select",
|
|
2364
|
+
"options": [
|
|
2365
|
+
{
|
|
2366
|
+
"label": "Linear RGB",
|
|
2367
|
+
"value": "linear"
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
"label": "OKLCh",
|
|
2371
|
+
"value": "oklch"
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"label": "OKLAB",
|
|
2375
|
+
"value": "oklab"
|
|
2376
|
+
}
|
|
2377
|
+
],
|
|
2378
|
+
"label": "Color Blending",
|
|
2379
|
+
"group": "Colors"
|
|
2380
|
+
},
|
|
2381
|
+
"default": "linear",
|
|
2382
|
+
"description": "Color space for blending fill and stroke colors in soft edges"
|
|
2249
2383
|
}
|
|
2250
2384
|
}
|
|
2251
2385
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatePresetCode.d.ts","sourceRoot":"","sources":["../../src/utils/generatePresetCode.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAA;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B;
|
|
1
|
+
{"version":3,"file":"generatePresetCode.d.ts","sourceRoot":"","sources":["../../src/utils/generatePresetCode.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAA;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B;AA24BD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAyC/D;AAGD,eAAO,MAAM,mBAAmB,UA4E/B,CAAA"}
|
|
@@ -164,7 +164,11 @@ const shaderMetadata = {
|
|
|
164
164
|
"center": {
|
|
165
165
|
"x": 0.5,
|
|
166
166
|
"y": 0.5
|
|
167
|
-
}
|
|
167
|
+
},
|
|
168
|
+
"strokeThickness": 0,
|
|
169
|
+
"strokeColor": "#000000",
|
|
170
|
+
"strokePosition": "center",
|
|
171
|
+
"colorSpace": "linear"
|
|
168
172
|
},
|
|
169
173
|
"ConcentricSpin": {
|
|
170
174
|
"opacity": 1,
|
package/dist/svelte/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as generatePresetCode } from "./generatePresetCode-
|
|
1
|
+
import { n as generatePresetCode } from "./generatePresetCode-CO9fAymD.js";
|
|
2
2
|
import "svelte/internal/disclose-version";
|
|
3
3
|
import * as $ from "svelte/internal/client";
|
|
4
4
|
import { getContext, onDestroy, onMount, setContext } from "svelte";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as generatePresetCode, t as availableComponents } from "../generatePresetCode-
|
|
1
|
+
import { n as generatePresetCode, t as availableComponents } from "../generatePresetCode-CO9fAymD.js";
|
|
2
2
|
export { availableComponents, generatePresetCode };
|
|
@@ -16,7 +16,11 @@ var Circle_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineC
|
|
|
16
16
|
color: {},
|
|
17
17
|
radius: {},
|
|
18
18
|
softness: {},
|
|
19
|
-
center: {}
|
|
19
|
+
center: {},
|
|
20
|
+
strokeThickness: {},
|
|
21
|
+
strokeColor: {},
|
|
22
|
+
strokePosition: {},
|
|
23
|
+
colorSpace: {}
|
|
20
24
|
}, {
|
|
21
25
|
blendMode: "normal",
|
|
22
26
|
visible: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatePresetCode.d.ts","sourceRoot":"","sources":["../../src/utils/generatePresetCode.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAA;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B;
|
|
1
|
+
{"version":3,"file":"generatePresetCode.d.ts","sourceRoot":"","sources":["../../src/utils/generatePresetCode.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAA;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B;AAs4BD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAyC/D;AAGD,eAAO,MAAM,mBAAmB,UA4E/B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { r as transformColor, s as transformPosition } from "./transformations-CC_c-QAT.js";
|
|
2
|
-
import { length, screenUV, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
3
|
-
const componentDefinition = {
|
|
4
|
-
name: "Circle",
|
|
5
|
-
category: "Textures",
|
|
6
|
-
description: "Generate a circle with adjustable size and softness",
|
|
7
|
-
props: {
|
|
8
|
-
color: {
|
|
9
|
-
default: "#ffffff",
|
|
10
|
-
transform: transformColor,
|
|
11
|
-
description: "The color of the circle",
|
|
12
|
-
ui: {
|
|
13
|
-
type: "color",
|
|
14
|
-
label: "Color",
|
|
15
|
-
group: "Colors"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
radius: {
|
|
19
|
-
default: 1,
|
|
20
|
-
description: "The radius of the circle. A value of one (1) is sets the circle to fit the canvas.",
|
|
21
|
-
ui: {
|
|
22
|
-
type: "range",
|
|
23
|
-
min: 0,
|
|
24
|
-
max: 2,
|
|
25
|
-
step: .05,
|
|
26
|
-
label: "Radius",
|
|
27
|
-
group: "Effect"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
softness: {
|
|
31
|
-
default: 0,
|
|
32
|
-
description: "Edge softness. Lower values like zero (0) are sharp, higher values like one (1) are softer.",
|
|
33
|
-
ui: {
|
|
34
|
-
type: "range",
|
|
35
|
-
min: 0,
|
|
36
|
-
max: 1,
|
|
37
|
-
step: .05,
|
|
38
|
-
label: "Softness",
|
|
39
|
-
group: "Effect"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
center: {
|
|
43
|
-
default: {
|
|
44
|
-
x: .5,
|
|
45
|
-
y: .5
|
|
46
|
-
},
|
|
47
|
-
transform: transformPosition,
|
|
48
|
-
description: "The center point of the circle",
|
|
49
|
-
ui: {
|
|
50
|
-
type: "position",
|
|
51
|
-
label: "Center Position",
|
|
52
|
-
group: "Position"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
fragmentNode: ({ uniforms }) => {
|
|
57
|
-
const uv$1 = screenUV;
|
|
58
|
-
const aspect = viewportSize.x.div(viewportSize.y);
|
|
59
|
-
const aspectCorrectedUV = vec2(uv$1.x.mul(aspect), uv$1.y);
|
|
60
|
-
const centerPos = vec2(uniforms.center.uniform.x.mul(aspect), uniforms.center.uniform.y.oneMinus());
|
|
61
|
-
const distanceFromCenter = length(aspectCorrectedUV.sub(centerPos));
|
|
62
|
-
const edgeSoftness = uniforms.softness.uniform;
|
|
63
|
-
const circleEdge = uniforms.radius.uniform.mul(.5);
|
|
64
|
-
const circleMask = smoothstep(circleEdge.sub(edgeSoftness), circleEdge, distanceFromCenter).oneMinus();
|
|
65
|
-
return vec4(uniforms.color.uniform.rgb, uniforms.color.uniform.a.mul(circleMask));
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
var Circle_default = componentDefinition;
|
|
69
|
-
export { componentDefinition as n, Circle_default as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|