shaders 3.0.443 → 3.0.444
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-CJsRS1Ri.js → AngularBlur-D-tt4pvi.js} +2 -2
- package/dist/core/{Arc-CNesL3S9.js → Arc-DrBTn2ft.js} +2 -2
- package/dist/core/{Ascii-z7til0PQ.js → Ascii-cHzx_Cgc.js} +2 -2
- package/dist/core/{Aurora-BAuYUYGc.js → Aurora-15z76vsc.js} +3 -3
- package/dist/core/{BarShift-qVwbTMcq.js → BarShift-s7HgQwz5.js} +3 -3
- package/dist/core/{BarnDoors-DrOAeSqj.js → BarnDoors-CBzse00V.js} +2 -2
- package/dist/core/{Beam-BW6yblZw.js → Beam-DZgWUuTC.js} +2 -2
- package/dist/core/{Bend-B7PMQ3T5.js → Bend-CHTYK8SA.js} +2 -2
- package/dist/core/{Blob-CRJ5N0hK.js → Blob-A8bKkEG1.js} +3 -3
- package/dist/core/{BlockDissolve-D-6Wy66g.js → BlockDissolve-Bb4aDV5s.js} +2 -2
- package/dist/core/{BlockNoise-Ct9Fae_7.js → BlockNoise-BnnsS95j.js} +3 -3
- package/dist/core/{BlueNoise-Cu7rJuP0.js → BlueNoise-DTOarEL0.js} +2 -2
- package/dist/core/{Blur-BrdVVSPq.js → Blur-DEwHcGOu.js} +1 -1
- package/dist/core/{Boids-DIzUaLGM.js → Boids-BWJXVflR.js} +2 -2
- package/dist/core/{BokehBlur-yYb03spN.js → BokehBlur-pQJN6FFd.js} +2 -2
- package/dist/core/{BrickPattern-BL_MOS_A.js → BrickPattern-Kwmx3pdx.js} +3 -3
- package/dist/core/{BrightnessContrast-CiKimIcA.js → BrightnessContrast-CAkwN3s1.js} +1 -1
- package/dist/core/{BrushedMetal-dvYjizvg.js → BrushedMetal-B4qfaTCf.js} +5 -5
- package/dist/core/{Bulge-CogpoPKe.js → Bulge-CLBhicOs.js} +2 -2
- package/dist/core/{CRTScreen-X64EnHMB.js → CRTScreen-Cj2H2mXK.js} +1 -1
- package/dist/core/{CarbonFiber-CTy3P-Qk.js → CarbonFiber-zA6_ZDg8.js} +4 -4
- package/dist/core/{Chalkboard-CnHUOHtc.js → Chalkboard-DwkX3ZL3.js} +2 -2
- package/dist/core/{ChannelBlur-MwnpNLSZ.js → ChannelBlur-KHDU8WCn.js} +1 -1
- package/dist/core/{CheckerWipe-CCNc70ye.js → CheckerWipe-CNlqWp0y.js} +2 -2
- package/dist/core/{Checkerboard-C97ZiLyQ.js → Checkerboard-CvP8BKcu.js} +2 -2
- package/dist/core/{Chevron-ABT6D1wM.js → Chevron-BFmKhIws.js} +3 -3
- package/dist/core/{ChromaFlow-7tJQEFm9.js → ChromaFlow-C8I4PtcP.js} +2 -2
- package/dist/core/{ChromaticAberration-D7-fxyEd.js → ChromaticAberration-CGPfHEFI.js} +2 -2
- package/dist/core/{Circle-I0DIAypS.js → Circle-ChmepdP_.js} +2 -2
- package/dist/core/{ColorWheel-CEqzzrN-.js → ColorWheel-D5V4ozig.js} +3 -3
- package/dist/core/{CompressionArtifacts-C24nRoC3.js → CompressionArtifacts--GdHELg8.js} +1 -1
- package/dist/core/{ConcentricSpin-CAu-PGNH.js → ConcentricSpin-DIWQ80K5.js} +3 -3
- package/dist/core/{ConicGradient-n12K5TLj.js → ConicGradient-DjMQDAT6.js} +3 -3
- package/dist/core/{ContourLines-FOStIWDr.js → ContourLines-Pq1zDmlf.js} +2 -2
- package/dist/core/{CornerPin-DsUVMFcX.js → CornerPin-C-x2z8H5.js} +2 -2
- package/dist/core/{Crescent-9i_5WPA-.js → Crescent-C6COUHa5.js} +2 -2
- package/dist/core/{Cross-HiA69xGL.js → Cross-Cgw13Sga.js} +2 -2
- package/dist/core/{Crystal-BBjEm9m4.js → Crystal-RnN4Y5Tf.js} +4 -4
- package/dist/core/{CurlNoise-1jifziI0.js → CurlNoise-jaIscgOF.js} +3 -3
- package/dist/core/{CursorRipples-D4agAYHK.js → CursorRipples-Gv0B1S-h.js} +2 -2
- package/dist/core/{CursorTrail-C-FrY0e2.js → CursorTrail-BMHsUYwx.js} +3 -3
- package/dist/core/{DataMosh-DXcM1I4Y.js → DataMosh-CaqYFxYA.js} +1 -1
- package/dist/core/{DiamondGradient-CQ5jeKEc.js → DiamondGradient-D388xLbc.js} +3 -3
- package/dist/core/{DiamondWipe-B1EXgweH.js → DiamondWipe-BRXj3gon.js} +2 -2
- package/dist/core/{DiffuseBlur-CmD97dHb.js → DiffuseBlur-CM5Qy5JM.js} +2 -2
- package/dist/core/{DisplacementMap-JV_CNJfU.js → DisplacementMap-Cr1fauBv.js} +2 -2
- package/dist/core/{Dither-NJDWpGb3.js → Dither-CubXhMES.js} +2 -2
- package/dist/core/{DotGrid-B2w7RFcv.js → DotGrid-D6We1dqv.js} +3 -3
- package/dist/core/{DropShadow-CLWp-bon.js → DropShadow-C8v9KJgy.js} +2 -2
- package/dist/core/{Duotone-Be2jx-jZ.js → Duotone-BfVi04d4.js} +2 -2
- package/dist/core/{Ellipse-BR6qXidK.js → Ellipse-fTV0CAVg.js} +2 -2
- package/dist/core/{Emboss-C8ElxLo3.js → Emboss-BNhsz2v0.js} +4 -4
- package/dist/core/{Engraving-D67DM--1.js → Engraving-DYTr1YbV.js} +2 -2
- package/dist/core/{ErosionNoise-FeEMQOkR.js → ErosionNoise-CxsXwPPE.js} +2 -2
- package/dist/core/{Exposure-CZ1gfqpf.js → Exposure-DISAOzQ5.js} +1 -1
- package/dist/core/{FallingLines-ifuQ01oA.js → FallingLines-DBGk9U7l.js} +3 -3
- package/dist/core/{FilmGrain-p5sawa_f.js → FilmGrain-Ban-r5as.js} +1 -1
- package/dist/core/{FilmStock-BD5wv1TV.js → FilmStock-BlOwC5zb.js} +1 -1
- package/dist/core/{Flip-MKiLH9jJ.js → Flip-CAt9CFWn.js} +2 -2
- package/dist/core/{FloatingParticles-Bn8CmtwG.js → FloatingParticles-Cppgg6I0.js} +2 -2
- package/dist/core/{FlowField-BdFeRmif.js → FlowField-b0PcB7MV.js} +3 -3
- package/dist/core/{Flower-BwDBwcSk.js → Flower-iLK4UwZa.js} +2 -2
- package/dist/core/{FlowingGradient-RYOS36eB.js → FlowingGradient-CZc_z9cL.js} +3 -3
- package/dist/core/{FlutedGlass-Ong8W4Ih.js → FlutedGlass-DMl2A42x.js} +3 -3
- package/dist/core/{Fog-C-X8msRb.js → Fog-BBc52yrL.js} +2 -2
- package/dist/core/{Form3D-BZ_vaLWe.js → Form3D-BqMINp_g.js} +3 -3
- package/dist/core/{FractalNoise-BPj8RPkE.js → FractalNoise-BjGa9I7_.js} +3 -3
- package/dist/core/{Frost-DmxlFu63.js → Frost-ttMO1uGc.js} +5 -5
- package/dist/core/{GaborNoise-Boc8ieHd.js → GaborNoise-CSC24alr.js} +3 -3
- package/dist/core/{Glass-D5p21MIw.js → Glass-DHkb-2UB.js} +4 -4
- package/dist/core/{GlassTiles-BP4CzdI3.js → GlassTiles-CTSmg7gD.js} +1 -1
- package/dist/core/{Glitch-cJguD7jS.js → Glitch-O5FZxlBV.js} +1 -1
- package/dist/core/{Glow-BabfcnwS.js → Glow-Cj9SzOqq.js} +1 -1
- package/dist/core/{Godrays-BpiKSlNR.js → Godrays-XW1fNiSU.js} +3 -3
- package/dist/core/{Goo-BaQEtOyr.js → Goo-Bc43zAec.js} +5 -5
- package/dist/core/{GradientMap-BtKtW-4M.js → GradientMap-BxSv1OOf.js} +2 -2
- package/dist/core/{Grayscale-Bgwugyvv.js → Grayscale-CNM0GlQN.js} +1 -1
- package/dist/core/{Grid-5cEDkyWX.js → Grid-reIQAyFU.js} +2 -2
- package/dist/core/{GridDistortion-Byf4G720.js → GridDistortion-tJym6OIr.js} +2 -2
- package/dist/core/{Group-DUEQSUir.js → Group-8iAuPA0-.js} +1 -1
- package/dist/core/{HTMLInCanvas-uW1O3Z-R.js → HTMLInCanvas-CAHfLRAz.js} +1 -1
- package/dist/core/{Halftone-BiSLVvGF.js → Halftone-Dlk16PsH.js} +2 -2
- package/dist/core/{Heart-RAGeVEVH.js → Heart-C3Uas8c_.js} +2 -2
- package/dist/core/{Heatmap-Ds65scO7.js → Heatmap-CE7IB_4g.js} +5 -5
- package/dist/core/{HexGrid-H1N5Y1XD.js → HexGrid-BiXYpVNp.js} +2 -2
- package/dist/core/{Hologram-DpDfyeSz.js → Hologram-BjKBncw8.js} +5 -5
- package/dist/core/{Holographic-Ckubuqn8.js → Holographic-CCTmTYXb.js} +5 -5
- package/dist/core/{HueShift-C_a5UVHy.js → HueShift-CE5RgaBc.js} +1 -1
- package/dist/core/{ImageTexture-CM-dPJQ4.js → ImageTexture-BrjlwuWY.js} +1 -1
- package/dist/core/{InkFlow-CY7sCKpI.js → InkFlow-DS92HgM9.js} +2 -2
- package/dist/core/{Invert-DhHrtwHQ.js → Invert-e1Z9IfPo.js} +1 -1
- package/dist/core/{IrisWipe-BnOMUdEV.js → IrisWipe-CCK_EamC.js} +2 -2
- package/dist/core/{IsometricCubes-CXPz62PB.js → IsometricCubes-BA-cN4bC.js} +2 -2
- package/dist/core/{Kaleidoscope-CSgi0E5B.js → Kaleidoscope-Cin7yxd7.js} +2 -2
- package/dist/core/{KeyFrames-C3I4poq8.js → KeyFrames-D4-678xR.js} +2 -2
- package/dist/core/{LensFlare-DxvbKXgt.js → LensFlare-UNNiSfiz.js} +3 -3
- package/dist/core/{LightEdge-niXz_FAk.js → LightEdge-GUFdnqjh.js} +5 -5
- package/dist/core/{LightLeak-B7Pt1tt4.js → LightLeak-DWv0ec7B.js} +3 -3
- package/dist/core/{LinearBlur-CXNcduWQ.js → LinearBlur-DBKjOKVV.js} +2 -2
- package/dist/core/{LinearGradient-CYiaWIXd.js → LinearGradient--Vy79Fs_.js} +3 -3
- package/dist/core/{LinearWipe-gwLhEveK.js → LinearWipe-PZcYib77.js} +2 -2
- package/dist/core/{LiquidMetal-D0sgLjcd.js → LiquidMetal-cUxfJdju.js} +5 -5
- package/dist/core/{Liquify-h08a8S-C.js → Liquify-B1o-_MJZ.js} +2 -2
- package/dist/core/{MagneticFilings-BlNWPVwS.js → MagneticFilings-B1Qvnw6t.js} +2 -2
- package/dist/core/{Marble-bps2lOWc.js → Marble-CD5fqEce.js} +3 -3
- package/dist/core/{Mirror-8miSUAyZ.js → Mirror-QJoYnzu6.js} +2 -2
- package/dist/core/{MultiPointGradient-C-9_Q6CM.js → MultiPointGradient-CLRPS8u7.js} +2 -2
- package/dist/core/{Neon-RDh1tAjH.js → Neon-DAPbLlBN.js} +4 -4
- package/dist/core/{NoiseDissolve-DjlWGdUc.js → NoiseDissolve-jdMIvdYS.js} +2 -2
- package/dist/core/{ObjectTracker-DW4aEBRv.js → ObjectTracker-BD_l_g6R.js} +3 -3
- package/dist/core/{PagePeel-JsbScYi4.js → PagePeel-YyWAE0am.js} +1 -1
- package/dist/core/{Paper-BGTU0GOF.js → Paper-DOFhG3gq.js} +1 -1
- package/dist/core/{Parallelogram-RC3MxzlN.js → Parallelogram-CKlvs9a_.js} +2 -2
- package/dist/core/{ParticleField-XypD7Eru.js → ParticleField-R--x794f.js} +1 -1
- package/dist/core/{ParticleFlow-DBw7m9C6.js → ParticleFlow-DY8g2n2d.js} +2 -2
- package/dist/core/{Particles-CvpZvfe3.js → Particles-D6-MCj-7.js} +3 -3
- package/dist/core/{PerlinNoise-CHVaarmz.js → PerlinNoise-DKBJst5k.js} +3 -3
- package/dist/core/{Perspective-zyCZAb3_.js → Perspective-DH5aV7fh.js} +2 -2
- package/dist/core/{PixelSort-B-zefB9S.js → PixelSort-DRd4GE4_.js} +1 -1
- package/dist/core/{PixelThrow-BZ6erf3G.js → PixelThrow-CRizzpOr.js} +2 -2
- package/dist/core/{Pixelate-D1e7buDQ.js → Pixelate-DgPtCErp.js} +1 -1
- package/dist/core/{Plasma-CBrx8Xu-.js → Plasma-8zXLjhIr.js} +3 -3
- package/dist/core/{Plastic-CcS4iAJM.js → Plastic-Dv-N6_Nv.js} +5 -5
- package/dist/core/{PolarCoordinates-B9SuYLgF.js → PolarCoordinates-lw0yBeJq.js} +2 -2
- package/dist/core/{Polygon-N0l1KfIO.js → Polygon-DQxmxfqr.js} +2 -2
- package/dist/core/{Posterize-u2et79Pv.js → Posterize-C4qpmou-.js} +1 -1
- package/dist/core/{Prism-BnDsPBcD.js → Prism-C0qW3WgL.js} +3 -3
- package/dist/core/{ProgressiveBlur-D9FiTJQy.js → ProgressiveBlur-C_xtFzmP.js} +2 -2
- package/dist/core/{RadialGradient-C4oB78ya.js → RadialGradient-DetBcKps.js} +3 -3
- package/dist/core/{RadialWipe-Dzb7i6wy.js → RadialWipe-Cmv05uxE.js} +2 -2
- package/dist/core/{RandomBars-DO9j43mN.js → RandomBars-CrPfWF8l.js} +2 -2
- package/dist/core/{ReactionDiffusion-DG1NSPhM.js → ReactionDiffusion-Dc_uVKMg.js} +2 -2
- package/dist/core/{RectangularCoordinates-Ck1gXdGx.js → RectangularCoordinates-C1sbpWlI.js} +2 -2
- package/dist/core/{ReflectivePlane-DFQDgLYC.js → ReflectivePlane-DyTDDfvN.js} +2 -2
- package/dist/core/{Repeater-CT35_BhW.js → Repeater-CzvIt5Gw.js} +2 -2
- package/dist/core/{Ring-DywDgKDv.js → Ring-6gd4orX0.js} +2 -2
- package/dist/core/{RippleWipe-ePWlg-DT.js → RippleWipe-BU-dDvBK.js} +2 -2
- package/dist/core/{Ripples-fTSMeqiE.js → Ripples-D7Y__Ls8.js} +3 -3
- package/dist/core/{RoundedRect-B0lxuFfM.js → RoundedRect-DMzr6z4F.js} +2 -2
- package/dist/core/{Saturation-ClaD54dk.js → Saturation-BZ5ZmmKo.js} +1 -1
- package/dist/core/{Scratches-D8ZIBZ50.js → Scratches-wRRWI1-5.js} +3 -3
- package/dist/core/{Sharpness-CsnT4s1o.js → Sharpness-BQu_GeV6.js} +1 -1
- package/dist/core/{Shatter-D_V7GBel.js → Shatter-HTHPxq07.js} +2 -2
- package/dist/core/{SimplexNoise-tI2G3Wzn.js → SimplexNoise-arMv2IxX.js} +3 -3
- package/dist/core/{SineWave-BGsYyEFg.js → SineWave-crFYxXPS.js} +3 -3
- package/dist/core/{SliceWipe-s4pWdINK.js → SliceWipe-D-Rnm4ce.js} +1 -1
- package/dist/core/{Smoke-C3SLe_rD.js → Smoke-Cyjm_hFb.js} +3 -3
- package/dist/core/{SmokeFill-BuKZtbX8.js → SmokeFill-CMBAFeM8.js} +4 -4
- package/dist/core/{SmokeFlow-5fnVH2a9.js → SmokeFlow-DfytXLC4.js} +3 -3
- package/dist/core/{Solarize-TP85IPV7.js → Solarize-BNuZoWV5.js} +1 -1
- package/dist/core/{SolidColor-16e4q89i.js → SolidColor-DB8l6xRl.js} +1 -1
- package/dist/core/{Spherize-C4qsnql6.js → Spherize-LIfupaEj.js} +2 -2
- package/dist/core/{Spiral-rPHDFACm.js → Spiral-B-Kz6zOG.js} +3 -3
- package/dist/core/{Star-BDFhZWLo.js → Star-Bxi6VOuZ.js} +2 -2
- package/dist/core/{Stone-CCXo9IgA.js → Stone-CrdhdOWf.js} +2 -2
- package/dist/core/{Strands-DCzYUsCX.js → Strands-CgOVvjKk.js} +3 -3
- package/dist/core/{Stretch-CjhYXAth.js → Stretch-CWpqkWdT.js} +2 -2
- package/dist/core/{Stripes-CN2TFWGw.js → Stripes-DnmkVdJi.js} +3 -3
- package/dist/core/{StudioBackground-I_XxtKjr.js → StudioBackground-BR7HA0ot.js} +3 -3
- package/dist/core/{SunBurst-CGQkdsXl.js → SunBurst-2tbvTvoR.js} +3 -3
- package/dist/core/{Surface3D-CpCPTs0u.js → Surface3D-BDN9t6UU.js} +2 -2
- package/dist/core/{Swirl-BCnlG3G8.js → Swirl-BO63keY-.js} +3 -3
- package/dist/core/{Teardrop-DX-YZkNC.js → Teardrop-Cj9wbWNj.js} +2 -2
- package/dist/core/{Text-oI5d7_UD.js → Text-DDpqrXsw.js} +3 -3
- package/dist/core/{ThinFilm-CEYaV4nn.js → ThinFilm-Cfx6eANY.js} +4 -4
- package/dist/core/{TiltShift-C8GluqAm.js → TiltShift-DtDGS05n.js} +2 -2
- package/dist/core/{TimeTrail-CPiSo5Of.js → TimeTrail-CH7CMyxo.js} +2 -2
- package/dist/core/{Tint-NA7BO-Qk.js → Tint-RTSV6Aiu.js} +2 -2
- package/dist/core/{Trapezoid-BOGSQvW5.js → Trapezoid-B8YUl-8U.js} +2 -2
- package/dist/core/{TriangularGrid-Zx3I4CqA.js → TriangularGrid-B_P_Bn6J.js} +3 -3
- package/dist/core/{Tritone-Bl69W4Y4.js → Tritone-zbDA_LBO.js} +2 -2
- package/dist/core/{Truchet-RJI0-v6x.js → Truchet-QdRvWfkQ.js} +2 -2
- package/dist/core/{Twirl-CrIawDs2.js → Twirl-M1ylLxnB.js} +2 -2
- package/dist/core/{VHS-B12KbScc.js → VHS-BbpH5MH8.js} +1 -1
- package/dist/core/{VenetianBlinds-CGfPlhGd.js → VenetianBlinds-DyBouRcb.js} +2 -2
- package/dist/core/{Vesica-DekjxkHL.js → Vesica-DYkOtRW9.js} +2 -2
- package/dist/core/{Vibrance-DKKduAD8.js → Vibrance-DYCb_3Vb.js} +1 -1
- package/dist/core/{VideoTexture-1xg_a680.js → VideoTexture-B5QB_7wK.js} +1 -1
- package/dist/core/{Vignette-CDRCMNb2.js → Vignette-CWNEqMe7.js} +2 -2
- package/dist/core/{Voronoi-EWj3WFqv.js → Voronoi-DJIf5qyN.js} +3 -3
- package/dist/core/{Water-BdGrOEuE.js → Water-D7FpFPfD.js} +5 -5
- package/dist/core/{Watercolor-BGIcnGZu.js → Watercolor-B4bOV2pY.js} +2 -2
- package/dist/core/{WaveDistortion-BNlrOaur.js → WaveDistortion-C9K0iLOy.js} +3 -3
- package/dist/core/{WaveletNoise-Jv-694xX.js → WaveletNoise-MxVl5SGH.js} +3 -3
- package/dist/core/{Weave-HNS6xvOs.js → Weave-DMvmkoDF.js} +2 -2
- package/dist/core/{WebcamTexture-DVKxGpWI.js → WebcamTexture-ylP8AAV1.js} +3 -2
- package/dist/core/{Wool-D7uM0JRs.js → Wool-DKuYNXvU.js} +2 -2
- package/dist/core/{WorleyNoise-DsDWmRCp.js → WorleyNoise-C-8TphM9.js} +3 -3
- package/dist/core/{ZoomBlur-S2GfQojf.js → ZoomBlur-BxPekTQP.js} +2 -2
- package/dist/core/{coords-0A7CojvN.js → coords-CLqRuQwC.js} +8 -3
- package/dist/core/{glass-BjUqcmHP.js → glass-BLc74dQi.js} +1 -1
- package/dist/core/gpu/composer.d.ts.map +1 -1
- package/dist/core/gpu/index.d.ts +22 -3
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/sdf.d.ts.map +1 -1
- package/dist/core/gpu/passManager.d.ts +5 -1
- package/dist/core/gpu/passManager.d.ts.map +1 -1
- package/dist/core/gpu/porters.d.ts +1 -0
- package/dist/core/gpu/porters.d.ts.map +1 -1
- package/dist/core/gpu/root.d.ts +26 -4
- package/dist/core/gpu/root.d.ts.map +1 -1
- package/dist/core/gpu/support.d.ts +119 -0
- package/dist/core/gpu/support.d.ts.map +1 -0
- package/dist/core/gpu/uniformStore.d.ts.map +1 -1
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +450 -316
- package/dist/core/{noiseColor-w3B94vmT.js → noiseColor-CFYtKwDd.js} +2 -2
- package/dist/core/{porters-B1jqpcE3.js → porters-u50QU6Yv.js} +2 -2
- package/dist/core/presetRenderer.d.ts +13 -1
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +199 -198
- package/dist/core/shaderRegistry-QNzuz_fH.js +425 -0
- package/dist/core/shaders/AngularBlur/index.js +5 -4
- package/dist/core/shaders/Arc/index.js +5 -4
- package/dist/core/shaders/Ascii/index.js +5 -4
- package/dist/core/shaders/Aurora/index.js +5 -4
- package/dist/core/shaders/BarShift/index.js +5 -4
- package/dist/core/shaders/BarnDoors/index.js +5 -4
- package/dist/core/shaders/Beam/index.js +5 -4
- package/dist/core/shaders/Bend/index.js +5 -4
- package/dist/core/shaders/Blob/index.js +5 -4
- package/dist/core/shaders/BlockDissolve/index.js +5 -4
- package/dist/core/shaders/BlockNoise/index.js +6 -5
- package/dist/core/shaders/BlueNoise/index.js +6 -5
- package/dist/core/shaders/Blur/index.js +5 -4
- package/dist/core/shaders/Boids/index.js +5 -4
- package/dist/core/shaders/BokehBlur/index.js +5 -4
- package/dist/core/shaders/BrickPattern/index.js +5 -4
- package/dist/core/shaders/BrightnessContrast/index.js +5 -4
- package/dist/core/shaders/BrushedMetal/index.js +7 -6
- package/dist/core/shaders/Bulge/index.js +5 -4
- package/dist/core/shaders/CRTScreen/index.js +5 -4
- package/dist/core/shaders/CarbonFiber/index.js +7 -6
- package/dist/core/shaders/Chalkboard/index.js +5 -4
- package/dist/core/shaders/ChannelBlur/index.js +5 -4
- package/dist/core/shaders/CheckerWipe/index.js +5 -4
- package/dist/core/shaders/Checkerboard/index.js +5 -4
- package/dist/core/shaders/Chevron/index.js +5 -4
- package/dist/core/shaders/ChromaFlow/index.js +5 -4
- package/dist/core/shaders/ChromaticAberration/index.js +5 -4
- package/dist/core/shaders/Circle/index.js +5 -4
- package/dist/core/shaders/ColorWheel/index.js +5 -4
- package/dist/core/shaders/CompressionArtifacts/index.js +5 -4
- package/dist/core/shaders/ConcentricSpin/index.js +5 -4
- package/dist/core/shaders/ConicGradient/index.js +5 -4
- package/dist/core/shaders/ContourLines/index.js +5 -4
- package/dist/core/shaders/CornerPin/index.js +5 -4
- package/dist/core/shaders/Crescent/index.js +5 -4
- package/dist/core/shaders/Cross/index.js +5 -4
- package/dist/core/shaders/Crystal/index.js +7 -6
- package/dist/core/shaders/CurlNoise/index.js +6 -5
- package/dist/core/shaders/CursorRipples/index.js +5 -4
- package/dist/core/shaders/CursorTrail/index.js +5 -4
- package/dist/core/shaders/DataMosh/index.js +5 -4
- package/dist/core/shaders/DiamondGradient/index.js +5 -4
- package/dist/core/shaders/DiamondWipe/index.js +5 -4
- package/dist/core/shaders/DiffuseBlur/index.js +5 -4
- package/dist/core/shaders/DisplacementMap/index.js +5 -4
- package/dist/core/shaders/Dither/index.js +5 -4
- package/dist/core/shaders/DotGrid/index.js +5 -4
- package/dist/core/shaders/DropShadow/index.js +5 -4
- package/dist/core/shaders/Duotone/index.js +5 -4
- package/dist/core/shaders/Ellipse/index.js +5 -4
- package/dist/core/shaders/Emboss/index.js +7 -6
- package/dist/core/shaders/Engraving/index.js +5 -4
- package/dist/core/shaders/ErosionNoise/index.js +6 -5
- package/dist/core/shaders/Exposure/index.js +5 -4
- package/dist/core/shaders/FallingLines/index.js +5 -4
- package/dist/core/shaders/FilmGrain/index.js +5 -4
- package/dist/core/shaders/FilmStock/index.js +5 -4
- package/dist/core/shaders/Flip/index.js +5 -4
- package/dist/core/shaders/FloatingParticles/index.js +5 -4
- package/dist/core/shaders/FlowField/index.js +5 -4
- package/dist/core/shaders/Flower/index.js +5 -4
- package/dist/core/shaders/FlowingGradient/index.js +5 -4
- package/dist/core/shaders/FlutedGlass/index.js +5 -4
- package/dist/core/shaders/Fog/index.js +5 -4
- package/dist/core/shaders/Form3D/index.js +5 -4
- package/dist/core/shaders/FractalNoise/index.js +5 -4
- package/dist/core/shaders/Frost/index.js +7 -6
- package/dist/core/shaders/GaborNoise/index.js +6 -5
- package/dist/core/shaders/Glass/index.js +7 -6
- package/dist/core/shaders/GlassTiles/index.js +5 -4
- package/dist/core/shaders/Glitch/index.js +5 -4
- package/dist/core/shaders/Glow/index.js +5 -4
- package/dist/core/shaders/Godrays/index.js +5 -4
- package/dist/core/shaders/Goo/index.js +7 -6
- package/dist/core/shaders/GradientMap/index.js +5 -4
- package/dist/core/shaders/Grayscale/index.js +5 -4
- package/dist/core/shaders/Grid/index.js +5 -4
- package/dist/core/shaders/GridDistortion/index.js +5 -4
- package/dist/core/shaders/Group/index.js +5 -4
- package/dist/core/shaders/HTMLInCanvas/index.js +5 -4
- package/dist/core/shaders/Halftone/index.js +5 -4
- package/dist/core/shaders/Heart/index.js +5 -4
- package/dist/core/shaders/Heatmap/index.js +7 -6
- package/dist/core/shaders/HexGrid/index.js +5 -4
- package/dist/core/shaders/Hologram/index.js +7 -6
- package/dist/core/shaders/Holographic/index.js +7 -6
- package/dist/core/shaders/HueShift/index.js +5 -4
- package/dist/core/shaders/ImageTexture/index.js +5 -4
- package/dist/core/shaders/InkFlow/index.js +5 -4
- package/dist/core/shaders/Invert/index.js +5 -4
- package/dist/core/shaders/IrisWipe/index.js +5 -4
- package/dist/core/shaders/IsometricCubes/index.js +5 -4
- package/dist/core/shaders/Kaleidoscope/index.js +5 -4
- package/dist/core/shaders/KeyFrames/index.js +5 -4
- package/dist/core/shaders/LensFlare/index.js +5 -4
- package/dist/core/shaders/LightEdge/index.js +7 -6
- package/dist/core/shaders/LightLeak/index.js +5 -4
- package/dist/core/shaders/LinearBlur/index.js +5 -4
- package/dist/core/shaders/LinearGradient/index.js +5 -4
- package/dist/core/shaders/LinearWipe/index.js +5 -4
- package/dist/core/shaders/LiquidMetal/index.js +7 -6
- package/dist/core/shaders/Liquify/index.js +5 -4
- package/dist/core/shaders/MagneticFilings/index.js +5 -4
- package/dist/core/shaders/Marble/index.js +5 -4
- package/dist/core/shaders/Mirror/index.js +5 -4
- package/dist/core/shaders/MultiPointGradient/index.js +5 -4
- package/dist/core/shaders/Neon/index.js +6 -5
- package/dist/core/shaders/NoiseDissolve/index.js +5 -4
- package/dist/core/shaders/ObjectTracker/index.js +6 -5
- package/dist/core/shaders/PagePeel/index.js +5 -4
- package/dist/core/shaders/Paper/index.js +5 -4
- package/dist/core/shaders/Parallelogram/index.js +5 -4
- package/dist/core/shaders/ParticleField/index.js +5 -4
- package/dist/core/shaders/ParticleFlow/index.js +5 -4
- package/dist/core/shaders/Particles/index.js +6 -5
- package/dist/core/shaders/PerlinNoise/index.js +6 -5
- package/dist/core/shaders/Perspective/index.js +5 -4
- package/dist/core/shaders/PixelSort/index.js +5 -4
- package/dist/core/shaders/PixelThrow/index.js +5 -4
- package/dist/core/shaders/Pixelate/index.js +5 -4
- package/dist/core/shaders/Plasma/index.js +5 -4
- package/dist/core/shaders/Plastic/index.js +7 -6
- package/dist/core/shaders/PolarCoordinates/index.js +5 -4
- package/dist/core/shaders/Polygon/index.js +5 -4
- package/dist/core/shaders/Posterize/index.js +5 -4
- package/dist/core/shaders/Prism/index.js +5 -4
- package/dist/core/shaders/ProgressiveBlur/index.js +5 -4
- package/dist/core/shaders/RadialGradient/index.js +5 -4
- package/dist/core/shaders/RadialWipe/index.js +5 -4
- package/dist/core/shaders/RandomBars/index.js +5 -4
- package/dist/core/shaders/ReactionDiffusion/index.js +5 -4
- package/dist/core/shaders/RectangularCoordinates/index.js +5 -4
- package/dist/core/shaders/ReflectivePlane/index.js +5 -4
- package/dist/core/shaders/Repeater/index.js +5 -4
- package/dist/core/shaders/Ring/index.js +5 -4
- package/dist/core/shaders/RippleWipe/index.js +5 -4
- package/dist/core/shaders/Ripples/index.js +5 -4
- package/dist/core/shaders/RoundedRect/index.js +5 -4
- package/dist/core/shaders/Saturation/index.js +5 -4
- package/dist/core/shaders/Scratches/index.js +6 -5
- package/dist/core/shaders/Sharpness/index.js +5 -4
- package/dist/core/shaders/Shatter/index.js +5 -4
- package/dist/core/shaders/SimplexNoise/index.js +5 -4
- package/dist/core/shaders/SineWave/index.js +5 -4
- package/dist/core/shaders/SliceWipe/index.js +5 -4
- package/dist/core/shaders/Smoke/index.js +5 -4
- package/dist/core/shaders/SmokeFill/index.js +7 -6
- package/dist/core/shaders/SmokeFlow/index.js +5 -4
- package/dist/core/shaders/Solarize/index.js +5 -4
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +5 -4
- package/dist/core/shaders/Spiral/index.js +5 -4
- package/dist/core/shaders/Star/index.js +5 -4
- package/dist/core/shaders/Stone/index.js +4 -3
- package/dist/core/shaders/Strands/index.js +5 -4
- package/dist/core/shaders/Stretch/index.js +5 -4
- package/dist/core/shaders/Stripes/index.js +5 -4
- package/dist/core/shaders/StudioBackground/index.js +5 -4
- package/dist/core/shaders/SunBurst/index.js +5 -4
- package/dist/core/shaders/Surface3D/index.js +5 -4
- package/dist/core/shaders/Swirl/index.js +5 -4
- package/dist/core/shaders/Teardrop/index.js +5 -4
- package/dist/core/shaders/Text/index.js +6 -5
- package/dist/core/shaders/ThinFilm/index.js +6 -5
- package/dist/core/shaders/TiltShift/index.js +5 -4
- package/dist/core/shaders/TimeTrail/index.js +5 -4
- package/dist/core/shaders/Tint/index.js +5 -4
- package/dist/core/shaders/Trapezoid/index.js +5 -4
- package/dist/core/shaders/TriangularGrid/index.js +5 -4
- package/dist/core/shaders/Tritone/index.js +5 -4
- package/dist/core/shaders/Truchet/index.js +5 -4
- package/dist/core/shaders/Twirl/index.js +5 -4
- package/dist/core/shaders/VHS/index.js +5 -4
- package/dist/core/shaders/VenetianBlinds/index.js +5 -4
- package/dist/core/shaders/Vesica/index.js +5 -4
- package/dist/core/shaders/Vibrance/index.js +5 -4
- package/dist/core/shaders/VideoTexture/index.js +5 -4
- package/dist/core/shaders/Vignette/index.js +5 -4
- package/dist/core/shaders/Voronoi/index.js +5 -4
- package/dist/core/shaders/Water/index.js +7 -6
- package/dist/core/shaders/Watercolor/index.js +5 -4
- package/dist/core/shaders/WaveDistortion/index.js +5 -4
- package/dist/core/shaders/WaveletNoise/index.js +6 -5
- package/dist/core/shaders/Weave/index.js +5 -4
- package/dist/core/shaders/WebcamTexture/index.js +5 -4
- package/dist/core/shaders/Wool/index.js +4 -3
- package/dist/core/shaders/WorleyNoise/index.js +5 -4
- package/dist/core/shaders/ZoomBlur/index.js +5 -4
- package/dist/core/{shapeEffectBounds-DRyn6AvG.js → shapeEffectBounds-DIjA_-15.js} +1 -1
- package/dist/core/support-6QRFK3xB.js +74 -0
- package/dist/core/telemetry/collector.d.ts.map +1 -1
- package/dist/core/telemetry/index.js +6 -5
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/js/bundle.js +84 -84
- package/dist/js/createShader.d.ts.map +1 -1
- package/dist/js/createShader.js +43 -13
- package/dist/js/createSharedDevice.d.ts +11 -9
- package/dist/js/createSharedDevice.d.ts.map +1 -1
- package/dist/js/createSharedDevice.js +2 -1
- package/dist/js/index.d.ts +2 -0
- package/dist/js/index.d.ts.map +1 -1
- package/dist/js/index.js +2 -1
- package/dist/js/types.d.ts +40 -10
- package/dist/js/types.d.ts.map +1 -1
- package/dist/react/Shader.js +27 -11
- package/dist/react/bundle.js +79 -79
- package/dist/react/engine/Shader.d.ts +7 -0
- package/dist/react/engine/Shader.d.ts.map +1 -1
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +2 -1
- package/dist/solid/engine/Preview.js +1 -0
- package/dist/solid/engine/Shader.d.ts +7 -0
- package/dist/solid/engine/Shader.d.ts.map +1 -1
- package/dist/solid/engine/Shader.js +29 -10
- package/dist/solid/index.d.ts +2 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +6 -1
- package/dist/svelte/engine/Shader.svelte.d.ts +7 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +27 -11
- package/dist/svelte/source/engine/Shader.svelte +49 -13
- package/dist/svelte/source/index.js +2 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +41 -24
- package/dist/vue/engine/Shader.vue.d.ts +9 -1
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/package.json +1 -13
- package/dist/core/shaderRegistry-BrbiIqjD.js +0 -425
- package/dist/pixi/createShaderSprite.d.ts +0 -54
- package/dist/pixi/createShaderSprite.d.ts.map +0 -1
- package/dist/pixi/index.d.ts +0 -20
- package/dist/pixi/index.d.ts.map +0 -1
- package/dist/pixi/index.js +0 -153
- /package/dist/core/{fonts-BLmvxkGd.js → fonts-BtGjHq1w.js} +0 -0
- /package/dist/core/{noiseStylize-4za6Obes.js → noiseStylize-BsZQT7ig.js} +0 -0
- /package/dist/core/{transformations-P50Uo_Ju.js → transformations-t0d2-uSX.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.444 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.444"),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 { Bt as call, J as std, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { c as transformPosition } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
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;
|
|
5
5
|
return Math.exp(-.5 * t * t / .64);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, C as ShapeMask, F as sdf_exports, I as shapeLocalCoords, Kt as vec4, R as strokeMaskFromSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear, w as arcSdf } from "./coords-
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as call, C as ShapeMask, F as sdf_exports, I as shapeLocalCoords, Kt as vec4, R as strokeMaskFromSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear, w as arcSdf } from "./coords-CLqRuQwC.js";
|
|
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([
|
|
5
5
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { i as transformBoolean } from "./transformations-t0d2-uSX.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 { Bt as call, J as std, bn as d, dn as mixColorsVariants, dt as mxNoiseFloat3, n as tgpu, pt as noise_exports, un as mixColorsLinear } from "./coords-
|
|
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 { Bt as call, J as std, bn as d, dn as mixColorsVariants, dt as mxNoiseFloat3, n as tgpu, pt as noise_exports, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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-u50QU6Yv.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 { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { r as transformAngle, s as transformEdges } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { r as transformAngle, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-u50QU6Yv.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 { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu } from "./coords-
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu } from "./coords-CLqRuQwC.js";
|
|
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([
|
|
5
5
|
d.vec4f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, Kt as vec4, an as convertP3ToMixSpaceCPU, bn as d, fn as mixPreconvertedLinear, n as tgpu, pn as mixPreconvertedVariants, un as mixColorsLinear } from "./coords-
|
|
2
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Kt as vec4, an as convertP3ToMixSpaceCPU, bn as d, fn as mixPreconvertedLinear, n as tgpu, pn as mixPreconvertedVariants, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
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;
|
|
5
5
|
var B_MAX = 1.2;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as call, Et as mixColorStopsRuntime, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
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 { Bt as call, Et as mixColorStopsRuntime, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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-u50QU6Yv.js";
|
|
4
4
|
const blobOrganicRadius = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu, pt as noise_exports, st as hash12 } from "./coords-
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu, pt as noise_exports, st as hash12 } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const blockDissolveMask = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as call, J as std, bn as d, bt as value13, et as toneAndColorExpr, n as tgpu, pt as noise_exports } from "./coords-
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { Bt as call, J as std, bn as d, bt as value13, et as toneAndColorExpr, n as tgpu, pt as noise_exports } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-u50QU6Yv.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-CFYtKwDd.js";
|
|
4
4
|
const blockNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, bn as d, et as toneAndColorExpr, n as tgpu, pt as noise_exports, tt as blue12 } from "./coords-
|
|
2
|
-
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { Bt as call, J as std, bn as d, et as toneAndColorExpr, n as tgpu, pt as noise_exports, tt as blue12 } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-CFYtKwDd.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, K as createGaussianBlurCompute, Kt as vec4, Rt as ZERO, U as BLUR_MAP_FORMAT, X as createGuardedCompute, bn as d, n as tgpu, q as createVariableGaussianBlurCompute, rn as unpremultiplyAlpha } from "./coords-
|
|
1
|
+
import { Bt as call, J as std, K as createGaussianBlurCompute, Kt as vec4, Rt as ZERO, U as BLUR_MAP_FORMAT, X as createGuardedCompute, bn as d, n as tgpu, q as createVariableGaussianBlurCompute, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
2
|
const INTENSITY_TO_RADIUS = .36;
|
|
3
3
|
const intensityToRadius = (intensity) => intensity * INTENSITY_TO_RADIUS;
|
|
4
4
|
function fillMapParams() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as std, Rt as ZERO, X as createGuardedCompute, Z as createStateBuffer, bn as d, c as orientedShapeOptions, dn as mixColorsVariants, lt as hash33, n as tgpu, ot as hash11, pt as noise_exports, r as AGENT_SHAPES, s as makeAgentWeightFn, u as resolveAgentShape, un as mixColorsLinear } from "./coords-
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { J as std, Rt as ZERO, X as createGuardedCompute, Z as createStateBuffer, bn as d, c as orientedShapeOptions, dn as mixColorsVariants, lt as hash33, n as tgpu, ot as hash11, pt as noise_exports, r as AGENT_SHAPES, s as makeAgentWeightFn, u as resolveAgentShape, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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;
|
|
5
5
|
var INV_RES = 1 / RES;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, G as DEFAULT_COMPUTE_WIDTH, J as std, Rt as ZERO, W as DEFAULT_COMPUTE_HEIGHT, X as createGuardedCompute, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { r as transformAngle } from "./transformations-
|
|
1
|
+
import { Bt as call, G as DEFAULT_COMPUTE_WIDTH, J as std, Rt as ZERO, W as DEFAULT_COMPUTE_HEIGHT, X as createGuardedCompute, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
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;
|
|
5
5
|
var DEG_TO_RAD = Math.PI / 180;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as call, J as std, Kt as vec4, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
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 { Bt as call, J as std, Kt as vec4, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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-u50QU6Yv.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const brickField = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Bt as call, F as sdf_exports, J as std, Kt as vec4, Wt as floatE, bn as d, n as tgpu, pt as noise_exports, ut as mxNoiseFloat2, y as sdf3d_exports } from "./coords-
|
|
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 { Bt as call, F as sdf_exports, J as std, Kt as vec4, Wt as floatE, bn as d, n as tgpu, pt as noise_exports, ut as mxNoiseFloat2, y as sdf3d_exports } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-BLc74dQi.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
4
|
+
import { t as animatedTime } from "./porters-u50QU6Yv.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-DIjA_-15.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 { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const bulgeUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
1
|
+
import { Bt as call, J as std, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
2
|
const crtSampleUV = tgpu.fn([
|
|
3
3
|
d.vec2f,
|
|
4
4
|
d.f32,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Bt as call, F as sdf_exports, J as std, Kt as vec4, Wt as floatE, bn as d, n as tgpu, pt as noise_exports, ut as mxNoiseFloat2, y as sdf3d_exports } from "./coords-
|
|
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 { Bt as call, F as sdf_exports, J as std, Kt as vec4, Wt as floatE, bn as d, n as tgpu, pt as noise_exports, ut as mxNoiseFloat2, y as sdf3d_exports } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-BLc74dQi.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-DIjA_-15.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 { Bt as call, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
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);
|
|
5
5
|
var SIN_N45 = Math.sin(-.785);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std, K as createGaussianBlurCompute, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
1
|
+
import { Bt as call, J as std, K as createGaussianBlurCompute, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.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 { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu } from "./coords-
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const checkerWipeMask = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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,
|
|
5
5
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as call, Gt as mixExpr, J as std, Kt as vec4, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
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 { Bt as call, Gt as mixExpr, J as std, Kt as vec4, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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-u50QU6Yv.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const chevronMask = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, H as toHalfFloat, J as std, Wt as floatE, bn as d, n as tgpu } from "./coords-
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Bt as call, H as toHalfFloat, J as std, Wt as floatE, bn as d, n as tgpu } from "./coords-CLqRuQwC.js";
|
|
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;
|
|
5
5
|
const chromaFlowTapUV = tgpu.fn([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, Kt as vec4, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { r as transformAngle } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Kt as vec4, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { r as transformAngle } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const chromaticOffsetUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, C as ShapeMask, F as sdf_exports, Kt as vec4, R as strokeMaskFromSdf, T as circleSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as call, C as ShapeMask, F as sdf_exports, Kt as vec4, R as strokeMaskFromSdf, T as circleSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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,
|
|
5
5
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as call, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
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 { Bt as call, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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-u50QU6Yv.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, Kt as vec4, Rt as ZERO, X as createGuardedCompute, bn as d, n as tgpu, nn as blend_exports, rn as unpremultiplyAlpha } from "./coords-
|
|
1
|
+
import { Bt as call, J as std, Kt as vec4, Rt as ZERO, X as createGuardedCompute, bn as d, n as tgpu, nn as blend_exports, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
2
|
var LUMA_QUANT = [
|
|
3
3
|
16,
|
|
4
4
|
11,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-u50QU6Yv.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 { Bt as call, Et as mixColorStopsRuntime, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
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 { Bt as call, Et as mixColorStopsRuntime, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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-u50QU6Yv.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 { Bt as call, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, bn as d, n as tgpu } from "./coords-
|
|
2
|
-
import { a as transformColor, i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, bn as d, n as tgpu } from "./coords-CLqRuQwC.js";
|
|
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;
|
|
5
5
|
var sourceModeOf = (raw) => typeof raw === "number" ? raw : raw === "alpha" ? 1 : 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Kt as vec4, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Kt as vec4, Rt as ZERO, bn as d, jt as composeEdgeRemapExpr, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
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) => {
|
|
5
5
|
"use gpu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, C as ShapeMask, E as crescentSdf, F as sdf_exports, I as shapeLocalCoords, Kt as vec4, R as strokeMaskFromSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as call, C as ShapeMask, E as crescentSdf, F as sdf_exports, I as shapeLocalCoords, Kt as vec4, R as strokeMaskFromSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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,
|
|
5
5
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, C as ShapeMask, D as crossSdf, F as sdf_exports, I as shapeLocalCoords, Kt as vec4, R as strokeMaskFromSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as call, C as ShapeMask, D as crossSdf, F as sdf_exports, I as shapeLocalCoords, Kt as vec4, R as strokeMaskFromSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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,
|
|
5
5
|
d.f32,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Bt as call, F as sdf_exports, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, bn as d, ft as mxWorleyNoiseFloat2Pub, n as tgpu, nn as blend_exports, pt as noise_exports, y as sdf3d_exports } from "./coords-
|
|
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 { Bt as call, F as sdf_exports, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, bn as d, ft as mxWorleyNoiseFloat2Pub, n as tgpu, nn as blend_exports, pt as noise_exports, y as sdf3d_exports } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-BLc74dQi.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-DIjA_-15.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 { Bt as call, J as std, bn as d, et as toneAndColorExpr, n as tgpu, pt as noise_exports, rt as curl22z } from "./coords-
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { Bt as call, J as std, bn as d, et as toneAndColorExpr, n as tgpu, pt as noise_exports, rt as curl22z } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-u50QU6Yv.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-CFYtKwDd.js";
|
|
4
4
|
const curlNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Kt as vec4, Rt as ZERO, Ut as expr, X as createGuardedCompute, Z as createStateBuffer, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Kt as vec4, Rt as ZERO, Ut as expr, X as createGuardedCompute, Z as createStateBuffer, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
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;
|
|
5
5
|
var GRID_MAX = GRID_SIZE - 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as call, Et as mixColorStopsRuntime, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, X as createGuardedCompute, Z as createStateBuffer, bn as d, in as colorMixing_exports, n as tgpu } from "./coords-
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
1
|
+
import { Bt as call, Et as mixColorStopsRuntime, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, X as createGuardedCompute, Z as createStateBuffer, bn as d, in as colorMixing_exports, n as tgpu } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-u50QU6Yv.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 call, Gt as mixExpr, J as std, Rt as ZERO, X as createGuardedCompute, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
1
|
+
import { Bt as call, Gt as mixExpr, J as std, Rt as ZERO, X as createGuardedCompute, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.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 { Bt as call, Et as mixColorStopsRuntime, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
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 { Bt as call, Et as mixColorStopsRuntime, J as std, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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-u50QU6Yv.js";
|
|
4
4
|
var DEG_TO_RAD = .017453292519943295;
|
|
5
5
|
const diamondFinalT = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu } from "./coords-
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const diamondWipeMask = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const diffuseBlurUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as call, J as std, Rt as ZERO, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
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([
|
|
5
5
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha, zt as arrayExpr } from "./coords-
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha, zt as arrayExpr } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var transformPattern = (value) => {
|
|
4
4
|
return {
|
|
5
5
|
bayer2: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as call, J as std, Kt as vec4, bn as d, n as tgpu } from "./coords-
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Bt as call, J as std, Kt as vec4, bn as d, n as tgpu } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-u50QU6Yv.js";
|
|
4
4
|
const dotGridCellCenterUV = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-
|
|
2
|
-
import { a as transformColor, i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Kt as vec4, Rt as ZERO, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { a as transformColor, i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = .017453292519943295;
|
|
4
4
|
var WEIGHTS = [
|
|
5
5
|
.056,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, Kt as vec4, Rt as ZERO, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as call, J as std, Kt as vec4, Rt as ZERO, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.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 { Bt as call, C as ShapeMask, F as sdf_exports, I as shapeLocalCoords, Kt as vec4, O as ellipseSdf, R as strokeMaskFromSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as call, C as ShapeMask, F as sdf_exports, I as shapeLocalCoords, Kt as vec4, O as ellipseSdf, R as strokeMaskFromSdf, bn as d, dn as mixColorsVariants, n as tgpu, un as mixColorsLinear } from "./coords-CLqRuQwC.js";
|
|
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 ellipseShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Bt as call, F as sdf_exports, J as std, Rt as ZERO, Sn as __export, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha, y as sdf3d_exports } from "./coords-
|
|
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 { Bt as call, F as sdf_exports, J as std, Rt as ZERO, Sn as __export, Wt as floatE, bn as d, n as tgpu, rn as unpremultiplyAlpha, y as sdf3d_exports } from "./coords-CLqRuQwC.js";
|
|
2
|
+
import { i as sdfSpaceUV, r as offsetUV } from "./glass-BLc74dQi.js";
|
|
3
|
+
import { c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-DIjA_-15.js";
|
|
5
5
|
var emboss_exports = /* @__PURE__ */ __export({
|
|
6
6
|
applyEmbossEffect: () => applyEmbossEffect$1,
|
|
7
7
|
embossComposite: () => embossComposite,
|