shaders 3.0.437 → 3.0.439
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-CFsh0PlD.js → AngularBlur-BJKQrsoZ.js} +1 -1
- package/dist/core/{Arc-CUnOmySr.js → Arc-BZdfWWlz.js} +1 -1
- package/dist/core/{Ascii-BLLIv-3N.js → Ascii-CR5iFmk8.js} +1 -1
- package/dist/core/{Aurora-B_5FkTB2.js → Aurora-C0KIoJY5.js} +2 -2
- package/dist/core/{BarShift-Ca-1XYfx.js → BarShift-_mdK3UWW.js} +2 -2
- package/dist/core/{Beam-DRdKJKir.js → Beam-DYvBEj6q.js} +1 -1
- package/dist/core/{Blob-BRTcopJC.js → Blob-DgMJ5M6V.js} +2 -2
- package/dist/core/{BlockNoise-CA933kae.js → BlockNoise-CsBWCDzA.js} +3 -3
- package/dist/core/{BlueNoise-BeFfRr-o.js → BlueNoise-D-WjLdgK.js} +2 -2
- package/dist/core/{Blur-l7HgDuUW.js → Blur-WeJoA31s.js} +1 -1
- package/dist/core/{BrickPattern-BWK7-KwE.js → BrickPattern-DPez_hvr.js} +2 -2
- package/dist/core/{BrightnessContrast-Dh8qSRLx.js → BrightnessContrast-XvDV1ixv.js} +1 -1
- package/dist/core/{BrushedMetal-CvIXubZz.js → BrushedMetal-DYwNjVpX.js} +3 -3
- package/dist/core/{Bulge-d93jKEwv.js → Bulge-DcBJaYyW.js} +1 -1
- package/dist/core/{CRTScreen-CSBjpbn4.js → CRTScreen-Byau9--w.js} +1 -1
- package/dist/core/{CarbonFiber-G7vIOz5W.js → CarbonFiber-DwYVLmd0.js} +2 -2
- package/dist/core/{Chalkboard-C9PtcnYN.js → Chalkboard-D_FVdz4V.js} +1 -1
- package/dist/core/{ChannelBlur-B1bY63Fb.js → ChannelBlur-B70l9vql.js} +1 -1
- package/dist/core/{Checkerboard-DbjFO-fF.js → Checkerboard-B_z4be-A.js} +1 -1
- package/dist/core/{Chevron-D5-x4Wwd.js → Chevron-CfGjPdH6.js} +2 -2
- package/dist/core/{ChromaFlow-CuLYMObY.js → ChromaFlow-B9zZUgzN.js} +1 -1
- package/dist/core/{ChromaticAberration-Dwvzvb8a.js → ChromaticAberration-BrGXd7kq.js} +1 -1
- package/dist/core/{Circle-BLNjdX3R.js → Circle-DFx6OVnv.js} +1 -1
- package/dist/core/{ColorWheel-CA_34-9I.js → ColorWheel-CI_qR6vL.js} +2 -2
- package/dist/core/{CompressionArtifacts-3lIojU64.js → CompressionArtifacts-CVWkWovO.js} +1 -1
- package/dist/core/{ConcentricSpin-FJuBPPHi.js → ConcentricSpin-lAMdNRDl.js} +2 -2
- package/dist/core/{ConicGradient-f9jCXFuK.js → ConicGradient-C3wD1h2z.js} +2 -2
- package/dist/core/{ContourLines-Clnm2pQU.js → ContourLines-C3Hwaw1Y.js} +1 -1
- package/dist/core/{CornerPin-ecpjb9do.js → CornerPin-DxUoEjhR.js} +1 -1
- package/dist/core/{Crescent-CO5EZzD1.js → Crescent-BCf_ZZI3.js} +1 -1
- package/dist/core/{Cross-CofGHkIn.js → Cross-CeQhwjVB.js} +1 -1
- package/dist/core/{Crystal-C_aHlQ_3.js → Crystal-CC7d_6kZ.js} +2 -2
- package/dist/core/{CurlNoise-Br5XEf1K.js → CurlNoise-KsNJEh6E.js} +3 -3
- package/dist/core/{CursorRipples-CLYoq-BF.js → CursorRipples-Jgm7iF0Z.js} +1 -1
- package/dist/core/{CursorTrail-c-t96YgV.js → CursorTrail-CkNn85vn.js} +2 -2
- package/dist/core/{DOMTexture-Zxx_WTGZ.js → DOMTexture-DFvbXYrj.js} +1 -1
- package/dist/core/{DataMosh-BSYAol1u.js → DataMosh-Dh7TYpbW.js} +1 -1
- package/dist/core/{DiamondGradient-uyUPtPc3.js → DiamondGradient-HmZwnTdD.js} +2 -2
- package/dist/core/{DiffuseBlur-Cw9duoJ7.js → DiffuseBlur-uXE0w0DD.js} +1 -1
- package/dist/core/{Dither-B3ulhQOh.js → Dither-YUNtD1tI.js} +1 -1
- package/dist/core/{DotGrid-ioUj-Lim.js → DotGrid-DABCUp6d.js} +2 -2
- package/dist/core/{DropShadow-BRL7yRmy.js → DropShadow-C7KAuipC.js} +1 -1
- package/dist/core/{Duotone-Df34HelN.js → Duotone-CuJunWJ0.js} +1 -1
- package/dist/core/{Ellipse-BHxcxCpl.js → Ellipse-DrZqqQh2.js} +1 -1
- package/dist/core/{Emboss-D-qOxM2u.js → Emboss-D_-1_a3u.js} +3 -3
- package/dist/core/{Engraving-B1ebFc1E.js → Engraving-fQ1zZJ89.js} +1 -1
- package/dist/core/{ErosionNoise-ZrJulbtK.js → ErosionNoise-B01HEvZk.js} +2 -2
- package/dist/core/{Exposure-D8apJapP.js → Exposure-o_CViEwJ.js} +1 -1
- package/dist/core/{FallingLines-DsMBKjEZ.js → FallingLines-Bv8X8gRy.js} +2 -2
- package/dist/core/{FilmGrain-DeW-yw_v.js → FilmGrain-CoW4iHsT.js} +1 -1
- package/dist/core/{Flip-Dw194RY6.js → Flip-h2K3wLGX.js} +1 -1
- package/dist/core/{FloatingParticles--Y81hnnp.js → FloatingParticles-W_QAKOku.js} +1 -1
- package/dist/core/{FlowField-CiK49M8B.js → FlowField-CwU9iWbf.js} +2 -2
- package/dist/core/{Flower-Cdg8fOzZ.js → Flower-DxOinfag.js} +1 -1
- package/dist/core/{FlowingGradient-B1Iywvbd.js → FlowingGradient-DdFrloZC.js} +2 -2
- package/dist/core/{FlutedGlass-Crp432sd.js → FlutedGlass-B9652Bh4.js} +2 -2
- package/dist/core/{Fog-ClrsfQfj.js → Fog-D5sIF3cX.js} +1 -1
- package/dist/core/{Form3D-CrT8E1u5.js → Form3D-BmCwmFPZ.js} +2 -2
- package/dist/core/{FractalNoise-DeDp7KQE.js → FractalNoise-BFs55FIe.js} +2 -2
- package/dist/core/{Frost-IvGmzNqf.js → Frost-C6qVP9a2.js} +3 -3
- package/dist/core/{GaborNoise-Bmhmuq_Z.js → GaborNoise-C1LVTyG3.js} +3 -3
- package/dist/core/{Glass-CJFR7oIt.js → Glass-DR9JYQMG.js} +7 -4
- package/dist/core/{GlassTiles-BSBCjkhG.js → GlassTiles-D5Lrddns.js} +1 -1
- package/dist/core/{Glitch-Bp0LbC1u.js → Glitch-B93JzM-d.js} +1 -1
- package/dist/core/{Glow-CVBYSMxr.js → Glow-DlxNehzC.js} +1 -1
- package/dist/core/{Godrays-C0VLmrcc.js → Godrays-n9Gjl-h6.js} +2 -2
- package/dist/core/{Goo-D-X3mP-n.js → Goo-BusLBgE3.js} +4 -4
- package/dist/core/{GradientMap-uRYa7Yhv.js → GradientMap-CapG6NfM.js} +1 -1
- package/dist/core/{Grayscale-DUGCGltR.js → Grayscale-Dx9gKGZb.js} +1 -1
- package/dist/core/{Grid-FtTNW6zy.js → Grid-gZHTJmwP.js} +1 -1
- package/dist/core/{GridDistortion-lKZ4wpxx.js → GridDistortion-BkkuULR2.js} +1 -1
- package/dist/core/{Group-BNE6w-Ls.js → Group-pHN72R84.js} +1 -1
- package/dist/core/{Halftone-BdmAqFEa.js → Halftone-dlX8bpPV.js} +1 -1
- package/dist/core/{Heart-iGATzBCZ.js → Heart-CwELiXMT.js} +1 -1
- package/dist/core/{Heatmap-dBfHUyG-.js → Heatmap-unI_z4Uc.js} +3 -3
- package/dist/core/{HexGrid-BUe3dyym.js → HexGrid-BTWeNz9Z.js} +1 -1
- package/dist/core/{Hologram-BQ1kz8M2.js → Hologram-3-c4mCzw.js} +4 -4
- package/dist/core/{Holographic-B39ULAli.js → Holographic-SchvA6Dy.js} +3 -3
- package/dist/core/{HueShift-DeP_0kOt.js → HueShift-BJGcv19-.js} +1 -1
- package/dist/core/{ImageTexture-Bzh0A17b.js → ImageTexture-CRueGzAZ.js} +1 -1
- package/dist/core/{Invert-CqrJ-5l4.js → Invert-DLot9mli.js} +1 -1
- package/dist/core/{IsometricCubes-BVYfIhbb.js → IsometricCubes-CFg5QBjO.js} +1 -1
- package/dist/core/{Kaleidoscope-VxQtO7zA.js → Kaleidoscope-BQFm59wM.js} +1 -1
- package/dist/core/{KeyFrames-WFOyBjoF.js → KeyFrames-DiAKRsxm.js} +1 -1
- package/dist/core/{LensFlare-2M6sCguV.js → LensFlare-BpFbnSsM.js} +2 -2
- package/dist/core/{LightEdge-CvV9PYbe.js → LightEdge-CZpMFMKO.js} +4 -4
- package/dist/core/{LightLeak-BQxRr11E.js → LightLeak-DGt9quKs.js} +2 -2
- package/dist/core/{LinearBlur-CyNRaqj8.js → LinearBlur-ClAsNnkC.js} +1 -1
- package/dist/core/{LinearGradient-RDNQes5r.js → LinearGradient-B_dBLhFm.js} +2 -2
- package/dist/core/{LiquidMetal-PGUaQGV-.js → LiquidMetal-Bb9b2h9X.js} +3 -3
- package/dist/core/{Liquify-CmkepjAk.js → Liquify-B9ypclFj.js} +1 -1
- package/dist/core/{Marble-D_a2ctfR.js → Marble-CZYhaDcz.js} +2 -2
- package/dist/core/{Mirror-B98LBGCI.js → Mirror--NvGPp-u.js} +1 -1
- package/dist/core/{MultiPointGradient-DBWhUtj8.js → MultiPointGradient-IJtw3dEC.js} +1 -1
- package/dist/core/{Neon-DFuPjkcF.js → Neon-Der_R-Bh.js} +3 -3
- package/dist/core/{ObjectTracker-Bolz91qz.js → ObjectTracker-CfW_aMyp.js} +1 -1
- package/dist/core/{PagePeel-CTy_-lpL.js → PagePeel-D_DnKmec.js} +1 -1
- package/dist/core/{Paper-BE3SU_ac.js → Paper-CZT7vlqM.js} +1 -1
- package/dist/core/{Parallelogram-C9qwJkYa.js → Parallelogram-BAi9iFi0.js} +1 -1
- package/dist/core/{Particles-x_HCygMr.js → Particles-DtxN6LL7.js} +1 -1
- package/dist/core/{PerlinNoise-Di7dE-hc.js → PerlinNoise-BCbLpWKn.js} +3 -3
- package/dist/core/{Perspective-CoYBx1wH.js → Perspective-DXIafIz8.js} +1 -1
- package/dist/core/{PixelSort-DMWTXIcO.js → PixelSort-BnZgslHG.js} +1 -1
- package/dist/core/{PixelThrow-CiZj7iGN.js → PixelThrow-BAVO2zdp.js} +656 -4
- package/dist/core/{Pixelate-Dg41Ap0g.js → Pixelate-L-pZ8G79.js} +1 -1
- package/dist/core/{Plasma-BpNK-Jnv.js → Plasma-BELcebZa.js} +2 -2
- package/dist/core/{Plastic-CpmtjSSV.js → Plastic-e8KLjCgS.js} +3 -3
- package/dist/core/{PolarCoordinates-CBh8MX8L.js → PolarCoordinates-CNZ6Df5J.js} +1 -1
- package/dist/core/{Polygon-KpW71r_g.js → Polygon-BGBTOGLe.js} +1 -1
- package/dist/core/{Posterize-DPwFDwMx.js → Posterize-Cs_kyyjG.js} +1 -1
- package/dist/core/{Prism-BZcRvoMJ.js → Prism-BUalIt7a.js} +2 -2
- package/dist/core/{ProgressiveBlur-BAYvLhUa.js → ProgressiveBlur-C2wYIOH-.js} +1 -1
- package/dist/core/{RadialGradient-DxIBw-EZ.js → RadialGradient-B3tlBsQZ.js} +2 -2
- package/dist/core/{RectangularCoordinates-DJGtXzgn.js → RectangularCoordinates-DWWlrqB4.js} +1 -1
- package/dist/core/{ReflectivePlane-C4JxzSK_.js → ReflectivePlane-BmM5w76k.js} +1 -1
- package/dist/core/{Repeater-1TW-fdff.js → Repeater-V37OGlry.js} +1 -1
- package/dist/core/{Ring-W9djENkw.js → Ring-WVyMeyoh.js} +1 -1
- package/dist/core/{Ripples-Dbvh__ZY.js → Ripples-Bv__zvme.js} +2 -2
- package/dist/core/{RoundedRect-DXjLPZee.js → RoundedRect-B62UFEeb.js} +1 -1
- package/dist/core/{Saturation-Wct3aUol.js → Saturation-DIRGc5kp.js} +1 -1
- package/dist/core/{Scratches-CpfAuRQw.js → Scratches-ZFLTq06k.js} +3 -3
- package/dist/core/{Sharpness-BgWKE-3E.js → Sharpness-WYaGJlSI.js} +1 -1
- package/dist/core/{Shatter-DiBeVj4M.js → Shatter-CPS5Kdei.js} +1 -1
- package/dist/core/{SimplexNoise-Bgiw5XJP.js → SimplexNoise-DMWtripU.js} +2 -2
- package/dist/core/{SineWave-CHygTRV-.js → SineWave-BOoYgny1.js} +2 -2
- package/dist/core/{Smoke-CbAIiwKG.js → Smoke-BGGH2iTS.js} +2 -2
- package/dist/core/{SmokeFill-BnJoSbE3.js → SmokeFill-ClBFBWz3.js} +2 -2
- package/dist/core/{SmokeFlow-H01ajJ5Q.js → SmokeFlow-DkBGrN_d.js} +2 -2
- package/dist/core/{Solarize-CUpThxJh.js → Solarize-D_ZPY_Cr.js} +1 -1
- package/dist/core/{Spherize-bBe44dU7.js → Spherize-h1F31u9-.js} +1 -1
- package/dist/core/{Spiral-sBR7Fn0z.js → Spiral-BMFhUpkP.js} +2 -2
- package/dist/core/{Star-DQUfQjbf.js → Star-D8d3Gk74.js} +1 -1
- package/dist/core/{Stone-DnY9YuMc.js → Stone-CfpfDKpn.js} +1 -1
- package/dist/core/{Strands-e7O0GIHI.js → Strands-256prKRG.js} +2 -2
- package/dist/core/{Stretch-CXFrCyH_.js → Stretch-C7z0wdI7.js} +1 -1
- package/dist/core/{Stripes-BS5Y7yeT.js → Stripes-BVvuh6r7.js} +2 -2
- package/dist/core/{StudioBackground-D7eIlsQA.js → StudioBackground-Cy2qPLYJ.js} +2 -2
- package/dist/core/{SunBurst-CuawxiUI.js → SunBurst-vUglW69s.js} +2 -2
- package/dist/core/{Surface3D-ZtGSv9V6.js → Surface3D-quYcBdK_.js} +1 -1
- package/dist/core/{Swirl-CxRi1nI8.js → Swirl-BD3Fk-SC.js} +2 -2
- package/dist/core/{Teardrop-D_ePwja5.js → Teardrop-Bxfkjjaz.js} +1 -1
- package/dist/core/{Text-C1Wjl8fJ.js → Text-CrbVixvj.js} +1 -1
- package/dist/core/{ThinFilm-9l3KGv4Q.js → ThinFilm-D_y48u9e.js} +40 -35
- package/dist/core/{TiltShift-CBCuQwu9.js → TiltShift-3s5RKGCa.js} +1 -1
- package/dist/core/{Tint-HLecBeer.js → Tint-DZUIRc-Z.js} +1 -1
- package/dist/core/{Trapezoid-CztpQJcb.js → Trapezoid-7VOLjftp.js} +1 -1
- package/dist/core/{TriangularGrid-BWzP25ws.js → TriangularGrid-Qek0gRuV.js} +2 -2
- package/dist/core/{Tritone-DczuOC88.js → Tritone-CqYOMKFE.js} +1 -1
- package/dist/core/{Truchet-Bj0dM4pc.js → Truchet-D6emdFny.js} +1 -1
- package/dist/core/{Twirl-CgT4-JNU.js → Twirl-Y8OzHc49.js} +1 -1
- package/dist/core/{VHS-BO2ImGGx.js → VHS-B28K9Bfc.js} +1 -1
- package/dist/core/{Vesica-hhR3uVm2.js → Vesica-DFRPMcgz.js} +1 -1
- package/dist/core/{Vibrance-Bxbm2XXk.js → Vibrance-BkMNClGf.js} +1 -1
- package/dist/core/{VideoTexture-Zj56qULM.js → VideoTexture-DNfGZ4kz.js} +1 -1
- package/dist/core/{Vignette-DhIYUi7B.js → Vignette-DWveIoCk.js} +1 -1
- package/dist/core/{Voronoi-I5jNa5lH.js → Voronoi-c1kHPUka.js} +2 -2
- package/dist/core/{Water-DcoqDm5J.js → Water-CEmTC2Ii.js} +3 -3
- package/dist/core/{Watercolor-DhrRCOJ_.js → Watercolor--Bg1ZPIG.js} +1 -1
- package/dist/core/{WaveDistortion-DJ1itI6L.js → WaveDistortion-BSyW8c28.js} +2 -2
- package/dist/core/{WaveletNoise-Cy1pQ99p.js → WaveletNoise-cDkFw55m.js} +3 -3
- package/dist/core/{Weave-CPIeOoWv.js → Weave--Ex2UVBt.js} +1 -1
- package/dist/core/{WebcamTexture-DNCb4NqI.js → WebcamTexture-CPWUtxVm.js} +1 -1
- package/dist/core/{Wool-aEiSh89V.js → Wool-BNmVUISf.js} +1 -1
- package/dist/core/{WorleyNoise-C9l_C4G0.js → WorleyNoise-CbhvPZS-.js} +2 -2
- package/dist/core/{ZoomBlur-CpM-IOSu.js → ZoomBlur-BR_do-LV.js} +1 -1
- package/dist/core/{coords-BlwgBpJf.js → coords-CWOT0Wqh.js} +4038 -226
- package/dist/core/{glass-DdgMBWkF.js → glass-hUL2pCYG.js} +179 -58
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/effects/glass.d.ts +4 -1
- package/dist/core/gpu/kit/effects/glass.d.ts.map +1 -1
- package/dist/core/gpu/kit/effects/thinFilm.d.ts +3 -0
- package/dist/core/gpu/kit/effects/thinFilm.d.ts.map +1 -1
- package/dist/core/gpu/kit/sdf3d.d.ts +24 -4
- package/dist/core/gpu/kit/sdf3d.d.ts.map +1 -1
- package/dist/core/gpu/passManager.d.ts +8 -0
- package/dist/core/gpu/passManager.d.ts.map +1 -1
- package/dist/core/index.js +181 -171
- package/dist/core/{noiseColor-Cr76BYLN.js → noiseColor-WSY8YuLZ.js} +1 -1
- package/dist/core/{porters-CoaznI7i.js → porters-Dg80Yg90.js} +1 -1
- package/dist/core/registry.js +170 -170
- package/dist/core/shaderRegistry-DC0r_QlY.js +370 -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/Beam/index.js +3 -3
- package/dist/core/shaders/Blob/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/BrickPattern/index.js +3 -3
- package/dist/core/shaders/BrightnessContrast/index.js +3 -3
- package/dist/core/shaders/BrushedMetal/index.js +4 -4
- 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 +4 -4
- package/dist/core/shaders/Chalkboard/index.js +3 -3
- package/dist/core/shaders/ChannelBlur/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 +4 -4
- 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/DOMTexture/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/DiffuseBlur/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 +4 -4
- 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/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 +4 -4
- package/dist/core/shaders/GaborNoise/index.js +4 -4
- package/dist/core/shaders/Glass/index.d.ts.map +1 -1
- package/dist/core/shaders/Glass/index.js +4 -4
- 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 +4 -4
- 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/Halftone/index.js +3 -3
- package/dist/core/shaders/Heart/index.js +3 -3
- package/dist/core/shaders/Heatmap/index.js +4 -4
- package/dist/core/shaders/HexGrid/index.js +3 -3
- package/dist/core/shaders/Hologram/index.js +4 -4
- package/dist/core/shaders/Holographic/index.js +4 -4
- package/dist/core/shaders/HueShift/index.js +3 -3
- package/dist/core/shaders/ImageTexture/index.js +3 -3
- package/dist/core/shaders/Invert/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 +4 -4
- 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/LiquidMetal/index.js +4 -4
- package/dist/core/shaders/Liquify/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 +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/Particles/index.js +3 -3
- 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.d.ts +22 -0
- package/dist/core/shaders/PixelThrow/index.d.ts.map +1 -1
- package/dist/core/shaders/PixelThrow/index.js +4 -4
- 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 +4 -4
- 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/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/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/Smoke/index.js +3 -3
- package/dist/core/shaders/SmokeFill/index.js +4 -4
- package/dist/core/shaders/SmokeFlow/index.js +3 -3
- package/dist/core/shaders/Solarize/index.js +3 -3
- 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.js +3 -3
- package/dist/core/shaders/ThinFilm/index.d.ts.map +1 -1
- package/dist/core/shaders/ThinFilm/index.js +3 -3
- package/dist/core/shaders/TiltShift/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/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 +4 -4
- 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/js/bundle.js +161 -161
- package/dist/js/createShader.js +1 -1
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +150 -150
- 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-BIiRyksy.js +0 -370
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/* shaders@3.0.
|
|
2
|
+
/* shaders@3.0.439 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.439"),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 { At as call, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var rawWeights = Array.from({ length: 32 }, (_, i) => {
|
|
4
4
|
const t = (i / 31 - .5) * 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, m as arcSdf, n as tgpu, on as d, p as ShapeMask } from "./coords-
|
|
1
|
+
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, m as arcSdf, n as tgpu, on as d, p as ShapeMask } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var APERTURE_TO_HALF_ANGLE = .008726646259971648;
|
|
4
4
|
const arcShape = tgpu.fn([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var ATLAS_TEXTURE_SIZE = 2048;
|
|
4
4
|
var REFERENCE_HEIGHT = 1080;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d, rt as noise_exports, tt as mxNoiseFloat3 } from "./coords-
|
|
1
|
+
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d, rt as noise_exports, tt as mxNoiseFloat3 } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.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 call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, xt as composeEdgeRemapExpr } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, xt as composeEdgeRemapExpr } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { r as transformAngle, s as transformEdges } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.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,4 +1,4 @@
|
|
|
1
|
-
import { $t as mixPreconvertedLinear, At as call, It as vec4, Kt as convertP3ToMixSpaceCPU, R as std, Zt as mixColorsLinear, en as mixPreconvertedVariants, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { $t as mixPreconvertedLinear, At as call, It as vec4, Kt as convertP3ToMixSpaceCPU, R as std, Zt as mixColorsLinear, en as mixPreconvertedVariants, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const beamField = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, gt as mixColorStopsRuntime, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, gt as mixColorStopsRuntime, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
const blobOrganicRadius = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, R as std, W as toneAndColorExpr, n as tgpu, on as d, rt as noise_exports, ut as value13 } from "./coords-
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { At as call, R as std, W as toneAndColorExpr, n as tgpu, on as d, rt as noise_exports, ut as value13 } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-WSY8YuLZ.js";
|
|
4
4
|
const blockNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as call, G as blue12, R as std, W as toneAndColorExpr, n as tgpu, on as d, rt as noise_exports } from "./coords-
|
|
2
|
-
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { At as call, G as blue12, R as std, W as toneAndColorExpr, n as tgpu, on as d, rt as noise_exports } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-WSY8YuLZ.js";
|
|
3
3
|
const blueNoiseField = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, I as createGaussianBlurCompute, It as vec4, L as createVariableGaussianBlurCompute, N as BLUR_MAP_FORMAT, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, B as createGuardedCompute, I as createGaussianBlurCompute, It as vec4, L as createVariableGaussianBlurCompute, N as BLUR_MAP_FORMAT, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
const INTENSITY_TO_RADIUS = .36;
|
|
3
3
|
const intensityToRadius = (intensity) => intensity * INTENSITY_TO_RADIUS;
|
|
4
4
|
function fillMapParams() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, It as vec4, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const brickField = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { At as call, It as vec4, Pt as floatE, R as std, T as sdf_exports, d as sdf3d_exports, et as mxNoiseFloat2, n as tgpu, on as d, rt as noise_exports } from "./coords-
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
1
|
+
import { At as call, It as vec4, Pt as floatE, R as std, T as sdf_exports, d as sdf3d_exports, et as mxNoiseFloat2, n as tgpu, on as d, rt as noise_exports } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-hUL2pCYG.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
4
|
-
import { t as animatedTime } from "./porters-
|
|
4
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
5
5
|
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BlxxsYMN.js";
|
|
6
6
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, xt as composeEdgeRemapExpr } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, xt as composeEdgeRemapExpr } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { c as transformPosition, s as transformEdges } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const bulgeUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
const crtSampleUV = tgpu.fn([
|
|
3
3
|
d.vec2f,
|
|
4
4
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as call, It as vec4, Pt as floatE, R as std, T as sdf_exports, d as sdf3d_exports, et as mxNoiseFloat2, n as tgpu, on as d, rt as noise_exports } from "./coords-
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
1
|
+
import { At as call, It as vec4, Pt as floatE, R as std, T as sdf_exports, d as sdf3d_exports, et as mxNoiseFloat2, n as tgpu, on as d, rt as noise_exports } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-hUL2pCYG.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
4
4
|
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BlxxsYMN.js";
|
|
5
5
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var SIN_045 = Math.sin(.785);
|
|
4
4
|
var COS_045 = Math.cos(.785);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, I as createGaussianBlurCompute, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, I as createGaussianBlurCompute, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.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 { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const checkerCoord = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Ft as mixExpr, It as vec4, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ft as mixExpr, It as vec4, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const chevronMask = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, M as toHalfFloat, Pt as floatE, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, M as toHalfFloat, Pt as floatE, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var GRID_SIZE = 128;
|
|
4
4
|
var num = (v, f) => typeof v === "number" ? v : f;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, It as vec4, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { r as transformAngle } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const chromaticOffsetUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, h as circleSdf, n as tgpu, on as d, p as ShapeMask } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, h as circleSdf, n as tgpu, on as d, p as ShapeMask } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const circleShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const colorWheelT = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, It as vec4, Ot as ZERO, R as std, Ut as blend_exports, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, B as createGuardedCompute, It as vec4, Ot as ZERO, R as std, Ut as blend_exports, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
var LUMA_QUANT = [
|
|
3
3
|
16,
|
|
4
4
|
11,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, xt as composeEdgeRemapExpr } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, xt as composeEdgeRemapExpr } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { c as transformPosition, s as transformEdges } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.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 { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, gt as mixColorStopsRuntime, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, gt as mixColorStopsRuntime, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-Dg80Yg90.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 { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, i as transformBoolean } from "./transformations-fqzznt4g.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 { At as call, It as vec4, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, xt as composeEdgeRemapExpr } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, xt as composeEdgeRemapExpr } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { c as transformPosition, s as transformEdges } from "./transformations-fqzznt4g.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) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, g as crescentSdf, n as tgpu, on as d, p as ShapeMask } from "./coords-
|
|
1
|
+
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, g as crescentSdf, n as tgpu, on as d, p as ShapeMask } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const crescentShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, _ as crossSdf, n as tgpu, on as d, p as ShapeMask } from "./coords-
|
|
1
|
+
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, _ as crossSdf, n as tgpu, on as d, p as ShapeMask } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const crossShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, T as sdf_exports, Ut as blend_exports, d as sdf3d_exports, n as tgpu, nt as mxWorleyNoiseFloat2Pub, on as d, rt as noise_exports } from "./coords-
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
1
|
+
import { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, T as sdf_exports, Ut as blend_exports, d as sdf3d_exports, n as tgpu, nt as mxWorleyNoiseFloat2Pub, on as d, rt as noise_exports } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-hUL2pCYG.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition, i as transformBoolean } from "./transformations-fqzznt4g.js";
|
|
4
4
|
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BlxxsYMN.js";
|
|
5
5
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, R as std, W as toneAndColorExpr, n as tgpu, on as d, q as curl22z, rt 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 { At as call, R as std, W as toneAndColorExpr, n as tgpu, on as d, q as curl22z, rt as noise_exports } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-WSY8YuLZ.js";
|
|
4
4
|
const curlNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, It as vec4, Nt as expr, Ot as ZERO, R as std, V as createStateBuffer, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, B as createGuardedCompute, It as vec4, Nt as expr, Ot as ZERO, R as std, V as createStateBuffer, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var GRID_SIZE = 128;
|
|
4
4
|
var CELL_COUNT = GRID_SIZE * GRID_SIZE;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, Gt as colorMixing_exports, It as vec4, Ot as ZERO, Pt as floatE, R as std, V as createStateBuffer, gt as mixColorStopsRuntime, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, B as createGuardedCompute, Gt as colorMixing_exports, It as vec4, Ot as ZERO, Pt as floatE, R as std, V as createStateBuffer, gt as mixColorStopsRuntime, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-Dg80Yg90.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 { At as call, B as createGuardedCompute, Ft as mixExpr, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, B as createGuardedCompute, Ft as mixExpr, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.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 { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, gt as mixColorStopsRuntime, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, gt as mixColorStopsRuntime, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var DEG_TO_RAD = .017453292519943295;
|
|
5
5
|
const diamondFinalT = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const diffuseBlurUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, kt as arrayExpr, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, kt as arrayExpr, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var transformPattern = (value) => {
|
|
4
4
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, It as vec4, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
const dotGridCellCenterUV = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, i as transformBoolean } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var DEG_TO_RAD = .017453292519943295;
|
|
4
4
|
var WEIGHTS = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, It as vec4, Ot as ZERO, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Ot as ZERO, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, n as tgpu, on as d, p as ShapeMask, v as ellipseSdf } from "./coords-
|
|
1
|
+
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, n as tgpu, on as d, p as ShapeMask, v as ellipseSdf } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const ellipseShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, Pt as floatE, R as std, T as sdf_exports, Wt as unpremultiplyAlpha, cn as __export, d as sdf3d_exports, n as tgpu, on as d } from "./coords-
|
|
2
|
-
import { i as sdfSpaceUV, r as offsetUV } from "./glass-
|
|
1
|
+
import { At as call, Ot as ZERO, Pt as floatE, R as std, T as sdf_exports, Wt as unpremultiplyAlpha, cn as __export, d as sdf3d_exports, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { i as sdfSpaceUV, r as offsetUV } from "./glass-hUL2pCYG.js";
|
|
3
3
|
import { c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
4
4
|
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BlxxsYMN.js";
|
|
5
5
|
var emboss_exports = /* @__PURE__ */ __export({
|
|
@@ -1555,7 +1555,7 @@ const componentDefinition = {
|
|
|
1555
1555
|
}
|
|
1556
1556
|
},
|
|
1557
1557
|
compute: (params) => {
|
|
1558
|
-
const vf = createVolumetricFieldComputeNode(params, () => params.getCpuValue("shape"), "none");
|
|
1558
|
+
const vf = createVolumetricFieldComputeNode(params, () => params.getCpuValue("shape"), "none", "firstLobe");
|
|
1559
1559
|
return vf ? {
|
|
1560
1560
|
outputs: vf.outputs,
|
|
1561
1561
|
getComputeNodes: (fp) => vf.getComputeNodes(fp)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, et as mxNoiseFloat2, n as tgpu, on as d, rt as noise_exports } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Ot as ZERO, Pt as floatE, R as std, Wt as unpremultiplyAlpha, et as mxNoiseFloat2, n as tgpu, on as d, rt as noise_exports } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var TAU = 6.283185307179586;
|
|
4
4
|
var DEG_TO_RAD = .017453292519943295;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as call, J as erosion12, R as std, W as toneAndColorExpr, n as tgpu, on as d, rt as noise_exports } from "./coords-
|
|
2
|
-
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { At as call, J as erosion12, R as std, W as toneAndColorExpr, n as tgpu, on as d, rt as noise_exports } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-WSY8YuLZ.js";
|
|
3
3
|
const erosionNoiseField = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
const exposureColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, gain) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const rgb = color.xyz.mul(gain);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, It as vec4, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var DEG_TO_RAD = Math.PI / 180;
|
|
5
5
|
var colHash = tgpu.fn([d.f32], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((idx) => {
|
|
6
6
|
"use gpu";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const flipUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, Ot as ZERO, Pt as floatE, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, B as createGuardedCompute, Ot as ZERO, Pt as floatE, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var PARTICLE_TEX = 1024;
|
|
4
4
|
var STATE_FORMAT = "rgba16float";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, rt as noise_exports, tt as mxNoiseFloat3, xt as composeEdgeRemapExpr } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, bt as applyEdgeHandlingExpr, n as tgpu, on as d, rt as noise_exports, tt as mxNoiseFloat3, xt as composeEdgeRemapExpr } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var TWO_PI = Math.PI * 2;
|
|
5
5
|
const flowFieldUV = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, n as tgpu, on as d, p as ShapeMask, y as flowerSdf } from "./coords-
|
|
1
|
+
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, T as sdf_exports, Zt as mixColorsLinear, n as tgpu, on as d, p as ShapeMask, y as flowerSdf } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const flowerShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d, rt as noise_exports, tt as mxNoiseFloat3 } from "./coords-
|
|
1
|
+
import { At as call, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d, rt as noise_exports, tt as mxNoiseFloat3 } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var FOUR_PI = 4 * Math.PI;
|
|
5
5
|
const flowingFactors = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Ct as edgeMirrorUV, It as vec4, Nt as expr, Ot as ZERO, R as std, Rt as formatFloat, St as edgeClampUV, Tt as edgeWrapUV, Wt as unpremultiplyAlpha, n as tgpu, on as d, wt as edgeTransparentMask } from "./coords-
|
|
1
|
+
import { At as call, Ct as edgeMirrorUV, It as vec4, Nt as expr, Ot as ZERO, R as std, Rt as formatFloat, St as edgeClampUV, Tt as edgeWrapUV, Wt as unpremultiplyAlpha, n as tgpu, on as d, wt as edgeTransparentMask } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, s as transformEdges } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var PI = Math.PI;
|
|
5
5
|
const FlutedGeom = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(d.struct({
|
|
6
6
|
refractedUV: d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, Gt as colorMixing_exports, It as vec4, Ot as ZERO, R as std, V as createStateBuffer, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, B as createGuardedCompute, Gt as colorMixing_exports, It as vec4, Ot as ZERO, R as std, V as createStateBuffer, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var N = 256;
|
|
4
4
|
var COUNT = N * N;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, cn as __export, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, Wt as unpremultiplyAlpha, cn as __export, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { c as transformPosition, s as transformEdges } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var raymarch3d_exports = /* @__PURE__ */ __export({
|
|
5
5
|
Distortion3DTrace: () => Distortion3DTrace$1,
|
|
6
6
|
applyDistortion3D: () => applyDistortion3D,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, R as std, U as mixStopsOrColorsExpr, et as mxNoiseFloat2, n as tgpu, on as d, rt as noise_exports } from "./coords-
|
|
1
|
+
import { At as call, R as std, U as mixStopsOrColorsExpr, et as mxNoiseFloat2, n as tgpu, on as d, rt as noise_exports } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var GOLDEN = 2.39996;
|
|
5
5
|
const fractalNoiseValue = tgpu.fn([
|
|
6
6
|
d.vec2f,
|