shaders 3.0.451 → 3.0.453
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-4jt7bNoF.js → AngularBlur-B0m-LKoD.js} +2 -2
- package/dist/core/{Arc-DXIfbBgd.js → Arc-DhhcsMqr.js} +3 -3
- package/dist/core/{Ascii-GDof03Ca.js → Ascii-BiFuRRQ1.js} +2 -2
- package/dist/core/{Aurora-CS4vewUW.js → Aurora-B35I8qRz.js} +4 -4
- package/dist/core/{BarShift-BtnYLQ0B.js → BarShift-C_waFkRO.js} +3 -3
- package/dist/core/{BarnDoors-Dw9K-amf.js → BarnDoors-Cnyfsla8.js} +2 -2
- package/dist/core/{Beam-D_cyaMjJ.js → Beam-BPBmQMGD.js} +2 -2
- package/dist/core/{Bend-CSs5UIh8.js → Bend-Bq1Qlhq4.js} +2 -2
- package/dist/core/{Blob-h25zA5WH.js → Blob-BtInePsq.js} +3 -3
- package/dist/core/{BlockDissolve-CKN_KvLP.js → BlockDissolve-i8V6gmZw.js} +3 -3
- package/dist/core/{BlockNoise-DhKyd_F7.js → BlockNoise-BfDNfyBP.js} +5 -5
- package/dist/core/{BlueNoise-Auhzq4x5.js → BlueNoise-CNLIGPMW.js} +4 -4
- package/dist/core/{Blur-CcxMqYsu.js → Blur-B8NcZJdr.js} +3 -3
- package/dist/core/{Boids-D51U46GF.js → Boids-D51ZdvH0.js} +5 -5
- package/dist/core/{BokehBlur-Cfaqbh3I.js → BokehBlur-DO4V8nZ-.js} +4 -4
- package/dist/core/{BrickPattern-tASwilX0.js → BrickPattern-D21Nqxcj.js} +3 -3
- package/dist/core/{BrightnessContrast-ZCKqJW7i.js → BrightnessContrast-QxVeVMih.js} +1 -1
- package/dist/core/{BrushedMetal-B6gSVB28.js → BrushedMetal-Xq4jMVz1.js} +142 -35
- package/dist/core/{Bulge-dCYtWP4S.js → Bulge-CdCqTfrp.js} +2 -2
- package/dist/core/{CRTScreen-CVY1lOGL.js → CRTScreen-D7WSk5fJ.js} +1 -1
- package/dist/core/{CarbonFiber-Do9EONKv.js → CarbonFiber-Dg-XleHg.js} +141 -34
- package/dist/core/{Chalkboard-0hyyGnYl.js → Chalkboard-B_YRavSR.js} +2 -2
- package/dist/core/{ChannelBlur-DcZKCKXi.js → ChannelBlur-BmEILWdn.js} +2 -2
- package/dist/core/{CheckerWipe-BIE62tJ1.js → CheckerWipe-Dbt7TTDK.js} +2 -2
- package/dist/core/{Checkerboard-CRnfu63u.js → Checkerboard-BnWdSZLM.js} +2 -2
- package/dist/core/{Chevron-Ld_v4z9T.js → Chevron-DsJK3THV.js} +3 -3
- package/dist/core/{ChromaFlow-CTWeauIr.js → ChromaFlow-Bj4rfeWl.js} +2 -2
- package/dist/core/{ChromaticAberration-CxuOb68m.js → ChromaticAberration-C2UtSgN3.js} +2 -2
- package/dist/core/Chrome-CSrC5yk_.js +3692 -0
- package/dist/core/{Circle-XP1B5rsN.js → Circle-CJ4IbgBH.js} +3 -3
- package/dist/core/{ColorWheel-CFU_OmOW.js → ColorWheel-C_YLOL93.js} +3 -3
- package/dist/core/{CompressionArtifacts-Bc9xTdQP.js → CompressionArtifacts-BXto-pLr.js} +2 -2
- package/dist/core/{ConcentricSpin-DTJytpAk.js → ConcentricSpin-1tArUXYX.js} +3 -3
- package/dist/core/{ConicGradient-C-4uDmQj.js → ConicGradient-Tw-pg593.js} +3 -3
- package/dist/core/{ContourLines-C8p6f-1y.js → ContourLines-CBFm0hjl.js} +2 -2
- package/dist/core/{CornerPin-CB92kX10.js → CornerPin-BNgPHIHY.js} +2 -2
- package/dist/core/{Crescent-Dk4nlG8T.js → Crescent-BKcpTzwd.js} +3 -3
- package/dist/core/{Cross-DsnI1U8g.js → Cross-CDUSIOgx.js} +3 -3
- package/dist/core/{Crystal-CR_sG2y7.js → Crystal-DN2WgBrm.js} +6 -6
- package/dist/core/{CurlNoise-DJ27ih0F.js → CurlNoise-RsATuC8w.js} +5 -5
- package/dist/core/{CursorRipples-CuO3sZga.js → CursorRipples-DbtJtDDl.js} +3 -3
- package/dist/core/{CursorTrail-d4xx4QpM.js → CursorTrail-yoPFtwk9.js} +4 -4
- package/dist/core/{DataMosh-BhvE-2yC.js → DataMosh-DabFQ-B5.js} +2 -2
- package/dist/core/{DiamondGradient-CtOVKrYf.js → DiamondGradient-DbaUt2tC.js} +3 -3
- package/dist/core/{DiamondWipe-D-yiQBVj.js → DiamondWipe-Jth0vS7V.js} +2 -2
- package/dist/core/{DiffuseBlur-BDf-Czxz.js → DiffuseBlur-BZxj-iAt.js} +2 -2
- package/dist/core/{DisplacementMap-B_jf_2lj.js → DisplacementMap-31H7QPQl.js} +2 -2
- package/dist/core/{Dither-D3P6EJU8.js → Dither-BN-zSZ0l.js} +2 -2
- package/dist/core/{DotGrid-BnSVhJlh.js → DotGrid-BRDFAkBz.js} +3 -3
- package/dist/core/{DropShadow-BSKVH3n3.js → DropShadow-_lFvglPh.js} +2 -2
- package/dist/core/{Duotone-DfjYuK2u.js → Duotone-BhxXqh0S.js} +2 -2
- package/dist/core/{Ellipse-D7_1QKaa.js → Ellipse-NdZQjjl7.js} +3 -3
- package/dist/core/{Emboss-ZiPslqzl.js → Emboss--yOZdnyf.js} +5 -5
- package/dist/core/{Engraving-DsfkKajz.js → Engraving-B26NgnCE.js} +3 -3
- package/dist/core/{ErosionNoise-SELArv9H.js → ErosionNoise-_uC5Hx2q.js} +4 -4
- package/dist/core/{Exposure-A7WlTOti.js → Exposure-BM3eE3ol.js} +1 -1
- package/dist/core/{FallingLines-9PRMb_Ou.js → FallingLines-BuczyepF.js} +3 -3
- package/dist/core/{FilmGrain-SXzVDesw.js → FilmGrain-Dyy76ena.js} +1 -1
- package/dist/core/{FilmStock-RK4fk4m0.js → FilmStock-mi-H3Ul9.js} +3 -3
- package/dist/core/{Flip-DjoNWG4v.js → Flip-rZzkYscj.js} +2 -2
- package/dist/core/{FloatingParticles-D7vUF5g7.js → FloatingParticles-BbbTJldX.js} +5 -5
- package/dist/core/{FlowField-tHrXhd1b.js → FlowField-u0qYoqV2.js} +4 -4
- package/dist/core/{Flower-BfehbmmG.js → Flower--rN6c2HY.js} +3 -3
- package/dist/core/{FlowingGradient-BTKjkx5F.js → FlowingGradient-_zyM9KQn.js} +98 -13
- package/dist/core/{FlutedGlass-uFT7iy_9.js → FlutedGlass-C9-K6UQ7.js} +3 -3
- package/dist/core/{Fog-Cu1CMATa.js → Fog-2iNe3zZl.js} +3 -3
- package/dist/core/{Form3D-D0ji-MeC.js → Form3D-Dmvpcqp1.js} +3 -3
- package/dist/core/{FractalNoise-D9HYiOdr.js → FractalNoise-C8uudMNt.js} +5 -5
- package/dist/core/{Frost-DQZZxdTk.js → Frost-DV2zJSAL.js} +7 -7
- package/dist/core/{GaborNoise-D7BP0K4g.js → GaborNoise-Bty1hWmn.js} +5 -5
- package/dist/core/{Glass-CzCVnGn-.js → Glass-CYmFGP1b.js} +6 -6
- package/dist/core/{GlassTiles-DJzPPqwz.js → GlassTiles-B3vyGos-.js} +1 -1
- package/dist/core/{Glitch-D1Dx8__X.js → Glitch-DcjdwJep.js} +1 -1
- package/dist/core/{Glow-Bd9_o_Kv.js → Glow-D_nSsYo1.js} +3 -3
- package/dist/core/{Godrays-DRPRWGPm.js → Godrays-lPn_O_W-.js} +3 -3
- package/dist/core/{Goo-28A_pNBg.js → Goo-DxEB8kMF.js} +6 -6
- package/dist/core/{GradientMap-D8dv-1AX.js → GradientMap-7G6EOwy8.js} +2 -2
- package/dist/core/{Grayscale-BlVXBVwW.js → Grayscale-BJz0olll.js} +1 -1
- package/dist/core/{Grid-D9vlHvs1.js → Grid-D8ewrixy.js} +2 -2
- package/dist/core/{GridDistortion-BpqDvqj6.js → GridDistortion-CSBRousF.js} +3 -3
- package/dist/core/{Group-bwQnJRec.js → Group-BSg6a8Ro.js} +1 -1
- package/dist/core/{HTMLInCanvas-gCf64ozE.js → HTMLInCanvas-DnQ0ZY38.js} +1 -1
- package/dist/core/{Halftone-B_WouxiP.js → Halftone-B2C55h6_.js} +2 -2
- package/dist/core/{Heart-Bmt2TLNz.js → Heart-0eDZ50ZK.js} +3 -3
- package/dist/core/{Heatmap-Ruef741_.js → Heatmap-BdExXQBU.js} +7 -7
- package/dist/core/{HexGrid-By9k0YuI.js → HexGrid-B6UygS6q.js} +2 -2
- package/dist/core/{Hologram-Cf25ONOE.js → Hologram-D_eqqb8P.js} +7 -7
- package/dist/core/{Holographic-C9RzYykt.js → Holographic-Ctrsya3k.js} +7 -7
- package/dist/core/{HueShift-V3gQVuIo.js → HueShift-CFXxhPpm.js} +1 -1
- package/dist/core/{ImageTexture-DAUR2N5Q.js → ImageTexture-B5oPuXeI.js} +3 -3
- package/dist/core/{InkFlow-DlP1gmr4.js → InkFlow-C7l_qlaJ.js} +3 -3
- package/dist/core/{Invert-K648khvD.js → Invert-Bya7lBpK.js} +1 -1
- package/dist/core/{IrisWipe-Clkd_5CA.js → IrisWipe-Dg9iiTjF.js} +2 -2
- package/dist/core/{IsometricCubes-CzfAwpQ5.js → IsometricCubes-CC-l8cnR.js} +2 -2
- package/dist/core/{Kaleidoscope-B9k6HkNn.js → Kaleidoscope-DhvQTJdp.js} +2 -2
- package/dist/core/{KeyFrames-DX6JFhsy.js → KeyFrames-ZTsc7rtN.js} +3 -3
- package/dist/core/{LensDistortion-DG4VHEXV.js → LensDistortion-KiZJXFKC.js} +2 -2
- package/dist/core/{LensFlare-DO5lm--6.js → LensFlare-D5fr8RPA.js} +3 -3
- package/dist/core/{LightEdge-CxWsQwpZ.js → LightEdge-D0NOWDh7.js} +7 -7
- package/dist/core/{LightLeak-tGJW6l2_.js → LightLeak-DdaidQ1D.js} +4 -4
- package/dist/core/Line-B5DIIWBz.js +1428 -0
- package/dist/core/{LinearBlur-OmZcUden.js → LinearBlur-CyQxSLS2.js} +2 -2
- package/dist/core/{LinearGradient-DDqFujWC.js → LinearGradient-B8tyawJy.js} +3 -3
- package/dist/core/{LinearWipe-BzthBFNb.js → LinearWipe-D5UkI1cK.js} +2 -2
- package/dist/core/{LiquidMetal-DpRAJ5Ne.js → LiquidMetal-vARkyRL2.js} +230 -41
- package/dist/core/{Liquify-BVzmuY6D.js → Liquify-Djnk6ryT.js} +3 -3
- package/dist/core/{MagneticFilings-BP1KyU2C.js → MagneticFilings-BfTe8-Jn.js} +5 -5
- package/dist/core/{Marble-abj97ioG.js → Marble-3s7VS-tT.js} +4 -4
- package/dist/core/{Mirror-BYqbXWUj.js → Mirror-Ck4Hzdd8.js} +2 -2
- package/dist/core/{MultiPointGradient-DZZSkiDv.js → MultiPointGradient-CdzqMTN9.js} +2 -2
- package/dist/core/{Neon-DD8qY6H9.js → Neon-B8iSfL5s.js} +5 -5
- package/dist/core/{NoiseDissolve-DSkh5NdD.js → NoiseDissolve-Df70NgHI.js} +3 -3
- package/dist/core/{ObjectTracker-DvQF31-0.js → ObjectTracker-CFpotAyg.js} +3 -3
- package/dist/core/{PagePeel-DWtgqWdt.js → PagePeel-Bmc4hBhO.js} +1 -1
- package/dist/core/{Paper-DGzZsv79.js → Paper-af7JgKOt.js} +2 -2
- package/dist/core/{Parallelogram-Ce0Pg7DX.js → Parallelogram-D7bW1gMV.js} +3 -3
- package/dist/core/{ParticleField-CgCOigET.js → ParticleField-FPUBkJmo.js} +4 -4
- package/dist/core/{ParticleFlow-CRQhvYQx.js → ParticleFlow-DfdDvN-j.js} +5 -5
- package/dist/core/{Particles-fKk9qTkl.js → Particles-DZaTzOZP.js} +7 -7
- package/dist/core/{PerlinNoise-DIFK1BpN.js → PerlinNoise-DPaPG55C.js} +5 -5
- package/dist/core/{Perspective-CDNz_7y5.js → Perspective-DBzb7DC9.js} +2 -2
- package/dist/core/{PixelSort-sgh5ghCc.js → PixelSort-sqoLBmqR.js} +2 -2
- package/dist/core/{PixelThrow-CXtB4Am2.js → PixelThrow-arRYRlCO.js} +2 -2
- package/dist/core/{Pixelate-BSOzwVHo.js → Pixelate-Ba_iNPwv.js} +1 -1
- package/dist/core/{Plasma-G6Hl__3L.js → Plasma-zC1y0At6.js} +4 -4
- package/dist/core/{Plastic-B6F2WeaX.js → Plastic-C-NBXCG-.js} +7 -7
- package/dist/core/{PolarCoordinates-Bi99omfI.js → PolarCoordinates-CjV_EFpN.js} +2 -2
- package/dist/core/{Polygon-BFxoe-Fg.js → Polygon-0kVtkdec.js} +3 -3
- package/dist/core/{Posterize-DxiCXLUL.js → Posterize-BUt2MAqY.js} +1 -1
- package/dist/core/{Prism-D6J-acZf.js → Prism-BBSdqnRm.js} +3 -3
- package/dist/core/{ProgressiveBlur-Bko6UMxQ.js → ProgressiveBlur-CQhyaOwl.js} +4 -4
- package/dist/core/{RadialGradient-B_Dgxs9_.js → RadialGradient-BXLBHnCC.js} +3 -3
- package/dist/core/{RadialWipe-U9n5aeiJ.js → RadialWipe-DfJ3dL7p.js} +2 -2
- package/dist/core/{RandomBars-U_zpGDJh.js → RandomBars-B-EaAz9c.js} +3 -3
- package/dist/core/{ReactionDiffusion-I9xj-iK_.js → ReactionDiffusion-r1qHYWoB.js} +3 -3
- package/dist/core/{RectangularCoordinates-DX6wutjX.js → RectangularCoordinates-CFGiELUv.js} +2 -2
- package/dist/core/{ReflectivePlane-DU9pf-7H.js → ReflectivePlane-BbKUjtUs.js} +4 -4
- package/dist/core/{Repeater-kCIaHHFy.js → Repeater-DZhhgwMr.js} +2 -2
- package/dist/core/{Ring-B_tYq3KV.js → Ring-DFxV0XzX.js} +3 -3
- package/dist/core/{RippleWipe-DCgZZ4VT.js → RippleWipe-DFh-8SmT.js} +2 -2
- package/dist/core/{Ripples-BDhMh7XC.js → Ripples-BG24IcNH.js} +3 -3
- package/dist/core/{RoundedRect-9b3REf2d.js → RoundedRect-B2EDoIqT.js} +3 -3
- package/dist/core/{Saturation-CcblT031.js → Saturation-DKbtxVNf.js} +1 -1
- package/dist/core/{Scratches-Rzk27V6D.js → Scratches-C40D6A1_.js} +5 -5
- package/dist/core/{Sharpness-ClLOnNR8.js → Sharpness-DygCiVsY.js} +1 -1
- package/dist/core/{Shatter-CLI896c7.js → Shatter-eVP3Mt9W.js} +3 -3
- package/dist/core/{SimplexNoise-98RPhPzU.js → SimplexNoise-HorjLzId.js} +5 -5
- package/dist/core/{SineWave-BZPrTdYD.js → SineWave-CTIhqhO-.js} +3 -3
- package/dist/core/{SliceWipe-BR5Qr38C.js → SliceWipe-D3yX3CAm.js} +1 -1
- package/dist/core/{Smoke-DoW6Brlo.js → Smoke-CFr-A3JD.js} +4 -4
- package/dist/core/{SmokeFill-CXHhKX8u.js → SmokeFill-DglhxF4x.js} +6 -6
- package/dist/core/{SmokeFlow-mRJ_JcnZ.js → SmokeFlow-CC1tfLRh.js} +4 -4
- package/dist/core/{Solarize-BNCG4TCa.js → Solarize-wvgIpPSb.js} +1 -1
- package/dist/core/{SolidColor-dYxjV0YF.js → SolidColor-CQ9bQ-k6.js} +1 -1
- package/dist/core/{Spherize-6d5WZIZV.js → Spherize-N33ACzeM.js} +2 -2
- package/dist/core/{Spiral-IOZ-Zm0_.js → Spiral-NeLWfZ6k.js} +3 -3
- package/dist/core/{Star-D9txpy4P.js → Star-DqkPHXlP.js} +3 -3
- package/dist/core/{Stone-H2qLOvGJ.js → Stone-mVzuC5SK.js} +2 -2
- package/dist/core/{Strands-Db6_uJAi.js → Strands-C19HsqO_.js} +3 -3
- package/dist/core/{Stretch-BIFeD7-1.js → Stretch-CAGlZjVf.js} +2 -2
- package/dist/core/{Stripes-5YZhE4bc.js → Stripes-DH9wZV3F.js} +3 -3
- package/dist/core/{StudioBackground-B16ICQTt.js → StudioBackground-DPsj_N10.js} +352 -403
- package/dist/core/{SunBurst-DSUFLqjC.js → SunBurst-D5p0QAnh.js} +3 -3
- package/dist/core/{Surface3D-BoliMAeJ.js → Surface3D-HSAAGomd.js} +4 -4
- package/dist/core/{Swirl-CozBN2cj.js → Swirl-C1lH2gAk.js} +3 -3
- package/dist/core/{Teardrop-D8uqqHu8.js → Teardrop-b8XQR6NO.js} +3 -3
- package/dist/core/{Text-Dka9dwCa.js → Text-DPjLa6Eh.js} +3 -3
- package/dist/core/{ThinFilm-d7IlUY62.js → ThinFilm-DhpK-SoR.js} +5 -5
- package/dist/core/{TiltShift-CNc1M7bT.js → TiltShift-e57KIilk.js} +4 -4
- package/dist/core/{TimeTrail-BFuqrI-l.js → TimeTrail-CYofyeeE.js} +3 -3
- package/dist/core/{Tint-BzCm1m93.js → Tint-DBM82OkZ.js} +2 -2
- package/dist/core/{Trapezoid-Dc6dpnCU.js → Trapezoid-DaIBhsop.js} +3 -3
- package/dist/core/{TriangularGrid-BMemTQ8X.js → TriangularGrid-CBOVJOcR.js} +3 -3
- package/dist/core/{Tritone-XnyfjYXL.js → Tritone-D6Dur2eo.js} +2 -2
- package/dist/core/{Truchet-DUbAZPvr.js → Truchet-sunCQd_E.js} +2 -2
- package/dist/core/{Twirl-Dj6ZOh7V.js → Twirl-D3-3HSuS.js} +2 -2
- package/dist/core/{VHS-DcN38Sa-.js → VHS-DtyeGxi8.js} +1 -1
- package/dist/core/{VenetianBlinds-Dsix9S6Y.js → VenetianBlinds-H8OVGxhT.js} +2 -2
- package/dist/core/{Vesica-BvLPrNBY.js → Vesica-C8MrL_up.js} +3 -3
- package/dist/core/{Vibrance-B3F1IOJC.js → Vibrance-B8gBhQS7.js} +1 -1
- package/dist/core/{VideoTexture-rZnbkY1j.js → VideoTexture--U8aiyP1.js} +2 -2
- package/dist/core/{Vignette-D747S9Un.js → Vignette-yIXlpfCE.js} +2 -2
- package/dist/core/{Voronoi-tdjJp1Yz.js → Voronoi-BW4RE3MQ.js} +3 -3
- package/dist/core/{Water-wnYFmeVF.js → Water-uLbQQrt-.js} +7 -7
- package/dist/core/{Watercolor-DlrWTnkX.js → Watercolor-CcZ0fVEu.js} +3 -3
- package/dist/core/{WaveDistortion-11QwOfVR.js → WaveDistortion-DasSsVxv.js} +3 -3
- package/dist/core/{WaveletNoise-DWOzHG3M.js → WaveletNoise-DpRWc5Qw.js} +5 -5
- package/dist/core/{Weave-CdGwj7cZ.js → Weave-CLGYIcmf.js} +2 -2
- package/dist/core/{WebcamTexture-CihYSbzd.js → WebcamTexture--GTVU-Bm.js} +3 -3
- package/dist/core/{Wool-DKCBMabi.js → Wool-uy61uieK.js} +2 -2
- package/dist/core/{WorleyNoise-BjD32UOl.js → WorleyNoise-i7i0azT8.js} +3 -3
- package/dist/core/{ZoomBlur-BnRTijPn.js → ZoomBlur-OQP2jw3F.js} +2 -2
- package/dist/core/{agents-c-JjGH1b.js → agents-BVhq_Z2T.js} +1 -1
- package/dist/core/bevel-BGAb1fb2.js +121 -0
- package/dist/core/{blur-DKmdsW6d.js → blur-cLcFzL4x.js} +3 -3
- package/dist/core/{compute-BoeIXi0l.js → compute-Ax-p6Ubc.js} +1 -1
- package/dist/core/{edges-BZUKQxSE.js → edges-B7Yet3LV.js} +10 -10
- package/dist/core/{glass-BVqgjSPg.js → glass-CNFJB2On.js} +8 -8
- package/dist/core/gpu/composer.d.ts +1 -0
- package/dist/core/gpu/composer.d.ts.map +1 -1
- package/dist/core/gpu/kit/blur.d.ts +7 -7
- package/dist/core/gpu/kit/blur.d.ts.map +1 -1
- package/dist/core/gpu/kit/effects/bevel.d.ts +5 -0
- package/dist/core/gpu/kit/effects/bevel.d.ts.map +1 -0
- package/dist/core/gpu/kit/effects/glass.d.ts.map +1 -1
- package/dist/core/gpu/kit/effects/index.d.ts +1 -0
- package/dist/core/gpu/kit/effects/index.d.ts.map +1 -1
- package/dist/core/gpu/porters.d.ts +1 -1
- package/dist/core/gpu/porters.d.ts.map +1 -1
- package/dist/core/index.js +210 -207
- package/dist/core/{media-Ds6MRfGR.js → media-Y-WxQcQD.js} +1 -1
- package/dist/core/{noise-Cq0KUOSC.js → noise-B-PI7JUx.js} +1 -1
- package/dist/core/{noiseColor-CQyzqpVZ.js → noiseColor-BQAO-Rjk.js} +2 -2
- package/dist/core/{noiseColor-DjCUZ_8u.js → noiseColor-Cgx-FS2o.js} +2 -2
- package/dist/core/{noiseStylize-fKVcJbGK.js → noiseStylize-BN5zji1E.js} +2 -2
- package/dist/core/{porters-DogLzpKT.js → porters-D_xmIPz2.js} +2 -2
- package/dist/core/registry.js +210 -207
- package/dist/core/{sdf-o99ONcMJ.js → sdf-B8rPE1PG.js} +1 -1
- package/dist/core/shaderRegistry-DFRVhoj2.js +431 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +5 -5
- package/dist/core/shaders/Arc/index.js +6 -6
- package/dist/core/shaders/Ascii/index.js +5 -5
- package/dist/core/shaders/Aurora/index.js +6 -6
- package/dist/core/shaders/BarShift/index.js +5 -5
- package/dist/core/shaders/BarnDoors/index.js +5 -5
- package/dist/core/shaders/Beam/index.js +5 -5
- package/dist/core/shaders/Bend/index.js +5 -5
- package/dist/core/shaders/Blob/index.js +5 -5
- package/dist/core/shaders/BlockDissolve/index.js +6 -6
- package/dist/core/shaders/BlockNoise/index.js +8 -8
- package/dist/core/shaders/BlueNoise/index.js +8 -8
- package/dist/core/shaders/Blur/index.js +6 -6
- package/dist/core/shaders/Boids/index.js +7 -7
- package/dist/core/shaders/BokehBlur/index.js +6 -6
- package/dist/core/shaders/BrickPattern/index.js +5 -5
- package/dist/core/shaders/BrightnessContrast/index.js +5 -5
- package/dist/core/shaders/BrushedMetal/index.d.ts +13 -1
- package/dist/core/shaders/BrushedMetal/index.d.ts.map +1 -1
- package/dist/core/shaders/BrushedMetal/index.js +10 -9
- package/dist/core/shaders/Bulge/index.js +5 -5
- package/dist/core/shaders/CRTScreen/index.js +5 -5
- package/dist/core/shaders/CarbonFiber/index.d.ts +13 -1
- package/dist/core/shaders/CarbonFiber/index.d.ts.map +1 -1
- package/dist/core/shaders/CarbonFiber/index.js +10 -9
- package/dist/core/shaders/Chalkboard/index.js +5 -5
- package/dist/core/shaders/ChannelBlur/index.js +6 -6
- package/dist/core/shaders/CheckerWipe/index.js +5 -5
- package/dist/core/shaders/Checkerboard/index.js +5 -5
- package/dist/core/shaders/Chevron/index.js +5 -5
- package/dist/core/shaders/ChromaFlow/index.js +5 -5
- package/dist/core/shaders/ChromaticAberration/index.js +5 -5
- package/dist/core/shaders/Chrome/index.d.ts +152 -0
- package/dist/core/shaders/Chrome/index.d.ts.map +1 -0
- package/dist/core/shaders/Chrome/index.js +14 -0
- package/dist/core/shaders/Circle/index.js +6 -6
- package/dist/core/shaders/ColorWheel/index.js +5 -5
- package/dist/core/shaders/CompressionArtifacts/index.js +5 -5
- package/dist/core/shaders/ConcentricSpin/index.js +5 -5
- package/dist/core/shaders/ConicGradient/index.js +5 -5
- package/dist/core/shaders/ContourLines/index.js +5 -5
- package/dist/core/shaders/CornerPin/index.js +5 -5
- package/dist/core/shaders/Crescent/index.js +6 -6
- package/dist/core/shaders/Cross/index.js +6 -6
- package/dist/core/shaders/Crystal/index.js +9 -9
- package/dist/core/shaders/CurlNoise/index.js +8 -8
- package/dist/core/shaders/CursorRipples/index.js +5 -5
- package/dist/core/shaders/CursorTrail/index.js +5 -5
- package/dist/core/shaders/DataMosh/index.js +5 -5
- package/dist/core/shaders/DiamondGradient/index.js +5 -5
- package/dist/core/shaders/DiamondWipe/index.js +5 -5
- package/dist/core/shaders/DiffuseBlur/index.js +5 -5
- package/dist/core/shaders/DisplacementMap/index.js +5 -5
- package/dist/core/shaders/Dither/index.js +5 -5
- package/dist/core/shaders/DotGrid/index.js +5 -5
- package/dist/core/shaders/DropShadow/index.js +5 -5
- package/dist/core/shaders/Duotone/index.js +5 -5
- package/dist/core/shaders/Ellipse/index.js +6 -6
- package/dist/core/shaders/Emboss/index.js +8 -8
- package/dist/core/shaders/Engraving/index.js +6 -6
- package/dist/core/shaders/ErosionNoise/index.js +8 -8
- package/dist/core/shaders/Exposure/index.js +5 -5
- package/dist/core/shaders/FallingLines/index.js +5 -5
- package/dist/core/shaders/FilmGrain/index.js +5 -5
- package/dist/core/shaders/FilmStock/index.js +6 -6
- package/dist/core/shaders/Flip/index.js +5 -5
- package/dist/core/shaders/FloatingParticles/index.js +7 -7
- package/dist/core/shaders/FlowField/index.js +6 -6
- package/dist/core/shaders/Flower/index.js +6 -6
- package/dist/core/shaders/FlowingGradient/index.d.ts.map +1 -1
- package/dist/core/shaders/FlowingGradient/index.js +6 -6
- package/dist/core/shaders/FlutedGlass/index.js +5 -5
- package/dist/core/shaders/Fog/index.js +5 -5
- package/dist/core/shaders/Form3D/index.js +5 -5
- package/dist/core/shaders/FractalNoise/index.js +7 -7
- package/dist/core/shaders/Frost/index.js +9 -9
- package/dist/core/shaders/GaborNoise/index.js +8 -8
- package/dist/core/shaders/Glass/index.js +9 -9
- package/dist/core/shaders/GlassTiles/index.js +5 -5
- package/dist/core/shaders/Glitch/index.js +5 -5
- package/dist/core/shaders/Glow/index.js +6 -6
- package/dist/core/shaders/Godrays/index.js +5 -5
- package/dist/core/shaders/Goo/index.js +8 -8
- package/dist/core/shaders/GradientMap/index.js +5 -5
- package/dist/core/shaders/Grayscale/index.js +5 -5
- package/dist/core/shaders/Grid/index.js +5 -5
- package/dist/core/shaders/GridDistortion/index.js +5 -5
- package/dist/core/shaders/Group/index.js +5 -5
- package/dist/core/shaders/HTMLInCanvas/index.js +5 -5
- package/dist/core/shaders/Halftone/index.js +5 -5
- package/dist/core/shaders/Heart/index.js +6 -6
- package/dist/core/shaders/Heatmap/index.js +9 -9
- package/dist/core/shaders/HexGrid/index.js +5 -5
- package/dist/core/shaders/Hologram/index.js +9 -9
- package/dist/core/shaders/Holographic/index.js +9 -9
- package/dist/core/shaders/HueShift/index.js +5 -5
- package/dist/core/shaders/ImageTexture/index.js +7 -7
- package/dist/core/shaders/InkFlow/index.js +5 -5
- package/dist/core/shaders/Invert/index.js +5 -5
- package/dist/core/shaders/IrisWipe/index.js +5 -5
- package/dist/core/shaders/IsometricCubes/index.js +5 -5
- package/dist/core/shaders/Kaleidoscope/index.js +5 -5
- package/dist/core/shaders/KeyFrames/index.js +5 -5
- package/dist/core/shaders/LensDistortion/index.js +5 -5
- package/dist/core/shaders/LensFlare/index.js +5 -5
- package/dist/core/shaders/LightEdge/index.js +9 -9
- package/dist/core/shaders/LightLeak/index.js +6 -6
- package/dist/core/shaders/Line/index.d.ts +72 -0
- package/dist/core/shaders/Line/index.d.ts.map +1 -0
- package/dist/core/shaders/Line/index.js +7 -0
- package/dist/core/shaders/LinearBlur/index.js +5 -5
- package/dist/core/shaders/LinearGradient/index.js +5 -5
- package/dist/core/shaders/LinearWipe/index.js +5 -5
- package/dist/core/shaders/LiquidMetal/index.d.ts +13 -1
- package/dist/core/shaders/LiquidMetal/index.d.ts.map +1 -1
- package/dist/core/shaders/LiquidMetal/index.js +10 -9
- package/dist/core/shaders/Liquify/index.js +5 -5
- package/dist/core/shaders/MagneticFilings/index.js +7 -7
- package/dist/core/shaders/Marble/index.js +6 -6
- package/dist/core/shaders/Mirror/index.js +5 -5
- package/dist/core/shaders/MultiPointGradient/index.js +5 -5
- package/dist/core/shaders/Neon/index.js +7 -7
- package/dist/core/shaders/NoiseDissolve/index.js +6 -6
- package/dist/core/shaders/ObjectTracker/index.js +6 -6
- package/dist/core/shaders/PagePeel/index.js +5 -5
- package/dist/core/shaders/Paper/index.js +6 -6
- package/dist/core/shaders/Parallelogram/index.js +6 -6
- package/dist/core/shaders/ParticleField/index.js +7 -7
- package/dist/core/shaders/ParticleFlow/index.js +7 -7
- package/dist/core/shaders/Particles/index.js +9 -9
- package/dist/core/shaders/PerlinNoise/index.js +8 -8
- package/dist/core/shaders/Perspective/index.js +5 -5
- package/dist/core/shaders/PixelSort/index.js +5 -5
- package/dist/core/shaders/PixelThrow/index.js +5 -5
- package/dist/core/shaders/Pixelate/index.js +5 -5
- package/dist/core/shaders/Plasma/index.js +6 -6
- package/dist/core/shaders/Plastic/index.js +9 -9
- package/dist/core/shaders/PolarCoordinates/index.js +5 -5
- package/dist/core/shaders/Polygon/index.js +6 -6
- package/dist/core/shaders/Posterize/index.js +5 -5
- package/dist/core/shaders/Prism/index.js +5 -5
- package/dist/core/shaders/ProgressiveBlur/index.js +6 -6
- package/dist/core/shaders/RadialGradient/index.js +5 -5
- package/dist/core/shaders/RadialWipe/index.js +5 -5
- package/dist/core/shaders/RandomBars/index.js +6 -6
- package/dist/core/shaders/ReactionDiffusion/index.js +5 -5
- package/dist/core/shaders/RectangularCoordinates/index.js +5 -5
- package/dist/core/shaders/ReflectivePlane/index.js +6 -6
- package/dist/core/shaders/Repeater/index.js +5 -5
- package/dist/core/shaders/Ring/index.js +6 -6
- package/dist/core/shaders/RippleWipe/index.js +5 -5
- package/dist/core/shaders/Ripples/index.js +5 -5
- package/dist/core/shaders/RoundedRect/index.js +6 -6
- package/dist/core/shaders/Saturation/index.js +5 -5
- package/dist/core/shaders/Scratches/index.js +8 -8
- package/dist/core/shaders/Sharpness/index.js +5 -5
- package/dist/core/shaders/Shatter/index.js +5 -5
- package/dist/core/shaders/SimplexNoise/index.js +7 -7
- package/dist/core/shaders/SineWave/index.js +5 -5
- package/dist/core/shaders/SliceWipe/index.js +5 -5
- package/dist/core/shaders/Smoke/index.js +5 -5
- package/dist/core/shaders/SmokeFill/index.js +8 -8
- package/dist/core/shaders/SmokeFlow/index.js +5 -5
- package/dist/core/shaders/Solarize/index.js +5 -5
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +5 -5
- package/dist/core/shaders/Spiral/index.js +5 -5
- package/dist/core/shaders/Star/index.js +6 -6
- package/dist/core/shaders/Stone/index.js +4 -4
- package/dist/core/shaders/Strands/index.js +5 -5
- package/dist/core/shaders/Stretch/index.js +5 -5
- package/dist/core/shaders/Stripes/index.js +5 -5
- package/dist/core/shaders/StudioBackground/index.d.ts +1 -1
- package/dist/core/shaders/StudioBackground/index.d.ts.map +1 -1
- package/dist/core/shaders/StudioBackground/index.js +5 -5
- package/dist/core/shaders/SunBurst/index.js +5 -5
- package/dist/core/shaders/Surface3D/index.js +6 -6
- package/dist/core/shaders/Swirl/index.js +5 -5
- package/dist/core/shaders/Teardrop/index.js +6 -6
- package/dist/core/shaders/Text/index.js +6 -6
- package/dist/core/shaders/ThinFilm/index.js +7 -7
- package/dist/core/shaders/TiltShift/index.js +6 -6
- package/dist/core/shaders/TimeTrail/index.js +5 -5
- package/dist/core/shaders/Tint/index.js +5 -5
- package/dist/core/shaders/Trapezoid/index.js +6 -6
- package/dist/core/shaders/TriangularGrid/index.js +5 -5
- package/dist/core/shaders/Tritone/index.js +5 -5
- package/dist/core/shaders/Truchet/index.js +5 -5
- package/dist/core/shaders/Twirl/index.js +5 -5
- package/dist/core/shaders/VHS/index.js +5 -5
- package/dist/core/shaders/VenetianBlinds/index.js +5 -5
- package/dist/core/shaders/Vesica/index.js +6 -6
- package/dist/core/shaders/Vibrance/index.js +5 -5
- package/dist/core/shaders/VideoTexture/index.js +6 -6
- package/dist/core/shaders/Vignette/index.js +5 -5
- package/dist/core/shaders/Voronoi/index.js +5 -5
- package/dist/core/shaders/Water/index.js +9 -9
- package/dist/core/shaders/Watercolor/index.js +6 -6
- package/dist/core/shaders/WaveDistortion/index.js +5 -5
- package/dist/core/shaders/WaveletNoise/index.js +8 -8
- package/dist/core/shaders/Weave/index.js +5 -5
- package/dist/core/shaders/WebcamTexture/index.js +7 -7
- package/dist/core/shaders/Wool/index.js +4 -4
- package/dist/core/shaders/WorleyNoise/index.js +5 -5
- package/dist/core/shaders/ZoomBlur/index.js +5 -5
- package/dist/core/{shapeEffectBounds-Dg4GQ5vW.js → shapeEffectBounds-Svfd_R5a.js} +13 -9
- package/dist/core/utilities/shapeEffectBounds.d.ts.map +1 -1
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/js/bundle.js +166 -166
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +54 -0
- package/dist/react/Chrome.js +226 -0
- package/dist/react/Line.js +226 -0
- package/dist/react/Preview.js +2 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +153 -153
- package/dist/react/components/BrushedMetal.d.ts +3 -1
- package/dist/react/components/BrushedMetal.d.ts.map +1 -1
- package/dist/react/components/CarbonFiber.d.ts +3 -1
- package/dist/react/components/CarbonFiber.d.ts.map +1 -1
- package/dist/react/components/Chrome.d.ts +46 -0
- package/dist/react/components/Chrome.d.ts.map +1 -0
- package/dist/react/components/Line.d.ts +40 -0
- package/dist/react/components/Line.d.ts.map +1 -0
- package/dist/react/components/LiquidMetal.d.ts +3 -1
- package/dist/react/components/LiquidMetal.d.ts.map +1 -1
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +3 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +54 -0
- package/dist/registry.js +1179 -2
- package/dist/solid/components/BrushedMetal.d.ts +3 -1
- package/dist/solid/components/BrushedMetal.d.ts.map +1 -1
- package/dist/solid/components/CarbonFiber.d.ts +3 -1
- package/dist/solid/components/CarbonFiber.d.ts.map +1 -1
- package/dist/solid/components/Chrome.d.ts +43 -0
- package/dist/solid/components/Chrome.d.ts.map +1 -0
- package/dist/solid/components/Chrome.js +232 -0
- package/dist/solid/components/Line.d.ts +37 -0
- package/dist/solid/components/Line.d.ts.map +1 -0
- package/dist/solid/components/Line.js +232 -0
- package/dist/solid/components/LiquidMetal.d.ts +3 -1
- package/dist/solid/components/LiquidMetal.d.ts.map +1 -1
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +203 -199
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +2 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +333 -329
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +54 -0
- package/dist/svelte/components/BrushedMetal.svelte.d.ts +2 -0
- package/dist/svelte/components/CarbonFiber.svelte.d.ts +2 -0
- package/dist/svelte/components/Chrome.svelte.d.ts +33 -0
- package/dist/svelte/components/Line.svelte.d.ts +27 -0
- package/dist/svelte/components/LiquidMetal.svelte.d.ts +2 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +2313 -1899
- package/dist/svelte/source/components/BrushedMetal.svelte +2 -0
- package/dist/svelte/source/components/CarbonFiber.svelte +2 -0
- package/dist/svelte/source/components/Chrome.svelte +357 -0
- package/dist/svelte/source/components/Line.svelte +351 -0
- package/dist/svelte/source/components/LiquidMetal.svelte +2 -0
- package/dist/svelte/source/engine/Preview.svelte +4 -0
- package/dist/svelte/source/index.js +2 -0
- package/dist/svelte/utils/generatePresetCode.js +54 -0
- package/dist/vue/BrushedMetal.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/CarbonFiber.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/Chrome.js +3 -0
- package/dist/vue/Chrome.vue_vue_type_script_setup_true_lang.js +247 -0
- package/dist/vue/Line.js +3 -0
- package/dist/vue/Line.vue_vue_type_script_setup_true_lang.js +234 -0
- package/dist/vue/LiquidMetal.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +4 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/components/BrushedMetal.vue.d.ts +2 -0
- package/dist/vue/components/BrushedMetal.vue.d.ts.map +1 -1
- package/dist/vue/components/CarbonFiber.vue.d.ts +2 -0
- package/dist/vue/components/CarbonFiber.vue.d.ts.map +1 -1
- package/dist/vue/components/Chrome.vue.d.ts +68 -0
- package/dist/vue/components/Chrome.vue.d.ts.map +1 -0
- package/dist/vue/components/Line.vue.d.ts +62 -0
- package/dist/vue/components/Line.vue.d.ts.map +1 -0
- package/dist/vue/components/LiquidMetal.vue.d.ts +2 -0
- package/dist/vue/components/LiquidMetal.vue.d.ts.map +1 -1
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +3 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +54 -0
- package/package.json +17 -1
- package/dist/core/shaderRegistry-CkDrffEe.js +0 -427
- /package/dist/core/{fonts-DFuXI3Hk.js → fonts-DxVn9e-I.js} +0 -0
- /package/dist/core/{naturalSize-B679wTgN.js → naturalSize-BPCi_I-Z.js} +0 -0
- /package/dist/core/{transformations-CsPUHppB.js → transformations-C7gn_5rF.js} +0 -0
|
@@ -0,0 +1,1428 @@
|
|
|
1
|
+
import { At as max, Dt as floor, Gt as data_exports, Ht as sqrt, Vt as smoothstep, _t as abs, b as vec4, gt as select, it as std_exports, jt as min, kt as length, ln as f32, m as call, nt as src_default, rn as vec2f, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-C7gn_5rF.js";
|
|
3
|
+
var EPS = 1e-5;
|
|
4
|
+
var LINE_STYLE_MODES = {
|
|
5
|
+
solid: 0,
|
|
6
|
+
dashed: 1,
|
|
7
|
+
dotted: 2
|
|
8
|
+
};
|
|
9
|
+
const transformLineStyle = (value) => LINE_STYLE_MODES[value] ?? 0;
|
|
10
|
+
var LINE_CAP_MODES = {
|
|
11
|
+
square: 0,
|
|
12
|
+
rounded: 1
|
|
13
|
+
};
|
|
14
|
+
const transformLineCap = (value) => LINE_CAP_MODES[value] ?? 1;
|
|
15
|
+
const lineMask = src_default.fn([
|
|
16
|
+
vec2f,
|
|
17
|
+
vec2f,
|
|
18
|
+
vec2f,
|
|
19
|
+
vec2f,
|
|
20
|
+
f32,
|
|
21
|
+
f32,
|
|
22
|
+
f32,
|
|
23
|
+
f32,
|
|
24
|
+
f32,
|
|
25
|
+
f32
|
|
26
|
+
], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, viewport, pointA, pointB, thickness, style, dashLength, gapLength, capStart, capEnd) => {
|
|
27
|
+
"use gpu";
|
|
28
|
+
const aspect = __tsover_div(viewport.x, viewport.y);
|
|
29
|
+
const px = __tsover_mul(uv.x, aspect);
|
|
30
|
+
const ax = __tsover_mul(pointA.x, aspect);
|
|
31
|
+
const ay = __tsover_sub(1, pointA.y);
|
|
32
|
+
const bx = __tsover_mul(pointB.x, aspect);
|
|
33
|
+
const by = __tsover_sub(1, pointB.y);
|
|
34
|
+
const pax = __tsover_sub(px, ax);
|
|
35
|
+
const pay = __tsover_sub(uv.y, ay);
|
|
36
|
+
const bax = __tsover_sub(bx, ax);
|
|
37
|
+
const bay = __tsover_sub(by, ay);
|
|
38
|
+
const len = max(length(vec2f(bax, bay)), f32(EPS));
|
|
39
|
+
const t = __tsover_div(__tsover_add(__tsover_mul(pax, bax), __tsover_mul(pay, bay)), len);
|
|
40
|
+
const overshoot = max(max(-t, __tsover_sub(t, len)), f32(0));
|
|
41
|
+
const h = clamp(__tsover_div(t, len), f32(0), f32(1));
|
|
42
|
+
const dSeg = length(vec2f(__tsover_sub(pax, __tsover_mul(bax, h)), __tsover_sub(pay, __tsover_mul(bay, h))));
|
|
43
|
+
const perp = sqrt(max(__tsover_sub(__tsover_mul(dSeg, dSeg), __tsover_mul(overshoot, overshoot)), f32(0)));
|
|
44
|
+
const halfT = __tsover_mul(thickness, .5);
|
|
45
|
+
const cSolid = __tsover_sub(t, __tsover_mul(len, .5));
|
|
46
|
+
const axSolid = __tsover_mul(len, .5);
|
|
47
|
+
const rawDash = max(dashLength, f32(EPS));
|
|
48
|
+
const rawPeriod = __tsover_add(rawDash, gapLength);
|
|
49
|
+
const nDash = max(floor(__tsover_add(__tsover_div(__tsover_add(len, gapLength), rawPeriod), .5)), f32(1));
|
|
50
|
+
const scale = __tsover_div(len, max(__tsover_add(__tsover_mul(nDash, rawDash), __tsover_mul(__tsover_sub(nDash, 1), gapLength)), f32(EPS)));
|
|
51
|
+
const dashL = __tsover_mul(rawDash, scale);
|
|
52
|
+
const period = __tsover_mul(rawPeriod, scale);
|
|
53
|
+
const kDash = clamp(floor(__tsover_div(t, period)), f32(0), __tsover_sub(nDash, 1));
|
|
54
|
+
const cDash = __tsover_sub(t, __tsover_add(__tsover_mul(kDash, period), __tsover_mul(dashL, .5)));
|
|
55
|
+
const axDashRound = max(__tsover_sub(__tsover_mul(dashL, .5), halfT), f32(0));
|
|
56
|
+
const axDashSquare = __tsover_mul(dashL, .5);
|
|
57
|
+
const rawDotPeriod = max(__tsover_add(thickness, gapLength), f32(EPS));
|
|
58
|
+
const nDot = max(floor(__tsover_add(__tsover_div(len, rawDotPeriod), .5)), f32(1));
|
|
59
|
+
const dotPeriod = __tsover_div(len, nDot);
|
|
60
|
+
const kDot = clamp(floor(__tsover_add(__tsover_div(t, dotPeriod), .5)), f32(0), nDot);
|
|
61
|
+
const cDot = __tsover_sub(t, __tsover_mul(kDot, dotPeriod));
|
|
62
|
+
const isPattern = style >= .5;
|
|
63
|
+
const isDotted = style >= 1.5;
|
|
64
|
+
const c = select(cSolid, select(cDash, cDot, isDotted), isPattern);
|
|
65
|
+
const axRound = select(axSolid, select(axDashRound, f32(0), isDotted), isPattern);
|
|
66
|
+
const axSquare = select(axSolid, select(axDashSquare, halfT, isDotted), isPattern);
|
|
67
|
+
const capHere = select(capStart, capEnd, c > 0);
|
|
68
|
+
const sdRound = __tsover_sub(length(vec2f(max(__tsover_sub(abs(c), axRound), f32(0)), perp)), halfT);
|
|
69
|
+
const qx = __tsover_sub(abs(c), axSquare);
|
|
70
|
+
const qy = __tsover_sub(perp, halfT);
|
|
71
|
+
const sd = select(__tsover_add(length(vec2f(max(qx, f32(0)), max(qy, f32(0)))), min(max(qx, qy), f32(0))), sdRound, capHere >= .5);
|
|
72
|
+
const feather = __tsover_div(1, viewport.y);
|
|
73
|
+
return __tsover_sub(1, smoothstep(-feather, feather, sd));
|
|
74
|
+
}), {
|
|
75
|
+
v: 1,
|
|
76
|
+
name: void 0,
|
|
77
|
+
ast: {
|
|
78
|
+
"params": [
|
|
79
|
+
{
|
|
80
|
+
"type": "i",
|
|
81
|
+
"name": "uv"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "i",
|
|
85
|
+
"name": "viewport"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "i",
|
|
89
|
+
"name": "pointA"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"type": "i",
|
|
93
|
+
"name": "pointB"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"type": "i",
|
|
97
|
+
"name": "thickness"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "i",
|
|
101
|
+
"name": "style"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "i",
|
|
105
|
+
"name": "dashLength"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "i",
|
|
109
|
+
"name": "gapLength"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "i",
|
|
113
|
+
"name": "capStart"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "i",
|
|
117
|
+
"name": "capEnd"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"body": [0, [
|
|
121
|
+
[
|
|
122
|
+
13,
|
|
123
|
+
"aspect",
|
|
124
|
+
[
|
|
125
|
+
1,
|
|
126
|
+
[
|
|
127
|
+
7,
|
|
128
|
+
"viewport",
|
|
129
|
+
"x"
|
|
130
|
+
],
|
|
131
|
+
"/",
|
|
132
|
+
[
|
|
133
|
+
7,
|
|
134
|
+
"viewport",
|
|
135
|
+
"y"
|
|
136
|
+
]
|
|
137
|
+
]
|
|
138
|
+
],
|
|
139
|
+
[
|
|
140
|
+
13,
|
|
141
|
+
"px",
|
|
142
|
+
[
|
|
143
|
+
1,
|
|
144
|
+
[
|
|
145
|
+
7,
|
|
146
|
+
"uv",
|
|
147
|
+
"x"
|
|
148
|
+
],
|
|
149
|
+
"*",
|
|
150
|
+
"aspect"
|
|
151
|
+
]
|
|
152
|
+
],
|
|
153
|
+
[
|
|
154
|
+
13,
|
|
155
|
+
"ax",
|
|
156
|
+
[
|
|
157
|
+
1,
|
|
158
|
+
[
|
|
159
|
+
7,
|
|
160
|
+
"pointA",
|
|
161
|
+
"x"
|
|
162
|
+
],
|
|
163
|
+
"*",
|
|
164
|
+
"aspect"
|
|
165
|
+
]
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
13,
|
|
169
|
+
"ay",
|
|
170
|
+
[
|
|
171
|
+
1,
|
|
172
|
+
[5, "1"],
|
|
173
|
+
"-",
|
|
174
|
+
[
|
|
175
|
+
7,
|
|
176
|
+
"pointA",
|
|
177
|
+
"y"
|
|
178
|
+
]
|
|
179
|
+
]
|
|
180
|
+
],
|
|
181
|
+
[
|
|
182
|
+
13,
|
|
183
|
+
"bx",
|
|
184
|
+
[
|
|
185
|
+
1,
|
|
186
|
+
[
|
|
187
|
+
7,
|
|
188
|
+
"pointB",
|
|
189
|
+
"x"
|
|
190
|
+
],
|
|
191
|
+
"*",
|
|
192
|
+
"aspect"
|
|
193
|
+
]
|
|
194
|
+
],
|
|
195
|
+
[
|
|
196
|
+
13,
|
|
197
|
+
"by",
|
|
198
|
+
[
|
|
199
|
+
1,
|
|
200
|
+
[5, "1"],
|
|
201
|
+
"-",
|
|
202
|
+
[
|
|
203
|
+
7,
|
|
204
|
+
"pointB",
|
|
205
|
+
"y"
|
|
206
|
+
]
|
|
207
|
+
]
|
|
208
|
+
],
|
|
209
|
+
[
|
|
210
|
+
13,
|
|
211
|
+
"pax",
|
|
212
|
+
[
|
|
213
|
+
1,
|
|
214
|
+
"px",
|
|
215
|
+
"-",
|
|
216
|
+
"ax"
|
|
217
|
+
]
|
|
218
|
+
],
|
|
219
|
+
[
|
|
220
|
+
13,
|
|
221
|
+
"pay",
|
|
222
|
+
[
|
|
223
|
+
1,
|
|
224
|
+
[
|
|
225
|
+
7,
|
|
226
|
+
"uv",
|
|
227
|
+
"y"
|
|
228
|
+
],
|
|
229
|
+
"-",
|
|
230
|
+
"ay"
|
|
231
|
+
]
|
|
232
|
+
],
|
|
233
|
+
[
|
|
234
|
+
13,
|
|
235
|
+
"bax",
|
|
236
|
+
[
|
|
237
|
+
1,
|
|
238
|
+
"bx",
|
|
239
|
+
"-",
|
|
240
|
+
"ax"
|
|
241
|
+
]
|
|
242
|
+
],
|
|
243
|
+
[
|
|
244
|
+
13,
|
|
245
|
+
"bay",
|
|
246
|
+
[
|
|
247
|
+
1,
|
|
248
|
+
"by",
|
|
249
|
+
"-",
|
|
250
|
+
"ay"
|
|
251
|
+
]
|
|
252
|
+
],
|
|
253
|
+
[
|
|
254
|
+
13,
|
|
255
|
+
"len",
|
|
256
|
+
[
|
|
257
|
+
6,
|
|
258
|
+
[
|
|
259
|
+
7,
|
|
260
|
+
"std",
|
|
261
|
+
"max"
|
|
262
|
+
],
|
|
263
|
+
[[
|
|
264
|
+
6,
|
|
265
|
+
[
|
|
266
|
+
7,
|
|
267
|
+
"std",
|
|
268
|
+
"length"
|
|
269
|
+
],
|
|
270
|
+
[[
|
|
271
|
+
6,
|
|
272
|
+
[
|
|
273
|
+
7,
|
|
274
|
+
"d",
|
|
275
|
+
"vec2f"
|
|
276
|
+
],
|
|
277
|
+
["bax", "bay"]
|
|
278
|
+
]]
|
|
279
|
+
], [
|
|
280
|
+
6,
|
|
281
|
+
[
|
|
282
|
+
7,
|
|
283
|
+
"d",
|
|
284
|
+
"f32"
|
|
285
|
+
],
|
|
286
|
+
["EPS"]
|
|
287
|
+
]]
|
|
288
|
+
]
|
|
289
|
+
],
|
|
290
|
+
[
|
|
291
|
+
13,
|
|
292
|
+
"t",
|
|
293
|
+
[
|
|
294
|
+
1,
|
|
295
|
+
[
|
|
296
|
+
1,
|
|
297
|
+
[
|
|
298
|
+
1,
|
|
299
|
+
"pax",
|
|
300
|
+
"*",
|
|
301
|
+
"bax"
|
|
302
|
+
],
|
|
303
|
+
"+",
|
|
304
|
+
[
|
|
305
|
+
1,
|
|
306
|
+
"pay",
|
|
307
|
+
"*",
|
|
308
|
+
"bay"
|
|
309
|
+
]
|
|
310
|
+
],
|
|
311
|
+
"/",
|
|
312
|
+
"len"
|
|
313
|
+
]
|
|
314
|
+
],
|
|
315
|
+
[
|
|
316
|
+
13,
|
|
317
|
+
"overshoot",
|
|
318
|
+
[
|
|
319
|
+
6,
|
|
320
|
+
[
|
|
321
|
+
7,
|
|
322
|
+
"std",
|
|
323
|
+
"max"
|
|
324
|
+
],
|
|
325
|
+
[[
|
|
326
|
+
6,
|
|
327
|
+
[
|
|
328
|
+
7,
|
|
329
|
+
"std",
|
|
330
|
+
"max"
|
|
331
|
+
],
|
|
332
|
+
[[
|
|
333
|
+
4,
|
|
334
|
+
"-",
|
|
335
|
+
"t"
|
|
336
|
+
], [
|
|
337
|
+
1,
|
|
338
|
+
"t",
|
|
339
|
+
"-",
|
|
340
|
+
"len"
|
|
341
|
+
]]
|
|
342
|
+
], [
|
|
343
|
+
6,
|
|
344
|
+
[
|
|
345
|
+
7,
|
|
346
|
+
"d",
|
|
347
|
+
"f32"
|
|
348
|
+
],
|
|
349
|
+
[[5, "0"]]
|
|
350
|
+
]]
|
|
351
|
+
]
|
|
352
|
+
],
|
|
353
|
+
[
|
|
354
|
+
13,
|
|
355
|
+
"h",
|
|
356
|
+
[
|
|
357
|
+
6,
|
|
358
|
+
[
|
|
359
|
+
7,
|
|
360
|
+
"std",
|
|
361
|
+
"clamp"
|
|
362
|
+
],
|
|
363
|
+
[
|
|
364
|
+
[
|
|
365
|
+
1,
|
|
366
|
+
"t",
|
|
367
|
+
"/",
|
|
368
|
+
"len"
|
|
369
|
+
],
|
|
370
|
+
[
|
|
371
|
+
6,
|
|
372
|
+
[
|
|
373
|
+
7,
|
|
374
|
+
"d",
|
|
375
|
+
"f32"
|
|
376
|
+
],
|
|
377
|
+
[[5, "0"]]
|
|
378
|
+
],
|
|
379
|
+
[
|
|
380
|
+
6,
|
|
381
|
+
[
|
|
382
|
+
7,
|
|
383
|
+
"d",
|
|
384
|
+
"f32"
|
|
385
|
+
],
|
|
386
|
+
[[5, "1"]]
|
|
387
|
+
]
|
|
388
|
+
]
|
|
389
|
+
]
|
|
390
|
+
],
|
|
391
|
+
[
|
|
392
|
+
13,
|
|
393
|
+
"dSeg",
|
|
394
|
+
[
|
|
395
|
+
6,
|
|
396
|
+
[
|
|
397
|
+
7,
|
|
398
|
+
"std",
|
|
399
|
+
"length"
|
|
400
|
+
],
|
|
401
|
+
[[
|
|
402
|
+
6,
|
|
403
|
+
[
|
|
404
|
+
7,
|
|
405
|
+
"d",
|
|
406
|
+
"vec2f"
|
|
407
|
+
],
|
|
408
|
+
[[
|
|
409
|
+
1,
|
|
410
|
+
"pax",
|
|
411
|
+
"-",
|
|
412
|
+
[
|
|
413
|
+
1,
|
|
414
|
+
"bax",
|
|
415
|
+
"*",
|
|
416
|
+
"h"
|
|
417
|
+
]
|
|
418
|
+
], [
|
|
419
|
+
1,
|
|
420
|
+
"pay",
|
|
421
|
+
"-",
|
|
422
|
+
[
|
|
423
|
+
1,
|
|
424
|
+
"bay",
|
|
425
|
+
"*",
|
|
426
|
+
"h"
|
|
427
|
+
]
|
|
428
|
+
]]
|
|
429
|
+
]]
|
|
430
|
+
]
|
|
431
|
+
],
|
|
432
|
+
[
|
|
433
|
+
13,
|
|
434
|
+
"perp",
|
|
435
|
+
[
|
|
436
|
+
6,
|
|
437
|
+
[
|
|
438
|
+
7,
|
|
439
|
+
"std",
|
|
440
|
+
"sqrt"
|
|
441
|
+
],
|
|
442
|
+
[[
|
|
443
|
+
6,
|
|
444
|
+
[
|
|
445
|
+
7,
|
|
446
|
+
"std",
|
|
447
|
+
"max"
|
|
448
|
+
],
|
|
449
|
+
[[
|
|
450
|
+
1,
|
|
451
|
+
[
|
|
452
|
+
1,
|
|
453
|
+
"dSeg",
|
|
454
|
+
"*",
|
|
455
|
+
"dSeg"
|
|
456
|
+
],
|
|
457
|
+
"-",
|
|
458
|
+
[
|
|
459
|
+
1,
|
|
460
|
+
"overshoot",
|
|
461
|
+
"*",
|
|
462
|
+
"overshoot"
|
|
463
|
+
]
|
|
464
|
+
], [
|
|
465
|
+
6,
|
|
466
|
+
[
|
|
467
|
+
7,
|
|
468
|
+
"d",
|
|
469
|
+
"f32"
|
|
470
|
+
],
|
|
471
|
+
[[5, "0"]]
|
|
472
|
+
]]
|
|
473
|
+
]]
|
|
474
|
+
]
|
|
475
|
+
],
|
|
476
|
+
[
|
|
477
|
+
13,
|
|
478
|
+
"halfT",
|
|
479
|
+
[
|
|
480
|
+
1,
|
|
481
|
+
"thickness",
|
|
482
|
+
"*",
|
|
483
|
+
[5, "0.5"]
|
|
484
|
+
]
|
|
485
|
+
],
|
|
486
|
+
[
|
|
487
|
+
13,
|
|
488
|
+
"cSolid",
|
|
489
|
+
[
|
|
490
|
+
1,
|
|
491
|
+
"t",
|
|
492
|
+
"-",
|
|
493
|
+
[
|
|
494
|
+
1,
|
|
495
|
+
"len",
|
|
496
|
+
"*",
|
|
497
|
+
[5, "0.5"]
|
|
498
|
+
]
|
|
499
|
+
]
|
|
500
|
+
],
|
|
501
|
+
[
|
|
502
|
+
13,
|
|
503
|
+
"axSolid",
|
|
504
|
+
[
|
|
505
|
+
1,
|
|
506
|
+
"len",
|
|
507
|
+
"*",
|
|
508
|
+
[5, "0.5"]
|
|
509
|
+
]
|
|
510
|
+
],
|
|
511
|
+
[
|
|
512
|
+
13,
|
|
513
|
+
"rawDash",
|
|
514
|
+
[
|
|
515
|
+
6,
|
|
516
|
+
[
|
|
517
|
+
7,
|
|
518
|
+
"std",
|
|
519
|
+
"max"
|
|
520
|
+
],
|
|
521
|
+
["dashLength", [
|
|
522
|
+
6,
|
|
523
|
+
[
|
|
524
|
+
7,
|
|
525
|
+
"d",
|
|
526
|
+
"f32"
|
|
527
|
+
],
|
|
528
|
+
["EPS"]
|
|
529
|
+
]]
|
|
530
|
+
]
|
|
531
|
+
],
|
|
532
|
+
[
|
|
533
|
+
13,
|
|
534
|
+
"rawPeriod",
|
|
535
|
+
[
|
|
536
|
+
1,
|
|
537
|
+
"rawDash",
|
|
538
|
+
"+",
|
|
539
|
+
"gapLength"
|
|
540
|
+
]
|
|
541
|
+
],
|
|
542
|
+
[
|
|
543
|
+
13,
|
|
544
|
+
"nDash",
|
|
545
|
+
[
|
|
546
|
+
6,
|
|
547
|
+
[
|
|
548
|
+
7,
|
|
549
|
+
"std",
|
|
550
|
+
"max"
|
|
551
|
+
],
|
|
552
|
+
[[
|
|
553
|
+
6,
|
|
554
|
+
[
|
|
555
|
+
7,
|
|
556
|
+
"std",
|
|
557
|
+
"floor"
|
|
558
|
+
],
|
|
559
|
+
[[
|
|
560
|
+
1,
|
|
561
|
+
[
|
|
562
|
+
1,
|
|
563
|
+
[
|
|
564
|
+
1,
|
|
565
|
+
"len",
|
|
566
|
+
"+",
|
|
567
|
+
"gapLength"
|
|
568
|
+
],
|
|
569
|
+
"/",
|
|
570
|
+
"rawPeriod"
|
|
571
|
+
],
|
|
572
|
+
"+",
|
|
573
|
+
[5, "0.5"]
|
|
574
|
+
]]
|
|
575
|
+
], [
|
|
576
|
+
6,
|
|
577
|
+
[
|
|
578
|
+
7,
|
|
579
|
+
"d",
|
|
580
|
+
"f32"
|
|
581
|
+
],
|
|
582
|
+
[[5, "1"]]
|
|
583
|
+
]]
|
|
584
|
+
]
|
|
585
|
+
],
|
|
586
|
+
[
|
|
587
|
+
13,
|
|
588
|
+
"scale",
|
|
589
|
+
[
|
|
590
|
+
1,
|
|
591
|
+
"len",
|
|
592
|
+
"/",
|
|
593
|
+
[
|
|
594
|
+
6,
|
|
595
|
+
[
|
|
596
|
+
7,
|
|
597
|
+
"std",
|
|
598
|
+
"max"
|
|
599
|
+
],
|
|
600
|
+
[[
|
|
601
|
+
1,
|
|
602
|
+
[
|
|
603
|
+
1,
|
|
604
|
+
"nDash",
|
|
605
|
+
"*",
|
|
606
|
+
"rawDash"
|
|
607
|
+
],
|
|
608
|
+
"+",
|
|
609
|
+
[
|
|
610
|
+
1,
|
|
611
|
+
[
|
|
612
|
+
1,
|
|
613
|
+
"nDash",
|
|
614
|
+
"-",
|
|
615
|
+
[5, "1"]
|
|
616
|
+
],
|
|
617
|
+
"*",
|
|
618
|
+
"gapLength"
|
|
619
|
+
]
|
|
620
|
+
], [
|
|
621
|
+
6,
|
|
622
|
+
[
|
|
623
|
+
7,
|
|
624
|
+
"d",
|
|
625
|
+
"f32"
|
|
626
|
+
],
|
|
627
|
+
["EPS"]
|
|
628
|
+
]]
|
|
629
|
+
]
|
|
630
|
+
]
|
|
631
|
+
],
|
|
632
|
+
[
|
|
633
|
+
13,
|
|
634
|
+
"dashL",
|
|
635
|
+
[
|
|
636
|
+
1,
|
|
637
|
+
"rawDash",
|
|
638
|
+
"*",
|
|
639
|
+
"scale"
|
|
640
|
+
]
|
|
641
|
+
],
|
|
642
|
+
[
|
|
643
|
+
13,
|
|
644
|
+
"period",
|
|
645
|
+
[
|
|
646
|
+
1,
|
|
647
|
+
"rawPeriod",
|
|
648
|
+
"*",
|
|
649
|
+
"scale"
|
|
650
|
+
]
|
|
651
|
+
],
|
|
652
|
+
[
|
|
653
|
+
13,
|
|
654
|
+
"kDash",
|
|
655
|
+
[
|
|
656
|
+
6,
|
|
657
|
+
[
|
|
658
|
+
7,
|
|
659
|
+
"std",
|
|
660
|
+
"clamp"
|
|
661
|
+
],
|
|
662
|
+
[
|
|
663
|
+
[
|
|
664
|
+
6,
|
|
665
|
+
[
|
|
666
|
+
7,
|
|
667
|
+
"std",
|
|
668
|
+
"floor"
|
|
669
|
+
],
|
|
670
|
+
[[
|
|
671
|
+
1,
|
|
672
|
+
"t",
|
|
673
|
+
"/",
|
|
674
|
+
"period"
|
|
675
|
+
]]
|
|
676
|
+
],
|
|
677
|
+
[
|
|
678
|
+
6,
|
|
679
|
+
[
|
|
680
|
+
7,
|
|
681
|
+
"d",
|
|
682
|
+
"f32"
|
|
683
|
+
],
|
|
684
|
+
[[5, "0"]]
|
|
685
|
+
],
|
|
686
|
+
[
|
|
687
|
+
1,
|
|
688
|
+
"nDash",
|
|
689
|
+
"-",
|
|
690
|
+
[5, "1"]
|
|
691
|
+
]
|
|
692
|
+
]
|
|
693
|
+
]
|
|
694
|
+
],
|
|
695
|
+
[
|
|
696
|
+
13,
|
|
697
|
+
"cDash",
|
|
698
|
+
[
|
|
699
|
+
1,
|
|
700
|
+
"t",
|
|
701
|
+
"-",
|
|
702
|
+
[
|
|
703
|
+
1,
|
|
704
|
+
[
|
|
705
|
+
1,
|
|
706
|
+
"kDash",
|
|
707
|
+
"*",
|
|
708
|
+
"period"
|
|
709
|
+
],
|
|
710
|
+
"+",
|
|
711
|
+
[
|
|
712
|
+
1,
|
|
713
|
+
"dashL",
|
|
714
|
+
"*",
|
|
715
|
+
[5, "0.5"]
|
|
716
|
+
]
|
|
717
|
+
]
|
|
718
|
+
]
|
|
719
|
+
],
|
|
720
|
+
[
|
|
721
|
+
13,
|
|
722
|
+
"axDashRound",
|
|
723
|
+
[
|
|
724
|
+
6,
|
|
725
|
+
[
|
|
726
|
+
7,
|
|
727
|
+
"std",
|
|
728
|
+
"max"
|
|
729
|
+
],
|
|
730
|
+
[[
|
|
731
|
+
1,
|
|
732
|
+
[
|
|
733
|
+
1,
|
|
734
|
+
"dashL",
|
|
735
|
+
"*",
|
|
736
|
+
[5, "0.5"]
|
|
737
|
+
],
|
|
738
|
+
"-",
|
|
739
|
+
"halfT"
|
|
740
|
+
], [
|
|
741
|
+
6,
|
|
742
|
+
[
|
|
743
|
+
7,
|
|
744
|
+
"d",
|
|
745
|
+
"f32"
|
|
746
|
+
],
|
|
747
|
+
[[5, "0"]]
|
|
748
|
+
]]
|
|
749
|
+
]
|
|
750
|
+
],
|
|
751
|
+
[
|
|
752
|
+
13,
|
|
753
|
+
"axDashSquare",
|
|
754
|
+
[
|
|
755
|
+
1,
|
|
756
|
+
"dashL",
|
|
757
|
+
"*",
|
|
758
|
+
[5, "0.5"]
|
|
759
|
+
]
|
|
760
|
+
],
|
|
761
|
+
[
|
|
762
|
+
13,
|
|
763
|
+
"rawDotPeriod",
|
|
764
|
+
[
|
|
765
|
+
6,
|
|
766
|
+
[
|
|
767
|
+
7,
|
|
768
|
+
"std",
|
|
769
|
+
"max"
|
|
770
|
+
],
|
|
771
|
+
[[
|
|
772
|
+
1,
|
|
773
|
+
"thickness",
|
|
774
|
+
"+",
|
|
775
|
+
"gapLength"
|
|
776
|
+
], [
|
|
777
|
+
6,
|
|
778
|
+
[
|
|
779
|
+
7,
|
|
780
|
+
"d",
|
|
781
|
+
"f32"
|
|
782
|
+
],
|
|
783
|
+
["EPS"]
|
|
784
|
+
]]
|
|
785
|
+
]
|
|
786
|
+
],
|
|
787
|
+
[
|
|
788
|
+
13,
|
|
789
|
+
"nDot",
|
|
790
|
+
[
|
|
791
|
+
6,
|
|
792
|
+
[
|
|
793
|
+
7,
|
|
794
|
+
"std",
|
|
795
|
+
"max"
|
|
796
|
+
],
|
|
797
|
+
[[
|
|
798
|
+
6,
|
|
799
|
+
[
|
|
800
|
+
7,
|
|
801
|
+
"std",
|
|
802
|
+
"floor"
|
|
803
|
+
],
|
|
804
|
+
[[
|
|
805
|
+
1,
|
|
806
|
+
[
|
|
807
|
+
1,
|
|
808
|
+
"len",
|
|
809
|
+
"/",
|
|
810
|
+
"rawDotPeriod"
|
|
811
|
+
],
|
|
812
|
+
"+",
|
|
813
|
+
[5, "0.5"]
|
|
814
|
+
]]
|
|
815
|
+
], [
|
|
816
|
+
6,
|
|
817
|
+
[
|
|
818
|
+
7,
|
|
819
|
+
"d",
|
|
820
|
+
"f32"
|
|
821
|
+
],
|
|
822
|
+
[[5, "1"]]
|
|
823
|
+
]]
|
|
824
|
+
]
|
|
825
|
+
],
|
|
826
|
+
[
|
|
827
|
+
13,
|
|
828
|
+
"dotPeriod",
|
|
829
|
+
[
|
|
830
|
+
1,
|
|
831
|
+
"len",
|
|
832
|
+
"/",
|
|
833
|
+
"nDot"
|
|
834
|
+
]
|
|
835
|
+
],
|
|
836
|
+
[
|
|
837
|
+
13,
|
|
838
|
+
"kDot",
|
|
839
|
+
[
|
|
840
|
+
6,
|
|
841
|
+
[
|
|
842
|
+
7,
|
|
843
|
+
"std",
|
|
844
|
+
"clamp"
|
|
845
|
+
],
|
|
846
|
+
[
|
|
847
|
+
[
|
|
848
|
+
6,
|
|
849
|
+
[
|
|
850
|
+
7,
|
|
851
|
+
"std",
|
|
852
|
+
"floor"
|
|
853
|
+
],
|
|
854
|
+
[[
|
|
855
|
+
1,
|
|
856
|
+
[
|
|
857
|
+
1,
|
|
858
|
+
"t",
|
|
859
|
+
"/",
|
|
860
|
+
"dotPeriod"
|
|
861
|
+
],
|
|
862
|
+
"+",
|
|
863
|
+
[5, "0.5"]
|
|
864
|
+
]]
|
|
865
|
+
],
|
|
866
|
+
[
|
|
867
|
+
6,
|
|
868
|
+
[
|
|
869
|
+
7,
|
|
870
|
+
"d",
|
|
871
|
+
"f32"
|
|
872
|
+
],
|
|
873
|
+
[[5, "0"]]
|
|
874
|
+
],
|
|
875
|
+
"nDot"
|
|
876
|
+
]
|
|
877
|
+
]
|
|
878
|
+
],
|
|
879
|
+
[
|
|
880
|
+
13,
|
|
881
|
+
"cDot",
|
|
882
|
+
[
|
|
883
|
+
1,
|
|
884
|
+
"t",
|
|
885
|
+
"-",
|
|
886
|
+
[
|
|
887
|
+
1,
|
|
888
|
+
"kDot",
|
|
889
|
+
"*",
|
|
890
|
+
"dotPeriod"
|
|
891
|
+
]
|
|
892
|
+
]
|
|
893
|
+
],
|
|
894
|
+
[
|
|
895
|
+
13,
|
|
896
|
+
"isPattern",
|
|
897
|
+
[
|
|
898
|
+
1,
|
|
899
|
+
"style",
|
|
900
|
+
">=",
|
|
901
|
+
[5, "0.5"]
|
|
902
|
+
]
|
|
903
|
+
],
|
|
904
|
+
[
|
|
905
|
+
13,
|
|
906
|
+
"isDotted",
|
|
907
|
+
[
|
|
908
|
+
1,
|
|
909
|
+
"style",
|
|
910
|
+
">=",
|
|
911
|
+
[5, "1.5"]
|
|
912
|
+
]
|
|
913
|
+
],
|
|
914
|
+
[
|
|
915
|
+
13,
|
|
916
|
+
"c",
|
|
917
|
+
[
|
|
918
|
+
6,
|
|
919
|
+
[
|
|
920
|
+
7,
|
|
921
|
+
"std",
|
|
922
|
+
"select"
|
|
923
|
+
],
|
|
924
|
+
[
|
|
925
|
+
"cSolid",
|
|
926
|
+
[
|
|
927
|
+
6,
|
|
928
|
+
[
|
|
929
|
+
7,
|
|
930
|
+
"std",
|
|
931
|
+
"select"
|
|
932
|
+
],
|
|
933
|
+
[
|
|
934
|
+
"cDash",
|
|
935
|
+
"cDot",
|
|
936
|
+
"isDotted"
|
|
937
|
+
]
|
|
938
|
+
],
|
|
939
|
+
"isPattern"
|
|
940
|
+
]
|
|
941
|
+
]
|
|
942
|
+
],
|
|
943
|
+
[
|
|
944
|
+
13,
|
|
945
|
+
"axRound",
|
|
946
|
+
[
|
|
947
|
+
6,
|
|
948
|
+
[
|
|
949
|
+
7,
|
|
950
|
+
"std",
|
|
951
|
+
"select"
|
|
952
|
+
],
|
|
953
|
+
[
|
|
954
|
+
"axSolid",
|
|
955
|
+
[
|
|
956
|
+
6,
|
|
957
|
+
[
|
|
958
|
+
7,
|
|
959
|
+
"std",
|
|
960
|
+
"select"
|
|
961
|
+
],
|
|
962
|
+
[
|
|
963
|
+
"axDashRound",
|
|
964
|
+
[
|
|
965
|
+
6,
|
|
966
|
+
[
|
|
967
|
+
7,
|
|
968
|
+
"d",
|
|
969
|
+
"f32"
|
|
970
|
+
],
|
|
971
|
+
[[5, "0"]]
|
|
972
|
+
],
|
|
973
|
+
"isDotted"
|
|
974
|
+
]
|
|
975
|
+
],
|
|
976
|
+
"isPattern"
|
|
977
|
+
]
|
|
978
|
+
]
|
|
979
|
+
],
|
|
980
|
+
[
|
|
981
|
+
13,
|
|
982
|
+
"axSquare",
|
|
983
|
+
[
|
|
984
|
+
6,
|
|
985
|
+
[
|
|
986
|
+
7,
|
|
987
|
+
"std",
|
|
988
|
+
"select"
|
|
989
|
+
],
|
|
990
|
+
[
|
|
991
|
+
"axSolid",
|
|
992
|
+
[
|
|
993
|
+
6,
|
|
994
|
+
[
|
|
995
|
+
7,
|
|
996
|
+
"std",
|
|
997
|
+
"select"
|
|
998
|
+
],
|
|
999
|
+
[
|
|
1000
|
+
"axDashSquare",
|
|
1001
|
+
"halfT",
|
|
1002
|
+
"isDotted"
|
|
1003
|
+
]
|
|
1004
|
+
],
|
|
1005
|
+
"isPattern"
|
|
1006
|
+
]
|
|
1007
|
+
]
|
|
1008
|
+
],
|
|
1009
|
+
[
|
|
1010
|
+
13,
|
|
1011
|
+
"capHere",
|
|
1012
|
+
[
|
|
1013
|
+
6,
|
|
1014
|
+
[
|
|
1015
|
+
7,
|
|
1016
|
+
"std",
|
|
1017
|
+
"select"
|
|
1018
|
+
],
|
|
1019
|
+
[
|
|
1020
|
+
"capStart",
|
|
1021
|
+
"capEnd",
|
|
1022
|
+
[
|
|
1023
|
+
1,
|
|
1024
|
+
"c",
|
|
1025
|
+
">",
|
|
1026
|
+
[5, "0"]
|
|
1027
|
+
]
|
|
1028
|
+
]
|
|
1029
|
+
]
|
|
1030
|
+
],
|
|
1031
|
+
[
|
|
1032
|
+
13,
|
|
1033
|
+
"sdRound",
|
|
1034
|
+
[
|
|
1035
|
+
1,
|
|
1036
|
+
[
|
|
1037
|
+
6,
|
|
1038
|
+
[
|
|
1039
|
+
7,
|
|
1040
|
+
"std",
|
|
1041
|
+
"length"
|
|
1042
|
+
],
|
|
1043
|
+
[[
|
|
1044
|
+
6,
|
|
1045
|
+
[
|
|
1046
|
+
7,
|
|
1047
|
+
"d",
|
|
1048
|
+
"vec2f"
|
|
1049
|
+
],
|
|
1050
|
+
[[
|
|
1051
|
+
6,
|
|
1052
|
+
[
|
|
1053
|
+
7,
|
|
1054
|
+
"std",
|
|
1055
|
+
"max"
|
|
1056
|
+
],
|
|
1057
|
+
[[
|
|
1058
|
+
1,
|
|
1059
|
+
[
|
|
1060
|
+
6,
|
|
1061
|
+
[
|
|
1062
|
+
7,
|
|
1063
|
+
"std",
|
|
1064
|
+
"abs"
|
|
1065
|
+
],
|
|
1066
|
+
["c"]
|
|
1067
|
+
],
|
|
1068
|
+
"-",
|
|
1069
|
+
"axRound"
|
|
1070
|
+
], [
|
|
1071
|
+
6,
|
|
1072
|
+
[
|
|
1073
|
+
7,
|
|
1074
|
+
"d",
|
|
1075
|
+
"f32"
|
|
1076
|
+
],
|
|
1077
|
+
[[5, "0"]]
|
|
1078
|
+
]]
|
|
1079
|
+
], "perp"]
|
|
1080
|
+
]]
|
|
1081
|
+
],
|
|
1082
|
+
"-",
|
|
1083
|
+
"halfT"
|
|
1084
|
+
]
|
|
1085
|
+
],
|
|
1086
|
+
[
|
|
1087
|
+
13,
|
|
1088
|
+
"qx",
|
|
1089
|
+
[
|
|
1090
|
+
1,
|
|
1091
|
+
[
|
|
1092
|
+
6,
|
|
1093
|
+
[
|
|
1094
|
+
7,
|
|
1095
|
+
"std",
|
|
1096
|
+
"abs"
|
|
1097
|
+
],
|
|
1098
|
+
["c"]
|
|
1099
|
+
],
|
|
1100
|
+
"-",
|
|
1101
|
+
"axSquare"
|
|
1102
|
+
]
|
|
1103
|
+
],
|
|
1104
|
+
[
|
|
1105
|
+
13,
|
|
1106
|
+
"qy",
|
|
1107
|
+
[
|
|
1108
|
+
1,
|
|
1109
|
+
"perp",
|
|
1110
|
+
"-",
|
|
1111
|
+
"halfT"
|
|
1112
|
+
]
|
|
1113
|
+
],
|
|
1114
|
+
[
|
|
1115
|
+
13,
|
|
1116
|
+
"sdSquare",
|
|
1117
|
+
[
|
|
1118
|
+
1,
|
|
1119
|
+
[
|
|
1120
|
+
6,
|
|
1121
|
+
[
|
|
1122
|
+
7,
|
|
1123
|
+
"std",
|
|
1124
|
+
"length"
|
|
1125
|
+
],
|
|
1126
|
+
[[
|
|
1127
|
+
6,
|
|
1128
|
+
[
|
|
1129
|
+
7,
|
|
1130
|
+
"d",
|
|
1131
|
+
"vec2f"
|
|
1132
|
+
],
|
|
1133
|
+
[[
|
|
1134
|
+
6,
|
|
1135
|
+
[
|
|
1136
|
+
7,
|
|
1137
|
+
"std",
|
|
1138
|
+
"max"
|
|
1139
|
+
],
|
|
1140
|
+
["qx", [
|
|
1141
|
+
6,
|
|
1142
|
+
[
|
|
1143
|
+
7,
|
|
1144
|
+
"d",
|
|
1145
|
+
"f32"
|
|
1146
|
+
],
|
|
1147
|
+
[[5, "0"]]
|
|
1148
|
+
]]
|
|
1149
|
+
], [
|
|
1150
|
+
6,
|
|
1151
|
+
[
|
|
1152
|
+
7,
|
|
1153
|
+
"std",
|
|
1154
|
+
"max"
|
|
1155
|
+
],
|
|
1156
|
+
["qy", [
|
|
1157
|
+
6,
|
|
1158
|
+
[
|
|
1159
|
+
7,
|
|
1160
|
+
"d",
|
|
1161
|
+
"f32"
|
|
1162
|
+
],
|
|
1163
|
+
[[5, "0"]]
|
|
1164
|
+
]]
|
|
1165
|
+
]]
|
|
1166
|
+
]]
|
|
1167
|
+
],
|
|
1168
|
+
"+",
|
|
1169
|
+
[
|
|
1170
|
+
6,
|
|
1171
|
+
[
|
|
1172
|
+
7,
|
|
1173
|
+
"std",
|
|
1174
|
+
"min"
|
|
1175
|
+
],
|
|
1176
|
+
[[
|
|
1177
|
+
6,
|
|
1178
|
+
[
|
|
1179
|
+
7,
|
|
1180
|
+
"std",
|
|
1181
|
+
"max"
|
|
1182
|
+
],
|
|
1183
|
+
["qx", "qy"]
|
|
1184
|
+
], [
|
|
1185
|
+
6,
|
|
1186
|
+
[
|
|
1187
|
+
7,
|
|
1188
|
+
"d",
|
|
1189
|
+
"f32"
|
|
1190
|
+
],
|
|
1191
|
+
[[5, "0"]]
|
|
1192
|
+
]]
|
|
1193
|
+
]
|
|
1194
|
+
]
|
|
1195
|
+
],
|
|
1196
|
+
[
|
|
1197
|
+
13,
|
|
1198
|
+
"sd",
|
|
1199
|
+
[
|
|
1200
|
+
6,
|
|
1201
|
+
[
|
|
1202
|
+
7,
|
|
1203
|
+
"std",
|
|
1204
|
+
"select"
|
|
1205
|
+
],
|
|
1206
|
+
[
|
|
1207
|
+
"sdSquare",
|
|
1208
|
+
"sdRound",
|
|
1209
|
+
[
|
|
1210
|
+
1,
|
|
1211
|
+
"capHere",
|
|
1212
|
+
">=",
|
|
1213
|
+
[5, "0.5"]
|
|
1214
|
+
]
|
|
1215
|
+
]
|
|
1216
|
+
]
|
|
1217
|
+
],
|
|
1218
|
+
[
|
|
1219
|
+
13,
|
|
1220
|
+
"feather",
|
|
1221
|
+
[
|
|
1222
|
+
1,
|
|
1223
|
+
[5, "1"],
|
|
1224
|
+
"/",
|
|
1225
|
+
[
|
|
1226
|
+
7,
|
|
1227
|
+
"viewport",
|
|
1228
|
+
"y"
|
|
1229
|
+
]
|
|
1230
|
+
]
|
|
1231
|
+
],
|
|
1232
|
+
[10, [
|
|
1233
|
+
1,
|
|
1234
|
+
[5, "1"],
|
|
1235
|
+
"-",
|
|
1236
|
+
[
|
|
1237
|
+
6,
|
|
1238
|
+
[
|
|
1239
|
+
7,
|
|
1240
|
+
"std",
|
|
1241
|
+
"smoothstep"
|
|
1242
|
+
],
|
|
1243
|
+
[
|
|
1244
|
+
[
|
|
1245
|
+
4,
|
|
1246
|
+
"-",
|
|
1247
|
+
"feather"
|
|
1248
|
+
],
|
|
1249
|
+
"feather",
|
|
1250
|
+
"sd"
|
|
1251
|
+
]
|
|
1252
|
+
]
|
|
1253
|
+
]]
|
|
1254
|
+
]],
|
|
1255
|
+
"externalNames": [
|
|
1256
|
+
"std",
|
|
1257
|
+
"d",
|
|
1258
|
+
"EPS"
|
|
1259
|
+
]
|
|
1260
|
+
},
|
|
1261
|
+
externals: () => ({
|
|
1262
|
+
std: std_exports,
|
|
1263
|
+
d: data_exports,
|
|
1264
|
+
EPS
|
|
1265
|
+
})
|
|
1266
|
+
}) && $.f)({}));
|
|
1267
|
+
var CAP_OPTIONS = [{
|
|
1268
|
+
label: "Square",
|
|
1269
|
+
value: "square"
|
|
1270
|
+
}, {
|
|
1271
|
+
label: "Rounded",
|
|
1272
|
+
value: "rounded"
|
|
1273
|
+
}];
|
|
1274
|
+
const componentDefinition = {
|
|
1275
|
+
name: "Line",
|
|
1276
|
+
boundingBoxDeclaration: {
|
|
1277
|
+
aspectRatio: null,
|
|
1278
|
+
supportsResizeFit: true
|
|
1279
|
+
},
|
|
1280
|
+
category: "Shapes",
|
|
1281
|
+
description: "Draw a straight line between two points with color, thickness, and solid, dashed, or dotted styles",
|
|
1282
|
+
acceptsUVContext: true,
|
|
1283
|
+
props: {
|
|
1284
|
+
color: {
|
|
1285
|
+
default: "#ffffff",
|
|
1286
|
+
transform: transformColor,
|
|
1287
|
+
description: "The color of the line",
|
|
1288
|
+
ui: {
|
|
1289
|
+
type: "color",
|
|
1290
|
+
label: "Color",
|
|
1291
|
+
group: "Colors"
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
pointA: {
|
|
1295
|
+
default: {
|
|
1296
|
+
x: .2,
|
|
1297
|
+
y: .5
|
|
1298
|
+
},
|
|
1299
|
+
transform: transformPosition,
|
|
1300
|
+
description: "The start point of the line",
|
|
1301
|
+
ui: {
|
|
1302
|
+
type: "position",
|
|
1303
|
+
label: "Point A",
|
|
1304
|
+
group: "Position",
|
|
1305
|
+
units: ["%", "px"]
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
pointB: {
|
|
1309
|
+
default: {
|
|
1310
|
+
x: .8,
|
|
1311
|
+
y: .5
|
|
1312
|
+
},
|
|
1313
|
+
transform: transformPosition,
|
|
1314
|
+
description: "The end point of the line",
|
|
1315
|
+
ui: {
|
|
1316
|
+
type: "position",
|
|
1317
|
+
label: "Point B",
|
|
1318
|
+
group: "Position",
|
|
1319
|
+
units: ["%", "px"]
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
thickness: {
|
|
1323
|
+
default: .01,
|
|
1324
|
+
description: "The thickness of the line. A value of one (1) matches the canvas height.",
|
|
1325
|
+
ui: {
|
|
1326
|
+
type: ["range", "map"],
|
|
1327
|
+
min: 0,
|
|
1328
|
+
max: .25,
|
|
1329
|
+
step: .001,
|
|
1330
|
+
label: "Thickness",
|
|
1331
|
+
group: "Effect",
|
|
1332
|
+
dimensional: "canvas-height"
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
style: {
|
|
1336
|
+
default: "solid",
|
|
1337
|
+
transform: transformLineStyle,
|
|
1338
|
+
description: "The line style: solid, dashed, or dotted. Dashes and dots are spaced to land exactly on both endpoints.",
|
|
1339
|
+
ui: {
|
|
1340
|
+
type: "select",
|
|
1341
|
+
options: [
|
|
1342
|
+
{
|
|
1343
|
+
label: "Solid",
|
|
1344
|
+
value: "solid"
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
label: "Dashed",
|
|
1348
|
+
value: "dashed"
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
label: "Dotted",
|
|
1352
|
+
value: "dotted"
|
|
1353
|
+
}
|
|
1354
|
+
],
|
|
1355
|
+
label: "Style",
|
|
1356
|
+
group: "Style"
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
dashLength: {
|
|
1360
|
+
default: .05,
|
|
1361
|
+
description: "The length of each dash, including its caps",
|
|
1362
|
+
ui: {
|
|
1363
|
+
type: ["range", "map"],
|
|
1364
|
+
min: 0,
|
|
1365
|
+
max: .5,
|
|
1366
|
+
step: .001,
|
|
1367
|
+
label: "Dash Length",
|
|
1368
|
+
group: "Style",
|
|
1369
|
+
dimensional: "canvas-height",
|
|
1370
|
+
condition: { style: "dashed" }
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
gapLength: {
|
|
1374
|
+
default: .025,
|
|
1375
|
+
description: "The gap between dashes, or the spacing between dots",
|
|
1376
|
+
ui: {
|
|
1377
|
+
type: ["range", "map"],
|
|
1378
|
+
min: 0,
|
|
1379
|
+
max: .5,
|
|
1380
|
+
step: .001,
|
|
1381
|
+
label: "Gap Length",
|
|
1382
|
+
group: "Style",
|
|
1383
|
+
dimensional: "canvas-height",
|
|
1384
|
+
condition: { style: ["dashed", "dotted"] }
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
capStart: {
|
|
1388
|
+
default: "rounded",
|
|
1389
|
+
transform: transformLineCap,
|
|
1390
|
+
description: "Cap shape at the start of the line (point A). Rounded caps center on the endpoint; square caps end flat exactly at it. Also shapes the A-facing end of each dash and dot.",
|
|
1391
|
+
ui: {
|
|
1392
|
+
type: "select",
|
|
1393
|
+
options: CAP_OPTIONS,
|
|
1394
|
+
label: "Start Cap",
|
|
1395
|
+
group: "Style"
|
|
1396
|
+
}
|
|
1397
|
+
},
|
|
1398
|
+
capEnd: {
|
|
1399
|
+
default: "rounded",
|
|
1400
|
+
transform: transformLineCap,
|
|
1401
|
+
description: "Cap shape at the end of the line (point B). Rounded caps center on the endpoint; square caps end flat exactly at it. Also shapes the B-facing end of each dash and dot.",
|
|
1402
|
+
ui: {
|
|
1403
|
+
type: "select",
|
|
1404
|
+
options: CAP_OPTIONS,
|
|
1405
|
+
label: "End Cap",
|
|
1406
|
+
group: "Style"
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
fragment: (params) => {
|
|
1411
|
+
const { uniforms } = params;
|
|
1412
|
+
const mask = call(lineMask, "lineMask", [
|
|
1413
|
+
params.uvContext ?? params.ctx.uv,
|
|
1414
|
+
params.effectiveViewportSize ?? params.ctx.viewportSize,
|
|
1415
|
+
uniforms.pointA,
|
|
1416
|
+
uniforms.pointB,
|
|
1417
|
+
uniforms.thickness,
|
|
1418
|
+
uniforms.style,
|
|
1419
|
+
uniforms.dashLength,
|
|
1420
|
+
uniforms.gapLength,
|
|
1421
|
+
uniforms.capStart,
|
|
1422
|
+
uniforms.capEnd
|
|
1423
|
+
]);
|
|
1424
|
+
return vec4(uniforms.color.member("rgb"), uniforms.color.member("a").mul(mask));
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1427
|
+
var Line_default = componentDefinition;
|
|
1428
|
+
export { transformLineStyle as a, transformLineCap as i, componentDefinition as n, lineMask as r, Line_default as t };
|