shaders 3.0.444 → 3.0.445
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-D-tt4pvi.js → AngularBlur-D33jrcZd.js} +1 -1
- package/dist/core/{Arc-DrBTn2ft.js → Arc-BG8Bpknl.js} +1 -1
- package/dist/core/{Ascii-cHzx_Cgc.js → Ascii-DE0vAAOX.js} +1 -1
- package/dist/core/{Aurora-15z76vsc.js → Aurora-Cu4JGjCD.js} +2 -2
- package/dist/core/{BarShift-s7HgQwz5.js → BarShift-o_IvV0t_.js} +4 -4
- package/dist/core/{BarnDoors-CBzse00V.js → BarnDoors-JraHuTwe.js} +1 -1
- package/dist/core/{Beam-DZgWUuTC.js → Beam-DshQatlM.js} +1 -1
- package/dist/core/{Bend-CHTYK8SA.js → Bend-KJzYWEJV.js} +3 -3
- package/dist/core/{Blob-A8bKkEG1.js → Blob-BJxkqvOO.js} +2 -2
- package/dist/core/{BlockDissolve-Bb4aDV5s.js → BlockDissolve-CsIQWUpY.js} +1 -1
- package/dist/core/{BlockNoise-BnnsS95j.js → BlockNoise-DVI-0PnC.js} +3 -3
- package/dist/core/{BlueNoise-DTOarEL0.js → BlueNoise-CzBN6i38.js} +2 -2
- package/dist/core/{Blur-DEwHcGOu.js → Blur-W95k4Lxz.js} +1 -1
- package/dist/core/{Boids-BWJXVflR.js → Boids-BJ6wxFC8.js} +1 -1
- package/dist/core/{BokehBlur-pQJN6FFd.js → BokehBlur-CbOO__cN.js} +1 -1
- package/dist/core/{BrickPattern-Kwmx3pdx.js → BrickPattern-eQv5DrKE.js} +2 -2
- package/dist/core/{BrightnessContrast-CAkwN3s1.js → BrightnessContrast-CmH2DvaZ.js} +1 -1
- package/dist/core/{BrushedMetal-B4qfaTCf.js → BrushedMetal-D-7M7ZuM.js} +4 -4
- package/dist/core/{Bulge-CLBhicOs.js → Bulge-KmBnaVMx.js} +3 -3
- package/dist/core/{CRTScreen-Cj2H2mXK.js → CRTScreen-t7dyfO5u.js} +1 -1
- package/dist/core/{CarbonFiber-zA6_ZDg8.js → CarbonFiber-D4jap49E.js} +3 -3
- package/dist/core/{Chalkboard-DwkX3ZL3.js → Chalkboard-H6-0OXC3.js} +1 -1
- package/dist/core/{ChannelBlur-KHDU8WCn.js → ChannelBlur-BKJfnu91.js} +1 -1
- package/dist/core/{CheckerWipe-CNlqWp0y.js → CheckerWipe-acIaflfK.js} +1 -1
- package/dist/core/{Checkerboard-CvP8BKcu.js → Checkerboard-NwKMLVHe.js} +1 -1
- package/dist/core/{Chevron-BFmKhIws.js → Chevron-eBbFV2ud.js} +2 -2
- package/dist/core/{ChromaFlow-C8I4PtcP.js → ChromaFlow-ex7l4tTK.js} +1 -1
- package/dist/core/{ChromaticAberration-CGPfHEFI.js → ChromaticAberration-Bbi9vNxS.js} +1 -1
- package/dist/core/{Circle-ChmepdP_.js → Circle-DdFWEti1.js} +1 -1
- package/dist/core/{ColorWheel-D5V4ozig.js → ColorWheel-BqcyPqcj.js} +2 -2
- package/dist/core/{CompressionArtifacts--GdHELg8.js → CompressionArtifacts-DqWq-4h8.js} +1 -1
- package/dist/core/{ConcentricSpin-DIWQ80K5.js → ConcentricSpin-CtI1hKio.js} +4 -4
- package/dist/core/{ConicGradient-DjMQDAT6.js → ConicGradient-HmImN4LO.js} +2 -2
- package/dist/core/{ContourLines-Pq1zDmlf.js → ContourLines-BMom2vMu.js} +1 -1
- package/dist/core/{CornerPin-C-x2z8H5.js → CornerPin-D_-luriU.js} +2 -2
- package/dist/core/{Crescent-C6COUHa5.js → Crescent-CY6MeN9V.js} +1 -1
- package/dist/core/{Cross-Cgw13Sga.js → Cross-ClImej9a.js} +1 -1
- package/dist/core/{Crystal-RnN4Y5Tf.js → Crystal-CMrqHLFD.js} +3 -3
- package/dist/core/{CurlNoise-jaIscgOF.js → CurlNoise-C_QZBT5m.js} +3 -3
- package/dist/core/{CursorRipples-Gv0B1S-h.js → CursorRipples-Bmlex_IF.js} +1 -1
- package/dist/core/{CursorTrail-BMHsUYwx.js → CursorTrail-B68x1Cv-.js} +2 -2
- package/dist/core/{DataMosh-CaqYFxYA.js → DataMosh-FZQWg5Ui.js} +1 -1
- package/dist/core/{DiamondGradient-D388xLbc.js → DiamondGradient-C0hD1lNN.js} +2 -2
- package/dist/core/{DiamondWipe-BRXj3gon.js → DiamondWipe-B8rFSwsV.js} +1 -1
- package/dist/core/{DiffuseBlur-CM5Qy5JM.js → DiffuseBlur--Gn4bDwC.js} +1 -1
- package/dist/core/{DisplacementMap-Cr1fauBv.js → DisplacementMap-DQk8S4sK.js} +3 -3
- package/dist/core/{Dither-CubXhMES.js → Dither-rB9M7FS7.js} +1 -1
- package/dist/core/{DotGrid-D6We1dqv.js → DotGrid-DszAbmy5.js} +2 -2
- package/dist/core/{DropShadow-C8v9KJgy.js → DropShadow-BS3S178o.js} +1 -1
- package/dist/core/{Duotone-BfVi04d4.js → Duotone-Cf_ybegD.js} +1 -1
- package/dist/core/{Ellipse-fTV0CAVg.js → Ellipse-DY8FgSSx.js} +1 -1
- package/dist/core/{Emboss-BNhsz2v0.js → Emboss-RxgVyKyU.js} +3 -3
- package/dist/core/{Engraving-DYTr1YbV.js → Engraving-C0OuioUr.js} +1 -1
- package/dist/core/{ErosionNoise-CxsXwPPE.js → ErosionNoise-B-I3VFiY.js} +2 -2
- package/dist/core/{Exposure-DISAOzQ5.js → Exposure-360tdOrT.js} +1 -1
- package/dist/core/{FallingLines-DBGk9U7l.js → FallingLines-4sVKJMDj.js} +2 -2
- package/dist/core/{FilmGrain-Ban-r5as.js → FilmGrain-CgzuRidb.js} +1 -1
- package/dist/core/{FilmStock-BlOwC5zb.js → FilmStock-BW9k3EPE.js} +1 -1
- package/dist/core/{Flip-CAt9CFWn.js → Flip-DqdxtYHS.js} +1 -1
- package/dist/core/{FloatingParticles-Cppgg6I0.js → FloatingParticles-BI8Y9Gcv.js} +1 -1
- package/dist/core/{FlowField-b0PcB7MV.js → FlowField-CV0Is569.js} +4 -4
- package/dist/core/{Flower-iLK4UwZa.js → Flower-IaNzANoa.js} +1 -1
- package/dist/core/{FlowingGradient-CZc_z9cL.js → FlowingGradient-CEAAa11t.js} +2 -2
- package/dist/core/{FlutedGlass-DMl2A42x.js → FlutedGlass-CF6mZMq4.js} +2 -2
- package/dist/core/{Fog-BBc52yrL.js → Fog-D9OYGwhY.js} +1 -1
- package/dist/core/{Form3D-BqMINp_g.js → Form3D-CJKutcFA.js} +2 -2
- package/dist/core/{FractalNoise-BjGa9I7_.js → FractalNoise-DelBWQyb.js} +2 -2
- package/dist/core/{Frost-ttMO1uGc.js → Frost-Br7b9n4L.js} +4 -4
- package/dist/core/{GaborNoise-CSC24alr.js → GaborNoise-DViNgIse.js} +3 -3
- package/dist/core/{Glass-DHkb-2UB.js → Glass-IwPea9h1.js} +3 -3
- package/dist/core/{GlassTiles-CTSmg7gD.js → GlassTiles-DpPHPKv7.js} +3 -5
- package/dist/core/{Glitch-O5FZxlBV.js → Glitch-CKmX-agV.js} +1 -1
- package/dist/core/{Glow-Cj9SzOqq.js → Glow-CVcVetaa.js} +1 -1
- package/dist/core/{Godrays-XW1fNiSU.js → Godrays-CNNHJzNz.js} +2 -2
- package/dist/core/{Goo-Bc43zAec.js → Goo-BUXnhwTk.js} +4 -4
- package/dist/core/{GradientMap-BxSv1OOf.js → GradientMap-DqGEXRl9.js} +1 -1
- package/dist/core/{Grayscale-CNM0GlQN.js → Grayscale-DiJAjdx3.js} +1 -1
- package/dist/core/{Grid-reIQAyFU.js → Grid-utmP7uyR.js} +1 -1
- package/dist/core/{GridDistortion-tJym6OIr.js → GridDistortion-Bn6D5dfC.js} +2 -2
- package/dist/core/{Group-8iAuPA0-.js → Group-u-o7qE0Y.js} +1 -1
- package/dist/core/{HTMLInCanvas-CAHfLRAz.js → HTMLInCanvas-sK9HN-gI.js} +1 -1
- package/dist/core/{Halftone-Dlk16PsH.js → Halftone-C5La06l6.js} +1 -1
- package/dist/core/{Heart-C3Uas8c_.js → Heart-CGLx1F8D.js} +1 -1
- package/dist/core/{Heatmap-CE7IB_4g.js → Heatmap-CE5DLeJp.js} +4 -4
- package/dist/core/{HexGrid-BiXYpVNp.js → HexGrid-CqB-yMWN.js} +1 -1
- package/dist/core/{Hologram-BjKBncw8.js → Hologram-CctodmpA.js} +4 -4
- package/dist/core/{Holographic-CCTmTYXb.js → Holographic-DSz4qfkn.js} +4 -4
- package/dist/core/{HueShift-CE5RgaBc.js → HueShift-Cfq-ijQP.js} +1 -1
- package/dist/core/{ImageTexture-BrjlwuWY.js → ImageTexture-DdzAYFTi.js} +1 -1
- package/dist/core/{InkFlow-DS92HgM9.js → InkFlow-CCPfoQXs.js} +1 -1
- package/dist/core/{Invert-e1Z9IfPo.js → Invert-CtUHcYmv.js} +1 -1
- package/dist/core/{IrisWipe-CCK_EamC.js → IrisWipe-DWVFMn81.js} +1 -1
- package/dist/core/{IsometricCubes-BA-cN4bC.js → IsometricCubes-m-mYnbqN.js} +1 -1
- package/dist/core/{Kaleidoscope-Cin7yxd7.js → Kaleidoscope-DMNLVgx6.js} +3 -3
- package/dist/core/{KeyFrames-D4-678xR.js → KeyFrames-jgrfR3Hj.js} +1 -1
- package/dist/core/{LensFlare-UNNiSfiz.js → LensFlare-CuWJsfwE.js} +2 -2
- package/dist/core/{LightEdge-GUFdnqjh.js → LightEdge-WMxb-xKB.js} +4 -4
- package/dist/core/{LightLeak-DWv0ec7B.js → LightLeak-DfOngFp7.js} +2 -2
- package/dist/core/{LinearBlur-DBKjOKVV.js → LinearBlur-iLXYGof_.js} +1 -1
- package/dist/core/{LinearGradient--Vy79Fs_.js → LinearGradient-DLrJban6.js} +2 -2
- package/dist/core/{LinearWipe-PZcYib77.js → LinearWipe-C_fWBl4i.js} +1 -1
- package/dist/core/{LiquidMetal-cUxfJdju.js → LiquidMetal-DHM8kVNr.js} +4 -4
- package/dist/core/{Liquify-B1o-_MJZ.js → Liquify-FQWL8j4t.js} +3 -3
- package/dist/core/{MagneticFilings-B1Qvnw6t.js → MagneticFilings-BUzSkycD.js} +1 -1
- package/dist/core/{Marble-CD5fqEce.js → Marble-BnHffB3C.js} +2 -2
- package/dist/core/{Mirror-QJoYnzu6.js → Mirror-B_v4FunG.js} +2 -2
- package/dist/core/{MultiPointGradient-CLRPS8u7.js → MultiPointGradient-5NGBm90u.js} +1 -1
- package/dist/core/{Neon-DAPbLlBN.js → Neon-BjBSg2FR.js} +3 -3
- package/dist/core/{NoiseDissolve-jdMIvdYS.js → NoiseDissolve-kDP6-h9F.js} +1 -1
- package/dist/core/{ObjectTracker-BD_l_g6R.js → ObjectTracker-vU1bVmIJ.js} +1 -1
- package/dist/core/{PagePeel-YyWAE0am.js → PagePeel-BgDvgtIV.js} +1 -1
- package/dist/core/{Paper-DOFhG3gq.js → Paper-_alN4JdS.js} +1 -1
- package/dist/core/{Parallelogram-CKlvs9a_.js → Parallelogram--Cil139y.js} +1 -1
- package/dist/core/{ParticleField-R--x794f.js → ParticleField-DZ7um7tu.js} +1 -1
- package/dist/core/{ParticleFlow-DY8g2n2d.js → ParticleFlow-CmRP2S8W.js} +1 -1
- package/dist/core/{Particles-D6-MCj-7.js → Particles-DFw2E9SE.js} +2 -2
- package/dist/core/{PerlinNoise-DKBJst5k.js → PerlinNoise-BmNpwJtM.js} +3 -3
- package/dist/core/{Perspective-DH5aV7fh.js → Perspective-DVcUW7jR.js} +3 -3
- package/dist/core/{PixelSort-DRd4GE4_.js → PixelSort-Bz5dIrqH.js} +1 -1
- package/dist/core/{PixelThrow-CRizzpOr.js → PixelThrow-DEMX8VOw.js} +1 -1
- package/dist/core/{Pixelate-DgPtCErp.js → Pixelate-D-eWrHTE.js} +1 -1
- package/dist/core/{Plasma-8zXLjhIr.js → Plasma-C_EIkpQi.js} +2 -2
- package/dist/core/{Plastic-Dv-N6_Nv.js → Plastic-CYeefb91.js} +4 -4
- package/dist/core/{PolarCoordinates-lw0yBeJq.js → PolarCoordinates-DmpUBdGX.js} +2 -2
- package/dist/core/{Polygon-DQxmxfqr.js → Polygon-DEEUdZd6.js} +1 -1
- package/dist/core/{Posterize-C4qpmou-.js → Posterize-B8oVbNZL.js} +1 -1
- package/dist/core/{Prism-C0qW3WgL.js → Prism-Btijlm0t.js} +2 -2
- package/dist/core/{ProgressiveBlur-C_xtFzmP.js → ProgressiveBlur-BoRFh6Tn.js} +1 -1
- package/dist/core/{RadialGradient-DetBcKps.js → RadialGradient-CNDiMPZM.js} +2 -2
- package/dist/core/{RadialWipe-Cmv05uxE.js → RadialWipe-C213vCrJ.js} +1 -1
- package/dist/core/{RandomBars-CrPfWF8l.js → RandomBars-hOY9hNS7.js} +1 -1
- package/dist/core/{ReactionDiffusion-Dc_uVKMg.js → ReactionDiffusion--UjME4_r.js} +1 -1
- package/dist/core/{RectangularCoordinates-C1sbpWlI.js → RectangularCoordinates-DB7rPJ2Z.js} +2 -2
- package/dist/core/{ReflectivePlane-DyTDDfvN.js → ReflectivePlane-D92GjNLR.js} +1 -1
- package/dist/core/{Repeater-CzvIt5Gw.js → Repeater-CJjylN6O.js} +1 -1
- package/dist/core/{Ring-6gd4orX0.js → Ring-CJYQP2Qm.js} +1 -1
- package/dist/core/{RippleWipe-BU-dDvBK.js → RippleWipe-DJlrObO0.js} +1 -1
- package/dist/core/{Ripples-D7Y__Ls8.js → Ripples-Brj67b7H.js} +2 -2
- package/dist/core/{RoundedRect-DMzr6z4F.js → RoundedRect-3vfFsHAl.js} +1 -1
- package/dist/core/{Saturation-BZ5ZmmKo.js → Saturation-lx3DV3Up.js} +1 -1
- package/dist/core/{Scratches-wRRWI1-5.js → Scratches-CMFr8AfL.js} +3 -3
- package/dist/core/{Sharpness-BQu_GeV6.js → Sharpness-ByZbUAd0.js} +1 -1
- package/dist/core/{Shatter-HTHPxq07.js → Shatter-B1_rLacw.js} +1 -1
- package/dist/core/{SimplexNoise-arMv2IxX.js → SimplexNoise-zItLLG1j.js} +2 -2
- package/dist/core/{SineWave-crFYxXPS.js → SineWave-BvrhRcvv.js} +2 -2
- package/dist/core/{SliceWipe-D-Rnm4ce.js → SliceWipe-9bUWTClo.js} +1 -1
- package/dist/core/{Smoke-Cyjm_hFb.js → Smoke-YixCTJbh.js} +2 -2
- package/dist/core/{SmokeFill-CMBAFeM8.js → SmokeFill-Cccbyi4g.js} +3 -3
- package/dist/core/{SmokeFlow-DfytXLC4.js → SmokeFlow-DJ3sQPH1.js} +2 -2
- package/dist/core/{Solarize-BNuZoWV5.js → Solarize-CZeTsJG8.js} +1 -1
- package/dist/core/{Spherize-LIfupaEj.js → Spherize-BdYP0Auv.js} +2 -2
- package/dist/core/{Spiral-B-Kz6zOG.js → Spiral-PPqgFMRM.js} +2 -2
- package/dist/core/{Star-Bxi6VOuZ.js → Star-mgLhY4e_.js} +1 -1
- package/dist/core/{Stone-CrdhdOWf.js → Stone-CehIcoVu.js} +1 -1
- package/dist/core/{Strands-CgOVvjKk.js → Strands-Dzj-5h31.js} +2 -2
- package/dist/core/{Stretch-CWpqkWdT.js → Stretch-C82iJhQu.js} +3 -3
- package/dist/core/{Stripes-DnmkVdJi.js → Stripes-C3XL9mWC.js} +2 -2
- package/dist/core/{StudioBackground-BR7HA0ot.js → StudioBackground-CDpLmvMH.js} +2 -2
- package/dist/core/{SunBurst-2tbvTvoR.js → SunBurst-fFeTV8O4.js} +2 -2
- package/dist/core/{Surface3D-BDN9t6UU.js → Surface3D-BFGuR3YZ.js} +1 -1
- package/dist/core/{Swirl-BO63keY-.js → Swirl-DGZs_YDx.js} +2 -2
- package/dist/core/{Teardrop-Cj9wbWNj.js → Teardrop-DN7t-3HU.js} +1 -1
- package/dist/core/{Text-DDpqrXsw.js → Text-DuQnSDiW.js} +4 -3
- package/dist/core/{ThinFilm-Cfx6eANY.js → ThinFilm-DhQXCGw9.js} +3 -3
- package/dist/core/{TiltShift-DtDGS05n.js → TiltShift-CpHBxw5I.js} +1 -1
- package/dist/core/{TimeTrail-CH7CMyxo.js → TimeTrail-j89dMqNU.js} +1 -1
- package/dist/core/{Tint-RTSV6Aiu.js → Tint-WmBROyUm.js} +1 -1
- package/dist/core/{Trapezoid-B8YUl-8U.js → Trapezoid-RrEwHfyH.js} +1 -1
- package/dist/core/{TriangularGrid-B_P_Bn6J.js → TriangularGrid-D7r3Nhss.js} +2 -2
- package/dist/core/{Tritone-zbDA_LBO.js → Tritone-BREi33uL.js} +1 -1
- package/dist/core/{Truchet-QdRvWfkQ.js → Truchet-CTjP4x60.js} +1 -1
- package/dist/core/{Twirl-M1ylLxnB.js → Twirl-Bvk8-3JT.js} +3 -3
- package/dist/core/{VHS-BbpH5MH8.js → VHS-et86dWDU.js} +1 -1
- package/dist/core/{VenetianBlinds-DyBouRcb.js → VenetianBlinds-Bv0f2lFw.js} +1 -1
- package/dist/core/{Vesica-DYkOtRW9.js → Vesica-BV2Sz5VV.js} +1 -1
- package/dist/core/{Vibrance-DYCb_3Vb.js → Vibrance-Q9Mrvfs-.js} +1 -1
- package/dist/core/{VideoTexture-B5QB_7wK.js → VideoTexture-BUY69Gqp.js} +1 -1
- package/dist/core/{Vignette-CWNEqMe7.js → Vignette-DyScJQWj.js} +1 -1
- package/dist/core/{Voronoi-DJIf5qyN.js → Voronoi-DxoT7iRa.js} +2 -2
- package/dist/core/{Water-D7FpFPfD.js → Water-CE1rY4LR.js} +4 -4
- package/dist/core/{Watercolor-B4bOV2pY.js → Watercolor-Buk5FkKR.js} +1 -1
- package/dist/core/{WaveDistortion-C9K0iLOy.js → WaveDistortion-Ca6y77xt.js} +4 -4
- package/dist/core/{WaveletNoise-MxVl5SGH.js → WaveletNoise-Y7LdptK_.js} +3 -3
- package/dist/core/{Weave-DMvmkoDF.js → Weave-CTpPvAhK.js} +1 -1
- package/dist/core/{WebcamTexture-ylP8AAV1.js → WebcamTexture-85gdzpo_.js} +1 -1
- package/dist/core/{Wool-DKuYNXvU.js → Wool-DJJkx7S2.js} +1 -1
- package/dist/core/{WorleyNoise-C-8TphM9.js → WorleyNoise-C_CHhfMF.js} +2 -2
- package/dist/core/{ZoomBlur-BxPekTQP.js → ZoomBlur-8tmVWx1n.js} +1 -1
- package/dist/core/{coords-CLqRuQwC.js → coords-BkIjixe_.js} +709 -41
- package/dist/core/{glass-BLc74dQi.js → glass-sOqjtPJD.js} +1 -1
- package/dist/core/gpu/composer.d.ts +7 -0
- package/dist/core/gpu/composer.d.ts.map +1 -1
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/edges.d.ts +19 -1
- package/dist/core/gpu/kit/edges.d.ts.map +1 -1
- package/dist/core/gpu/kit/index.d.ts +1 -0
- package/dist/core/gpu/kit/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/sampling.d.ts +34 -0
- package/dist/core/gpu/kit/sampling.d.ts.map +1 -0
- package/dist/core/gpu/kit/uvTransform.d.ts +13 -3
- package/dist/core/gpu/kit/uvTransform.d.ts.map +1 -1
- package/dist/core/index.js +201 -236
- package/dist/core/{noiseColor-CFYtKwDd.js → noiseColor-CY6QVFgB.js} +1 -1
- package/dist/core/{porters-u50QU6Yv.js → porters-Bl3WB9VW.js} +1 -1
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +194 -194
- package/dist/core/shaderRegistry-CSTwovjI.js +425 -0
- package/dist/core/shaders/AngularBlur/index.js +3 -3
- package/dist/core/shaders/Arc/index.js +3 -3
- package/dist/core/shaders/Ascii/index.js +3 -3
- package/dist/core/shaders/Aurora/index.js +3 -3
- package/dist/core/shaders/BarShift/index.js +3 -3
- package/dist/core/shaders/BarnDoors/index.js +3 -3
- package/dist/core/shaders/Beam/index.js +3 -3
- package/dist/core/shaders/Bend/index.js +3 -3
- package/dist/core/shaders/Blob/index.js +3 -3
- package/dist/core/shaders/BlockDissolve/index.js +3 -3
- package/dist/core/shaders/BlockNoise/index.js +4 -4
- package/dist/core/shaders/BlueNoise/index.js +4 -4
- package/dist/core/shaders/Blur/index.js +3 -3
- package/dist/core/shaders/Boids/index.js +3 -3
- package/dist/core/shaders/BokehBlur/index.js +3 -3
- package/dist/core/shaders/BrickPattern/index.js +3 -3
- package/dist/core/shaders/BrightnessContrast/index.js +3 -3
- package/dist/core/shaders/BrushedMetal/index.js +5 -5
- package/dist/core/shaders/Bulge/index.js +3 -3
- package/dist/core/shaders/CRTScreen/index.js +3 -3
- package/dist/core/shaders/CarbonFiber/index.js +5 -5
- package/dist/core/shaders/Chalkboard/index.js +3 -3
- package/dist/core/shaders/ChannelBlur/index.js +3 -3
- package/dist/core/shaders/CheckerWipe/index.js +3 -3
- package/dist/core/shaders/Checkerboard/index.js +3 -3
- package/dist/core/shaders/Chevron/index.js +3 -3
- package/dist/core/shaders/ChromaFlow/index.js +3 -3
- package/dist/core/shaders/ChromaticAberration/index.js +3 -3
- package/dist/core/shaders/Circle/index.js +3 -3
- package/dist/core/shaders/ColorWheel/index.js +3 -3
- package/dist/core/shaders/CompressionArtifacts/index.js +3 -3
- package/dist/core/shaders/ConcentricSpin/index.js +3 -3
- package/dist/core/shaders/ConicGradient/index.js +3 -3
- package/dist/core/shaders/ContourLines/index.js +3 -3
- package/dist/core/shaders/CornerPin/index.js +3 -3
- package/dist/core/shaders/Crescent/index.js +3 -3
- package/dist/core/shaders/Cross/index.js +3 -3
- package/dist/core/shaders/Crystal/index.js +5 -5
- package/dist/core/shaders/CurlNoise/index.js +4 -4
- package/dist/core/shaders/CursorRipples/index.js +3 -3
- package/dist/core/shaders/CursorTrail/index.js +3 -3
- package/dist/core/shaders/DataMosh/index.js +3 -3
- package/dist/core/shaders/DiamondGradient/index.js +3 -3
- package/dist/core/shaders/DiamondWipe/index.js +3 -3
- package/dist/core/shaders/DiffuseBlur/index.js +3 -3
- package/dist/core/shaders/DisplacementMap/index.js +3 -3
- package/dist/core/shaders/Dither/index.js +3 -3
- package/dist/core/shaders/DotGrid/index.js +3 -3
- package/dist/core/shaders/DropShadow/index.js +3 -3
- package/dist/core/shaders/Duotone/index.js +3 -3
- package/dist/core/shaders/Ellipse/index.js +3 -3
- package/dist/core/shaders/Emboss/index.js +5 -5
- package/dist/core/shaders/Engraving/index.js +3 -3
- package/dist/core/shaders/ErosionNoise/index.js +4 -4
- package/dist/core/shaders/Exposure/index.js +3 -3
- package/dist/core/shaders/FallingLines/index.js +3 -3
- package/dist/core/shaders/FilmGrain/index.js +3 -3
- package/dist/core/shaders/FilmStock/index.js +3 -3
- package/dist/core/shaders/Flip/index.js +3 -3
- package/dist/core/shaders/FloatingParticles/index.js +3 -3
- package/dist/core/shaders/FlowField/index.js +3 -3
- package/dist/core/shaders/Flower/index.js +3 -3
- package/dist/core/shaders/FlowingGradient/index.js +3 -3
- package/dist/core/shaders/FlutedGlass/index.js +3 -3
- package/dist/core/shaders/Fog/index.js +3 -3
- package/dist/core/shaders/Form3D/index.js +3 -3
- package/dist/core/shaders/FractalNoise/index.js +3 -3
- package/dist/core/shaders/Frost/index.js +5 -5
- package/dist/core/shaders/GaborNoise/index.js +4 -4
- package/dist/core/shaders/Glass/index.js +5 -5
- package/dist/core/shaders/GlassTiles/index.d.ts.map +1 -1
- package/dist/core/shaders/GlassTiles/index.js +3 -3
- package/dist/core/shaders/Glitch/index.js +3 -3
- package/dist/core/shaders/Glow/index.js +3 -3
- package/dist/core/shaders/Godrays/index.js +3 -3
- package/dist/core/shaders/Goo/index.js +5 -5
- package/dist/core/shaders/GradientMap/index.js +3 -3
- package/dist/core/shaders/Grayscale/index.js +3 -3
- package/dist/core/shaders/Grid/index.js +3 -3
- package/dist/core/shaders/GridDistortion/index.js +3 -3
- package/dist/core/shaders/Group/index.js +3 -3
- package/dist/core/shaders/HTMLInCanvas/index.js +3 -3
- package/dist/core/shaders/Halftone/index.js +3 -3
- package/dist/core/shaders/Heart/index.js +3 -3
- package/dist/core/shaders/Heatmap/index.js +5 -5
- package/dist/core/shaders/HexGrid/index.js +3 -3
- package/dist/core/shaders/Hologram/index.js +5 -5
- package/dist/core/shaders/Holographic/index.js +5 -5
- package/dist/core/shaders/HueShift/index.js +3 -3
- package/dist/core/shaders/ImageTexture/index.js +3 -3
- package/dist/core/shaders/InkFlow/index.js +3 -3
- package/dist/core/shaders/Invert/index.js +3 -3
- package/dist/core/shaders/IrisWipe/index.js +3 -3
- package/dist/core/shaders/IsometricCubes/index.js +3 -3
- package/dist/core/shaders/Kaleidoscope/index.js +3 -3
- package/dist/core/shaders/KeyFrames/index.js +3 -3
- package/dist/core/shaders/LensFlare/index.js +3 -3
- package/dist/core/shaders/LightEdge/index.js +5 -5
- package/dist/core/shaders/LightLeak/index.js +3 -3
- package/dist/core/shaders/LinearBlur/index.js +3 -3
- package/dist/core/shaders/LinearGradient/index.js +3 -3
- package/dist/core/shaders/LinearWipe/index.js +3 -3
- package/dist/core/shaders/LiquidMetal/index.js +5 -5
- package/dist/core/shaders/Liquify/index.js +3 -3
- package/dist/core/shaders/MagneticFilings/index.js +3 -3
- package/dist/core/shaders/Marble/index.js +3 -3
- package/dist/core/shaders/Mirror/index.js +3 -3
- package/dist/core/shaders/MultiPointGradient/index.js +3 -3
- package/dist/core/shaders/Neon/index.js +4 -4
- package/dist/core/shaders/NoiseDissolve/index.js +3 -3
- package/dist/core/shaders/ObjectTracker/index.js +3 -3
- package/dist/core/shaders/PagePeel/index.js +3 -3
- package/dist/core/shaders/Paper/index.js +3 -3
- package/dist/core/shaders/Parallelogram/index.js +3 -3
- package/dist/core/shaders/ParticleField/index.js +3 -3
- package/dist/core/shaders/ParticleFlow/index.js +3 -3
- package/dist/core/shaders/Particles/index.js +4 -4
- package/dist/core/shaders/PerlinNoise/index.js +4 -4
- package/dist/core/shaders/Perspective/index.js +3 -3
- package/dist/core/shaders/PixelSort/index.js +3 -3
- package/dist/core/shaders/PixelThrow/index.js +3 -3
- package/dist/core/shaders/Pixelate/index.js +3 -3
- package/dist/core/shaders/Plasma/index.js +3 -3
- package/dist/core/shaders/Plastic/index.js +5 -5
- package/dist/core/shaders/PolarCoordinates/index.js +3 -3
- package/dist/core/shaders/Polygon/index.js +3 -3
- package/dist/core/shaders/Posterize/index.js +3 -3
- package/dist/core/shaders/Prism/index.js +3 -3
- package/dist/core/shaders/ProgressiveBlur/index.js +3 -3
- package/dist/core/shaders/RadialGradient/index.js +3 -3
- package/dist/core/shaders/RadialWipe/index.js +3 -3
- package/dist/core/shaders/RandomBars/index.js +3 -3
- package/dist/core/shaders/ReactionDiffusion/index.js +3 -3
- package/dist/core/shaders/RectangularCoordinates/index.js +3 -3
- package/dist/core/shaders/ReflectivePlane/index.js +3 -3
- package/dist/core/shaders/Repeater/index.js +3 -3
- package/dist/core/shaders/Ring/index.js +3 -3
- package/dist/core/shaders/RippleWipe/index.js +3 -3
- package/dist/core/shaders/Ripples/index.js +3 -3
- package/dist/core/shaders/RoundedRect/index.js +3 -3
- package/dist/core/shaders/Saturation/index.js +3 -3
- package/dist/core/shaders/Scratches/index.js +4 -4
- package/dist/core/shaders/Sharpness/index.js +3 -3
- package/dist/core/shaders/Shatter/index.js +3 -3
- package/dist/core/shaders/SimplexNoise/index.js +3 -3
- package/dist/core/shaders/SineWave/index.js +3 -3
- package/dist/core/shaders/SliceWipe/index.js +3 -3
- package/dist/core/shaders/Smoke/index.js +3 -3
- package/dist/core/shaders/SmokeFill/index.js +5 -5
- package/dist/core/shaders/SmokeFlow/index.js +3 -3
- package/dist/core/shaders/Solarize/index.js +3 -3
- package/dist/core/shaders/Spherize/index.d.ts.map +1 -1
- package/dist/core/shaders/Spherize/index.js +3 -3
- package/dist/core/shaders/Spiral/index.js +3 -3
- package/dist/core/shaders/Star/index.js +3 -3
- package/dist/core/shaders/Stone/index.js +2 -2
- package/dist/core/shaders/Strands/index.js +3 -3
- package/dist/core/shaders/Stretch/index.js +3 -3
- package/dist/core/shaders/Stripes/index.js +3 -3
- package/dist/core/shaders/StudioBackground/index.js +3 -3
- package/dist/core/shaders/SunBurst/index.js +3 -3
- package/dist/core/shaders/Surface3D/index.js +3 -3
- package/dist/core/shaders/Swirl/index.js +3 -3
- package/dist/core/shaders/Teardrop/index.js +3 -3
- package/dist/core/shaders/Text/index.d.ts.map +1 -1
- package/dist/core/shaders/Text/index.js +3 -3
- package/dist/core/shaders/ThinFilm/index.js +4 -4
- package/dist/core/shaders/TiltShift/index.js +3 -3
- package/dist/core/shaders/TimeTrail/index.js +3 -3
- package/dist/core/shaders/Tint/index.js +3 -3
- package/dist/core/shaders/Trapezoid/index.js +3 -3
- package/dist/core/shaders/TriangularGrid/index.js +3 -3
- package/dist/core/shaders/Tritone/index.js +3 -3
- package/dist/core/shaders/Truchet/index.js +3 -3
- package/dist/core/shaders/Twirl/index.js +3 -3
- package/dist/core/shaders/VHS/index.js +3 -3
- package/dist/core/shaders/VenetianBlinds/index.js +3 -3
- package/dist/core/shaders/Vesica/index.js +3 -3
- package/dist/core/shaders/Vibrance/index.js +3 -3
- package/dist/core/shaders/VideoTexture/index.js +3 -3
- package/dist/core/shaders/Vignette/index.js +3 -3
- package/dist/core/shaders/Voronoi/index.js +3 -3
- package/dist/core/shaders/Water/index.js +5 -5
- package/dist/core/shaders/Watercolor/index.js +3 -3
- package/dist/core/shaders/WaveDistortion/index.js +3 -3
- package/dist/core/shaders/WaveletNoise/index.js +4 -4
- package/dist/core/shaders/Weave/index.js +3 -3
- package/dist/core/shaders/WebcamTexture/index.js +3 -3
- package/dist/core/shaders/Wool/index.js +2 -2
- package/dist/core/shaders/WorleyNoise/index.js +3 -3
- package/dist/core/shaders/ZoomBlur/index.js +3 -3
- package/dist/core/{shapeEffectBounds-DIjA_-15.js → shapeEffectBounds-Cl58vRlg.js} +1 -1
- package/dist/core/utilities/boundingBox.d.ts +14 -0
- package/dist/core/utilities/boundingBox.d.ts.map +1 -1
- package/dist/js/bundle.js +151 -151
- package/dist/js/createShader.js +1 -1
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +152 -152
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/svelte/index.js +1 -1
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/package.json +1 -1
- package/dist/core/shaderRegistry-QNzuz_fH.js +0 -425
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/* shaders@3.0.
|
|
2
|
+
/* shaders@3.0.445 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.445"),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,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Kt as floatE, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var rawWeights = Array.from({ length: 32 }, (_, i) => {
|
|
4
4
|
const t = (i / 31 - .5) * 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ShapeMask, F as sdf_exports, Ht as call, I as shapeLocalCoords, Jt as vec4, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu, w as arcSdf } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var APERTURE_TO_HALF_ANGLE = .008726646259971648;
|
|
4
4
|
const arcShape = tgpu.fn([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var ATLAS_TEXTURE_SIZE = 2048;
|
|
4
4
|
var REFERENCE_HEIGHT = 1080;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Tn as d, dt as mxNoiseFloat3, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu, pt as noise_exports } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.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 {
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Lt as sampleRemappedExpr, Tn as d, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { r as transformAngle, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.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";
|
|
@@ -730,7 +730,7 @@ const componentDefinition = {
|
|
|
730
730
|
const texture = convertToTexture(childNode);
|
|
731
731
|
const edgeMode = propValues.edges ?? 0;
|
|
732
732
|
const t = animatedTime(params);
|
|
733
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
733
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, call(barShiftUV, "barShiftUV", [
|
|
734
734
|
uniforms.count,
|
|
735
735
|
uniforms.angle,
|
|
736
736
|
uniforms.intensity,
|
|
@@ -738,7 +738,7 @@ const componentDefinition = {
|
|
|
738
738
|
t,
|
|
739
739
|
ctx.uv,
|
|
740
740
|
ctx.aspect
|
|
741
|
-
]),
|
|
741
|
+
]), edgeMode)]);
|
|
742
742
|
},
|
|
743
743
|
uvRemap: (ctx) => {
|
|
744
744
|
const edgeMode = ctx.propValues.edges ?? 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const barnDoorsMask = tgpu.fn([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Tn as d, _n as mixPreconvertedLinear, hn as mixColorsLinear, n as tgpu, un as convertP3ToMixSpaceCPU, vn as mixPreconvertedVariants } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const beamField = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Lt as sampleRemappedExpr, Tn as d, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
var CAMERA_D = 2;
|
|
@@ -825,13 +825,13 @@ const componentDefinition = {
|
|
|
825
825
|
}
|
|
826
826
|
const texture = convertToTexture(childNode);
|
|
827
827
|
const edgeMode = propValues.edges ?? 0;
|
|
828
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
828
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, call(bendRemap, "bendRemap", [
|
|
829
829
|
uniforms.strength,
|
|
830
830
|
uniforms.falloff,
|
|
831
831
|
uniforms.angle,
|
|
832
832
|
ctx.uv,
|
|
833
833
|
ctx.aspect
|
|
834
|
-
]),
|
|
834
|
+
]), edgeMode)]);
|
|
835
835
|
},
|
|
836
836
|
uvRemap: ({ uv, mask, uniforms, aspect, propValues }) => {
|
|
837
837
|
const edgeMode = propValues.edges ?? 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Et as mixColorStopsRuntime, Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
const blobOrganicRadius = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu, pt as noise_exports, st as hash12 } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const blockDissolveMask = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
@@ -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 { Ht as call, J as std, Tn as d, bt as value13, et as toneAndColorExpr, n as tgpu, pt as noise_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-CY6QVFgB.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 { Ht as call, J as std, Tn as d, et as toneAndColorExpr, n as tgpu, pt as noise_exports, tt as blue12 } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-CY6QVFgB.js";
|
|
3
3
|
const blueNoiseField = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std,
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, K as createGaussianBlurCompute, Tn as d, U as BLUR_MAP_FORMAT, X as createGuardedCompute, cn as unpremultiplyAlpha, n as tgpu, q as createVariableGaussianBlurCompute } from "./coords-BkIjixe_.js";
|
|
2
2
|
const INTENSITY_TO_RADIUS = .36;
|
|
3
3
|
const intensityToRadius = (intensity) => intensity * INTENSITY_TO_RADIUS;
|
|
4
4
|
function fillMapParams() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as std,
|
|
1
|
+
import { Bt as ZERO, J as std, Tn as d, X as createGuardedCompute, Z as createStateBuffer, c as orientedShapeOptions, gn as mixColorsVariants, hn as mixColorsLinear, lt as hash33, n as tgpu, ot as hash11, pt as noise_exports, r as AGENT_SHAPES, s as makeAgentWeightFn, u as resolveAgentShape } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var MAX_AGENTS = 4096;
|
|
4
4
|
var RES = 1024;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, G as DEFAULT_COMPUTE_WIDTH, Ht as call, J as std, Tn as d, W as DEFAULT_COMPUTE_HEIGHT, X as createGuardedCompute, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { r as transformAngle } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var GOLDEN_ANGLE = Math.PI * (3 - Math.sqrt(5));
|
|
4
4
|
var TWO_PI = Math.PI * 2;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.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-
|
|
1
|
+
import { F as sdf_exports, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, n as tgpu, pt as noise_exports, ut as mxNoiseFloat2, y as sdf3d_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-sOqjtPJD.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
4
|
-
import { t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
4
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-Cl58vRlg.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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Lt as sampleRemappedExpr, Tn as d, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { c as transformPosition, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const bulgeUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -432,14 +432,14 @@ const componentDefinition = {
|
|
|
432
432
|
}
|
|
433
433
|
const texture = convertToTexture(childNode);
|
|
434
434
|
const edgeMode = propValues.edges ?? 0;
|
|
435
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
435
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, call(bulgeUV, "bulgeUV", [
|
|
436
436
|
uniforms.center,
|
|
437
437
|
uniforms.strength,
|
|
438
438
|
uniforms.radius,
|
|
439
439
|
uniforms.falloff,
|
|
440
440
|
ctx.uv,
|
|
441
441
|
ctx.aspect
|
|
442
|
-
]),
|
|
442
|
+
]), edgeMode)]);
|
|
443
443
|
},
|
|
444
444
|
uvRemap: ({ uv, mask, uniforms, aspect, propValues }) => {
|
|
445
445
|
const edgeMode = propValues.edges ?? 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Kt as floatE, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.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-
|
|
1
|
+
import { F as sdf_exports, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, n as tgpu, pt as noise_exports, ut as mxNoiseFloat2, y as sdf3d_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-sOqjtPJD.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
4
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-Cl58vRlg.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,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var SIN_045 = Math.sin(.785);
|
|
4
4
|
var COS_045 = Math.cos(.785);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std, K as createGaussianBlurCompute,
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, K as createGaussianBlurCompute, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
const INTENSITY_TO_RADIUS = .1;
|
|
3
3
|
const channelIntensityToRadius = (intensity) => intensity * INTENSITY_TO_RADIUS;
|
|
4
4
|
const channelBlurCompose = tgpu.fn([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const checkerWipeMask = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const checkerCoord = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu, qt as mixExpr } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const chevronMask = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as toHalfFloat, Ht as call, J as std, Kt as floatE, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var GRID_SIZE = 128;
|
|
4
4
|
var num = (v, f) => typeof v === "number" ? v : f;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std,
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { r as transformAngle } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const chromaticOffsetUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ShapeMask, F as sdf_exports, Ht as call, Jt as vec4, R as strokeMaskFromSdf, T as circleSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const circleShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const colorWheelT = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std,
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Tn as d, X as createGuardedCompute, cn as unpremultiplyAlpha, n as tgpu, sn as blend_exports } from "./coords-BkIjixe_.js";
|
|
2
2
|
var LUMA_QUANT = [
|
|
3
3
|
16,
|
|
4
4
|
11,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Lt as sampleRemappedExpr, Tn as d, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { c as transformPosition, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.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) => {
|
|
@@ -904,7 +904,7 @@ const componentDefinition = {
|
|
|
904
904
|
const texture = convertToTexture(childNode);
|
|
905
905
|
const edgeMode = propValues.edges ?? 0;
|
|
906
906
|
const t = animatedTime(params);
|
|
907
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
907
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, call(concentricSpinUV, "concentricSpinUV", [
|
|
908
908
|
uniforms.center,
|
|
909
909
|
uniforms.intensity,
|
|
910
910
|
uniforms.rings,
|
|
@@ -914,7 +914,7 @@ const componentDefinition = {
|
|
|
914
914
|
t,
|
|
915
915
|
ctx.uv,
|
|
916
916
|
ctx.aspect
|
|
917
|
-
]),
|
|
917
|
+
]), edgeMode)]);
|
|
918
918
|
},
|
|
919
919
|
uvRemap: (ctx) => {
|
|
920
920
|
const edgeMode = ctx.propValues.edges ?? 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Et as mixColorStopsRuntime, Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var TAU = 6.283185307179586;
|
|
5
5
|
var INV_360 = 1 / 360;
|
|
6
6
|
const conicFinalT = tgpu.fn([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var transformSource = (value) => value === "alpha" ? 1 : 0;
|
|
4
4
|
var transformColorMode = (value) => value === "custom" ? 1 : 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Lt as sampleRemappedExpr, Tn as d, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { c as transformPosition, s as transformEdges } from "./transformations-t0d2-uSX.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) => {
|
|
@@ -1921,7 +1921,7 @@ const componentDefinition = {
|
|
|
1921
1921
|
uniforms.bottomLeft
|
|
1922
1922
|
]);
|
|
1923
1923
|
const front = packed.member("z");
|
|
1924
|
-
const edged =
|
|
1924
|
+
const edged = sampleRemappedExpr(texture, packed.member("xy"), edgeMode);
|
|
1925
1925
|
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [vec4(edged.member("rgb"), edged.member("a").mul(front))]);
|
|
1926
1926
|
},
|
|
1927
1927
|
uvRemap: ({ uv, mask, uniforms, propValues }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ShapeMask, E as crescentSdf, F as sdf_exports, Ht as call, I as shapeLocalCoords, Jt as vec4, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const crescentShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ShapeMask, D as crossSdf, F as sdf_exports, Ht as call, I as shapeLocalCoords, Jt as vec4, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const crossShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
1
|
+
import { Bt as ZERO, F as sdf_exports, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, ft as mxWorleyNoiseFloat2Pub, n as tgpu, pt as noise_exports, sn as blend_exports, y as sdf3d_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-sOqjtPJD.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition, i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
4
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-Cl58vRlg.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 { Ht as call, J as std, Tn as d, et as toneAndColorExpr, n as tgpu, pt as noise_exports, rt as curl22z } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-CY6QVFgB.js";
|
|
4
4
|
const curlNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as ZERO, Gt as expr, Ht as call, J as std, Jt as vec4, Tn as d, X as createGuardedCompute, Z as createStateBuffer, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var GRID_SIZE = 128;
|
|
4
4
|
var CELL_COUNT = GRID_SIZE * GRID_SIZE;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Et as mixColorStopsRuntime, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, X as createGuardedCompute, Z as createStateBuffer, ln as colorMixing_exports, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-Bl3WB9VW.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 { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, X as createGuardedCompute, cn as unpremultiplyAlpha, n as tgpu, qt as mixExpr } from "./coords-BkIjixe_.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 {
|
|
1
|
+
import { Et as mixColorStopsRuntime, Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var DEG_TO_RAD = .017453292519943295;
|
|
5
5
|
const diamondFinalT = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const diamondWipeMask = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as ZERO, Ht as call, J as std, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const diffuseBlurUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Lt as sampleRemappedExpr, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const dmDisplaceRG = tgpu.fn([
|
|
@@ -518,7 +518,7 @@ const componentDefinition = {
|
|
|
518
518
|
if (!source) return call(unpremultiplyAlpha, "unpremultiplyAlpha", [texture.sample(ctx.uv)]);
|
|
519
519
|
const edgeMode = propValues.edges ?? 0;
|
|
520
520
|
const src = source.sample(ctx.uv);
|
|
521
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
521
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, channelModeOf(propValues.channelMode) === 1 ? call(dmDisplaceLuminance, "dmDisplaceLuminance", [
|
|
522
522
|
ctx.uv,
|
|
523
523
|
src,
|
|
524
524
|
ctx.aspect,
|
|
@@ -529,7 +529,7 @@ const componentDefinition = {
|
|
|
529
529
|
src,
|
|
530
530
|
ctx.aspect,
|
|
531
531
|
uniforms.amount
|
|
532
|
-
]),
|
|
532
|
+
]), edgeMode)]);
|
|
533
533
|
}
|
|
534
534
|
};
|
|
535
535
|
var DisplacementMap_default = componentDefinition;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Kt as floatE, Tn as d, Vt as arrayExpr, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var transformPattern = (value) => {
|
|
4
4
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
const dotGridCellCenterUV = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = .017453292519943295;
|
|
4
4
|
var WEIGHTS = [
|