shaders 3.0.438 → 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/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/index.js +170 -170
- 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 +160 -160
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, R as std, S as polygonSdf, 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, E as shapeLocalCoords, It as vec4, O as strokeMaskFromSdf, Qt as mixColorsVariants, R as std, S as polygonSdf, 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 polygonShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
const posterizeColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, steps) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const r = __tsover_div(std.floor(__tsover_mul(color.x, steps)), steps);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
const prismHue2Rgb = tgpu.fn([d.f32], d.vec3f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((h) => {
|
|
5
5
|
"use gpu";
|
|
6
6
|
const x = __tsover_mul(std.fract(h), 6);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, 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, 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
|
import { c as transformPosition, r as transformAngle } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const INTENSITY_TO_RADIUS = .36;
|
|
@@ -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 radialFinalT = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ft as mixExpr, 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, Ft as mixExpr, 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 PI = Math.PI;
|
|
4
4
|
var TAU = Math.PI * 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, L as createVariableGaussianBlurCompute, N as BLUR_MAP_FORMAT, 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, B as createGuardedCompute, L as createVariableGaussianBlurCompute, N as BLUR_MAP_FORMAT, 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
|
var HALF_KERNEL = 30;
|
|
4
4
|
var BLUR_TO_RADIUS_PX = 12;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Lt as Expr, Nt as expr, Ot as ZERO, Rt as formatFloat, Wt as unpremultiplyAlpha } from "./coords-
|
|
1
|
+
import { At as call, Lt as Expr, Nt as expr, Ot as ZERO, Rt as formatFloat, Wt as unpremultiplyAlpha } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Repeater",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, C as ringSdf, 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 } from "./coords-
|
|
1
|
+
import { At as call, C as ringSdf, 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 } 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 ringShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
const ripplesMask = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.f32,
|
|
@@ -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, w as roundedRectSdf } 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, w as roundedRectSdf } 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 roundedRectShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
const saturationColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, intensity) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const rgb = d.vec3f(color.x, color.y, color.z);
|
|
@@ -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, st as scratches12 } from "./coords-
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-
|
|
1
|
+
import { At as call, R as std, W as toneAndColorExpr, n as tgpu, on as d, rt as noise_exports, st as scratches12 } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
3
|
+
import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-WSY8YuLZ.js";
|
|
4
4
|
const scratchesField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
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 sharpnessTapUV = tgpu.fn([
|
|
3
3
|
d.vec2f,
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, M as toHalfFloat, Ot as ZERO, Pt as floatE, 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, M as toHalfFloat, Ot as ZERO, Pt as floatE, 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 seededRandom = (seed) => {
|
|
4
4
|
const x = Math.sin(seed) * 1e4;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, R as std, U as mixStopsOrColorsExpr, n as tgpu, on as d, rt as noise_exports, tt as mxNoiseFloat3 } from "./coords-
|
|
1
|
+
import { At as call, R as std, U as mixStopsOrColorsExpr, 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 { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
const simplexNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -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, c as transformPosition, r as transformAngle } 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 TAU = Math.PI * 2;
|
|
6
6
|
const sineWaveMask = tgpu.fn([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, Gt as colorMixing_exports, It as vec4, Ot as ZERO, 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, 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, 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 N = 256;
|
|
5
5
|
var COUNT = N * N;
|
|
6
6
|
var JACOBI_ITERS = 10;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, Gt as colorMixing_exports, It as vec4, Ot as ZERO, R as std, T as sdf_exports, V as createStateBuffer, d as sdf3d_exports, n as tgpu, on as d } from "./coords-
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
1
|
+
import { At as call, B as createGuardedCompute, Gt as colorMixing_exports, It as vec4, Ot as ZERO, R as std, T as sdf_exports, V as createStateBuffer, d as sdf3d_exports, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-hUL2pCYG.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
4
4
|
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BlxxsYMN.js";
|
|
5
5
|
var { sdfSpaceUV } = glass_exports;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, Gt as colorMixing_exports, It as vec4, Ot as ZERO, 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, 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 N = 256;
|
|
5
5
|
var COUNT = N * N;
|
|
6
6
|
var JACOBI_ITERS = 10;
|
|
@@ -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 { a as transformColor, c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const spherizeGeom = 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, 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 = 6.283185307;
|
|
5
5
|
const spiralOffset = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, D as starSdf, 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 } from "./coords-
|
|
1
|
+
import { At as call, D as starSdf, 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 } 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 starShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as applyNoiseReliefExpr, ct as stone12 } from "./coords-
|
|
1
|
+
import { H as applyNoiseReliefExpr, ct as stone12 } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { t as reliefStylizeProps } from "./noiseStylize-C2jzZv4d.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Stone",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, It as vec4, Jt as hsvToRgb, R as std, Xt as lchToLab, Yt as labToRgb, ht as gradientStopsInSpace, mt as colorStops_exports, n as tgpu, nn as oklchToOklab, on as d, pt as MAX_COLOR_STOPS, qt as hslToRgb, rn as sRGBToP3, tn as oklabToRgb } from "./coords-
|
|
1
|
+
import { At as call, It as vec4, Jt as hsvToRgb, R as std, Xt as lchToLab, Yt as labToRgb, ht as gradientStopsInSpace, mt as colorStops_exports, n as tgpu, nn as oklchToOklab, on as d, pt as MAX_COLOR_STOPS, qt as hslToRgb, rn as sRGBToP3, tn as oklabToRgb } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { c as transformPosition, i as transformBoolean, 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
|
var TAU = Math.PI * 2;
|
|
5
5
|
var PI = Math.PI;
|
|
6
6
|
var MAX = 8;
|
|
@@ -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
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const stretchUV = tgpu.fn([
|
|
@@ -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 stripeCoordP = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -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, c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
var TAU = Math.PI * 2;
|
|
5
5
|
var hash01 = tgpu.fn([d.f32], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((x) => {
|
|
6
6
|
"use gpu";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Ft as mixExpr, It as vec4, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ft as mixExpr, It as vec4, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Dg80Yg90.js";
|
|
4
4
|
const sunBurstAlpha = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, Ct as edgeMirrorUV, Et as edges_exports, It as vec4, Ot as ZERO, R as std, Tt as edgeWrapUV, V as createStateBuffer, Wt as unpremultiplyAlpha, et as mxNoiseFloat2, n as tgpu, on as d, rt as noise_exports } from "./coords-
|
|
1
|
+
import { At as call, B as createGuardedCompute, Ct as edgeMirrorUV, Et as edges_exports, It as vec4, Ot as ZERO, R as std, Tt as edgeWrapUV, V as createStateBuffer, 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, s as transformEdges } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var WAVE_GRID = 256;
|
|
4
4
|
var WAVE_CELLS = WAVE_GRID * WAVE_GRID;
|
|
@@ -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, 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 swirlField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.f32,
|
|
@@ -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, k as teardropSdf, 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, k as teardropSdf, 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 teardropShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
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, c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
3
3
|
import { n as loadGoogleFont, t as isFontAvailable } from "./fonts-3F3pIODs.js";
|
|
4
4
|
function applyTextTransform(text, mode) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as call, Ft as mixExpr, Pt as floatE, Qt as mixColorsVariants, R as std, T as sdf_exports, Zt as mixColorsLinear, cn as __export, d as sdf3d_exports, n as tgpu, on as d } from "./coords-
|
|
2
|
-
import { i as sdfSpaceUV, r as offsetUV, t as glassGradient } from "./glass-
|
|
1
|
+
import { At as call, Ft as mixExpr, Pt as floatE, Qt as mixColorsVariants, R as std, T as sdf_exports, Zt as mixColorsLinear, 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, t as glassGradient } from "./glass-hUL2pCYG.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
4
4
|
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BlxxsYMN.js";
|
|
5
5
|
var thinFilm_exports = /* @__PURE__ */ __export({
|
|
@@ -1116,24 +1116,32 @@ function applyThinFilmEffect$1(params, sdfSampler, options) {
|
|
|
1116
1116
|
ctx.uv,
|
|
1117
1117
|
ctx.aspect
|
|
1118
1118
|
]);
|
|
1119
|
-
const
|
|
1120
|
-
const
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1119
|
+
const surf0 = sdfSampler(sdfUV);
|
|
1120
|
+
const sdfRaw = surf0.member("r");
|
|
1121
|
+
let gradX;
|
|
1122
|
+
let gradY;
|
|
1123
|
+
if (options?.bakedGradients) {
|
|
1124
|
+
gradX = surf0.member("g");
|
|
1125
|
+
gradY = surf0.member("b");
|
|
1126
|
+
} else {
|
|
1127
|
+
const surfX = gradSampler(call(offsetUV, "offsetUV", [
|
|
1128
|
+
sdfUV,
|
|
1129
|
+
floatE(.01),
|
|
1130
|
+
floatE(0)
|
|
1131
|
+
]));
|
|
1132
|
+
const surfY = gradSampler(call(offsetUV, "offsetUV", [
|
|
1133
|
+
sdfUV,
|
|
1134
|
+
floatE(0),
|
|
1135
|
+
floatE(.01)
|
|
1136
|
+
]));
|
|
1137
|
+
const grad = call(glassGradient, "glassGradient", [
|
|
1138
|
+
sdfRaw,
|
|
1139
|
+
surfX.member("r"),
|
|
1140
|
+
surfY.member("r")
|
|
1141
|
+
]);
|
|
1142
|
+
gradX = grad.member("x");
|
|
1143
|
+
gradY = grad.member("y");
|
|
1144
|
+
}
|
|
1137
1145
|
const shade = call(thinFilmShade, "thinFilmShade", [
|
|
1138
1146
|
sdfRaw,
|
|
1139
1147
|
uniforms.scale,
|
|
@@ -1447,7 +1455,7 @@ const componentDefinition = {
|
|
|
1447
1455
|
}
|
|
1448
1456
|
},
|
|
1449
1457
|
compute: (params) => {
|
|
1450
|
-
const vf = createVolumetricFieldComputeNode(params, () => params.getCpuValue("shape"), "none");
|
|
1458
|
+
const vf = createVolumetricFieldComputeNode(params, () => params.getCpuValue("shape"), "none", "firstLobe");
|
|
1451
1459
|
return vf ? {
|
|
1452
1460
|
outputs: vf.outputs,
|
|
1453
1461
|
getComputeNodes: (fp) => vf.getComputeNodes(fp)
|
|
@@ -1456,20 +1464,17 @@ const componentDefinition = {
|
|
|
1456
1464
|
fragment: (params) => {
|
|
1457
1465
|
const { computeOutputs, uniforms, propValues, getCpuValue } = params;
|
|
1458
1466
|
const fieldTex = computeOutputs?.volumetricFieldTexture;
|
|
1459
|
-
if (fieldTex) {
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
gradSampler: s.volumetricFieldSamplerFast
|
|
1471
|
-
});
|
|
1472
|
-
}
|
|
1467
|
+
if (fieldTex) return applyThinFilmEffect(params, buildVolumetricFieldSampler(fieldTex, {
|
|
1468
|
+
originX: uniforms._vfOriginX,
|
|
1469
|
+
originY: uniforms._vfOriginY,
|
|
1470
|
+
spanX: uniforms._vfSpanX,
|
|
1471
|
+
spanY: uniforms._vfSpanY,
|
|
1472
|
+
activeResF: uniforms._vfActiveRes,
|
|
1473
|
+
rBound: uniforms._vfRBound
|
|
1474
|
+
}).volumetricFieldSamplerGrad, {
|
|
1475
|
+
volumetric: true,
|
|
1476
|
+
bakedGradients: true
|
|
1477
|
+
});
|
|
1473
1478
|
const shapeSdfUrl = propValues.shapeSdfUrl || "";
|
|
1474
1479
|
const shapeType = propValues.shapeType || "";
|
|
1475
1480
|
if (shapeSdfUrl) return applyThinFilmEffect(params, createSvgSdfSampler(params, shapeSdfUrl), { volumetric: isVolumetricShapeType(shapeType) });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, B as createGuardedCompute, Ft as mixExpr, 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, Ft as mixExpr, 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
|
import { c as transformPosition, r as transformAngle } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const INTENSITY_TO_RADIUS = .36;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, 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
|
const tintColorPlain = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as trapezoidSdf, 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 } from "./coords-
|
|
1
|
+
import { A as trapezoidSdf, 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 } 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 trapezoidShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -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 = Math.PI / 180;
|
|
5
5
|
var SQRT3 = Math.sqrt(3);
|
|
6
6
|
var TWO_OVER_SQRT3 = 2 / Math.sqrt(3);
|
|
@@ -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 tritoneFactors = tgpu.fn([d.vec4f, d.f32], d.vec3f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, blendMid) => {
|
|
4
4
|
"use gpu";
|
|
@@ -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, r as transformAngle, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
var truchetHash = tgpu.fn([d.vec2f], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
@@ -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 twirlUV = 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
|
var FIELD_LINES = 487;
|
|
3
3
|
var hash2D = tgpu.fn([d.vec2f], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
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, j as vesicaSdf, 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, j as vesicaSdf, 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 vesicaShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
const vibranceColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, adjustment) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const r = color.x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
const videoScaleCover = tgpu.fn([d.vec2f, d.vec2f], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((videoDims, vp) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const videoAspect = __tsover_div(videoDims.x, videoDims.y);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, R as std, n as tgpu, on as d } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-fqzznt4g.js";
|
|
3
3
|
const vignetteColor = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Ft as mixExpr, It as vec4, 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, Ft as mixExpr, It as vec4, 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, 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
|
var voronoiHash = tgpu.fn([d.vec2f], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
5
5
|
"use gpu";
|
|
6
6
|
const h = d.vec2f(std.dot(p, d.vec2f(127.1, 311.7)), std.dot(p, d.vec2f(269.5, 183.3)));
|
|
@@ -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, It as vec4, Nt as expr, 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, Nt as expr, 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 hash21 = tgpu.fn([d.vec2f], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
4
4
|
"use gpu";
|
|
@@ -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 { 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 = Math.PI / 180;
|
|
5
5
|
var TAU = Math.PI * 2;
|
|
6
6
|
const wavePhase = tgpu.fn([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, R as std, W as toneAndColorExpr, dt as wavelet12, n as tgpu, on as d, 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, dt as wavelet12, n as tgpu, on as d, 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 waveletNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, R as std, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, 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 DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const weaveColor = tgpu.fn([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, R as std, a as scaleContain, c as scaleNone, i as sampleUV, l as scaleScaleDown, n as tgpu, o as scaleCover, on as d, r as alphaCutLinear, s as scaleFill } from "./coords-
|
|
1
|
+
import { At as call, R as std, a as scaleContain, c as scaleNone, i as sampleUV, l as scaleScaleDown, n as tgpu, o as scaleCover, on as d, r as alphaCutLinear, s as scaleFill } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
var OBJECT_FIT_MODES = {
|
|
3
3
|
cover: 0,
|
|
4
4
|
contain: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as applyNoiseReliefExpr, ft as wool12 } from "./coords-
|
|
1
|
+
import { H as applyNoiseReliefExpr, ft as wool12 } from "./coords-CWOT0Wqh.js";
|
|
2
2
|
import { t as reliefStylizeProps } from "./noiseStylize-C2jzZv4d.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Wool",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as call, Pt as floatE, Qt as mixColorsVariants, R as std, Zt as mixColorsLinear, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Pt as floatE, 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 TAU = Math.PI * 2;
|
|
5
5
|
const worleyHash = tgpu.fn([d.vec2f], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
6
6
|
"use gpu";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as call, Ot as ZERO, Pt as floatE, Wt as unpremultiplyAlpha, n as tgpu, on as d } from "./coords-
|
|
1
|
+
import { At as call, Ot as ZERO, Pt as floatE, 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;
|