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 {
|
|
2
|
-
import { h as sdf_exports, i as circleSdf, 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, Gt as data_exports, 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 { h as sdf_exports, i as circleSdf, 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 circleShape = 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 { Bt as sin, Dt as floor, G as mixColorsVariants, Gt as data_exports, Mt as mix, Ot as fract, St as cos, Ut as step, W as mixColorsLinear, _t as abs, cn as vec4f, 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 { 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 = .0174533;
|
|
5
5
|
const colorWheelT = src_default.fn([
|
|
6
6
|
vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as createGuardedCompute } from "./compute-
|
|
1
|
+
import { Dt as floor, F as unpremultiplyAlpha, Gt as data_exports, Jt as texture2d, P as blend_exports, St as cos, Yt as textureStorage2d, an as vec2u, b as vec4, 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, qt as arrayOf, rn as vec2f, un as i32, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { n as createGuardedCompute } from "./compute-Ax-p6Ubc.js";
|
|
3
3
|
var LUMA_QUANT = [
|
|
4
4
|
16,
|
|
5
5
|
11,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
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, 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 { t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
var PI = Math.PI;
|
|
5
5
|
var TAU = Math.PI * 2;
|
|
6
6
|
const csHash = src_default.fn([f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((x) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as mixColorStopsRuntime, h as colorStopsPropConfig } from "./porters-
|
|
3
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { At as max, G as mixColorsVariants, Gt as data_exports, Ot as fract, W as mixColorsLinear, it as std_exports, ln as f32, m as call, nt as src_default, rn as vec2f, yt as atan2 } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { S as mixColorStopsRuntime, h as colorStopsPropConfig } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
var TAU = 6.283185307179586;
|
|
5
5
|
var INV_360 = 1 / 360;
|
|
6
6
|
const conicFinalT = src_default.fn([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { a as transformColor, i as transformBoolean } from "./transformations-
|
|
1
|
+
import { At as max, Gt as data_exports, Mt as mix, Ot as fract, Pt as pow, Vt as smoothstep, _t as abs, b as vec4, cn as vec4f, d as ZERO, dt as fwidth, gt as select, it as std_exports, ln as f32, m as call, nt as src_default, on as vec3f, v as floatE, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { a as transformColor, i as transformBoolean } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
var transformSource = (value) => value === "alpha" ? 1 : 0;
|
|
4
4
|
var transformColorMode = (value) => value === "custom" ? 1 : 0;
|
|
5
5
|
var sourceModeOf = (raw) => typeof raw === "number" ? raw : raw === "alpha" ? 1 : 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as max, F as unpremultiplyAlpha, Gt as data_exports, Mt as mix, Ut as step, _t as abs, b as vec4, c as sampleRemappedExpr, d as ZERO, gt as select, it as std_exports, kt as length, ln as f32, m as call, n as composeEdgeRemapExpr, nt as src_default, on as vec3f, rn as vec2f, wt as dot, xt as clamp, zt as sign } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
var EPS = 1e-8;
|
|
4
4
|
const cornerPinSafeDiv = src_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((n, dv) => {
|
|
5
5
|
"use gpu";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as shapeLocalCoords, h as sdf_exports, n as ShapeMask, o as crescentSdf, 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 { g as shapeLocalCoords, h as sdf_exports, n as ShapeMask, o as crescentSdf, 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 crescentShape = 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, s as crossSdf, 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 { g as shapeLocalCoords, h as sdf_exports, n as ShapeMask, s as crossSdf, 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 crossShape = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
f32,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { f as mxWorleyNoiseFloat2Pub, p as noise_exports } from "./noise-
|
|
3
|
-
import { h as sdf_exports } from "./sdf-
|
|
4
|
-
import { f as sdf3d_exports, n as shapeEffectBoundingBoxDeclaration, t as resolveShapeType } from "./shapeEffectBounds-
|
|
5
|
-
import { n as glass_exports } from "./glass-
|
|
6
|
-
import { a as transformColor, c as transformPosition, i as transformBoolean } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, Gt as data_exports, Ht as sqrt, It as reflect, Lt as refract, Mt as mix, Nt as normalize, Ot as fract, P as blend_exports, Pt as pow, St as cos, Vt as smoothstep, _t as abs, b as vec4, cn as vec4f, d as ZERO, en as struct, 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, wt as dot, xt as clamp, yt as atan2 } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { f as mxWorleyNoiseFloat2Pub, p as noise_exports } from "./noise-B-PI7JUx.js";
|
|
3
|
+
import { h as sdf_exports } from "./sdf-B8rPE1PG.js";
|
|
4
|
+
import { f as sdf3d_exports, n as shapeEffectBoundingBoxDeclaration, t as resolveShapeType } from "./shapeEffectBounds-Svfd_R5a.js";
|
|
5
|
+
import { n as glass_exports } from "./glass-CNFJB2On.js";
|
|
6
|
+
import { a as transformColor, c as transformPosition, i as transformBoolean } from "./transformations-C7gn_5rF.js";
|
|
7
7
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
8
8
|
var { unpremultiplyAlpha } = blend_exports;
|
|
9
9
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { p as noise_exports, r as curl22z } 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, kt as length, 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, r as curl22z } 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 curlNoiseField = src_default.fn([
|
|
7
7
|
vec2f,
|
|
8
8
|
vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as createGuardedCompute, r as createStateBuffer } from "./compute-
|
|
3
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { F as unpremultiplyAlpha, Gt as data_exports, Tt as exp, Yt as textureStorage2d, _ as expr, an as vec2u, b as vec4, 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, qt as arrayOf, rn as vec2f, t as applyEdgeHandlingExpr, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { n as createGuardedCompute, r as createStateBuffer } from "./compute-Ax-p6Ubc.js";
|
|
3
|
+
import { s as transformEdges } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
var GRID_SIZE = 128;
|
|
5
5
|
var CELL_COUNT = GRID_SIZE * GRID_SIZE;
|
|
6
6
|
var GRID_MAX = GRID_SIZE - 1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as mixColorStopsRuntime, h as colorStopsPropConfig } from "./porters-
|
|
3
|
-
import { n as createGuardedCompute, r as createStateBuffer } from "./compute-
|
|
4
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Gt as data_exports, L as colorMixing_exports, Tt as exp, Ut as step, Yt as textureStorage2d, an as vec2u, b as vec4, cn as vec4f, ct as textureStore, d as ZERO, dn as u32, en as struct, gt as select, it as std_exports, jt as min, ln as f32, m as call, nt as src_default, qt as arrayOf, rn as vec2f, v as floatE } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { S as mixColorStopsRuntime, h as colorStopsPropConfig } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { n as createGuardedCompute, r as createStateBuffer } from "./compute-Ax-p6Ubc.js";
|
|
4
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
5
5
|
var GRID_SIZE = 128;
|
|
6
6
|
var CELL_COUNT = GRID_SIZE * GRID_SIZE;
|
|
7
7
|
var STATE_FORMAT = "rgba16float";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { n as createGuardedCompute } from "./compute-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, F as unpremultiplyAlpha, Gt as data_exports, Jt as texture2d, Mt as mix, Ot as fract, St as cos, Vt as smoothstep, Yt as textureStorage2d, an as vec2u, at as textureDimensions, 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, xt as clamp, y as mixExpr } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { n as createGuardedCompute } from "./compute-Ax-p6Ubc.js";
|
|
3
3
|
var STATE_RES = 768;
|
|
4
4
|
var STATE_FORMAT = "rgba16float";
|
|
5
5
|
var MoshParams = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(struct({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { S as mixColorStopsRuntime, h as colorStopsPropConfig } from "./porters-
|
|
3
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, G as mixColorsVariants, Gt as data_exports, Mt as mix, Ot as fract, St as cos, W as mixColorsLinear, _t as abs, gt as select, 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 { S as mixColorStopsRuntime, h as colorStopsPropConfig } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
var DEG_TO_RAD = .017453292519943295;
|
|
5
5
|
const diamondFinalT = src_default.fn([
|
|
6
6
|
vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { At as max, Gt as data_exports, Ot as fract, 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 } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { i as transformBoolean } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
const diamondWipeMask = src_default.fn([
|
|
4
4
|
vec4f,
|
|
5
5
|
vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { Bt as sin, F as unpremultiplyAlpha, Gt as data_exports, Ot as fract, d as ZERO, it as std_exports, ln as f32, m as call, nt as src_default, rn as vec2f, t as applyEdgeHandlingExpr, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { s as transformEdges } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
const diffuseBlurUV = src_default.fn([
|
|
4
4
|
vec2f,
|
|
5
5
|
f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, F as unpremultiplyAlpha, Gt as data_exports, St as cos, c as sampleRemappedExpr, 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, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { s as transformEdges } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const dmDisplaceRG = src_default.fn([
|
|
5
5
|
vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Bt as sin, Dt as floor, F as unpremultiplyAlpha, Gt as data_exports, Mt as mix, Ot as fract, Ut as step, cn as vec4f, d as ZERO, f as arrayExpr, gt as select, it as std_exports, jt as min, ln as f32, m as call, nt as src_default, on as vec3f, qt as arrayOf, rn as vec2f, un as i32, v as floatE, wt as dot } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
var transformPattern = (value) => {
|
|
4
4
|
return {
|
|
5
5
|
bayer2: 0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Bt as sin, Dt as floor, Gt as data_exports, Mt as mix, Ot as fract, Vt as smoothstep, b as vec4, dt as fwidth, it as std_exports, kt as length, 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 { a as transformColor } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
const dotGridCellCenterUV = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, i as transformBoolean } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, F as unpremultiplyAlpha, Gt as data_exports, St as cos, b as vec4, cn as vec4f, d as ZERO, 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 } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { a as transformColor, i as transformBoolean } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
var DEG_TO_RAD = .017453292519943295;
|
|
4
4
|
var WEIGHTS = [
|
|
5
5
|
.056,
|
|
@@ -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 duotoneFactor = src_default.fn([vec4f, f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, blend) => {
|
|
4
4
|
"use gpu";
|
|
5
5
|
const luminance = dot(color.xyz, vec3f(.299, .587, .114));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as ellipseSdf, 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 { c as ellipseSdf, 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 ellipseShape = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
f32,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
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 } from "./glass-
|
|
5
|
-
import { c as transformPosition } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, F as unpremultiplyAlpha, Gt as data_exports, Ht as sqrt, St as cos, Vt as smoothstep, _t as abs, cn as vec4f, d as ZERO, 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 } 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 } from "./glass-CNFJB2On.js";
|
|
5
|
+
import { c as transformPosition } from "./transformations-C7gn_5rF.js";
|
|
6
6
|
var emboss_exports = /* @__PURE__ */ __export({
|
|
7
7
|
applyEmbossEffect: () => applyEmbossEffect$1,
|
|
8
8
|
embossComposite: () => embossComposite,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { p as noise_exports, u as mxNoiseFloat2 } from "./noise-
|
|
3
|
-
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, F as unpremultiplyAlpha, Gt as data_exports, Mt as mix, St as cos, Vt as smoothstep, b as vec4, 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, v as floatE, wt as dot, xt as clamp, yt as atan2 } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { p as noise_exports, u as mxNoiseFloat2 } from "./noise-B-PI7JUx.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-C7gn_5rF.js";
|
|
4
4
|
var TAU = 6.283185307179586;
|
|
5
5
|
var DEG_TO_RAD = .017453292519943295;
|
|
6
6
|
var transformStyle = (value) => value === "spiral" ? 2 : value === "line" ? 0 : 1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as erosion12, p as noise_exports } from "./noise-
|
|
3
|
-
import { n as toneAndColorExpr } from "./noiseColor-
|
|
4
|
-
import { i as noiseToneProps, 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 { i as erosion12, p as noise_exports } from "./noise-B-PI7JUx.js";
|
|
3
|
+
import { n as toneAndColorExpr } from "./noiseColor-BQAO-Rjk.js";
|
|
4
|
+
import { i as noiseToneProps, t as noiseColorProps } from "./noiseColor-Cgx-FS2o.js";
|
|
5
5
|
const erosionNoiseField = src_default.fn([
|
|
6
6
|
vec2f,
|
|
7
7
|
vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as data_exports, cn as vec4f, d as ZERO, ln as f32, m as call, nt as src_default } from "./edges-B7Yet3LV.js";
|
|
2
2
|
const exposureColor = src_default.fn([vec4f, f32], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, gain) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
return vec4f(color.xyz.mul(gain), color.w);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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, Ot as fract, St as cos, Vt as smoothstep, W as mixColorsLinear, _t as abs, b as vec4, 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 { 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 DEG_TO_RAD = Math.PI / 180;
|
|
5
5
|
var colHash = src_default.fn([f32], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((idx) => {
|
|
6
6
|
"use gpu";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as sin, Gt as data_exports, Ot as fract, Pt as pow, 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, wt as dot, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
2
|
const filmGrainColor = src_default.fn([
|
|
3
3
|
vec4f,
|
|
4
4
|
vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as createGuardedCompute } from "./compute-
|
|
3
|
-
import { a as createVariableGaussianBlurCompute, n as DEFAULT_COMPUTE_HEIGHT, r as DEFAULT_COMPUTE_WIDTH, t as BLUR_MAP_FORMAT } from "./blur-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, F as unpremultiplyAlpha, Gt as data_exports, Jt as texture2d, M as tonemap_exports, Mt as mix, St as cos, Yt as textureStorage2d, an as vec2u, b as vec4, cn as vec4f, ct as textureStore, d as ZERO, dn as u32, en as struct, it as std_exports, j as srgbToLinear, k as linearToSrgb, ln as f32, m as call, nt as src_default, on as vec3f, ot as textureLoad, rn as vec2f, un as i32, v as floatE, wt as dot, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { n as createGuardedCompute } from "./compute-Ax-p6Ubc.js";
|
|
3
|
+
import { a as createVariableGaussianBlurCompute, n as DEFAULT_COMPUTE_HEIGHT, r as DEFAULT_COMPUTE_WIDTH, t as BLUR_MAP_FORMAT } from "./blur-cLcFzL4x.js";
|
|
4
4
|
const STOCK_OPTIONS = [
|
|
5
5
|
{
|
|
6
6
|
label: "Portrait 400",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { F as unpremultiplyAlpha, Gt as data_exports, d as ZERO, 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
|
+
import { i as transformBoolean } from "./transformations-C7gn_5rF.js";
|
|
3
3
|
const flipUV = src_default.fn([
|
|
4
4
|
vec2f,
|
|
5
5
|
f32,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { c as hash22, l as hash33, o as hash11, p as noise_exports } from "./noise-
|
|
3
|
-
import { n as createGuardedCompute, r as createStateBuffer } from "./compute-
|
|
1
|
+
import { At as max, Bt as sin, Dt as floor, Gt as data_exports, Kt as atomic, Mt as mix, St as cos, Tt as exp, Yt as textureStorage2d, an as vec2u, bt as ceil, cn as vec4f, ct as textureStore, d as ZERO, dn as u32, en as struct, ft as atomicAdd, it as std_exports, jt as min, ln as f32, m as call, mt as atomicStore, nt as src_default, on as vec3f, pt as atomicLoad, qt as arrayOf, rn as vec2f, un as i32, xt as clamp } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { c as hash22, l as hash33, o as hash11, p as noise_exports } 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 makeAgentTexelWeightFn, c as pointShapeOptions, i as cursorMagnet, l as resolveAgentShape, n as agents_exports, o as makeAgentWeightFn, t as AGENT_SHAPES } from "./agents-
|
|
6
|
-
import { a as transformColor } from "./transformations-
|
|
5
|
+
import { a as makeAgentTexelWeightFn, c as pointShapeOptions, i as cursorMagnet, l as resolveAgentShape, n as agents_exports, o as makeAgentWeightFn, t as AGENT_SHAPES } from "./agents-BVhq_Z2T.js";
|
|
6
|
+
import { a as transformColor } from "./transformations-C7gn_5rF.js";
|
|
7
7
|
var MAX_MOTES = 8192;
|
|
8
8
|
var COUNT_MAX_MOBILE = 3e3;
|
|
9
9
|
var RES = isMobileGpuViewport() ? 512 : 1024;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { d as mxNoiseFloat3, p as noise_exports } from "./noise-
|
|
4
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as max, 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, on as vec3f, rn as vec2f } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { d as mxNoiseFloat3, p as noise_exports } from "./noise-B-PI7JUx.js";
|
|
4
|
+
import { s as transformEdges } from "./transformations-C7gn_5rF.js";
|
|
5
5
|
var TWO_PI = Math.PI * 2;
|
|
6
6
|
const flowFieldUV = src_default.fn([
|
|
7
7
|
vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as shapeLocalCoords, h as sdf_exports, l as flowerSdf, 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 { g as shapeLocalCoords, h as sdf_exports, l as flowerSdf, 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 flowerShape = src_default.fn([
|
|
5
5
|
vec2f,
|
|
6
6
|
f32,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { At as
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { d as mxNoiseFloat3, p as noise_exports } from "./noise-
|
|
4
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { At as max, Bt as sin, Gt as data_exports, J as mixPreconvertedVariants, K as mixPreconvertedInSpace, Mt as mix, Pt as pow, St as cos, Vt as smoothstep, W as mixColorsLinear, _t as abs, cn as vec4f, it as std_exports, ln as f32, m as call, nt as src_default, on as vec3f, p as asLocal, q as mixPreconvertedLinear, rn as vec2f, xt as clamp, z as convertP3ToMixSpaceCPU } from "./edges-B7Yet3LV.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-D_xmIPz2.js";
|
|
3
|
+
import { d as mxNoiseFloat3, p as noise_exports } from "./noise-B-PI7JUx.js";
|
|
4
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-C7gn_5rF.js";
|
|
5
5
|
var FOUR_PI = 4 * Math.PI;
|
|
6
6
|
const flowingFactors = src_default.fn([
|
|
7
7
|
vec2f,
|
|
@@ -1058,6 +1058,40 @@ const componentDefinition = {
|
|
|
1058
1058
|
description: "Liquid silk gradient with organic flowing color bands",
|
|
1059
1059
|
acceptsUVContext: true,
|
|
1060
1060
|
animatedTime: { speed: "speed" },
|
|
1061
|
+
extraFields: {
|
|
1062
|
+
convA: {
|
|
1063
|
+
schema: vec3f,
|
|
1064
|
+
initial: [
|
|
1065
|
+
0,
|
|
1066
|
+
0,
|
|
1067
|
+
0
|
|
1068
|
+
]
|
|
1069
|
+
},
|
|
1070
|
+
convB: {
|
|
1071
|
+
schema: vec3f,
|
|
1072
|
+
initial: [
|
|
1073
|
+
0,
|
|
1074
|
+
0,
|
|
1075
|
+
0
|
|
1076
|
+
]
|
|
1077
|
+
},
|
|
1078
|
+
convC: {
|
|
1079
|
+
schema: vec3f,
|
|
1080
|
+
initial: [
|
|
1081
|
+
0,
|
|
1082
|
+
0,
|
|
1083
|
+
0
|
|
1084
|
+
]
|
|
1085
|
+
},
|
|
1086
|
+
convD: {
|
|
1087
|
+
schema: vec3f,
|
|
1088
|
+
initial: [
|
|
1089
|
+
0,
|
|
1090
|
+
0,
|
|
1091
|
+
0
|
|
1092
|
+
]
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1061
1095
|
props: {
|
|
1062
1096
|
colorA: {
|
|
1063
1097
|
default: "#0a0015",
|
|
@@ -1153,30 +1187,81 @@ const componentDefinition = {
|
|
|
1153
1187
|
const uv = params.uvContext ?? ctx.uv;
|
|
1154
1188
|
const viewport = params.effectiveViewportSize ?? ctx.viewportSize;
|
|
1155
1189
|
const t = animatedTime(params);
|
|
1156
|
-
const f = call(flowingFactors, "flowingFactors", [
|
|
1190
|
+
const f = asLocal(call(flowingFactors, "flowingFactors", [
|
|
1157
1191
|
uv,
|
|
1158
1192
|
viewport,
|
|
1159
1193
|
uniforms.distortion,
|
|
1160
1194
|
uniforms.seed,
|
|
1161
1195
|
t
|
|
1162
|
-
]);
|
|
1196
|
+
]), "flowFactors");
|
|
1163
1197
|
const t1 = f.member("x");
|
|
1164
1198
|
const t2 = f.member("y");
|
|
1165
1199
|
const litScale = f.member("z");
|
|
1166
|
-
const
|
|
1167
|
-
|
|
1168
|
-
|
|
1200
|
+
const colorSpaceMode = propValues.colorSpace ?? 0;
|
|
1201
|
+
let base;
|
|
1202
|
+
if (colorSpaceMode !== 0) {
|
|
1203
|
+
let lastKey = "";
|
|
1204
|
+
params.onBeforeRender(() => {
|
|
1205
|
+
const cols = [
|
|
1206
|
+
"colorA",
|
|
1207
|
+
"colorB",
|
|
1208
|
+
"colorC",
|
|
1209
|
+
"colorD"
|
|
1210
|
+
].map((p) => params.getCpuValue(p));
|
|
1211
|
+
if (cols.some((c) => !c)) return;
|
|
1212
|
+
const key = cols.map((c) => `${c.x},${c.y},${c.z}`).join("|");
|
|
1213
|
+
if (key === lastKey) return;
|
|
1214
|
+
lastKey = key;
|
|
1215
|
+
const fields = [
|
|
1216
|
+
"convA",
|
|
1217
|
+
"convB",
|
|
1218
|
+
"convC",
|
|
1219
|
+
"convD"
|
|
1220
|
+
];
|
|
1221
|
+
cols.forEach((c, i) => {
|
|
1222
|
+
const conv = convertP3ToMixSpaceCPU(c.x, c.y, c.z, colorSpaceMode);
|
|
1223
|
+
params.setExtraField(fields[i], [
|
|
1224
|
+
conv[0],
|
|
1225
|
+
conv[1],
|
|
1226
|
+
conv[2]
|
|
1227
|
+
]);
|
|
1228
|
+
});
|
|
1229
|
+
});
|
|
1230
|
+
const row1 = asLocal(call(mixPreconvertedInSpace, "mixInSpace", [
|
|
1231
|
+
uniforms.convA,
|
|
1232
|
+
uniforms.colorA.member("a"),
|
|
1233
|
+
uniforms.convB,
|
|
1234
|
+
uniforms.colorB.member("a"),
|
|
1235
|
+
t1
|
|
1236
|
+
]), "flowRow1");
|
|
1237
|
+
const row2 = asLocal(call(mixPreconvertedInSpace, "mixInSpace", [
|
|
1238
|
+
uniforms.convC,
|
|
1239
|
+
uniforms.colorC.member("a"),
|
|
1240
|
+
uniforms.convD,
|
|
1241
|
+
uniforms.colorD.member("a"),
|
|
1242
|
+
t1
|
|
1243
|
+
]), "flowRow2");
|
|
1244
|
+
base = call(mixPreconvertedVariants[colorSpaceMode] ?? mixPreconvertedLinear, "mixPreconvertedColors", [
|
|
1245
|
+
row1.member("conv"),
|
|
1246
|
+
row2.member("conv"),
|
|
1247
|
+
row1.member("alpha"),
|
|
1248
|
+
row2.member("alpha"),
|
|
1249
|
+
t2
|
|
1250
|
+
]);
|
|
1251
|
+
} else base = call(mixColorsLinear, "mixColors", [
|
|
1252
|
+
asLocal(call(mixColorsLinear, "mixColors", [
|
|
1169
1253
|
uniforms.colorA,
|
|
1170
1254
|
uniforms.colorB,
|
|
1171
1255
|
t1
|
|
1172
|
-
]),
|
|
1173
|
-
call(
|
|
1256
|
+
]), "flowRow1"),
|
|
1257
|
+
asLocal(call(mixColorsLinear, "mixColors", [
|
|
1174
1258
|
uniforms.colorC,
|
|
1175
1259
|
uniforms.colorD,
|
|
1176
1260
|
t1
|
|
1177
|
-
]),
|
|
1261
|
+
]), "flowRow2"),
|
|
1178
1262
|
t2
|
|
1179
|
-
])
|
|
1263
|
+
]);
|
|
1264
|
+
return call(flowingCompose, "flowingCompose", [base, litScale]);
|
|
1180
1265
|
}
|
|
1181
1266
|
};
|
|
1182
1267
|
var FlowingGradient_default = componentDefinition;
|