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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
1
|
+
import { Bt as sin, Ht as sqrt, Pt as pow, Vt as smoothstep, b as vec4, it as std_exports, ln as f32, m as call, nt as src_default, rn as vec2f, y as mixExpr, yt as atan2 } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
const sunBurstAlpha = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
vec2f,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { p as noise_exports, u as mxNoiseFloat2 } from "./noise-
|
|
3
|
-
import { n as createGuardedCompute, r as createStateBuffer } from "./compute-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, Et as exp2, F as unpremultiplyAlpha, Gt as data_exports, Mt as mix, Nt as normalize, Pt as pow, St as cos, Tt as exp, Vt as smoothstep, Yt as textureStorage2d, _t as abs, an as vec2u, b as vec4, cn as vec4f, ct as textureStore, d as ZERO, dn as u32, en as struct, gt as select, i as edgeMirrorUV, it as std_exports, jt as min, ln as f32, m as call, nt as src_default, o as edgeWrapUV, on as vec3f, qt as arrayOf, rn as vec2f, s as edges_exports, wt as dot, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { p as noise_exports, u as mxNoiseFloat2 } from "./noise-B-PI7JUx.js";
|
|
3
|
+
import { n as createGuardedCompute, r as createStateBuffer } from "./compute-Ax-p6Ubc.js";
|
|
4
4
|
import { t as isMobileGpuViewport } from "./device-BODv_4aH.js";
|
|
5
|
-
import { a as transformColor, s as transformEdges } from "./transformations-
|
|
5
|
+
import { a as transformColor, s as transformEdges } from "./transformations-C7gn_5rF.js";
|
|
6
6
|
var WAVE_GRID = 256;
|
|
7
7
|
var WAVE_CELLS = WAVE_GRID * WAVE_GRID;
|
|
8
8
|
var WAVE_MAX = WAVE_GRID - 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as mixColorStopsRuntime, h as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
3
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as sin, G as mixColorsVariants, Gt as data_exports, St as cos, Vt as smoothstep, W as mixColorsLinear, it as std_exports, ln as f32, m as call, nt as src_default, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { S as mixColorStopsRuntime, h as colorStopsPropConfig, t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
const swirlField = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as shapeLocalCoords, h as sdf_exports, n as ShapeMask, v as strokeMaskFromSdf, y as teardropSdf } from "./sdf-
|
|
3
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { G as mixColorsVariants, W as mixColorsLinear, b as vec4, ln as f32, m as call, nt as src_default, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { g as shapeLocalCoords, h as sdf_exports, n as ShapeMask, v as strokeMaskFromSdf, y as teardropSdf } from "./sdf-B8rPE1PG.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
const teardropShape = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
3
|
-
import { n as loadGoogleFont, t as isFontAvailable } from "./fonts-
|
|
1
|
+
import { Bt as sin, Gt as data_exports, St as cos, Ut as step, b as vec4, it as std_exports, l as sampleCatmullRomExpr, ln as f32, m as call, nt as src_default, on as vec3f, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-C7gn_5rF.js";
|
|
3
|
+
import { n as loadGoogleFont, t as isFontAvailable } from "./fonts-DxVn9e-I.js";
|
|
4
4
|
function applyTextTransform(text, mode) {
|
|
5
5
|
switch (mode) {
|
|
6
6
|
case "uppercase": return text.toUpperCase();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { h as sdf_exports } from "./sdf-
|
|
3
|
-
import { f as sdf3d_exports, n as shapeEffectBoundingBoxDeclaration, t as resolveShapeType } from "./shapeEffectBounds-
|
|
4
|
-
import { i as sdfSpaceUV, r as offsetUV, t as glassGradient } from "./glass-
|
|
5
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, G as mixColorsVariants, Gt as data_exports, Ht as sqrt, Mt as mix, Ot as fract, Pt as pow, St as cos, W as mixColorsLinear, cn as vec4f, fn as __export, gt as select, it as std_exports, ln as f32, m as call, nt as src_default, on as vec3f, rn as vec2f, v as floatE, xt as clamp, y as mixExpr } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { h as sdf_exports } from "./sdf-B8rPE1PG.js";
|
|
3
|
+
import { f as sdf3d_exports, n as shapeEffectBoundingBoxDeclaration, t as resolveShapeType } from "./shapeEffectBounds-Svfd_R5a.js";
|
|
4
|
+
import { i as sdfSpaceUV, r as offsetUV, t as glassGradient } from "./glass-CNFJB2On.js";
|
|
5
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
6
6
|
var thinFilm_exports = /* @__PURE__ */ __export({
|
|
7
7
|
applyThinFilmEffect: () => applyThinFilmEffect$1,
|
|
8
8
|
thinFilmCompose: () => thinFilmCompose,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { n as createGuardedCompute } from "./compute-
|
|
3
|
-
import { a as createVariableGaussianBlurCompute, t as BLUR_MAP_FORMAT } from "./blur-
|
|
4
|
-
import { c as transformPosition, r as transformAngle } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, F as unpremultiplyAlpha, Gt as data_exports, Jt as texture2d, Mt as mix, Pt as pow, Rt as round, St as cos, Vt as smoothstep, Yt as textureStorage2d, _t as abs, an as vec2u, cn as vec4f, ct as textureStore, d as ZERO, dn as u32, en as struct, it as std_exports, ln as f32, m as call, nt as src_default, on as vec3f, ot as textureLoad, rn as vec2f, un as i32, wt as dot, xt as clamp, y as mixExpr } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { n as createGuardedCompute } from "./compute-Ax-p6Ubc.js";
|
|
3
|
+
import { a as createVariableGaussianBlurCompute, t as BLUR_MAP_FORMAT } from "./blur-cLcFzL4x.js";
|
|
4
|
+
import { c as transformPosition, r as transformAngle } from "./transformations-C7gn_5rF.js";
|
|
5
5
|
var DEG_TO_RAD = Math.PI / 180;
|
|
6
6
|
const INTENSITY_TO_RADIUS = .36;
|
|
7
7
|
const intensityToRadius = (intensity) => intensity * INTENSITY_TO_RADIUS;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as createGuardedCompute } from "./compute-
|
|
1
|
+
import { At as max, B as hslToRgb, F as unpremultiplyAlpha, Gt as data_exports, Jt as texture2d, L as colorMixing_exports, N as blendModes, Ot as fract, Vt as smoothstep, Yt as textureStorage2d, Z as rgbToHsl, _t as abs, an as vec2u, cn as vec4f, ct as textureStore, d as ZERO, dn as u32, en as struct, gt as select, it as std_exports, ln as f32, m as call, nt as src_default, on as vec3f, ot as textureLoad, rn as vec2f, st as textureSampleLevel, v as floatE, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { n as createGuardedCompute } from "./compute-Ax-p6Ubc.js";
|
|
3
3
|
import { t as isMobileGpuViewport } from "./device-BODv_4aH.js";
|
|
4
|
-
import { a as transformColor } from "./transformations-
|
|
4
|
+
import { a as transformColor } from "./transformations-C7gn_5rF.js";
|
|
5
5
|
var STATE_RES = isMobileGpuViewport() ? 384 : 640;
|
|
6
6
|
var STATE_FORMAT = "rgba16float";
|
|
7
7
|
var DIFFUSE_HALF_UV = 2.5 * .5 / STATE_RES;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { At as max, Gt as data_exports, Mt as mix, cn as vec4f, d as ZERO, it as std_exports, ln as f32, m as call, nt as src_default, on as vec3f, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
const tintColorPlain = src_default.fn([
|
|
4
4
|
vec4f,
|
|
5
5
|
vec4f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as trapezoidSdf, g as shapeLocalCoords, h as sdf_exports, n as ShapeMask, v as strokeMaskFromSdf } from "./sdf-
|
|
3
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { G as mixColorsVariants, W as mixColorsLinear, b as vec4, ln as f32, m as call, nt as src_default, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { b as trapezoidSdf, g as shapeLocalCoords, h as sdf_exports, n as ShapeMask, v as strokeMaskFromSdf } from "./sdf-B8rPE1PG.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
const trapezoidShape = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, G as mixColorsVariants, Gt as data_exports, Ot as fract, St as cos, Ut as step, Vt as smoothstep, W as mixColorsLinear, _t as abs, b as vec4, dt as fwidth, it as std_exports, jt as min, ln as f32, m as call, nt as src_default, rn as vec2f, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-C7gn_5rF.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,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { G as mixColorsVariants, Gt as data_exports, Vt as smoothstep, W as mixColorsLinear, b as vec4, cn as vec4f, d as ZERO, it as std_exports, ln as f32, m as call, nt as src_default, on as vec3f, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
const tritoneFactors = src_default.fn([vec4f, f32], vec3f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, blendMid) => {
|
|
4
4
|
"use gpu";
|
|
5
5
|
const luminance = dot(color.xyz, vec3f(.299, .587, .114));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, G as mixColorsVariants, Gt as data_exports, Ot as fract, St as cos, Ut as step, Vt as smoothstep, W as mixColorsLinear, _t as abs, dt as fwidth, 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, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
var truchetHash = src_default.fn([vec2f], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
5
5
|
"use gpu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
1
|
+
import { Bt as sin, F as unpremultiplyAlpha, Gt as data_exports, St as cos, c as sampleRemappedExpr, d as ZERO, it as std_exports, kt as length, ln as f32, m as call, n as composeEdgeRemapExpr, nt as src_default, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
const twirlUV = src_default.fn([
|
|
4
4
|
vec2f,
|
|
5
5
|
f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as sin, Dt as floor, F as unpremultiplyAlpha, Gt as data_exports, Mt as mix, Ot as fract, St as cos, Vt as smoothstep, Zt as mod, cn as vec4f, d as ZERO, it as std_exports, ln as f32, m as call, nt as src_default, on as vec3f, rn as vec2f, v as floatE, wt as dot, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
2
|
var FIELD_LINES = 487;
|
|
3
3
|
var hash2D = src_default.fn([vec2f], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
4
4
|
"use gpu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Gt as data_exports, Ot as fract, St as cos, Vt as smoothstep, _t as abs, cn as vec4f, d as ZERO, gt as select, it as std_exports, ln as f32, m as call, nt as src_default, rn as vec2f, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { i as transformBoolean } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const venetianBlindsMask = src_default.fn([
|
|
5
5
|
vec4f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as shapeLocalCoords, h as sdf_exports, n as ShapeMask, v as strokeMaskFromSdf, x as vesicaSdf } from "./sdf-
|
|
3
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { G as mixColorsVariants, W as mixColorsLinear, b as vec4, ln as f32, m as call, nt as src_default, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { g as shapeLocalCoords, h as sdf_exports, n as ShapeMask, v as strokeMaskFromSdf, x as vesicaSdf } from "./sdf-B8rPE1PG.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
const vesicaShape = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as
|
|
1
|
+
import { At as max, Gt as data_exports, Mt as mix, cn as vec4f, d as ZERO, it as std_exports, ln as f32, m as call, nt as src_default, on as vec3f } from "./edges-B7Yet3LV.js";
|
|
2
2
|
const vibranceColor = src_default.fn([vec4f, f32], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, adjustment) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const r = color.x;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as registerNaturalSize } from "./naturalSize-
|
|
1
|
+
import { At as max, Gt as data_exports, Pt as pow, cn as vec4f, gt as select, ht as le, it as std_exports, jt as min, m as call, nt as src_default, on as vec3f, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { r as registerNaturalSize } from "./naturalSize-BPCi_I-Z.js";
|
|
3
3
|
const videoScaleCover = src_default.fn([vec2f, vec2f], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((videoDims, vp) => {
|
|
4
4
|
"use gpu";
|
|
5
5
|
const videoAspect = __tsover_div(videoDims.x, videoDims.y);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
1
|
+
import { Gt as data_exports, Mt as mix, Vt as smoothstep, cn as vec4f, d as ZERO, it as std_exports, kt as length, ln as f32, m as call, nt as src_default, on as vec3f, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
const vignetteColor = src_default.fn([
|
|
4
4
|
vec4f,
|
|
5
5
|
vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as mixColorStopsRuntime, h as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
3
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, G as mixColorsVariants, Gt as data_exports, Ot as fract, Pt as pow, St as cos, Vt as smoothstep, W as mixColorsLinear, b as vec4, gt as select, it as std_exports, kt as length, ln as f32, m as call, nt as src_default, rn as vec2f, wt as dot, xt as clamp, y as mixExpr } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { S as mixColorStopsRuntime, h as colorStopsPropConfig, t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
var voronoiHash = src_default.fn([vec2f], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
5
5
|
"use gpu";
|
|
6
6
|
return fract(sin(vec2f(dot(p, vec2f(127.1, 311.7)), dot(p, vec2f(269.5, 183.3)))).mul(43758.5453));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { p as noise_exports, u as mxNoiseFloat2 } from "./noise-
|
|
4
|
-
import { h as sdf_exports } from "./sdf-
|
|
5
|
-
import { f as sdf3d_exports, n as shapeEffectBoundingBoxDeclaration, t as resolveShapeType } from "./shapeEffectBounds-
|
|
6
|
-
import { n as glass_exports } from "./glass-
|
|
7
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Gt as data_exports, It as reflect, Lt as refract, Mt as mix, Nt as normalize, Pt as pow, St as cos, Tt as exp, Vt as smoothstep, _t as abs, b as vec4, cn as vec4f, gt as select, it as std_exports, kt as length, ln as f32, m as call, nt as src_default, on as vec3f, rn as vec2f, v as floatE, wt as dot, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { p as noise_exports, u as mxNoiseFloat2 } from "./noise-B-PI7JUx.js";
|
|
4
|
+
import { h as sdf_exports } from "./sdf-B8rPE1PG.js";
|
|
5
|
+
import { f as sdf3d_exports, n as shapeEffectBoundingBoxDeclaration, t as resolveShapeType } from "./shapeEffectBounds-Svfd_R5a.js";
|
|
6
|
+
import { n as glass_exports } from "./glass-CNFJB2On.js";
|
|
7
|
+
import { a as transformColor, c as transformPosition } from "./transformations-C7gn_5rF.js";
|
|
8
8
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
9
9
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
10
10
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS, is3dShapeType, isVolumetricShapeType } = sdf3d_exports;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { p as noise_exports, y as value12 } from "./noise-
|
|
3
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { F as unpremultiplyAlpha, Gt as data_exports, Mt as mix, P as blend_exports, _ as expr, b as vec4, cn as vec4f, d as ZERO, gt as select, it as std_exports, jt as min, ln as f32, m as call, nt as src_default, on as vec3f, rn as vec2f, v as floatE, x as Expr } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { p as noise_exports, y as value12 } from "./noise-B-PI7JUx.js";
|
|
3
|
+
import { a as transformColor } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
const watercolorUvBase = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { Bt as sin, F as unpremultiplyAlpha, Gt as data_exports, Ot as fract, St as cos, Ut as step, _t as abs, c as sampleRemappedExpr, d as ZERO, it as std_exports, ln as f32, m as call, n as composeEdgeRemapExpr, nt as src_default, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { s as transformEdges } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
var DEG_TO_RAD = Math.PI / 180;
|
|
5
5
|
var TAU = Math.PI * 2;
|
|
6
6
|
const wavePhase = src_default.fn([
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { p as noise_exports, x as wavelet12 } from "./noise-
|
|
4
|
-
import { n as toneAndColorExpr } from "./noiseColor-
|
|
5
|
-
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { Gt as data_exports, Tt as exp, it as std_exports, ln as f32, m as call, nt as src_default, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { p as noise_exports, x as wavelet12 } from "./noise-B-PI7JUx.js";
|
|
4
|
+
import { n as toneAndColorExpr } from "./noiseColor-BQAO-Rjk.js";
|
|
5
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-Cgx-FS2o.js";
|
|
6
6
|
const waveletNoiseField = src_default.fn([
|
|
7
7
|
vec2f,
|
|
8
8
|
vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, Gt as data_exports, Ot as fract, St as cos, Vt as smoothstep, cn as vec4f, dt as fwidth, it as std_exports, 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 } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const weaveColor = src_default.fn([
|
|
5
5
|
vec2f,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as data_exports, gt as select, it as std_exports, ln as f32, m as call, nt as src_default, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
2
|
import { r as debugWarn } from "./support-6QRFK3xB.js";
|
|
3
|
-
import { a as scaleFill, i as scaleCover, n as sampleUV, o as scaleNone, r as scaleContain, s as scaleScaleDown, t as alphaCutLinear } from "./media-
|
|
4
|
-
import { r as registerNaturalSize } from "./naturalSize-
|
|
3
|
+
import { a as scaleFill, i as scaleCover, n as sampleUV, o as scaleNone, r as scaleContain, s as scaleScaleDown, t as alphaCutLinear } from "./media-Y-WxQcQD.js";
|
|
4
|
+
import { r as registerNaturalSize } from "./naturalSize-BPCi_I-Z.js";
|
|
5
5
|
var OBJECT_FIT_MODES = {
|
|
6
6
|
cover: 0,
|
|
7
7
|
contain: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as wool12 } from "./noise-
|
|
2
|
-
import { n as applyNoiseReliefExpr, t as reliefStylizeProps } from "./noiseStylize-
|
|
1
|
+
import { S as wool12 } from "./noise-B-PI7JUx.js";
|
|
2
|
+
import { n as applyNoiseReliefExpr, t as reliefStylizeProps } from "./noiseStylize-BN5zji1E.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Wool",
|
|
5
5
|
boundingBoxDeclaration: { aspectRatio: null },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, G as mixColorsVariants, Gt as data_exports, Ht as sqrt, Mt as mix, Ot as fract, St as cos, W as mixColorsLinear, _t as abs, gt as select, it as std_exports, jt as min, ln as f32, m as call, nt as src_default, rn as vec2f, v as floatE, wt as dot, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
var TAU = Math.PI * 2;
|
|
5
5
|
const worleyHash = src_default.fn([vec2f], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
6
6
|
"use gpu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition } from "./transformations-
|
|
1
|
+
import { F as unpremultiplyAlpha, Gt as data_exports, d as ZERO, ln as f32, m as call, nt as src_default, rn as vec2f, v as floatE } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { c as transformPosition } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
var rawWeights = Array.from({ length: 32 }, (_, i) => {
|
|
4
4
|
const t = (i / 31 - .5) * 2;
|
|
5
5
|
return Math.exp(-.5 * t * t / .64);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as
|
|
1
|
+
import { At as max, Ht as sqrt, Mt as mix, Tt as exp, Vt as smoothstep, _t as abs, fn as __export, gt as select, it as std_exports, jt as min, kt as length, ln as f32, nt as src_default, rn as vec2f, wt as dot, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
2
|
var agents_exports = /* @__PURE__ */ __export({
|
|
3
3
|
AGENT_SHAPES: () => AGENT_SHAPES,
|
|
4
4
|
arrowSdf: () => arrowSdf,
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Gt as data_exports, Mt as mix, Vt as smoothstep, fn as __export, it as std_exports, ln as f32, nt as src_default } from "./edges-B7Yet3LV.js";
|
|
2
|
+
var bevel_exports = /* @__PURE__ */ __export({ bevelSin: () => bevelSin });
|
|
3
|
+
const bevelSin = src_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((t, shape) => {
|
|
4
|
+
"use gpu";
|
|
5
|
+
const sRound = __tsover_sub(1, t);
|
|
6
|
+
const k1 = smoothstep(0, .14, t);
|
|
7
|
+
const k2 = smoothstep(.68, .92, t);
|
|
8
|
+
return mix(sRound, mix(f32(1), __tsover_mul(.72, __tsover_sub(1, k2)), k1), shape);
|
|
9
|
+
}), {
|
|
10
|
+
v: 1,
|
|
11
|
+
name: void 0,
|
|
12
|
+
ast: {
|
|
13
|
+
"params": [{
|
|
14
|
+
"type": "i",
|
|
15
|
+
"name": "t"
|
|
16
|
+
}, {
|
|
17
|
+
"type": "i",
|
|
18
|
+
"name": "shape"
|
|
19
|
+
}],
|
|
20
|
+
"body": [0, [
|
|
21
|
+
[
|
|
22
|
+
13,
|
|
23
|
+
"sRound",
|
|
24
|
+
[
|
|
25
|
+
1,
|
|
26
|
+
[5, "1"],
|
|
27
|
+
"-",
|
|
28
|
+
"t"
|
|
29
|
+
]
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
13,
|
|
33
|
+
"k1",
|
|
34
|
+
[
|
|
35
|
+
6,
|
|
36
|
+
[
|
|
37
|
+
7,
|
|
38
|
+
"std",
|
|
39
|
+
"smoothstep"
|
|
40
|
+
],
|
|
41
|
+
[
|
|
42
|
+
[5, "0"],
|
|
43
|
+
[5, "0.14"],
|
|
44
|
+
"t"
|
|
45
|
+
]
|
|
46
|
+
]
|
|
47
|
+
],
|
|
48
|
+
[
|
|
49
|
+
13,
|
|
50
|
+
"k2",
|
|
51
|
+
[
|
|
52
|
+
6,
|
|
53
|
+
[
|
|
54
|
+
7,
|
|
55
|
+
"std",
|
|
56
|
+
"smoothstep"
|
|
57
|
+
],
|
|
58
|
+
[
|
|
59
|
+
[5, "0.68"],
|
|
60
|
+
[5, "0.92"],
|
|
61
|
+
"t"
|
|
62
|
+
]
|
|
63
|
+
]
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
13,
|
|
67
|
+
"sMach",
|
|
68
|
+
[
|
|
69
|
+
6,
|
|
70
|
+
[
|
|
71
|
+
7,
|
|
72
|
+
"std",
|
|
73
|
+
"mix"
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
[
|
|
77
|
+
6,
|
|
78
|
+
[
|
|
79
|
+
7,
|
|
80
|
+
"d",
|
|
81
|
+
"f32"
|
|
82
|
+
],
|
|
83
|
+
[[5, "1"]]
|
|
84
|
+
],
|
|
85
|
+
[
|
|
86
|
+
1,
|
|
87
|
+
[5, "0.72"],
|
|
88
|
+
"*",
|
|
89
|
+
[
|
|
90
|
+
1,
|
|
91
|
+
[5, "1"],
|
|
92
|
+
"-",
|
|
93
|
+
"k2"
|
|
94
|
+
]
|
|
95
|
+
],
|
|
96
|
+
"k1"
|
|
97
|
+
]
|
|
98
|
+
]
|
|
99
|
+
],
|
|
100
|
+
[10, [
|
|
101
|
+
6,
|
|
102
|
+
[
|
|
103
|
+
7,
|
|
104
|
+
"std",
|
|
105
|
+
"mix"
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
"sRound",
|
|
109
|
+
"sMach",
|
|
110
|
+
"shape"
|
|
111
|
+
]
|
|
112
|
+
]]
|
|
113
|
+
]],
|
|
114
|
+
"externalNames": ["std", "d"]
|
|
115
|
+
},
|
|
116
|
+
externals: () => ({
|
|
117
|
+
std: std_exports,
|
|
118
|
+
d: data_exports
|
|
119
|
+
})
|
|
120
|
+
}) && $.f)({}));
|
|
121
|
+
export { bevel_exports as t };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as createGuardedCompute } from "./compute-
|
|
1
|
+
import { Gt as data_exports, Jt as texture2d, Ot as fract, Rt as round, Yt as textureStorage2d, an as vec2u, cn as vec4f, ct as textureStore, dn as u32, en as struct, it as std_exports, ln as f32, nt as src_default, ot as textureLoad, qt as arrayOf, un as i32, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { n as createGuardedCompute } from "./compute-Ax-p6Ubc.js";
|
|
3
3
|
var DEFAULT_HALF_KERNEL = 24;
|
|
4
4
|
const DEFAULT_COMPUTE_WIDTH = 1024;
|
|
5
5
|
const DEFAULT_COMPUTE_HEIGHT = 640;
|
|
6
6
|
var PASSTHROUGH_THRESHOLD = .5;
|
|
7
|
-
var INTERMEDIATE_FORMAT = "
|
|
7
|
+
var INTERMEDIATE_FORMAT = "rgba16float";
|
|
8
8
|
var OUTPUT_FORMAT = "rgba16float";
|
|
9
9
|
const BLUR_MAP_FORMAT = "rgba32float";
|
|
10
10
|
function buildFixedWeights(halfKernel) {
|
|
@@ -28008,6 +28008,15 @@ function mixExpr(a, b, t) {
|
|
|
28008
28008
|
function arrayExpr(elemType, elems) {
|
|
28009
28009
|
return new Expr((ctx) => `array<${elemType}, ${elems.length}>(${elems.map((e) => e._emit(ctx)).join(", ")})`);
|
|
28010
28010
|
}
|
|
28011
|
+
var hoistCounter = 0;
|
|
28012
|
+
function asLocal(e, hint) {
|
|
28013
|
+
const id = hoistCounter++;
|
|
28014
|
+
return new Expr((ctx) => ctx.memo(`local:${id}`, () => {
|
|
28015
|
+
const name = ctx.freshLocal(hint);
|
|
28016
|
+
ctx.statement(`let ${name} = ${e._emit(ctx)};`);
|
|
28017
|
+
return name;
|
|
28018
|
+
}));
|
|
28019
|
+
}
|
|
28011
28020
|
const ZERO = expr("vec4f(0.0, 0.0, 0.0, 0.0)");
|
|
28012
28021
|
const WHITE0 = expr("vec4f(1.0, 1.0, 1.0, 0.0)");
|
|
28013
28022
|
function operand(o, ctx) {
|
|
@@ -28238,15 +28247,6 @@ function composeNodeTree(registry, options = {}) {
|
|
|
28238
28247
|
const blendWithChildren = (node) => !!node.definition.blendWithChildren;
|
|
28239
28248
|
const usesBoxClipWindow = (node) => hasBox(node) && !node.definition.boundingBoxDeclaration?.boxResamplesContent && requiresChild(node) && node.metadata.blendMode === "normal" && !cutoutActive(node) && !blendWithChildren(node);
|
|
28240
28249
|
const halfPixelSq = () => new Expr((ctx) => `(0.5 / max(${sysCtx.viewportSize.member("y")._emit(ctx)}, 1.0))`);
|
|
28241
|
-
let hoistCounter = 0;
|
|
28242
|
-
const asLocal = (e, hint) => {
|
|
28243
|
-
const id = hoistCounter++;
|
|
28244
|
-
return new Expr((ctx) => ctx.memo(`local:${id}`, () => {
|
|
28245
|
-
const name = ctx.freshLocal(hint);
|
|
28246
|
-
ctx.statement(`let ${name} = ${e._emit(ctx)};`);
|
|
28247
|
-
return name;
|
|
28248
|
-
}));
|
|
28249
|
-
};
|
|
28250
28250
|
const clipMaskExpr = (node, uv = sysCtx.uv) => {
|
|
28251
28251
|
const key = nodeKey(node.id);
|
|
28252
28252
|
const bu = (f) => uniAccessor(`${key}._bbox_${f}`);
|
|
@@ -29854,4 +29854,4 @@ const applyEdgeHandlingExpr = (distortedUV, sample, edgeMode) => {
|
|
|
29854
29854
|
const sampleRemappedExpr = (tex, distortedUV, edgeMode) => {
|
|
29855
29855
|
return applyEdgeHandlingExpr(distortedUV, edgeMode === MIRROR ? (uv) => tex.sample(uv) : (uv) => sampleCatmullRomExpr(tex, uv, edgeMode === WRAP ? "linearRepeat" : "linearClamp"), edgeMode);
|
|
29856
29856
|
};
|
|
29857
|
-
export {
|
|
29857
|
+
export { FieldHandle as $, sub as $t, neutral as A, max as At, hslToRgb as B, sin as Bt, DEFAULT_BOUNDING_BOX as C, cross as Ct, needsTransformation as D, floor as Dt, boundingBoxToUVParams as E, exp2 as Et, unpremultiplyAlpha as F, radians as Ft, mixColorsVariants as G, data_exports as Gt, labToRgb as H, sqrt as Ht, MixStep as I, reflect as It, mixPreconvertedVariants as J, texture2d as Jt, mixPreconvertedInSpace as K, atomic as Kt, colorMixing_exports as L, refract as Lt, tonemap_exports as M, mix as Mt, blendModes as N, normalize as Nt, screenUVToBoxLocal as O, fract as Ot, blend_exports as P, pow as Pt, sRGBToP3 as Q, mul as Qt, convertMixSpaceToP3 as R, round as Rt, formatFloat as S, cos as St, resolveBoundingBox as T, exp as Tt, lchToLab as U, step as Ut, hsvToRgb as V, smoothstep as Vt, mixColorsLinear as W, tan as Wt, oklchToOklab as X, add as Xt, oklabToRgb as Y, textureStorage2d as Yt, rgbToHsl as Z, mod as Zt, expr as _, abs as _t, edgeTransparentMask as a, vec2u as an, textureDimensions as at, vec4 as b, ceil as bt, sampleRemappedExpr as c, vec4f as cn, textureStore as ct, ZERO as d, u32 as dn, fwidth as dt, struct as en, createUniformStore as et, arrayExpr as f, __export$2 as fn, atomicAdd as ft, composeNodeTree as g, select as gt, collectStructuralHashInputs as h, le as ht, edgeMirrorUV as i, vec2i as in, std_exports as it, srgbToLinear as j, min as jt, linearToSrgb as k, length as kt, sampleCatmullRomExpr as l, f32 as ln, dpdx as lt, call as m, atomicStore as mt, composeEdgeRemapExpr as n, size as nn, src_default as nt, edgeWrapUV as o, vec3f as on, textureLoad as ot, asLocal as p, atomicLoad as pt, mixPreconvertedLinear as q, arrayOf as qt, edgeClampUV as r, vec2f as rn, common_exports as rt, edges_exports as s, vec3u as sn, textureSampleLevel as st, applyEdgeHandlingExpr as t, align as tn, updateFieldValue as tt, SHARED_SAMPLER_LAYOUT as u, i32 as un, dpdy as ut, floatE as v, asin as vt, isIdentityBoundingBox as w, dot as wt, Expr as x, clamp as xt, mixExpr as y, atan2 as yt, convertP3ToMixSpaceCPU as z, sign as zt };
|