shaders 3.0.440 → 3.0.442
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/cli.js +2 -2
- package/dist/core/{AngularBlur-BJKQrsoZ.js → AngularBlur-BDxGVOMQ.js} +2 -2
- package/dist/core/{Arc-BZdfWWlz.js → Arc-C981IGmm.js} +2 -2
- package/dist/core/{Ascii-CR5iFmk8.js → Ascii-C_-Jn2_c.js} +2 -2
- package/dist/core/{Aurora-C0KIoJY5.js → Aurora-D66-fTnE.js} +3 -3
- package/dist/core/{BarShift-_mdK3UWW.js → BarShift-DLaO6DjV.js} +3 -3
- package/dist/core/{Beam-DYvBEj6q.js → Beam-mVVEXCwG.js} +2 -2
- package/dist/core/{Blob-DgMJ5M6V.js → Blob-BnBDJJ84.js} +3 -3
- package/dist/core/{BlockNoise-CsBWCDzA.js → BlockNoise-DINAV0qg.js} +3 -3
- package/dist/core/{BlueNoise-D-WjLdgK.js → BlueNoise-B9jPJ1s5.js} +2 -2
- package/dist/core/{Blur-WeJoA31s.js → Blur-DDWaY0Ld.js} +1 -1
- package/dist/core/{BrickPattern-DPez_hvr.js → BrickPattern-DGsAflLE.js} +3 -3
- package/dist/core/{BrightnessContrast-XvDV1ixv.js → BrightnessContrast-CEHGmtvm.js} +1 -1
- package/dist/core/{BrushedMetal-DYwNjVpX.js → BrushedMetal-CcpOuWtJ.js} +5 -5
- package/dist/core/{Bulge-DcBJaYyW.js → Bulge-B3noQSAj.js} +2 -2
- package/dist/core/{CRTScreen-Byau9--w.js → CRTScreen-DL5luEsd.js} +1 -1
- package/dist/core/{CarbonFiber-DwYVLmd0.js → CarbonFiber-CSHN_f_N.js} +4 -4
- package/dist/core/{Chalkboard-D_FVdz4V.js → Chalkboard-BSLaGFyY.js} +2 -2
- package/dist/core/{ChannelBlur-B70l9vql.js → ChannelBlur-CDigdYX8.js} +1 -1
- package/dist/core/{Checkerboard-B_z4be-A.js → Checkerboard-DlZGigj6.js} +2 -2
- package/dist/core/{Chevron-CfGjPdH6.js → Chevron-BuOn9mA1.js} +3 -3
- package/dist/core/{ChromaFlow-B9zZUgzN.js → ChromaFlow-BOB8M0bU.js} +2 -2
- package/dist/core/{ChromaticAberration-BrGXd7kq.js → ChromaticAberration-gtezUw88.js} +2 -2
- package/dist/core/{Circle-DFx6OVnv.js → Circle-Vb7e3gL-.js} +2 -2
- package/dist/core/{ColorWheel-CI_qR6vL.js → ColorWheel-jc1jsi5U.js} +3 -3
- package/dist/core/{CompressionArtifacts-CVWkWovO.js → CompressionArtifacts-DlwHUO-X.js} +1 -1
- package/dist/core/{ConcentricSpin-lAMdNRDl.js → ConcentricSpin-BLIJre0M.js} +3 -3
- package/dist/core/{ConicGradient-C3wD1h2z.js → ConicGradient-BcNQlquk.js} +3 -3
- package/dist/core/{ContourLines-C3Hwaw1Y.js → ContourLines-CkGvhac3.js} +2 -2
- package/dist/core/{CornerPin-DxUoEjhR.js → CornerPin-DYy3m7oY.js} +2 -2
- package/dist/core/{Crescent-BCf_ZZI3.js → Crescent-CrWVqQDf.js} +2 -2
- package/dist/core/{Cross-CeQhwjVB.js → Cross-DUznb_Y-.js} +2 -2
- package/dist/core/{Crystal-CC7d_6kZ.js → Crystal-CgDpYkhN.js} +4 -4
- package/dist/core/{CurlNoise-KsNJEh6E.js → CurlNoise-DAYJuMmN.js} +3 -3
- package/dist/core/{CursorRipples-Jgm7iF0Z.js → CursorRipples-CNP8wzdR.js} +2 -2
- package/dist/core/{CursorTrail-CkNn85vn.js → CursorTrail-B1VULW3E.js} +3 -3
- package/dist/core/{DOMTexture-DFvbXYrj.js → DOMTexture-DROf41BI.js} +1 -1
- package/dist/core/{DataMosh-Dh7TYpbW.js → DataMosh-BYwbcTxJ.js} +1 -1
- package/dist/core/{DiamondGradient-HmZwnTdD.js → DiamondGradient-BB7ajCKo.js} +3 -3
- package/dist/core/{DiffuseBlur-uXE0w0DD.js → DiffuseBlur-KE2fGEND.js} +2 -2
- package/dist/core/{Dither-YUNtD1tI.js → Dither-B8yxWNxE.js} +2 -2
- package/dist/core/{DotGrid-DABCUp6d.js → DotGrid-Doh7yuqR.js} +3 -3
- package/dist/core/{DropShadow-C7KAuipC.js → DropShadow-DhHQBpiK.js} +2 -2
- package/dist/core/{Duotone-CuJunWJ0.js → Duotone-DA3IudVy.js} +2 -2
- package/dist/core/{Ellipse-DrZqqQh2.js → Ellipse-m1D5EVjj.js} +2 -2
- package/dist/core/{Emboss-D_-1_a3u.js → Emboss-C3NBF44G.js} +4 -4
- package/dist/core/{Engraving-fQ1zZJ89.js → Engraving-Bz503L4R.js} +2 -2
- package/dist/core/{ErosionNoise-B01HEvZk.js → ErosionNoise-DOOt5U2Z.js} +2 -2
- package/dist/core/{Exposure-o_CViEwJ.js → Exposure-DkQ4kanv.js} +1 -1
- package/dist/core/{FallingLines-Bv8X8gRy.js → FallingLines-BE6S1TUf.js} +3 -3
- package/dist/core/{FilmGrain-CoW4iHsT.js → FilmGrain-9-Mgc2Ri.js} +1 -1
- package/dist/core/{Flip-h2K3wLGX.js → Flip-Dpi0pVGo.js} +2 -2
- package/dist/core/{FloatingParticles-W_QAKOku.js → FloatingParticles-Qh0dQBmA.js} +2 -2
- package/dist/core/{FlowField-CwU9iWbf.js → FlowField-0UUp41dK.js} +3 -3
- package/dist/core/{Flower-DxOinfag.js → Flower-DJLgm11L.js} +2 -2
- package/dist/core/{FlowingGradient-DdFrloZC.js → FlowingGradient-C01NbZ16.js} +3 -3
- package/dist/core/{FlutedGlass-B9652Bh4.js → FlutedGlass-DIwsLgXX.js} +3 -3
- package/dist/core/{Fog-D5sIF3cX.js → Fog-BwPDTYRv.js} +2 -2
- package/dist/core/{Form3D-BmCwmFPZ.js → Form3D-Csuoy7Rq.js} +3 -3
- package/dist/core/{FractalNoise-BFs55FIe.js → FractalNoise-B9usxoBx.js} +3 -3
- package/dist/core/{Frost-C6qVP9a2.js → Frost-Bhd3oWES.js} +6 -6
- package/dist/core/{GaborNoise-C1LVTyG3.js → GaborNoise-CQX_VPTg.js} +3 -3
- package/dist/core/{Glass-DR9JYQMG.js → Glass-tFOQd3eV.js} +4 -4
- package/dist/core/{GlassTiles-D5Lrddns.js → GlassTiles-C-yPKp5B.js} +1 -1
- package/dist/core/{Glitch-B93JzM-d.js → Glitch-0i5BtHaq.js} +1 -1
- package/dist/core/{Glow-DlxNehzC.js → Glow-CMz4cv5I.js} +1 -1
- package/dist/core/{Godrays-n9Gjl-h6.js → Godrays-D0euidZr.js} +3 -3
- package/dist/core/{Goo-BusLBgE3.js → Goo-AMjCwSDQ.js} +5 -5
- package/dist/core/{GradientMap-CapG6NfM.js → GradientMap-BU4kVWfH.js} +2 -2
- package/dist/core/{Grayscale-Dx9gKGZb.js → Grayscale-iaDYz9To.js} +1 -1
- package/dist/core/{Grid-gZHTJmwP.js → Grid-BwbSPDqS.js} +2 -2
- package/dist/core/{GridDistortion-BkkuULR2.js → GridDistortion-B3S8D94q.js} +2 -2
- package/dist/core/{Group-pHN72R84.js → Group-0BcuiZZM.js} +1 -1
- package/dist/core/{Halftone-dlX8bpPV.js → Halftone-ClxolEhO.js} +2 -2
- package/dist/core/{Heart-CwELiXMT.js → Heart-BdSnsqq-.js} +2 -2
- package/dist/core/{Heatmap-unI_z4Uc.js → Heatmap-CFEEphb2.js} +62 -41
- package/dist/core/{HexGrid-BTWeNz9Z.js → HexGrid-D8CgLdgw.js} +2 -2
- package/dist/core/{Hologram-3-c4mCzw.js → Hologram-IJhpMkKa.js} +5 -5
- package/dist/core/{Holographic-SchvA6Dy.js → Holographic-BbrHmA39.js} +5 -5
- package/dist/core/{HueShift-BJGcv19-.js → HueShift-Bv6qzKH0.js} +1 -1
- package/dist/core/{ImageTexture-CRueGzAZ.js → ImageTexture-Dh6VPuYy.js} +1 -1
- package/dist/core/{Invert-DLot9mli.js → Invert-B8gtmw54.js} +1 -1
- package/dist/core/{IsometricCubes-CFg5QBjO.js → IsometricCubes-BL0ZvkwZ.js} +2 -2
- package/dist/core/{Kaleidoscope-BQFm59wM.js → Kaleidoscope-D4VzDZni.js} +2 -2
- package/dist/core/{KeyFrames-DiAKRsxm.js → KeyFrames-C-nnFGBw.js} +2 -2
- package/dist/core/{LensFlare-BpFbnSsM.js → LensFlare-D_LFHDo0.js} +3 -3
- package/dist/core/{LightEdge-CZpMFMKO.js → LightEdge-Ck4lGBye.js} +5 -5
- package/dist/core/{LightLeak-DGt9quKs.js → LightLeak-DuaMzzKh.js} +3 -3
- package/dist/core/{LinearBlur-ClAsNnkC.js → LinearBlur-CHioFPql.js} +2 -2
- package/dist/core/{LinearGradient-B_dBLhFm.js → LinearGradient-CEz9WjgA.js} +3 -3
- package/dist/core/{LiquidMetal-Bb9b2h9X.js → LiquidMetal-CtbGXpkb.js} +5 -5
- package/dist/core/{Liquify-B9ypclFj.js → Liquify-B0rCOoDY.js} +2 -2
- package/dist/core/{Marble-CZYhaDcz.js → Marble-BJp6F6BF.js} +3 -3
- package/dist/core/{Mirror--NvGPp-u.js → Mirror-9fC_SqqB.js} +2 -2
- package/dist/core/{MultiPointGradient-IJtw3dEC.js → MultiPointGradient-BuDBY6Ax.js} +2 -2
- package/dist/core/{Neon-Der_R-Bh.js → Neon-CgA9zX4Y.js} +4 -4
- package/dist/core/{ObjectTracker-CfW_aMyp.js → ObjectTracker-D1qrJe0c.js} +2 -2
- package/dist/core/{PagePeel-D_DnKmec.js → PagePeel-YA6Q8kM0.js} +1 -1
- package/dist/core/{Paper-CZT7vlqM.js → Paper-Bu3J7_h8.js} +1 -1
- package/dist/core/{Parallelogram-BAi9iFi0.js → Parallelogram-8VWcTkAt.js} +2 -2
- package/dist/core/{Particles-DtxN6LL7.js → Particles-BG7Z-4in.js} +3 -3
- package/dist/core/{PerlinNoise-BCbLpWKn.js → PerlinNoise-gV2dOb_o.js} +3 -3
- package/dist/core/{Perspective-DXIafIz8.js → Perspective-m70JnY4Z.js} +2 -2
- package/dist/core/{PixelSort-BnZgslHG.js → PixelSort-tKcoDnMz.js} +1 -1
- package/dist/core/{PixelThrow-BAVO2zdp.js → PixelThrow-CzelDKa4.js} +2 -2
- package/dist/core/{Pixelate-L-pZ8G79.js → Pixelate-CcBgoqXj.js} +1 -1
- package/dist/core/{Plasma-BELcebZa.js → Plasma-Bsei8uLa.js} +3 -3
- package/dist/core/{Plastic-e8KLjCgS.js → Plastic-D9qe3OWm.js} +5 -5
- package/dist/core/{PolarCoordinates-CNZ6Df5J.js → PolarCoordinates-C9WxI22k.js} +2 -2
- package/dist/core/{Polygon-BGBTOGLe.js → Polygon-D58HZRzJ.js} +2 -2
- package/dist/core/{Posterize-Cs_kyyjG.js → Posterize-DxR6F30M.js} +1 -1
- package/dist/core/{Prism-BUalIt7a.js → Prism-JLQP5dhZ.js} +3 -3
- package/dist/core/{ProgressiveBlur-C2wYIOH-.js → ProgressiveBlur-DpERTuHY.js} +2 -2
- package/dist/core/{RadialGradient-B3tlBsQZ.js → RadialGradient-N4mHVX7b.js} +3 -3
- package/dist/core/ReactionDiffusion-BpLbPwbw.js +4640 -0
- package/dist/core/{RectangularCoordinates-DWWlrqB4.js → RectangularCoordinates-Bt9H7sBE.js} +2 -2
- package/dist/core/{ReflectivePlane-BmM5w76k.js → ReflectivePlane-Cumbz3x2.js} +2 -2
- package/dist/core/{Repeater-V37OGlry.js → Repeater-DuRfWt9x.js} +2 -2
- package/dist/core/{Ring-WVyMeyoh.js → Ring-Cg_pZTin.js} +2 -2
- package/dist/core/{Ripples-Bv__zvme.js → Ripples-BtenteeG.js} +3 -3
- package/dist/core/{RoundedRect-B62UFEeb.js → RoundedRect-C0ETFLNc.js} +2 -2
- package/dist/core/{Saturation-DIRGc5kp.js → Saturation-BbOceqP3.js} +1 -1
- package/dist/core/{Scratches-ZFLTq06k.js → Scratches-B2Q_mgvt.js} +3 -3
- package/dist/core/{Sharpness-WYaGJlSI.js → Sharpness-Bhb9aDxA.js} +1 -1
- package/dist/core/{Shatter-CPS5Kdei.js → Shatter-zxLD4RY8.js} +2 -2
- package/dist/core/{SimplexNoise-DMWtripU.js → SimplexNoise-DTCJ__Jt.js} +3 -3
- package/dist/core/{SineWave-BOoYgny1.js → SineWave-JNTzGGXH.js} +3 -3
- package/dist/core/{Smoke-BGGH2iTS.js → Smoke-BX4EcQdI.js} +3 -3
- package/dist/core/{SmokeFill-ClBFBWz3.js → SmokeFill-9SqGHgJt.js} +4 -4
- package/dist/core/{SmokeFlow-DkBGrN_d.js → SmokeFlow-Cfs5EVW_.js} +3 -3
- package/dist/core/{Solarize-D_ZPY_Cr.js → Solarize-BQq15L3x.js} +1 -1
- package/dist/core/{SolidColor-rdMtlNyB.js → SolidColor-8aFR9Ecl.js} +1 -1
- package/dist/core/{Spherize-h1F31u9-.js → Spherize-Czfb_NCO.js} +2 -2
- package/dist/core/{Spiral-BMFhUpkP.js → Spiral-CO_pymky.js} +3 -3
- package/dist/core/{Star-D8d3Gk74.js → Star-CgLpQtzz.js} +2 -2
- package/dist/core/{Stone-CfpfDKpn.js → Stone-Bl9-bI0G.js} +2 -2
- package/dist/core/{Strands-256prKRG.js → Strands-BdSTwZXc.js} +3 -3
- package/dist/core/{Stretch-C7z0wdI7.js → Stretch-BCZ_vkQn.js} +2 -2
- package/dist/core/{Stripes-BVvuh6r7.js → Stripes-OLW9XYEW.js} +3 -3
- package/dist/core/{StudioBackground-Cy2qPLYJ.js → StudioBackground-ksKsEcWQ.js} +3 -3
- package/dist/core/{SunBurst-vUglW69s.js → SunBurst-B_mkcjjh.js} +3 -3
- package/dist/core/{Surface3D-quYcBdK_.js → Surface3D-D6D9L3et.js} +2 -2
- package/dist/core/{Swirl-BD3Fk-SC.js → Swirl-DMQ-Iq-_.js} +3 -3
- package/dist/core/{Teardrop-Bxfkjjaz.js → Teardrop-Dz5aCCyM.js} +2 -2
- package/dist/core/{Text-CrbVixvj.js → Text-9v36CCo0.js} +2 -2
- package/dist/core/{ThinFilm-D_y48u9e.js → ThinFilm-C28dTgXR.js} +4 -4
- package/dist/core/{TiltShift-3s5RKGCa.js → TiltShift-Df93B2bk.js} +2 -2
- package/dist/core/{Tint-DZUIRc-Z.js → Tint-e-sF3Q5L.js} +2 -2
- package/dist/core/{Trapezoid-7VOLjftp.js → Trapezoid-B6r05rcQ.js} +2 -2
- package/dist/core/{TriangularGrid-Qek0gRuV.js → TriangularGrid-CX7hnKpa.js} +3 -3
- package/dist/core/{Tritone-CqYOMKFE.js → Tritone-CccAEZZ2.js} +2 -2
- package/dist/core/{Truchet-D6emdFny.js → Truchet-DG3fNF5b.js} +2 -2
- package/dist/core/{Twirl-Y8OzHc49.js → Twirl-CtFo8Cjm.js} +2 -2
- package/dist/core/{VHS-B28K9Bfc.js → VHS-CKc1qc0j.js} +1 -1
- package/dist/core/{Vesica-DFRPMcgz.js → Vesica-D1HOV75v.js} +2 -2
- package/dist/core/{Vibrance-BkMNClGf.js → Vibrance-E9-pYAwh.js} +1 -1
- package/dist/core/{VideoTexture-DNfGZ4kz.js → VideoTexture-Df7BPBe-.js} +1 -1
- package/dist/core/{Vignette-DWveIoCk.js → Vignette-DOVH3O7h.js} +2 -2
- package/dist/core/{Voronoi-c1kHPUka.js → Voronoi-BYmYkJfN.js} +3 -3
- package/dist/core/{Water-CEmTC2Ii.js → Water-DAQnd09w.js} +5 -5
- package/dist/core/{Watercolor--Bg1ZPIG.js → Watercolor-B1iwfQSH.js} +2 -2
- package/dist/core/{WaveDistortion-BSyW8c28.js → WaveDistortion-BNkgWs3D.js} +3 -3
- package/dist/core/{WaveletNoise-cDkFw55m.js → WaveletNoise-ByqzdG-6.js} +3 -3
- package/dist/core/{Weave--Ex2UVBt.js → Weave-DeItcIeX.js} +2 -2
- package/dist/core/{WebcamTexture-CPWUtxVm.js → WebcamTexture-BAeqZ7pH.js} +1 -1
- package/dist/core/{Wool-BNmVUISf.js → Wool-Br5Ajlvr.js} +2 -2
- package/dist/core/{WorleyNoise-CbhvPZS-.js → WorleyNoise-D1piyiG2.js} +3 -3
- package/dist/core/{ZoomBlur-BR_do-LV.js → ZoomBlur-ZEtNzn4_.js} +2 -2
- package/dist/core/{coords-CWOT0Wqh.js → coords-DLZT4HVT.js} +136 -13
- package/dist/core/{glass-hUL2pCYG.js → glass-CGThMEIa.js} +1 -1
- package/dist/core/gpu/composer.d.ts.map +1 -1
- package/dist/core/gpu/contract.d.ts +1 -0
- package/dist/core/gpu/contract.d.ts.map +1 -1
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/sdf3d.d.ts.map +1 -1
- package/dist/core/gpu/transforms.d.ts.map +1 -1
- package/dist/core/index.js +176 -175
- package/dist/core/{noiseColor-WSY8YuLZ.js → noiseColor-kVjc2DJn.js} +2 -2
- package/dist/core/{porters-Dg80Yg90.js → porters-DdcOi7BN.js} +4 -3
- package/dist/core/registry.js +175 -174
- package/dist/core/shaderRegistry-Gsachoy8.js +372 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +4 -4
- package/dist/core/shaders/Arc/index.js +4 -4
- package/dist/core/shaders/Ascii/index.js +4 -4
- package/dist/core/shaders/Aurora/index.js +4 -4
- package/dist/core/shaders/BarShift/index.js +4 -4
- package/dist/core/shaders/Beam/index.js +4 -4
- package/dist/core/shaders/Blob/index.js +4 -4
- package/dist/core/shaders/BlockNoise/index.js +5 -5
- package/dist/core/shaders/BlueNoise/index.js +5 -5
- package/dist/core/shaders/Blur/index.js +4 -4
- package/dist/core/shaders/BrickPattern/index.js +4 -4
- package/dist/core/shaders/BrightnessContrast/index.js +4 -4
- package/dist/core/shaders/BrushedMetal/index.js +6 -6
- package/dist/core/shaders/Bulge/index.js +4 -4
- package/dist/core/shaders/CRTScreen/index.js +4 -4
- package/dist/core/shaders/CarbonFiber/index.js +6 -6
- package/dist/core/shaders/Chalkboard/index.js +4 -4
- package/dist/core/shaders/ChannelBlur/index.js +4 -4
- package/dist/core/shaders/Checkerboard/index.js +4 -4
- package/dist/core/shaders/Chevron/index.js +4 -4
- package/dist/core/shaders/ChromaFlow/index.js +4 -4
- package/dist/core/shaders/ChromaticAberration/index.js +4 -4
- package/dist/core/shaders/Circle/index.js +4 -4
- package/dist/core/shaders/ColorWheel/index.js +4 -4
- package/dist/core/shaders/CompressionArtifacts/index.js +4 -4
- package/dist/core/shaders/ConcentricSpin/index.js +4 -4
- package/dist/core/shaders/ConicGradient/index.js +4 -4
- package/dist/core/shaders/ContourLines/index.js +4 -4
- package/dist/core/shaders/CornerPin/index.js +4 -4
- package/dist/core/shaders/Crescent/index.js +4 -4
- package/dist/core/shaders/Cross/index.js +4 -4
- package/dist/core/shaders/Crystal/index.js +6 -6
- package/dist/core/shaders/CurlNoise/index.js +5 -5
- package/dist/core/shaders/CursorRipples/index.js +4 -4
- package/dist/core/shaders/CursorTrail/index.js +4 -4
- package/dist/core/shaders/DOMTexture/index.js +4 -4
- package/dist/core/shaders/DataMosh/index.js +4 -4
- package/dist/core/shaders/DiamondGradient/index.js +4 -4
- package/dist/core/shaders/DiffuseBlur/index.js +4 -4
- package/dist/core/shaders/Dither/index.js +4 -4
- package/dist/core/shaders/DotGrid/index.js +4 -4
- package/dist/core/shaders/DropShadow/index.js +4 -4
- package/dist/core/shaders/Duotone/index.js +4 -4
- package/dist/core/shaders/Ellipse/index.js +4 -4
- package/dist/core/shaders/Emboss/index.js +6 -6
- package/dist/core/shaders/Engraving/index.js +4 -4
- package/dist/core/shaders/ErosionNoise/index.js +5 -5
- package/dist/core/shaders/Exposure/index.js +4 -4
- package/dist/core/shaders/FallingLines/index.js +4 -4
- package/dist/core/shaders/FilmGrain/index.js +4 -4
- package/dist/core/shaders/Flip/index.js +4 -4
- package/dist/core/shaders/FloatingParticles/index.js +4 -4
- package/dist/core/shaders/FlowField/index.js +4 -4
- package/dist/core/shaders/Flower/index.js +4 -4
- package/dist/core/shaders/FlowingGradient/index.js +4 -4
- package/dist/core/shaders/FlutedGlass/index.js +4 -4
- package/dist/core/shaders/Fog/index.js +4 -4
- package/dist/core/shaders/Form3D/index.js +4 -4
- package/dist/core/shaders/FractalNoise/index.js +4 -4
- package/dist/core/shaders/Frost/index.d.ts.map +1 -1
- package/dist/core/shaders/Frost/index.js +6 -6
- package/dist/core/shaders/GaborNoise/index.js +5 -5
- package/dist/core/shaders/Glass/index.js +6 -6
- package/dist/core/shaders/GlassTiles/index.js +4 -4
- package/dist/core/shaders/Glitch/index.js +4 -4
- package/dist/core/shaders/Glow/index.js +4 -4
- package/dist/core/shaders/Godrays/index.js +4 -4
- package/dist/core/shaders/Goo/index.js +6 -6
- package/dist/core/shaders/GradientMap/index.js +4 -4
- package/dist/core/shaders/Grayscale/index.js +4 -4
- package/dist/core/shaders/Grid/index.js +4 -4
- package/dist/core/shaders/GridDistortion/index.js +4 -4
- package/dist/core/shaders/Group/index.js +4 -4
- package/dist/core/shaders/Halftone/index.js +4 -4
- package/dist/core/shaders/Heart/index.js +4 -4
- package/dist/core/shaders/Heatmap/index.d.ts +2 -2
- package/dist/core/shaders/Heatmap/index.d.ts.map +1 -1
- package/dist/core/shaders/Heatmap/index.js +6 -6
- package/dist/core/shaders/HexGrid/index.js +4 -4
- package/dist/core/shaders/Hologram/index.js +6 -6
- package/dist/core/shaders/Holographic/index.js +6 -6
- package/dist/core/shaders/HueShift/index.js +4 -4
- package/dist/core/shaders/ImageTexture/index.js +4 -4
- package/dist/core/shaders/Invert/index.js +4 -4
- package/dist/core/shaders/IsometricCubes/index.js +4 -4
- package/dist/core/shaders/Kaleidoscope/index.js +4 -4
- package/dist/core/shaders/KeyFrames/index.js +4 -4
- package/dist/core/shaders/LensFlare/index.js +4 -4
- package/dist/core/shaders/LightEdge/index.js +6 -6
- package/dist/core/shaders/LightLeak/index.js +4 -4
- package/dist/core/shaders/LinearBlur/index.js +4 -4
- package/dist/core/shaders/LinearGradient/index.js +4 -4
- package/dist/core/shaders/LiquidMetal/index.js +6 -6
- package/dist/core/shaders/Liquify/index.js +4 -4
- package/dist/core/shaders/Marble/index.js +4 -4
- package/dist/core/shaders/Mirror/index.js +4 -4
- package/dist/core/shaders/MultiPointGradient/index.js +4 -4
- package/dist/core/shaders/Neon/index.js +5 -5
- package/dist/core/shaders/ObjectTracker/index.js +4 -4
- package/dist/core/shaders/PagePeel/index.js +4 -4
- package/dist/core/shaders/Paper/index.js +4 -4
- package/dist/core/shaders/Parallelogram/index.js +4 -4
- package/dist/core/shaders/Particles/index.js +5 -5
- package/dist/core/shaders/PerlinNoise/index.js +5 -5
- package/dist/core/shaders/Perspective/index.js +4 -4
- package/dist/core/shaders/PixelSort/index.js +4 -4
- package/dist/core/shaders/PixelThrow/index.js +4 -4
- package/dist/core/shaders/Pixelate/index.js +4 -4
- package/dist/core/shaders/Plasma/index.js +4 -4
- package/dist/core/shaders/Plastic/index.js +6 -6
- package/dist/core/shaders/PolarCoordinates/index.js +4 -4
- package/dist/core/shaders/Polygon/index.js +4 -4
- package/dist/core/shaders/Posterize/index.js +4 -4
- package/dist/core/shaders/Prism/index.js +4 -4
- package/dist/core/shaders/ProgressiveBlur/index.js +4 -4
- package/dist/core/shaders/RadialGradient/index.js +4 -4
- package/dist/core/shaders/ReactionDiffusion/index.d.ts +163 -0
- package/dist/core/shaders/ReactionDiffusion/index.d.ts.map +1 -0
- package/dist/core/shaders/ReactionDiffusion/index.js +5 -0
- package/dist/core/shaders/RectangularCoordinates/index.js +4 -4
- package/dist/core/shaders/ReflectivePlane/index.js +4 -4
- package/dist/core/shaders/Repeater/index.js +4 -4
- package/dist/core/shaders/Ring/index.js +4 -4
- package/dist/core/shaders/Ripples/index.js +4 -4
- package/dist/core/shaders/RoundedRect/index.js +4 -4
- package/dist/core/shaders/Saturation/index.js +4 -4
- package/dist/core/shaders/Scratches/index.js +5 -5
- package/dist/core/shaders/Sharpness/index.js +4 -4
- package/dist/core/shaders/Shatter/index.js +4 -4
- package/dist/core/shaders/SimplexNoise/index.js +4 -4
- package/dist/core/shaders/SineWave/index.js +4 -4
- package/dist/core/shaders/Smoke/index.js +4 -4
- package/dist/core/shaders/SmokeFill/index.js +6 -6
- package/dist/core/shaders/SmokeFlow/index.js +4 -4
- package/dist/core/shaders/Solarize/index.js +4 -4
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +4 -4
- package/dist/core/shaders/Spiral/index.js +4 -4
- package/dist/core/shaders/Star/index.js +4 -4
- package/dist/core/shaders/Stone/index.js +3 -3
- package/dist/core/shaders/Strands/index.js +4 -4
- package/dist/core/shaders/Stretch/index.js +4 -4
- package/dist/core/shaders/Stripes/index.js +4 -4
- package/dist/core/shaders/StudioBackground/index.js +4 -4
- package/dist/core/shaders/SunBurst/index.js +4 -4
- package/dist/core/shaders/Surface3D/index.js +4 -4
- package/dist/core/shaders/Swirl/index.js +4 -4
- package/dist/core/shaders/Teardrop/index.js +4 -4
- package/dist/core/shaders/Text/index.js +4 -4
- package/dist/core/shaders/ThinFilm/index.js +5 -5
- package/dist/core/shaders/TiltShift/index.js +4 -4
- package/dist/core/shaders/Tint/index.js +4 -4
- package/dist/core/shaders/Trapezoid/index.js +4 -4
- package/dist/core/shaders/TriangularGrid/index.js +4 -4
- package/dist/core/shaders/Tritone/index.js +4 -4
- package/dist/core/shaders/Truchet/index.js +4 -4
- package/dist/core/shaders/Twirl/index.js +4 -4
- package/dist/core/shaders/VHS/index.js +4 -4
- package/dist/core/shaders/Vesica/index.js +4 -4
- package/dist/core/shaders/Vibrance/index.js +4 -4
- package/dist/core/shaders/VideoTexture/index.js +4 -4
- package/dist/core/shaders/Vignette/index.js +4 -4
- package/dist/core/shaders/Voronoi/index.js +4 -4
- package/dist/core/shaders/Water/index.js +6 -6
- package/dist/core/shaders/Watercolor/index.js +4 -4
- package/dist/core/shaders/WaveDistortion/index.js +4 -4
- package/dist/core/shaders/WaveletNoise/index.js +5 -5
- package/dist/core/shaders/Weave/index.js +4 -4
- package/dist/core/shaders/WebcamTexture/index.js +4 -4
- package/dist/core/shaders/Wool/index.js +3 -3
- package/dist/core/shaders/WorleyNoise/index.js +4 -4
- package/dist/core/shaders/ZoomBlur/index.js +4 -4
- package/dist/core/{shapeEffectBounds-BlxxsYMN.js → shapeEffectBounds-BglTGD4B.js} +1 -59
- package/dist/core/{transformations-fqzznt4g.js → transformations-P50Uo_Ju.js} +2 -1
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/core/utilities/transformations.d.ts.map +1 -1
- package/dist/js/bundle.js +142 -142
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +25 -0
- package/dist/react/Preview.js +1 -0
- package/dist/react/ReactionDiffusion.js +220 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +138 -138
- package/dist/react/components/ReactionDiffusion.d.ts +40 -0
- package/dist/react/components/ReactionDiffusion.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +2 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +25 -0
- package/dist/registry.js +674 -0
- package/dist/solid/components/ReactionDiffusion.d.ts +37 -0
- package/dist/solid/components/ReactionDiffusion.d.ts.map +1 -0
- package/dist/solid/components/ReactionDiffusion.js +228 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +228 -226
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +112 -110
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +25 -0
- package/dist/svelte/components/ReactionDiffusion.svelte.d.ts +27 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +2131 -1928
- package/dist/svelte/source/components/ReactionDiffusion.svelte +346 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +25 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/ReactionDiffusion.js +3 -0
- package/dist/vue/ReactionDiffusion.vue_vue_type_script_setup_true_lang.js +237 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/components/ReactionDiffusion.vue.d.ts +62 -0
- package/dist/vue/components/ReactionDiffusion.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +25 -0
- package/package.json +9 -6
- package/dist/core/shaderRegistry-DC0r_QlY.js +0 -370
- /package/dist/core/{noiseStylize-C2jzZv4d.js → noiseStylize-BMnwulEm.js} +0 -0
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/* shaders@3.0.
|
|
2
|
+
/* shaders@3.0.442 CLI — npx shaders install-mcp. https://shaders.com */
|
|
3
3
|
import { createRequire as __cliCreateRequire } from "module";
|
|
4
4
|
const require = __cliCreateRequire(import.meta.url);
|
|
5
5
|
var Vi=Object.create;var sr=Object.defineProperty;var Yi=Object.getOwnPropertyDescriptor;var Gi=Object.getOwnPropertyNames;var Ki=Object.getPrototypeOf,qi=Object.prototype.hasOwnProperty;var Ji=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var $=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var zi=(e,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of Gi(t))!qi.call(e,u)&&u!==i&&sr(e,u,{get:()=>t[u],enumerable:!(r=Yi(t,u))||r.enumerable});return e};var Se=(e,t,i)=>(i=e!=null?Vi(Ki(e)):{},zi(t||!e||!e.__esModule?sr(i,"default",{value:e,enumerable:!0}):i,e));var Dt=$((ka,or)=>{"use strict";var ht={to(e,t){return t?`\x1B[${t+1};${e+1}H`:`\x1B[${e+1}G`},move(e,t){let i="";return e<0?i+=`\x1B[${-e}D`:e>0&&(i+=`\x1B[${e}C`),t<0?i+=`\x1B[${-t}A`:t>0&&(i+=`\x1B[${t}B`),i},up:(e=1)=>`\x1B[${e}A`,down:(e=1)=>`\x1B[${e}B`,forward:(e=1)=>`\x1B[${e}C`,backward:(e=1)=>`\x1B[${e}D`,nextLine:(e=1)=>"\x1B[E".repeat(e),prevLine:(e=1)=>"\x1B[F".repeat(e),left:"\x1B[G",hide:"\x1B[?25l",show:"\x1B[?25h",save:"\x1B7",restore:"\x1B8"},Qi={up:(e=1)=>"\x1B[S".repeat(e),down:(e=1)=>"\x1B[T".repeat(e)},Zi={screen:"\x1B[2J",up:(e=1)=>"\x1B[1J".repeat(e),down:(e=1)=>"\x1B[J".repeat(e),line:"\x1B[2K",lineEnd:"\x1B[K",lineStart:"\x1B[1K",lines(e){let t="";for(let i=0;i<e;i++)t+=this.line+(i<e-1?ht.up():"");return e&&(t+=ht.left),t}};or.exports={cursor:ht,scroll:Qi,erase:Zi,beep:"\x07"}});var cr=$(($a,ft)=>{var Oe=process||{},lr=Oe.argv||[],Be=Oe.env||{},Xi=!(Be.NO_COLOR||lr.includes("--no-color"))&&(!!Be.FORCE_COLOR||lr.includes("--color")||Oe.platform==="win32"||(Oe.stdout||{}).isTTY&&Be.TERM!=="dumb"||!!Be.CI),eu=(e,t,i=e)=>r=>{let u=""+r,s=u.indexOf(t,e.length);return~s?e+tu(u,t,i,s)+t:e+u+t},tu=(e,t,i,r)=>{let u="",s=0;do u+=e.substring(s,r)+i,s=r+t.length,r=e.indexOf(t,s);while(~r);return u+e.substring(s)},ar=(e=Xi)=>{let t=e?eu:()=>String;return{isColorSupported:e,reset:t("\x1B[0m","\x1B[0m"),bold:t("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:t("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:t("\x1B[3m","\x1B[23m"),underline:t("\x1B[4m","\x1B[24m"),inverse:t("\x1B[7m","\x1B[27m"),hidden:t("\x1B[8m","\x1B[28m"),strikethrough:t("\x1B[9m","\x1B[29m"),black:t("\x1B[30m","\x1B[39m"),red:t("\x1B[31m","\x1B[39m"),green:t("\x1B[32m","\x1B[39m"),yellow:t("\x1B[33m","\x1B[39m"),blue:t("\x1B[34m","\x1B[39m"),magenta:t("\x1B[35m","\x1B[39m"),cyan:t("\x1B[36m","\x1B[39m"),white:t("\x1B[37m","\x1B[39m"),gray:t("\x1B[90m","\x1B[39m"),bgBlack:t("\x1B[40m","\x1B[49m"),bgRed:t("\x1B[41m","\x1B[49m"),bgGreen:t("\x1B[42m","\x1B[49m"),bgYellow:t("\x1B[43m","\x1B[49m"),bgBlue:t("\x1B[44m","\x1B[49m"),bgMagenta:t("\x1B[45m","\x1B[49m"),bgCyan:t("\x1B[46m","\x1B[49m"),bgWhite:t("\x1B[47m","\x1B[49m"),blackBright:t("\x1B[90m","\x1B[39m"),redBright:t("\x1B[91m","\x1B[39m"),greenBright:t("\x1B[92m","\x1B[39m"),yellowBright:t("\x1B[93m","\x1B[39m"),blueBright:t("\x1B[94m","\x1B[39m"),magentaBright:t("\x1B[95m","\x1B[39m"),cyanBright:t("\x1B[96m","\x1B[39m"),whiteBright:t("\x1B[97m","\x1B[39m"),bgBlackBright:t("\x1B[100m","\x1B[49m"),bgRedBright:t("\x1B[101m","\x1B[49m"),bgGreenBright:t("\x1B[102m","\x1B[49m"),bgYellowBright:t("\x1B[103m","\x1B[49m"),bgBlueBright:t("\x1B[104m","\x1B[49m"),bgMagentaBright:t("\x1B[105m","\x1B[49m"),bgCyanBright:t("\x1B[106m","\x1B[49m"),bgWhiteBright:t("\x1B[107m","\x1B[49m")}};ft.exports=ar();ft.exports.createColors=ar});var Wn=$((vc,Un)=>{"use strict";var re=class e extends Error{constructor(t,i,r){super("[ParserError] "+t,i,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,e)}},Ge=class{constructor(t){this.parser=t,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}},ve=class{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new Ge(this.parseStart)}parse(t){if(t.length===0||t.length==null)return;this._buf=String(t),this.ii=-1,this.char=-1;let i;for(;i===!1||this.nextChar();)i=this.runOne();this._buf=null}nextChar(){return this.char===10&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this.ii<this._buf.length}runOne(){return this.state.parser.call(this,this.state.returned)}finish(){this.char=1114112;let t;do t=this.state.parser,this.runOne();while(this.state.parser!==t);return this.ctx=null,this.state=null,this._buf=null,this.obj}next(t){if(typeof t!="function")throw new re("Tried to set state to non-existent state: "+JSON.stringify(t));this.state.parser=t}goto(t){return this.next(t),this.runOne()}call(t,i){i&&this.next(i),this.stack.push(this.state),this.state=new Ge(t)}callNow(t,i){return this.call(t,i),this.runOne()}return(t){if(this.stack.length===0)throw this.error(new re("Stack underflow"));t===void 0&&(t=this.state.buf),this.state=this.stack.pop(),this.state.returned=t}returnNow(t){return this.return(t),this.runOne()}consume(){if(this.char===1114112)throw this.error(new re("Unexpected end-of-buffer"));this.state.buf+=this._buf[this.ii]}error(t){return t.line=this.line,t.col=this.col,t.pos=this.pos,t}parseStart(){throw new re("Must declare a parseStart method")}};ve.END=1114112;ve.Error=re;Un.exports=ve});var Yn=$((wc,Vn)=>{"use strict";Vn.exports=e=>{let t=new Date(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t}});var Ke=$((_c,Gn)=>{"use strict";Gn.exports=(e,t)=>{for(t=String(t);t.length<e;)t="0"+t;return t}});var qn=$((Tc,Kn)=>{"use strict";var De=Ke(),jt=class extends Date{constructor(t){super(t+"Z"),this.isFloating=!0}toISOString(){let t=`${this.getUTCFullYear()}-${De(2,this.getUTCMonth()+1)}-${De(2,this.getUTCDate())}`,i=`${De(2,this.getUTCHours())}:${De(2,this.getUTCMinutes())}:${De(2,this.getUTCSeconds())}.${De(3,this.getUTCMilliseconds())}`;return`${t}T${i}`}};Kn.exports=e=>{let t=new jt(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t}});var Qn=$((Sc,zn)=>{"use strict";var Jn=Ke(),cl=global.Date,Ut=class extends cl{constructor(t){super(t),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${Jn(2,this.getUTCMonth()+1)}-${Jn(2,this.getUTCDate())}`}};zn.exports=e=>{let t=new Ut(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t}});var Xn=$((Bc,Zn)=>{"use strict";var qe=Ke(),Wt=class extends Date{constructor(t){super(`0000-01-01T${t}Z`),this.isTime=!0}toISOString(){return`${qe(2,this.getUTCHours())}:${qe(2,this.getUTCMinutes())}:${qe(2,this.getUTCSeconds())}.${qe(3,this.getUTCMilliseconds())}`}};Zn.exports=e=>{let t=new Wt(e);if(isNaN(t))throw new TypeError("Invalid Datetime");return t}});var Je=$((exports,module)=>{"use strict";module.exports=makeParserClass(Wn());module.exports.makeParserClass=makeParserClass;var TomlError=class e extends Error{constructor(t){super(t),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,e),this.fromTOML=!0,this.wrapped=null}};TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t};module.exports.TomlError=TomlError;var createDateTime=Yn(),createDateTimeFloat=qn(),createDate=Qn(),createTime=Xn(),CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:`
|
|
@@ -106,7 +106,7 @@ Options:
|
|
|
106
106
|
Supported agents:
|
|
107
107
|
${e}
|
|
108
108
|
|
|
109
|
-
Docs: ${Pi}`)}function Ba(e){let t={global:!1,yes:!1,agents:[]},i;for(let r=0;r<e.length;r++){let u=e[r];switch(u){case"-g":case"--global":t.global=!0;break;case"-y":case"--yes":t.yes=!0;break;case"-a":case"--agent":{let s=e[++r];s||ie(`Missing value for ${u}`),t.agents.push(...s.split(",").map(n=>n.trim()).filter(Boolean));break}case"-h":case"--help":Mi(),process.exit(0);break;case"-v":case"--version":console.log("3.0.
|
|
109
|
+
Docs: ${Pi}`)}function Ba(e){let t={global:!1,yes:!1,agents:[]},i;for(let r=0;r<e.length;r++){let u=e[r];switch(u){case"-g":case"--global":t.global=!0;break;case"-y":case"--yes":t.yes=!0;break;case"-a":case"--agent":{let s=e[++r];s||ie(`Missing value for ${u}`),t.agents.push(...s.split(",").map(n=>n.trim()).filter(Boolean));break}case"-h":case"--help":Mi(),process.exit(0);break;case"-v":case"--version":console.log("3.0.442"),process.exit(0);break;default:u.startsWith("-")&&ie(`Unknown option: ${u} (see npx shaders --help)`),i&&ie(`Unexpected argument: ${u}`),i=u}}return{command:i,flags:t}}function ie(e){console.error(`\u2717 ${e}`),process.exit(1)}function ji(e){let t=new Set(Z());for(let i of e)t.has(i)||ie(`Unknown agent "${i}". Supported agents: ${Z().join(", ")}`);return e}async function Oa(e,t){if(e.agents.length>0)return{targets:ji(e.agents),scope:e.global?"global":"project"};let i=e.global?[]:Qt(t),r=e.global||i.length===0?"global":"project",u=r==="project"?i:await Zt();if(!(!e.yes&&process.stdout.isTTY&&process.stdin.isTTY))return u.length===0&&ie(`No coding agents detected. Pass one explicitly, e.g. npx shaders install-mcp -a cursor
|
|
110
110
|
Supported agents: ${Z().join(", ")}`),{targets:u,scope:r};let n=await Et({message:`Install the Shaders MCP server to which agents? (${r} config)`,options:Z().map(o=>({value:o,label:R[o].displayName,hint:r==="project"&&R[o].localConfigPath?R[o].localConfigPath:R[o].configPath.replace(/^\/Users\/[^/]+|^\/home\/[^/]+|^C:\\Users\\[^\\]+/,"~")})),initialValues:u,required:!0});return de(n)&&(console.log("Cancelled \u2014 nothing was changed."),process.exit(0)),{targets:n,scope:r}}async function Ra(e){let t=process.cwd(),{targets:i,scope:r}=await Oa(e,t),u=0;for(let s of i){let n=r==="project"&&!!R[s].localConfigPath,o=$i(s,ir,{type:"http",url:Sa},{local:n,cwd:t});o.success?console.log(`\u2713 ${R[s].displayName} \u2014 ${o.path}`):(u++,console.error(`\u2717 ${R[s].displayName} \u2014 ${o.error}`))}u===i.length&&process.exit(1),console.log(`
|
|
111
111
|
Done! Open your agent and connect to the "${ir}" MCP server \u2014 you'll be
|
|
112
112
|
prompted to sign in to your Shaders account (Pro) the first time it connects.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition } from "./transformations-
|
|
1
|
+
import { Ft as floatE, Gt as unpremultiplyAlpha, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var rawWeights = Array.from({ length: 32 }, (_, i) => {
|
|
4
4
|
const t = (i / 31 - .5) * 2;
|
|
5
5
|
return Math.exp(-.5 * t * t / .64);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, D as shapeLocalCoords, E as sdf_exports, Lt as vec4, Qt as mixColorsLinear, h as arcSdf, jt as call, k as strokeMaskFromSdf, m as ShapeMask, n as tgpu, sn as d } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var APERTURE_TO_HALF_ANGLE = .008726646259971648;
|
|
4
4
|
const arcShape = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var ATLAS_TEXTURE_SIZE = 2048;
|
|
4
4
|
var REFERENCE_HEIGHT = 1080;
|
|
5
5
|
var GOOGLE_FONTS_MAP = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { $t as mixColorsVariants, Qt as mixColorsLinear, it as noise_exports, jt as call, n as tgpu, nt as mxNoiseFloat3, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var TWO_PI = Math.PI * 2;
|
|
5
5
|
const auroraCurtain = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as transformAngle, s as transformEdges } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, St as composeEdgeRemapExpr, jt as call, kt as ZERO, n as tgpu, sn as d, xt as applyEdgeHandlingExpr, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { r as transformAngle, s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const barHash = tgpu.fn([d.f32], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((x) => {
|
|
6
6
|
"use gpu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Lt as vec4, Qt as mixColorsLinear, en as mixPreconvertedLinear, jt as call, n as tgpu, qt as convertP3ToMixSpaceCPU, sn as d, tn as mixPreconvertedVariants, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const beamField = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
1
|
+
import { $t as mixColorsVariants, Qt as mixColorsLinear, _t as mixColorStopsRuntime, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
const blobOrganicRadius = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { G as toneAndColorExpr, dt as value13, it as noise_exports, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-kVjc2DJn.js";
|
|
4
4
|
const blockNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { G as toneAndColorExpr, K as blue12, it as noise_exports, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-kVjc2DJn.js";
|
|
3
3
|
const blueNoiseField = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as unpremultiplyAlpha, L as createGaussianBlurCompute, Lt as vec4, P as BLUR_MAP_FORMAT, R as createVariableGaussianBlurCompute, V as createGuardedCompute, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
const INTENSITY_TO_RADIUS = .36;
|
|
3
3
|
const intensityToRadius = (intensity) => intensity * INTENSITY_TO_RADIUS;
|
|
4
4
|
function fillMapParams() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { $t as mixColorsVariants, Lt as vec4, Qt as mixColorsLinear, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const brickField = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
4
|
-
import { t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { E as sdf_exports, Ft as floatE, Lt as vec4, d as sdf3d_exports, it as noise_exports, jt as call, n as tgpu, sn as d, tt as mxNoiseFloat2, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
6
6
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
8
8
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS, is3dShapeType, isVolumetricShapeType } = sdf3d_exports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, St as composeEdgeRemapExpr, jt as call, kt as ZERO, n as tgpu, sn as d, xt as applyEdgeHandlingExpr, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const bulgeUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ft as floatE, Gt as unpremultiplyAlpha, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
const crtSampleUV = tgpu.fn([
|
|
3
3
|
d.vec2f,
|
|
4
4
|
d.f32,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
4
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { E as sdf_exports, Ft as floatE, Lt as vec4, d as sdf3d_exports, it as noise_exports, jt as call, n as tgpu, sn as d, tt as mxNoiseFloat2, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
5
5
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
6
6
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
7
7
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS, is3dShapeType, isVolumetricShapeType } = sdf3d_exports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Ft as floatE, Gt as unpremultiplyAlpha, Lt as vec4, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var SIN_045 = Math.sin(.785);
|
|
4
4
|
var COS_045 = Math.cos(.785);
|
|
5
5
|
var SIN_N45 = Math.sin(-.785);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as unpremultiplyAlpha, L as createGaussianBlurCompute, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
const INTENSITY_TO_RADIUS = .1;
|
|
3
3
|
const channelIntensityToRadius = (intensity) => intensity * INTENSITY_TO_RADIUS;
|
|
4
4
|
const channelBlurCompose = tgpu.fn([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, Qt as mixColorsLinear, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const checkerCoord = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { $t as mixColorsVariants, It as mixExpr, Lt as vec4, Qt as mixColorsLinear, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const chevronMask = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Ft as floatE, N as toHalfFloat, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var GRID_SIZE = 128;
|
|
4
4
|
var num = (v, f) => typeof v === "number" ? v : f;
|
|
5
5
|
const chromaFlowTapUV = tgpu.fn([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as transformAngle } from "./transformations-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, Lt as vec4, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { r as transformAngle } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const chromaticOffsetUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, E as sdf_exports, Lt as vec4, Qt as mixColorsLinear, g as circleSdf, jt as call, k as strokeMaskFromSdf, m as ShapeMask, n as tgpu, sn as d } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const circleShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { $t as mixColorsVariants, Qt as mixColorsLinear, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const colorWheelT = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as unpremultiplyAlpha, Lt as vec4, V as createGuardedCompute, Wt as blend_exports, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
var LUMA_QUANT = [
|
|
3
3
|
16,
|
|
4
4
|
11,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, St as composeEdgeRemapExpr, jt as call, kt as ZERO, n as tgpu, sn as d, xt as applyEdgeHandlingExpr, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var PI = Math.PI;
|
|
5
5
|
var TAU = Math.PI * 2;
|
|
6
6
|
const csHash = tgpu.fn([d.f32], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((x) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
1
|
+
import { $t as mixColorsVariants, Qt as mixColorsLinear, _t as mixColorStopsRuntime, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var TAU = 6.283185307179586;
|
|
5
5
|
var INV_360 = 1 / 360;
|
|
6
6
|
const conicFinalT = tgpu.fn([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Ft as floatE, Lt as vec4, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var transformSource = (value) => value === "alpha" ? 1 : 0;
|
|
4
4
|
var transformColorMode = (value) => value === "custom" ? 1 : 0;
|
|
5
5
|
var sourceModeOf = (raw) => typeof raw === "number" ? raw : raw === "alpha" ? 1 : 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, Lt as vec4, St as composeEdgeRemapExpr, jt as call, kt as ZERO, n as tgpu, sn as d, xt as applyEdgeHandlingExpr, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var EPS = 1e-8;
|
|
4
4
|
const cornerPinSafeDiv = tgpu.fn([d.f32, d.f32], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((n, dv) => {
|
|
5
5
|
"use gpu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, D as shapeLocalCoords, E as sdf_exports, Lt as vec4, Qt as mixColorsLinear, _ as crescentSdf, jt as call, k as strokeMaskFromSdf, m as ShapeMask, n as tgpu, sn as d } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const crescentShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, D as shapeLocalCoords, E as sdf_exports, Lt as vec4, Qt as mixColorsLinear, jt as call, k as strokeMaskFromSdf, m as ShapeMask, n as tgpu, sn as d, v as crossSdf } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const crossShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition, i as transformBoolean } from "./transformations-
|
|
4
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { E as sdf_exports, Ft as floatE, Lt as vec4, Wt as blend_exports, d as sdf3d_exports, it as noise_exports, jt as call, kt as ZERO, n as tgpu, rt as mxWorleyNoiseFloat2Pub, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
5
5
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
6
6
|
var { unpremultiplyAlpha } = blend_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { G as toneAndColorExpr, J as curl22z, it as noise_exports, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-kVjc2DJn.js";
|
|
4
4
|
const curlNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, H as createStateBuffer, Lt as vec4, Pt as expr, V as createGuardedCompute, jt as call, kt as ZERO, n as tgpu, sn as d, xt as applyEdgeHandlingExpr, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var GRID_SIZE = 128;
|
|
4
4
|
var CELL_COUNT = GRID_SIZE * GRID_SIZE;
|
|
5
5
|
var GRID_MAX = GRID_SIZE - 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
1
|
+
import { Ft as floatE, H as createStateBuffer, Kt as colorMixing_exports, Lt as vec4, V as createGuardedCompute, _t as mixColorStopsRuntime, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var GRID_SIZE = 128;
|
|
5
5
|
var CELL_COUNT = GRID_SIZE * GRID_SIZE;
|
|
6
6
|
var STATE_FORMAT = "rgba16float";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as unpremultiplyAlpha, It as mixExpr, V as createGuardedCompute, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
var STATE_RES = 768;
|
|
3
3
|
var STATE_FORMAT = "rgba16float";
|
|
4
4
|
var MoshParams = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(d.struct({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
1
|
+
import { $t as mixColorsVariants, Qt as mixColorsLinear, _t as mixColorStopsRuntime, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var DEG_TO_RAD = .017453292519943295;
|
|
5
5
|
const diamondFinalT = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, jt as call, kt as ZERO, n as tgpu, sn as d, xt as applyEdgeHandlingExpr, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const diffuseBlurUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { At as arrayExpr, Ft as floatE, Gt as unpremultiplyAlpha, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var transformPattern = (value) => {
|
|
4
4
|
return {
|
|
5
5
|
bayer2: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Lt as vec4, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
const dotGridCellCenterUV = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Ft as floatE, Gt as unpremultiplyAlpha, Lt as vec4, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var DEG_TO_RAD = .017453292519943295;
|
|
4
4
|
var WEIGHTS = [
|
|
5
5
|
.056,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, Lt as vec4, Qt as mixColorsLinear, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const duotoneFactor = tgpu.fn([d.vec4f, d.f32], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, blend) => {
|
|
4
4
|
"use gpu";
|
|
5
5
|
const luminance = std.dot(color.xyz, d.vec3f(.299, .587, .114));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, D as shapeLocalCoords, E as sdf_exports, Lt as vec4, Qt as mixColorsLinear, jt as call, k as strokeMaskFromSdf, m as ShapeMask, n as tgpu, sn as d, y as ellipseSdf } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const ellipseShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as sdfSpaceUV, r as offsetUV } from "./glass-
|
|
3
|
-
import { c as transformPosition } from "./transformations-
|
|
4
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { E as sdf_exports, Ft as floatE, Gt as unpremultiplyAlpha, d as sdf3d_exports, jt as call, kt as ZERO, ln as __export, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { i as sdfSpaceUV, r as offsetUV } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
5
5
|
var emboss_exports = /* @__PURE__ */ __export({
|
|
6
6
|
applyEmbossEffect: () => applyEmbossEffect$1,
|
|
7
7
|
embossComposite: () => embossComposite,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-
|
|
1
|
+
import { Ft as floatE, Gt as unpremultiplyAlpha, Lt as vec4, it as noise_exports, jt as call, kt as ZERO, n as tgpu, sn as d, tt as mxNoiseFloat2, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var TAU = 6.283185307179586;
|
|
4
4
|
var DEG_TO_RAD = .017453292519943295;
|
|
5
5
|
var transformStyle = (value) => value === "spiral" ? 2 : value === "line" ? 0 : 1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { G as toneAndColorExpr, Y as erosion12, it as noise_exports, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-kVjc2DJn.js";
|
|
3
3
|
const erosionNoiseField = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jt as call, kt as ZERO, n as tgpu, sn as d } from "./coords-DLZT4HVT.js";
|
|
2
2
|
const exposureColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, gain) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const rgb = color.xyz.mul(gain);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { $t as mixColorsVariants, Lt as vec4, Qt as mixColorsLinear, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var DEG_TO_RAD = Math.PI / 180;
|
|
5
5
|
var colHash = tgpu.fn([d.f32], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((idx) => {
|
|
6
6
|
"use gpu";
|