shaders 3.0.449 → 3.0.451
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-DU1WmNHt.js → AngularBlur-4jt7bNoF.js} +1 -1
- package/dist/core/{Arc-C8QmYsiZ.js → Arc-DXIfbBgd.js} +2 -2
- package/dist/core/{Ascii-BaQ6MZTc.js → Ascii-GDof03Ca.js} +1 -1
- package/dist/core/{Aurora-B6lOg6M4.js → Aurora-CS4vewUW.js} +3 -3
- package/dist/core/{BarShift-CFK-CzF9.js → BarShift-BtnYLQ0B.js} +2 -2
- package/dist/core/{BarnDoors-DWs_0xtH.js → BarnDoors-Dw9K-amf.js} +1 -1
- package/dist/core/{Beam-Cgc4EYnj.js → Beam-D_cyaMjJ.js} +1 -1
- package/dist/core/{Bend-oof5pE1H.js → Bend-CSs5UIh8.js} +1 -1
- package/dist/core/{Blob-cfvDCv0i.js → Blob-h25zA5WH.js} +2 -2
- package/dist/core/{BlockDissolve-C7yJzYGZ.js → BlockDissolve-CKN_KvLP.js} +2 -2
- package/dist/core/{BlockNoise-DaM9YDAH.js → BlockNoise-DhKyd_F7.js} +5 -5
- package/dist/core/{BlueNoise-BMMRTsMw.js → BlueNoise-Auhzq4x5.js} +4 -4
- package/dist/core/{Blur-Be7sX4v9.js → Blur-CcxMqYsu.js} +3 -3
- package/dist/core/{Boids-C9S69THK.js → Boids-D51U46GF.js} +783 -656
- package/dist/core/{BokehBlur-DSkKZ_yy.js → BokehBlur-Cfaqbh3I.js} +3 -3
- package/dist/core/{BrickPattern-BY7h4hyx.js → BrickPattern-tASwilX0.js} +2 -2
- package/dist/core/{BrightnessContrast-DFc0gSUv.js → BrightnessContrast-ZCKqJW7i.js} +1 -1
- package/dist/core/{BrushedMetal-B06tUygH.js → BrushedMetal-B6gSVB28.js} +6 -6
- package/dist/core/{Bulge-BpSOQfH0.js → Bulge-dCYtWP4S.js} +1 -1
- package/dist/core/{CRTScreen-DdGcEvk2.js → CRTScreen-CVY1lOGL.js} +1 -1
- package/dist/core/{CarbonFiber-Dy7Osb3V.js → CarbonFiber-Do9EONKv.js} +5 -5
- package/dist/core/{Chalkboard-wRYj23wL.js → Chalkboard-0hyyGnYl.js} +1 -1
- package/dist/core/{ChannelBlur-DKD9GUpc.js → ChannelBlur-DcZKCKXi.js} +2 -2
- package/dist/core/{CheckerWipe-D0WmsSKg.js → CheckerWipe-BIE62tJ1.js} +1 -1
- package/dist/core/{Checkerboard-2sQYJks9.js → Checkerboard-CRnfu63u.js} +1 -1
- package/dist/core/{Chevron-D3oPw2-i.js → Chevron-Ld_v4z9T.js} +2 -2
- package/dist/core/{ChromaFlow-px9KG_h6.js → ChromaFlow-CTWeauIr.js} +1 -1
- package/dist/core/{ChromaticAberration-DLFROPJV.js → ChromaticAberration-CxuOb68m.js} +1 -1
- package/dist/core/{Circle-0CqIPN3a.js → Circle-XP1B5rsN.js} +2 -2
- package/dist/core/{ColorWheel-CMtn8slz.js → ColorWheel-CFU_OmOW.js} +2 -2
- package/dist/core/{CompressionArtifacts-D7dpVg47.js → CompressionArtifacts-Bc9xTdQP.js} +2 -2
- package/dist/core/{ConcentricSpin-BPk-_egF.js → ConcentricSpin-DTJytpAk.js} +2 -2
- package/dist/core/{ConicGradient-B-tEhmfR.js → ConicGradient-C-4uDmQj.js} +2 -2
- package/dist/core/{ContourLines-BlgCWFSy.js → ContourLines-C8p6f-1y.js} +1 -1
- package/dist/core/{CornerPin-DB3G2i_y.js → CornerPin-CB92kX10.js} +1 -1
- package/dist/core/{Crescent-CFzPQKll.js → Crescent-Dk4nlG8T.js} +2 -2
- package/dist/core/{Cross-Cstl9nDg.js → Cross-DsnI1U8g.js} +2 -2
- package/dist/core/{Crystal-CEeqF1Xa.js → Crystal-CR_sG2y7.js} +5 -5
- package/dist/core/{CurlNoise-uvTKk4Wa.js → CurlNoise-DJ27ih0F.js} +5 -5
- package/dist/core/{CursorRipples-B46VApbY.js → CursorRipples-CuO3sZga.js} +2 -2
- package/dist/core/{CursorTrail-DzYRTzzA.js → CursorTrail-d4xx4QpM.js} +3 -3
- package/dist/core/{DataMosh-Ysev5-c_.js → DataMosh-BhvE-2yC.js} +2 -2
- package/dist/core/{DiamondGradient-pTOwPuAl.js → DiamondGradient-CtOVKrYf.js} +2 -2
- package/dist/core/{DiamondWipe-D6u1P2xH.js → DiamondWipe-D-yiQBVj.js} +1 -1
- package/dist/core/{DiffuseBlur-BX0cfwyh.js → DiffuseBlur-BDf-Czxz.js} +1 -1
- package/dist/core/{DisplacementMap-DMNivtcV.js → DisplacementMap-B_jf_2lj.js} +1 -1
- package/dist/core/{Dither-Cxu-hSc_.js → Dither-D3P6EJU8.js} +1 -1
- package/dist/core/{DotGrid-CbNHebie.js → DotGrid-BnSVhJlh.js} +2 -2
- package/dist/core/{DropShadow-DFyuEA17.js → DropShadow-BSKVH3n3.js} +1 -1
- package/dist/core/{Duotone-CgueO-jZ.js → Duotone-DfjYuK2u.js} +1 -1
- package/dist/core/{Ellipse-DxRnSw__.js → Ellipse-D7_1QKaa.js} +2 -2
- package/dist/core/{Emboss-BJxzjZmZ.js → Emboss-ZiPslqzl.js} +4 -4
- package/dist/core/{Engraving-DmQCj8vU.js → Engraving-DsfkKajz.js} +2 -2
- package/dist/core/{ErosionNoise-7ekcAfBb.js → ErosionNoise-SELArv9H.js} +4 -4
- package/dist/core/{Exposure-avEereLn.js → Exposure-A7WlTOti.js} +1 -1
- package/dist/core/{FallingLines-BINyHi3N.js → FallingLines-9PRMb_Ou.js} +2 -2
- package/dist/core/{FilmGrain-B-pZBxiK.js → FilmGrain-SXzVDesw.js} +1 -1
- package/dist/core/{FilmStock-BJfso8f3.js → FilmStock-RK4fk4m0.js} +3 -3
- package/dist/core/{Flip-Dbwe0zh8.js → Flip-DjoNWG4v.js} +1 -1
- package/dist/core/{FloatingParticles-CoQ01il5.js → FloatingParticles-D7vUF5g7.js} +550 -367
- package/dist/core/{FlowField-CU6S3Jar.js → FlowField-tHrXhd1b.js} +3 -3
- package/dist/core/{Flower-R7HIopNH.js → Flower-BfehbmmG.js} +2 -2
- package/dist/core/{FlowingGradient-D66Y9Wgq.js → FlowingGradient-BTKjkx5F.js} +3 -3
- package/dist/core/{FlutedGlass-WAaeW92l.js → FlutedGlass-uFT7iy_9.js} +2 -2
- package/dist/core/{Fog-BChoF6fi.js → Fog-Cu1CMATa.js} +2 -2
- package/dist/core/{Form3D-DajWNpAi.js → Form3D-D0ji-MeC.js} +2 -2
- package/dist/core/{FractalNoise-DIrQ3eQj.js → FractalNoise-D9HYiOdr.js} +4 -4
- package/dist/core/{Frost-B_3JSI2H.js → Frost-DQZZxdTk.js} +6 -6
- package/dist/core/{GaborNoise-4FWeA9yr.js → GaborNoise-D7BP0K4g.js} +5 -5
- package/dist/core/{Glass-wOhmSf3v.js → Glass-CzCVnGn-.js} +5 -5
- package/dist/core/{GlassTiles-DgdAiEuy.js → GlassTiles-DJzPPqwz.js} +1 -1
- package/dist/core/{Glitch-BOiywFUR.js → Glitch-D1Dx8__X.js} +28 -11
- package/dist/core/{Glow-C2cEWdNE.js → Glow-Bd9_o_Kv.js} +3 -3
- package/dist/core/{Godrays-DAZB2GSn.js → Godrays-DRPRWGPm.js} +2 -2
- package/dist/core/{Goo-B_WAqWYW.js → Goo-28A_pNBg.js} +5 -5
- package/dist/core/{GradientMap-DxsOInED.js → GradientMap-D8dv-1AX.js} +1 -1
- package/dist/core/{Grayscale-DSHs9mZd.js → Grayscale-BlVXBVwW.js} +1 -1
- package/dist/core/{Grid-aO3wzf4X.js → Grid-D9vlHvs1.js} +1 -1
- package/dist/core/{GridDistortion-DsHsHda7.js → GridDistortion-BpqDvqj6.js} +2 -2
- package/dist/core/{Group-CCcDbysC.js → Group-bwQnJRec.js} +1 -1
- package/dist/core/{HTMLInCanvas-B2OooKKr.js → HTMLInCanvas-gCf64ozE.js} +1 -1
- package/dist/core/{Halftone-3a3rz4ln.js → Halftone-B_WouxiP.js} +1 -1
- package/dist/core/{Heart-CzO0_GoB.js → Heart-Bmt2TLNz.js} +2 -2
- package/dist/core/{Heatmap-DPtUc8YG.js → Heatmap-Ruef741_.js} +6 -6
- package/dist/core/{HexGrid-CN5A0m5j.js → HexGrid-By9k0YuI.js} +1 -1
- package/dist/core/{Hologram-DoKRhChe.js → Hologram-Cf25ONOE.js} +6 -6
- package/dist/core/{Holographic-BWyW5z_h.js → Holographic-C9RzYykt.js} +6 -6
- package/dist/core/{HueShift-C0p8EGk-.js → HueShift-V3gQVuIo.js} +1 -1
- package/dist/core/{ImageTexture-BnwkbXAW.js → ImageTexture-DAUR2N5Q.js} +2 -2
- package/dist/core/{InkFlow-BH86usRX.js → InkFlow-DlP1gmr4.js} +2 -2
- package/dist/core/{Invert-BIjy9ddK.js → Invert-K648khvD.js} +1 -1
- package/dist/core/{IrisWipe-lpU7lucQ.js → IrisWipe-Clkd_5CA.js} +1 -1
- package/dist/core/{IsometricCubes-CIieztxI.js → IsometricCubes-CzfAwpQ5.js} +1 -1
- package/dist/core/{Kaleidoscope-CUMvqmfN.js → Kaleidoscope-B9k6HkNn.js} +1 -1
- package/dist/core/{KeyFrames-mI1J02zX.js → KeyFrames-DX6JFhsy.js} +2 -2
- package/dist/core/LensDistortion-DG4VHEXV.js +435 -0
- package/dist/core/{LensFlare-ChQK_hJN.js → LensFlare-DO5lm--6.js} +2 -2
- package/dist/core/{LightEdge-Rg-zMpGb.js → LightEdge-CxWsQwpZ.js} +6 -6
- package/dist/core/{LightLeak-D1CxVo9A.js → LightLeak-tGJW6l2_.js} +3 -3
- package/dist/core/{LinearBlur-DJBkHfs8.js → LinearBlur-OmZcUden.js} +1 -1
- package/dist/core/{LinearGradient-DCRYBS4Q.js → LinearGradient-DDqFujWC.js} +2 -2
- package/dist/core/{LinearWipe-Cxfs1tIO.js → LinearWipe-BzthBFNb.js} +1 -1
- package/dist/core/{LiquidMetal-oscNnbsr.js → LiquidMetal-DpRAJ5Ne.js} +6 -6
- package/dist/core/{Liquify-CJwl6Wef.js → Liquify-BVzmuY6D.js} +2 -2
- package/dist/core/{MagneticFilings-DAOFLjAQ.js → MagneticFilings-BP1KyU2C.js} +893 -653
- package/dist/core/{Marble-Cr4Iaq38.js → Marble-abj97ioG.js} +3 -3
- package/dist/core/{Mirror-BwOuv3TP.js → Mirror-BYqbXWUj.js} +1 -1
- package/dist/core/{MultiPointGradient-CSowH0-7.js → MultiPointGradient-DZZSkiDv.js} +1 -1
- package/dist/core/{Neon-CPIvbGSB.js → Neon-DD8qY6H9.js} +4 -4
- package/dist/core/{NoiseDissolve-ByahROgQ.js → NoiseDissolve-DSkh5NdD.js} +2 -2
- package/dist/core/{ObjectTracker-DMCr6kHz.js → ObjectTracker-DvQF31-0.js} +2 -2
- package/dist/core/{PagePeel-Coq0hc8R.js → PagePeel-DWtgqWdt.js} +1 -1
- package/dist/core/{Paper-CLlhc3fn.js → Paper-DGzZsv79.js} +2 -2
- package/dist/core/{Parallelogram-Be8RQBV7.js → Parallelogram-Ce0Pg7DX.js} +2 -2
- package/dist/core/{ParticleField-DDO-Tk9X.js → ParticleField-CgCOigET.js} +1375 -1230
- package/dist/core/{ParticleFlow-B89PWVem.js → ParticleFlow-CRQhvYQx.js} +1264 -993
- package/dist/core/{Particles-D8rP46SB.js → Particles-fKk9qTkl.js} +681 -469
- package/dist/core/{PerlinNoise-_whB3Y3m.js → PerlinNoise-DIFK1BpN.js} +5 -5
- package/dist/core/{Perspective-BJuQWHOr.js → Perspective-CDNz_7y5.js} +1 -1
- package/dist/core/{PixelSort-CJfXD6g0.js → PixelSort-sgh5ghCc.js} +2 -2
- package/dist/core/{PixelThrow-BaTI5PzH.js → PixelThrow-CXtB4Am2.js} +1 -1
- package/dist/core/{Pixelate-D7Dto_8I.js → Pixelate-BSOzwVHo.js} +1 -1
- package/dist/core/{Plasma-DWIDcCnn.js → Plasma-G6Hl__3L.js} +3 -3
- package/dist/core/{Plastic-CWAOd2i9.js → Plastic-B6F2WeaX.js} +6 -6
- package/dist/core/{PolarCoordinates-DQM3dLK3.js → PolarCoordinates-Bi99omfI.js} +1 -1
- package/dist/core/{Polygon-CFmLohBu.js → Polygon-BFxoe-Fg.js} +2 -2
- package/dist/core/{Posterize-B8PHXwhy.js → Posterize-DxiCXLUL.js} +1 -1
- package/dist/core/{Prism-C5VS4TLU.js → Prism-D6J-acZf.js} +2 -2
- package/dist/core/{ProgressiveBlur-BcGcteLH.js → ProgressiveBlur-Bko6UMxQ.js} +3 -3
- package/dist/core/{RadialGradient-D3UoKiGu.js → RadialGradient-B_Dgxs9_.js} +2 -2
- package/dist/core/{RadialWipe-DXfAH0Ug.js → RadialWipe-U9n5aeiJ.js} +1 -1
- package/dist/core/{RandomBars-BVsp1Q7v.js → RandomBars-U_zpGDJh.js} +2 -2
- package/dist/core/{ReactionDiffusion-DknxOF-o.js → ReactionDiffusion-I9xj-iK_.js} +2 -2
- package/dist/core/{RectangularCoordinates-DFQm4y6H.js → RectangularCoordinates-DX6wutjX.js} +1 -1
- package/dist/core/{ReflectivePlane-BDlGBzo1.js → ReflectivePlane-DU9pf-7H.js} +3 -3
- package/dist/core/{Repeater-DHW6eDAm.js → Repeater-kCIaHHFy.js} +1 -1
- package/dist/core/{Ring-3brC5en8.js → Ring-B_tYq3KV.js} +2 -2
- package/dist/core/{RippleWipe-DQfXGjRv.js → RippleWipe-DCgZZ4VT.js} +1 -1
- package/dist/core/{Ripples-DajR3Cl5.js → Ripples-BDhMh7XC.js} +2 -2
- package/dist/core/{RoundedRect-CfkYNmkV.js → RoundedRect-9b3REf2d.js} +2 -2
- package/dist/core/{Saturation-BPTssGSs.js → Saturation-CcblT031.js} +1 -1
- package/dist/core/{Scratches-A-AyASZm.js → Scratches-Rzk27V6D.js} +5 -5
- package/dist/core/{Sharpness-Di39DpCB.js → Sharpness-ClLOnNR8.js} +1 -1
- package/dist/core/{Shatter-CWf3HtjN.js → Shatter-CLI896c7.js} +2 -2
- package/dist/core/{SimplexNoise-DpZ2jtdk.js → SimplexNoise-98RPhPzU.js} +4 -4
- package/dist/core/{SineWave-CZuksvHn.js → SineWave-BZPrTdYD.js} +2 -2
- package/dist/core/{SliceWipe-BwL2D3HR.js → SliceWipe-BR5Qr38C.js} +1 -1
- package/dist/core/{Smoke-BsUkbTI1.js → Smoke-DoW6Brlo.js} +3 -3
- package/dist/core/{SmokeFill-CaDMgNW-.js → SmokeFill-CXHhKX8u.js} +5 -5
- package/dist/core/{SmokeFlow-CLfsAbPS.js → SmokeFlow-mRJ_JcnZ.js} +3 -3
- package/dist/core/{Solarize-ALjXXAf0.js → Solarize-BNCG4TCa.js} +1 -1
- package/dist/core/{Spherize-SBfCc9Wk.js → Spherize-6d5WZIZV.js} +1 -1
- package/dist/core/{Spiral-iRrT222n.js → Spiral-IOZ-Zm0_.js} +2 -2
- package/dist/core/{Star-DL3d_HqY.js → Star-D9txpy4P.js} +2 -2
- package/dist/core/{Stone-OTsCM-rr.js → Stone-H2qLOvGJ.js} +2 -2
- package/dist/core/{Strands-DjoQgGnd.js → Strands-Db6_uJAi.js} +2 -2
- package/dist/core/{Stretch-CdzhxnbM.js → Stretch-BIFeD7-1.js} +1 -1
- package/dist/core/{Stripes-CsBgKYdp.js → Stripes-5YZhE4bc.js} +2 -2
- package/dist/core/{StudioBackground-D8EdrLg5.js → StudioBackground-B16ICQTt.js} +2 -2
- package/dist/core/{SunBurst-ErBFL-nF.js → SunBurst-DSUFLqjC.js} +2 -2
- package/dist/core/{Surface3D-CLjX61TZ.js → Surface3D-BoliMAeJ.js} +1826 -1420
- package/dist/core/{Swirl-DDQif_lC.js → Swirl-CozBN2cj.js} +2 -2
- package/dist/core/{Teardrop-CvpdElTs.js → Teardrop-D8uqqHu8.js} +2 -2
- package/dist/core/{Text-vyzeMvhl.js → Text-Dka9dwCa.js} +2 -2
- package/dist/core/{ThinFilm-CbkMTbD2.js → ThinFilm-d7IlUY62.js} +4 -4
- package/dist/core/{TiltShift-BVMyB8lF.js → TiltShift-CNc1M7bT.js} +3 -3
- package/dist/core/{TimeTrail-CuFGvzFi.js → TimeTrail-BFuqrI-l.js} +1058 -1699
- package/dist/core/{Tint-C6zMMsYH.js → Tint-BzCm1m93.js} +1 -1
- package/dist/core/{Trapezoid-kFuxWONU.js → Trapezoid-Dc6dpnCU.js} +2 -2
- package/dist/core/{TriangularGrid-FIrpI_qE.js → TriangularGrid-BMemTQ8X.js} +2 -2
- package/dist/core/{Tritone-DyLGtOug.js → Tritone-XnyfjYXL.js} +1 -1
- package/dist/core/{Truchet-B4NI56Zz.js → Truchet-DUbAZPvr.js} +1 -1
- package/dist/core/{Twirl-CuzhWXfj.js → Twirl-Dj6ZOh7V.js} +1 -1
- package/dist/core/{VHS-DYbzndAZ.js → VHS-DcN38Sa-.js} +1 -1
- package/dist/core/{VenetianBlinds-DVopy3xp.js → VenetianBlinds-Dsix9S6Y.js} +1 -1
- package/dist/core/{Vesica-Cd-XyG3F.js → Vesica-BvLPrNBY.js} +2 -2
- package/dist/core/{Vibrance-CvXatkfO.js → Vibrance-B3F1IOJC.js} +1 -1
- package/dist/core/{VideoTexture-C5PS6Vly.js → VideoTexture-rZnbkY1j.js} +1 -1
- package/dist/core/{Vignette-DtBpWWxW.js → Vignette-D747S9Un.js} +1 -1
- package/dist/core/{Voronoi-CRH2cGlR.js → Voronoi-tdjJp1Yz.js} +2 -2
- package/dist/core/{Water-CneenzRZ.js → Water-wnYFmeVF.js} +6 -6
- package/dist/core/{Watercolor-B343pgM-.js → Watercolor-DlrWTnkX.js} +267 -350
- package/dist/core/{WaveDistortion-DHz1FxLT.js → WaveDistortion-11QwOfVR.js} +2 -2
- package/dist/core/{WaveletNoise-CsLE9gbM.js → WaveletNoise-DWOzHG3M.js} +5 -5
- package/dist/core/{Weave-CQEF71nr.js → Weave-CdGwj7cZ.js} +1 -1
- package/dist/core/{WebcamTexture-BcsYFM_g.js → WebcamTexture-CihYSbzd.js} +2 -2
- package/dist/core/{Wool-BFSicimy.js → Wool-DKCBMabi.js} +2 -2
- package/dist/core/{WorleyNoise-BKq3es5v.js → WorleyNoise-BjD32UOl.js} +2 -2
- package/dist/core/{ZoomBlur-Bu1SlmS2.js → ZoomBlur-BnRTijPn.js} +1 -1
- package/dist/core/{agents-Bv3--qPL.js → agents-c-JjGH1b.js} +446 -3
- package/dist/core/{blur-tvWOoxKt.js → blur-DKmdsW6d.js} +2 -2
- package/dist/core/{compute-BjeJ0sIA.js → compute-BoeIXi0l.js} +1 -1
- package/dist/core/{edges-BXNBKxSN.js → edges-BZUKQxSE.js} +1 -1
- package/dist/core/{glass-IfoQ8Prf.js → glass-BVqgjSPg.js} +1 -1
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/agents.d.ts +17 -1
- package/dist/core/gpu/kit/agents.d.ts.map +1 -1
- package/dist/core/gpu/passManager.d.ts +6 -2
- package/dist/core/gpu/passManager.d.ts.map +1 -1
- package/dist/core/gpu/textures.d.ts +2 -2
- package/dist/core/gpu/textures.d.ts.map +1 -1
- package/dist/core/index.js +229 -209
- package/dist/core/{media-B9BNeMPu.js → media-Ds6MRfGR.js} +1 -1
- package/dist/core/{noise-wTSHXgFz.js → noise-Cq0KUOSC.js} +1 -1
- package/dist/core/{noiseColor-CPakiKNF.js → noiseColor-CQyzqpVZ.js} +2 -2
- package/dist/core/{noiseColor-DscZM9CO.js → noiseColor-DjCUZ_8u.js} +1 -1
- package/dist/core/{noiseStylize-BXpflWPW.js → noiseStylize-fKVcJbGK.js} +2 -2
- package/dist/core/{porters-DBK1Aipq.js → porters-DogLzpKT.js} +1 -1
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +205 -204
- package/dist/core/{sdf-R0EN3EvS.js → sdf-o99ONcMJ.js} +1 -1
- package/dist/core/shaderRegistry-CkDrffEe.js +427 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +4 -4
- package/dist/core/shaders/Arc/index.js +5 -5
- package/dist/core/shaders/Ascii/index.js +4 -4
- package/dist/core/shaders/Aurora/index.js +5 -5
- package/dist/core/shaders/BarShift/index.js +4 -4
- package/dist/core/shaders/BarnDoors/index.js +4 -4
- package/dist/core/shaders/Beam/index.js +4 -4
- package/dist/core/shaders/Bend/index.js +4 -4
- package/dist/core/shaders/Blob/index.js +4 -4
- package/dist/core/shaders/BlockDissolve/index.js +5 -5
- package/dist/core/shaders/BlockNoise/index.js +7 -7
- package/dist/core/shaders/BlueNoise/index.js +7 -7
- package/dist/core/shaders/Blur/index.js +5 -5
- package/dist/core/shaders/Boids/index.d.ts +3 -3
- package/dist/core/shaders/Boids/index.d.ts.map +1 -1
- package/dist/core/shaders/Boids/index.js +8 -7
- package/dist/core/shaders/BokehBlur/index.js +5 -5
- package/dist/core/shaders/BrickPattern/index.js +4 -4
- package/dist/core/shaders/BrightnessContrast/index.js +4 -4
- package/dist/core/shaders/BrushedMetal/index.js +8 -8
- package/dist/core/shaders/Bulge/index.js +4 -4
- package/dist/core/shaders/CRTScreen/index.js +4 -4
- package/dist/core/shaders/CarbonFiber/index.js +8 -8
- package/dist/core/shaders/Chalkboard/index.js +4 -4
- package/dist/core/shaders/ChannelBlur/index.js +5 -5
- package/dist/core/shaders/CheckerWipe/index.js +4 -4
- package/dist/core/shaders/Checkerboard/index.js +4 -4
- package/dist/core/shaders/Chevron/index.js +4 -4
- package/dist/core/shaders/ChromaFlow/index.js +4 -4
- package/dist/core/shaders/ChromaticAberration/index.js +4 -4
- package/dist/core/shaders/Circle/index.js +5 -5
- package/dist/core/shaders/ColorWheel/index.js +4 -4
- package/dist/core/shaders/CompressionArtifacts/index.js +4 -4
- package/dist/core/shaders/ConcentricSpin/index.js +4 -4
- package/dist/core/shaders/ConicGradient/index.js +4 -4
- package/dist/core/shaders/ContourLines/index.js +4 -4
- package/dist/core/shaders/CornerPin/index.js +4 -4
- package/dist/core/shaders/Crescent/index.js +5 -5
- package/dist/core/shaders/Cross/index.js +5 -5
- package/dist/core/shaders/Crystal/index.js +8 -8
- package/dist/core/shaders/CurlNoise/index.js +7 -7
- package/dist/core/shaders/CursorRipples/index.js +4 -4
- package/dist/core/shaders/CursorTrail/index.js +4 -4
- package/dist/core/shaders/DataMosh/index.js +4 -4
- package/dist/core/shaders/DiamondGradient/index.js +4 -4
- package/dist/core/shaders/DiamondWipe/index.js +4 -4
- package/dist/core/shaders/DiffuseBlur/index.js +4 -4
- package/dist/core/shaders/DisplacementMap/index.js +4 -4
- package/dist/core/shaders/Dither/index.js +4 -4
- package/dist/core/shaders/DotGrid/index.js +4 -4
- package/dist/core/shaders/DropShadow/index.js +4 -4
- package/dist/core/shaders/Duotone/index.js +4 -4
- package/dist/core/shaders/Ellipse/index.js +5 -5
- package/dist/core/shaders/Emboss/index.js +7 -7
- package/dist/core/shaders/Engraving/index.js +5 -5
- package/dist/core/shaders/ErosionNoise/index.js +7 -7
- package/dist/core/shaders/Exposure/index.js +4 -4
- package/dist/core/shaders/FallingLines/index.js +4 -4
- package/dist/core/shaders/FilmGrain/index.js +4 -4
- package/dist/core/shaders/FilmStock/index.js +5 -5
- package/dist/core/shaders/Flip/index.js +4 -4
- package/dist/core/shaders/FloatingParticles/index.d.ts +9 -4
- package/dist/core/shaders/FloatingParticles/index.d.ts.map +1 -1
- package/dist/core/shaders/FloatingParticles/index.js +8 -7
- package/dist/core/shaders/FlowField/index.js +5 -5
- package/dist/core/shaders/Flower/index.js +5 -5
- package/dist/core/shaders/FlowingGradient/index.js +5 -5
- package/dist/core/shaders/FlutedGlass/index.js +4 -4
- package/dist/core/shaders/Fog/index.js +4 -4
- package/dist/core/shaders/Form3D/index.js +4 -4
- package/dist/core/shaders/FractalNoise/index.js +6 -6
- package/dist/core/shaders/Frost/index.js +8 -8
- package/dist/core/shaders/GaborNoise/index.js +7 -7
- package/dist/core/shaders/Glass/index.js +8 -8
- package/dist/core/shaders/GlassTiles/index.js +4 -4
- package/dist/core/shaders/Glitch/index.d.ts +1 -1
- package/dist/core/shaders/Glitch/index.d.ts.map +1 -1
- package/dist/core/shaders/Glitch/index.js +4 -4
- package/dist/core/shaders/Glow/index.js +5 -5
- package/dist/core/shaders/Godrays/index.js +4 -4
- package/dist/core/shaders/Goo/index.js +7 -7
- package/dist/core/shaders/GradientMap/index.js +4 -4
- package/dist/core/shaders/Grayscale/index.js +4 -4
- package/dist/core/shaders/Grid/index.js +4 -4
- package/dist/core/shaders/GridDistortion/index.js +4 -4
- package/dist/core/shaders/Group/index.js +4 -4
- package/dist/core/shaders/HTMLInCanvas/index.js +4 -4
- package/dist/core/shaders/Halftone/index.js +4 -4
- package/dist/core/shaders/Heart/index.js +5 -5
- package/dist/core/shaders/Heatmap/index.js +8 -8
- package/dist/core/shaders/HexGrid/index.js +4 -4
- package/dist/core/shaders/Hologram/index.js +8 -8
- package/dist/core/shaders/Holographic/index.js +8 -8
- package/dist/core/shaders/HueShift/index.js +4 -4
- package/dist/core/shaders/ImageTexture/index.js +5 -5
- package/dist/core/shaders/InkFlow/index.js +4 -4
- package/dist/core/shaders/Invert/index.js +4 -4
- package/dist/core/shaders/IrisWipe/index.js +4 -4
- package/dist/core/shaders/IsometricCubes/index.js +4 -4
- package/dist/core/shaders/Kaleidoscope/index.js +4 -4
- package/dist/core/shaders/KeyFrames/index.js +4 -4
- package/dist/core/shaders/LensDistortion/index.d.ts +123 -0
- package/dist/core/shaders/LensDistortion/index.d.ts.map +1 -0
- package/dist/core/shaders/LensDistortion/index.js +8 -0
- package/dist/core/shaders/LensFlare/index.js +4 -4
- package/dist/core/shaders/LightEdge/index.js +8 -8
- package/dist/core/shaders/LightLeak/index.js +5 -5
- package/dist/core/shaders/LinearBlur/index.js +4 -4
- package/dist/core/shaders/LinearGradient/index.js +4 -4
- package/dist/core/shaders/LinearWipe/index.js +4 -4
- package/dist/core/shaders/LiquidMetal/index.js +8 -8
- package/dist/core/shaders/Liquify/index.js +4 -4
- package/dist/core/shaders/MagneticFilings/index.d.ts +0 -2
- package/dist/core/shaders/MagneticFilings/index.d.ts.map +1 -1
- package/dist/core/shaders/MagneticFilings/index.js +8 -7
- package/dist/core/shaders/Marble/index.js +5 -5
- package/dist/core/shaders/Mirror/index.js +4 -4
- package/dist/core/shaders/MultiPointGradient/index.js +4 -4
- package/dist/core/shaders/Neon/index.js +6 -6
- package/dist/core/shaders/NoiseDissolve/index.js +5 -5
- package/dist/core/shaders/ObjectTracker/index.js +5 -5
- package/dist/core/shaders/PagePeel/index.js +4 -4
- package/dist/core/shaders/Paper/index.js +5 -5
- package/dist/core/shaders/Parallelogram/index.js +5 -5
- package/dist/core/shaders/ParticleField/index.d.ts +10 -5
- package/dist/core/shaders/ParticleField/index.d.ts.map +1 -1
- package/dist/core/shaders/ParticleField/index.js +7 -7
- package/dist/core/shaders/ParticleFlow/index.d.ts +10 -4
- package/dist/core/shaders/ParticleFlow/index.d.ts.map +1 -1
- package/dist/core/shaders/ParticleFlow/index.js +8 -7
- package/dist/core/shaders/Particles/index.d.ts +4 -3
- package/dist/core/shaders/Particles/index.d.ts.map +1 -1
- package/dist/core/shaders/Particles/index.js +9 -9
- package/dist/core/shaders/PerlinNoise/index.js +7 -7
- package/dist/core/shaders/Perspective/index.js +4 -4
- package/dist/core/shaders/PixelSort/index.js +4 -4
- package/dist/core/shaders/PixelThrow/index.js +4 -4
- package/dist/core/shaders/Pixelate/index.js +4 -4
- package/dist/core/shaders/Plasma/index.js +5 -5
- package/dist/core/shaders/Plastic/index.js +8 -8
- package/dist/core/shaders/PolarCoordinates/index.js +4 -4
- package/dist/core/shaders/Polygon/index.js +5 -5
- package/dist/core/shaders/Posterize/index.js +4 -4
- package/dist/core/shaders/Prism/index.js +4 -4
- package/dist/core/shaders/ProgressiveBlur/index.js +5 -5
- package/dist/core/shaders/RadialGradient/index.js +4 -4
- package/dist/core/shaders/RadialWipe/index.js +4 -4
- package/dist/core/shaders/RandomBars/index.js +5 -5
- package/dist/core/shaders/ReactionDiffusion/index.js +4 -4
- package/dist/core/shaders/RectangularCoordinates/index.js +4 -4
- package/dist/core/shaders/ReflectivePlane/index.js +5 -5
- package/dist/core/shaders/Repeater/index.js +4 -4
- package/dist/core/shaders/Ring/index.js +5 -5
- package/dist/core/shaders/RippleWipe/index.js +4 -4
- package/dist/core/shaders/Ripples/index.js +4 -4
- package/dist/core/shaders/RoundedRect/index.js +5 -5
- package/dist/core/shaders/Saturation/index.js +4 -4
- package/dist/core/shaders/Scratches/index.js +7 -7
- package/dist/core/shaders/Sharpness/index.js +4 -4
- package/dist/core/shaders/Shatter/index.js +4 -4
- package/dist/core/shaders/SimplexNoise/index.js +6 -6
- package/dist/core/shaders/SineWave/index.js +4 -4
- package/dist/core/shaders/SliceWipe/index.js +4 -4
- package/dist/core/shaders/Smoke/index.js +4 -4
- package/dist/core/shaders/SmokeFill/index.js +7 -7
- package/dist/core/shaders/SmokeFlow/index.js +4 -4
- package/dist/core/shaders/Solarize/index.js +4 -4
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +4 -4
- package/dist/core/shaders/Spiral/index.js +4 -4
- package/dist/core/shaders/Star/index.js +5 -5
- package/dist/core/shaders/Stone/index.js +4 -4
- package/dist/core/shaders/Strands/index.js +4 -4
- package/dist/core/shaders/Stretch/index.js +4 -4
- package/dist/core/shaders/Stripes/index.js +4 -4
- package/dist/core/shaders/StudioBackground/index.js +4 -4
- package/dist/core/shaders/SunBurst/index.js +4 -4
- package/dist/core/shaders/Surface3D/index.d.ts +4 -2
- package/dist/core/shaders/Surface3D/index.d.ts.map +1 -1
- package/dist/core/shaders/Surface3D/index.js +6 -5
- package/dist/core/shaders/Swirl/index.js +4 -4
- package/dist/core/shaders/Teardrop/index.js +5 -5
- package/dist/core/shaders/Text/index.js +5 -5
- package/dist/core/shaders/ThinFilm/index.js +6 -6
- package/dist/core/shaders/TiltShift/index.js +5 -5
- package/dist/core/shaders/TimeTrail/index.d.ts +47 -1
- package/dist/core/shaders/TimeTrail/index.d.ts.map +1 -1
- package/dist/core/shaders/TimeTrail/index.js +6 -5
- package/dist/core/shaders/Tint/index.js +4 -4
- package/dist/core/shaders/Trapezoid/index.js +5 -5
- package/dist/core/shaders/TriangularGrid/index.js +4 -4
- package/dist/core/shaders/Tritone/index.js +4 -4
- package/dist/core/shaders/Truchet/index.js +4 -4
- package/dist/core/shaders/Twirl/index.js +4 -4
- package/dist/core/shaders/VHS/index.js +4 -4
- package/dist/core/shaders/VenetianBlinds/index.js +4 -4
- package/dist/core/shaders/Vesica/index.js +5 -5
- package/dist/core/shaders/Vibrance/index.js +4 -4
- package/dist/core/shaders/VideoTexture/index.js +4 -4
- package/dist/core/shaders/Vignette/index.js +4 -4
- package/dist/core/shaders/Voronoi/index.js +4 -4
- package/dist/core/shaders/Water/index.js +8 -8
- package/dist/core/shaders/Watercolor/index.d.ts +1 -1
- package/dist/core/shaders/Watercolor/index.d.ts.map +1 -1
- package/dist/core/shaders/Watercolor/index.js +5 -4
- package/dist/core/shaders/WaveDistortion/index.js +4 -4
- package/dist/core/shaders/WaveletNoise/index.js +7 -7
- package/dist/core/shaders/Weave/index.js +4 -4
- package/dist/core/shaders/WebcamTexture/index.js +5 -5
- package/dist/core/shaders/Wool/index.js +4 -4
- package/dist/core/shaders/WorleyNoise/index.js +4 -4
- package/dist/core/shaders/ZoomBlur/index.js +4 -4
- package/dist/core/{shapeEffectBounds-CtKwBX8c.js → shapeEffectBounds-Dg4GQ5vW.js} +3 -3
- package/dist/js/bundle.js +174 -174
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +27 -0
- package/dist/react/LensDistortion.js +226 -0
- package/dist/react/Preview.js +1 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +160 -160
- package/dist/react/components/LensDistortion.d.ts +54 -0
- package/dist/react/components/LensDistortion.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +2 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +27 -0
- package/dist/registry.js +585 -1
- package/dist/solid/components/LensDistortion.d.ts +51 -0
- package/dist/solid/components/LensDistortion.d.ts.map +1 -0
- package/dist/solid/components/LensDistortion.js +232 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +193 -191
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +194 -192
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +27 -0
- package/dist/svelte/components/LensDistortion.svelte.d.ts +41 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +2751 -2544
- package/dist/svelte/source/components/LensDistortion.svelte +365 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +27 -0
- package/dist/vue/LensDistortion.js +3 -0
- package/dist/vue/LensDistortion.vue_vue_type_script_setup_true_lang.js +244 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/components/LensDistortion.vue.d.ts +76 -0
- package/dist/vue/components/LensDistortion.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +27 -0
- package/package.json +9 -1
- package/dist/core/shaderRegistry-CcvE7wN0.js +0 -425
- /package/dist/core/{SolidColor-Cu_9b_my.js → SolidColor-dYxjV0YF.js} +0 -0
- /package/dist/core/{fonts-v_F1SFl9.js → fonts-DFuXI3Hk.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Et as fract, N as unpremultiplyAlpha, Rt as sin, Ut as data_exports, Vt as step, bt as cos, c as sampleRemappedExpr, d as ZERO, et as src_default, ht as abs, n as composeEdgeRemapExpr, nt as std_exports, p as call, sn as f32, tn as vec2f } from "./edges-BZUKQxSE.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-DogLzpKT.js";
|
|
3
3
|
import { s as transformEdges } from "./transformations-CsPUHppB.js";
|
|
4
4
|
var DEG_TO_RAD = Math.PI / 180;
|
|
5
5
|
var TAU = Math.PI * 2;
|
|
@@ -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 { Ct as exp, Ut as data_exports, et as src_default, nt as std_exports, p as call, sn as f32, tn as vec2f } from "./edges-BZUKQxSE.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-DogLzpKT.js";
|
|
3
|
+
import { p as noise_exports, x as wavelet12 } from "./noise-Cq0KUOSC.js";
|
|
4
|
+
import { n as toneAndColorExpr } from "./noiseColor-CQyzqpVZ.js";
|
|
5
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-DjCUZ_8u.js";
|
|
6
6
|
const waveletNoiseField = src_default.fn([
|
|
7
7
|
vec2f,
|
|
8
8
|
vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Et as fract, Ot as max, Rt as sin, Tt as floor, Ut as data_exports, bt as cos, et as src_default, lt as fwidth, nt as std_exports, on as vec4f, p as call, sn as f32, tn as vec2f, yt as clamp, zt as smoothstep } from "./edges-BZUKQxSE.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-CsPUHppB.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const weaveColor = src_default.fn([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ut as data_exports, et as src_default, mt as select, nt as std_exports, p as call, sn as f32, tn as vec2f } from "./edges-BZUKQxSE.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-
|
|
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-Ds6MRfGR.js";
|
|
4
4
|
import { r as registerNaturalSize } from "./naturalSize-B679wTgN.js";
|
|
5
5
|
var OBJECT_FIT_MODES = {
|
|
6
6
|
cover: 0,
|
|
@@ -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-Cq0KUOSC.js";
|
|
2
|
+
import { n as applyNoiseReliefExpr, t as reliefStylizeProps } from "./noiseStylize-fKVcJbGK.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Wool",
|
|
5
5
|
boundingBoxDeclaration: { aspectRatio: null },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { At as mix, Bt as sqrt, Et as fract, H as mixColorsLinear, Ot as max, Rt as sin, St as dot, Tt as floor, U as mixColorsVariants, Ut as data_exports, _ as floatE, bt as cos, et as src_default, ht as abs, kt as min, mt as select, nt as std_exports, p as call, sn as f32, tn as vec2f, yt as clamp } from "./edges-BZUKQxSE.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-DogLzpKT.js";
|
|
3
3
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CsPUHppB.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) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as unpremultiplyAlpha, Ut as data_exports, _ as floatE, d as ZERO, et as src_default, p as call, sn as f32, tn as vec2f } from "./edges-BZUKQxSE.js";
|
|
2
2
|
import { c as transformPosition } from "./transformations-CsPUHppB.js";
|
|
3
3
|
var rawWeights = Array.from({ length: 32 }, (_, i) => {
|
|
4
4
|
const t = (i / 31 - .5) * 2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { At as mix, Bt as sqrt, Ct as exp, Dt as length, Ot as max, St as dot, et as src_default, ht as abs, kt as min, mt as select, nt as std_exports, sn as f32, tn as vec2f, un as __export, yt as clamp, zt as smoothstep } from "./edges-BZUKQxSE.js";
|
|
2
2
|
var agents_exports = /* @__PURE__ */ __export({
|
|
3
3
|
AGENT_SHAPES: () => AGENT_SHAPES,
|
|
4
4
|
arrowSdf: () => arrowSdf,
|
|
@@ -6,6 +6,7 @@ var agents_exports = /* @__PURE__ */ __export({
|
|
|
6
6
|
capsuleSdf: () => capsuleSdf,
|
|
7
7
|
cursorFalloff: () => cursorFalloff,
|
|
8
8
|
cursorMagnet: () => cursorMagnet,
|
|
9
|
+
makeAgentTexelWeightFn: () => makeAgentTexelWeightFn,
|
|
9
10
|
makeAgentWeightFn: () => makeAgentWeightFn,
|
|
10
11
|
orientedShapeOptions: () => orientedShapeOptions,
|
|
11
12
|
pointShapeOptions: () => pointShapeOptions,
|
|
@@ -630,7 +631,7 @@ const AGENT_SHAPES = {
|
|
|
630
631
|
hl: 0,
|
|
631
632
|
hw: 0,
|
|
632
633
|
soft: 1,
|
|
633
|
-
ext: 2.
|
|
634
|
+
ext: 2.1
|
|
634
635
|
}
|
|
635
636
|
};
|
|
636
637
|
function resolveAgentShape(name, fallback) {
|
|
@@ -853,6 +854,448 @@ function makeAgentWeightFn(shape) {
|
|
|
853
854
|
})
|
|
854
855
|
}) && $.f)({})).$name("agentWeight");
|
|
855
856
|
}
|
|
857
|
+
function makeAgentTexelWeightFn(shape) {
|
|
858
|
+
const s = AGENT_SHAPES[resolveAgentShape(shape, "dot")];
|
|
859
|
+
const sdFn = s.kind === 1 ? arrowSdf : s.kind === 2 ? boxSdf : capsuleSdf;
|
|
860
|
+
const HL = s.hl;
|
|
861
|
+
const HW = s.hw;
|
|
862
|
+
const isDisc = s.kind === 0 && s.hl === 0;
|
|
863
|
+
const soft = s.soft === 1;
|
|
864
|
+
if (isDisc) return soft ? src_default.fn([
|
|
865
|
+
f32,
|
|
866
|
+
f32,
|
|
867
|
+
f32,
|
|
868
|
+
f32,
|
|
869
|
+
f32
|
|
870
|
+
], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((q, _t, _n, bodyR, _aaW) => {
|
|
871
|
+
"use gpu";
|
|
872
|
+
const sd = __tsover_mul(bodyR, __tsover_sub(sqrt(q), HW));
|
|
873
|
+
const gq = __tsover_div(max(sd, 0), max(__tsover_mul(bodyR, .75), 1e-6));
|
|
874
|
+
return exp(__tsover_mul(__tsover_mul(gq, gq), -1));
|
|
875
|
+
}), {
|
|
876
|
+
v: 1,
|
|
877
|
+
name: void 0,
|
|
878
|
+
ast: {
|
|
879
|
+
"params": [
|
|
880
|
+
{
|
|
881
|
+
"type": "i",
|
|
882
|
+
"name": "q"
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"type": "i",
|
|
886
|
+
"name": "_t"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"type": "i",
|
|
890
|
+
"name": "_n"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"type": "i",
|
|
894
|
+
"name": "bodyR"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"type": "i",
|
|
898
|
+
"name": "_aaW"
|
|
899
|
+
}
|
|
900
|
+
],
|
|
901
|
+
"body": [0, [
|
|
902
|
+
[
|
|
903
|
+
13,
|
|
904
|
+
"sd",
|
|
905
|
+
[
|
|
906
|
+
1,
|
|
907
|
+
"bodyR",
|
|
908
|
+
"*",
|
|
909
|
+
[
|
|
910
|
+
1,
|
|
911
|
+
[
|
|
912
|
+
6,
|
|
913
|
+
[
|
|
914
|
+
7,
|
|
915
|
+
"std",
|
|
916
|
+
"sqrt"
|
|
917
|
+
],
|
|
918
|
+
["q"]
|
|
919
|
+
],
|
|
920
|
+
"-",
|
|
921
|
+
"HW"
|
|
922
|
+
]
|
|
923
|
+
]
|
|
924
|
+
],
|
|
925
|
+
[
|
|
926
|
+
13,
|
|
927
|
+
"gq",
|
|
928
|
+
[
|
|
929
|
+
1,
|
|
930
|
+
[
|
|
931
|
+
6,
|
|
932
|
+
[
|
|
933
|
+
7,
|
|
934
|
+
"std",
|
|
935
|
+
"max"
|
|
936
|
+
],
|
|
937
|
+
["sd", [5, "0"]]
|
|
938
|
+
],
|
|
939
|
+
"/",
|
|
940
|
+
[
|
|
941
|
+
6,
|
|
942
|
+
[
|
|
943
|
+
7,
|
|
944
|
+
"std",
|
|
945
|
+
"max"
|
|
946
|
+
],
|
|
947
|
+
[[
|
|
948
|
+
1,
|
|
949
|
+
"bodyR",
|
|
950
|
+
"*",
|
|
951
|
+
[5, "0.75"]
|
|
952
|
+
], [5, "0.000001"]]
|
|
953
|
+
]
|
|
954
|
+
]
|
|
955
|
+
],
|
|
956
|
+
[10, [
|
|
957
|
+
6,
|
|
958
|
+
[
|
|
959
|
+
7,
|
|
960
|
+
"std",
|
|
961
|
+
"exp"
|
|
962
|
+
],
|
|
963
|
+
[[
|
|
964
|
+
1,
|
|
965
|
+
[
|
|
966
|
+
1,
|
|
967
|
+
"gq",
|
|
968
|
+
"*",
|
|
969
|
+
"gq"
|
|
970
|
+
],
|
|
971
|
+
"*",
|
|
972
|
+
[
|
|
973
|
+
4,
|
|
974
|
+
"-",
|
|
975
|
+
[5, "1"]
|
|
976
|
+
]
|
|
977
|
+
]]
|
|
978
|
+
]]
|
|
979
|
+
]],
|
|
980
|
+
"externalNames": ["std", "HW"]
|
|
981
|
+
},
|
|
982
|
+
externals: () => ({
|
|
983
|
+
std: std_exports,
|
|
984
|
+
HW
|
|
985
|
+
})
|
|
986
|
+
}) && $.f)({})).$name("agentTexelWeight") : src_default.fn([
|
|
987
|
+
f32,
|
|
988
|
+
f32,
|
|
989
|
+
f32,
|
|
990
|
+
f32,
|
|
991
|
+
f32
|
|
992
|
+
], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((q, _t, _n, bodyR, aaW) => {
|
|
993
|
+
"use gpu";
|
|
994
|
+
const sd = __tsover_mul(bodyR, __tsover_sub(sqrt(q), HW));
|
|
995
|
+
return __tsover_sub(1, smoothstep(-aaW, aaW, sd));
|
|
996
|
+
}), {
|
|
997
|
+
v: 1,
|
|
998
|
+
name: void 0,
|
|
999
|
+
ast: {
|
|
1000
|
+
"params": [
|
|
1001
|
+
{
|
|
1002
|
+
"type": "i",
|
|
1003
|
+
"name": "q"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"type": "i",
|
|
1007
|
+
"name": "_t"
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"type": "i",
|
|
1011
|
+
"name": "_n"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"type": "i",
|
|
1015
|
+
"name": "bodyR"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"type": "i",
|
|
1019
|
+
"name": "aaW"
|
|
1020
|
+
}
|
|
1021
|
+
],
|
|
1022
|
+
"body": [0, [[
|
|
1023
|
+
13,
|
|
1024
|
+
"sd",
|
|
1025
|
+
[
|
|
1026
|
+
1,
|
|
1027
|
+
"bodyR",
|
|
1028
|
+
"*",
|
|
1029
|
+
[
|
|
1030
|
+
1,
|
|
1031
|
+
[
|
|
1032
|
+
6,
|
|
1033
|
+
[
|
|
1034
|
+
7,
|
|
1035
|
+
"std",
|
|
1036
|
+
"sqrt"
|
|
1037
|
+
],
|
|
1038
|
+
["q"]
|
|
1039
|
+
],
|
|
1040
|
+
"-",
|
|
1041
|
+
"HW"
|
|
1042
|
+
]
|
|
1043
|
+
]
|
|
1044
|
+
], [10, [
|
|
1045
|
+
1,
|
|
1046
|
+
[5, "1"],
|
|
1047
|
+
"-",
|
|
1048
|
+
[
|
|
1049
|
+
6,
|
|
1050
|
+
[
|
|
1051
|
+
7,
|
|
1052
|
+
"std",
|
|
1053
|
+
"smoothstep"
|
|
1054
|
+
],
|
|
1055
|
+
[
|
|
1056
|
+
[
|
|
1057
|
+
4,
|
|
1058
|
+
"-",
|
|
1059
|
+
"aaW"
|
|
1060
|
+
],
|
|
1061
|
+
"aaW",
|
|
1062
|
+
"sd"
|
|
1063
|
+
]
|
|
1064
|
+
]
|
|
1065
|
+
]]]],
|
|
1066
|
+
"externalNames": ["std", "HW"]
|
|
1067
|
+
},
|
|
1068
|
+
externals: () => ({
|
|
1069
|
+
std: std_exports,
|
|
1070
|
+
HW
|
|
1071
|
+
})
|
|
1072
|
+
}) && $.f)({})).$name("agentTexelWeight");
|
|
1073
|
+
return soft ? src_default.fn([
|
|
1074
|
+
f32,
|
|
1075
|
+
f32,
|
|
1076
|
+
f32,
|
|
1077
|
+
f32,
|
|
1078
|
+
f32
|
|
1079
|
+
], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((_q, t, n, bodyR, _aaW) => {
|
|
1080
|
+
"use gpu";
|
|
1081
|
+
const sd = sdFn(t, n, __tsover_mul(bodyR, HL), __tsover_mul(bodyR, HW));
|
|
1082
|
+
const gq = __tsover_div(max(sd, 0), max(__tsover_mul(bodyR, .75), 1e-6));
|
|
1083
|
+
return exp(__tsover_mul(__tsover_mul(gq, gq), -1));
|
|
1084
|
+
}), {
|
|
1085
|
+
v: 1,
|
|
1086
|
+
name: void 0,
|
|
1087
|
+
ast: {
|
|
1088
|
+
"params": [
|
|
1089
|
+
{
|
|
1090
|
+
"type": "i",
|
|
1091
|
+
"name": "_q"
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"type": "i",
|
|
1095
|
+
"name": "t"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"type": "i",
|
|
1099
|
+
"name": "n"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"type": "i",
|
|
1103
|
+
"name": "bodyR"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
"type": "i",
|
|
1107
|
+
"name": "_aaW"
|
|
1108
|
+
}
|
|
1109
|
+
],
|
|
1110
|
+
"body": [0, [
|
|
1111
|
+
[
|
|
1112
|
+
13,
|
|
1113
|
+
"sd",
|
|
1114
|
+
[
|
|
1115
|
+
6,
|
|
1116
|
+
"sdFn",
|
|
1117
|
+
[
|
|
1118
|
+
"t",
|
|
1119
|
+
"n",
|
|
1120
|
+
[
|
|
1121
|
+
1,
|
|
1122
|
+
"bodyR",
|
|
1123
|
+
"*",
|
|
1124
|
+
"HL"
|
|
1125
|
+
],
|
|
1126
|
+
[
|
|
1127
|
+
1,
|
|
1128
|
+
"bodyR",
|
|
1129
|
+
"*",
|
|
1130
|
+
"HW"
|
|
1131
|
+
]
|
|
1132
|
+
]
|
|
1133
|
+
]
|
|
1134
|
+
],
|
|
1135
|
+
[
|
|
1136
|
+
13,
|
|
1137
|
+
"gq",
|
|
1138
|
+
[
|
|
1139
|
+
1,
|
|
1140
|
+
[
|
|
1141
|
+
6,
|
|
1142
|
+
[
|
|
1143
|
+
7,
|
|
1144
|
+
"std",
|
|
1145
|
+
"max"
|
|
1146
|
+
],
|
|
1147
|
+
["sd", [5, "0"]]
|
|
1148
|
+
],
|
|
1149
|
+
"/",
|
|
1150
|
+
[
|
|
1151
|
+
6,
|
|
1152
|
+
[
|
|
1153
|
+
7,
|
|
1154
|
+
"std",
|
|
1155
|
+
"max"
|
|
1156
|
+
],
|
|
1157
|
+
[[
|
|
1158
|
+
1,
|
|
1159
|
+
"bodyR",
|
|
1160
|
+
"*",
|
|
1161
|
+
[5, "0.75"]
|
|
1162
|
+
], [5, "0.000001"]]
|
|
1163
|
+
]
|
|
1164
|
+
]
|
|
1165
|
+
],
|
|
1166
|
+
[10, [
|
|
1167
|
+
6,
|
|
1168
|
+
[
|
|
1169
|
+
7,
|
|
1170
|
+
"std",
|
|
1171
|
+
"exp"
|
|
1172
|
+
],
|
|
1173
|
+
[[
|
|
1174
|
+
1,
|
|
1175
|
+
[
|
|
1176
|
+
1,
|
|
1177
|
+
"gq",
|
|
1178
|
+
"*",
|
|
1179
|
+
"gq"
|
|
1180
|
+
],
|
|
1181
|
+
"*",
|
|
1182
|
+
[
|
|
1183
|
+
4,
|
|
1184
|
+
"-",
|
|
1185
|
+
[5, "1"]
|
|
1186
|
+
]
|
|
1187
|
+
]]
|
|
1188
|
+
]]
|
|
1189
|
+
]],
|
|
1190
|
+
"externalNames": [
|
|
1191
|
+
"sdFn",
|
|
1192
|
+
"HL",
|
|
1193
|
+
"HW",
|
|
1194
|
+
"std"
|
|
1195
|
+
]
|
|
1196
|
+
},
|
|
1197
|
+
externals: () => ({
|
|
1198
|
+
sdFn,
|
|
1199
|
+
HL,
|
|
1200
|
+
HW,
|
|
1201
|
+
std: std_exports
|
|
1202
|
+
})
|
|
1203
|
+
}) && $.f)({})).$name("agentTexelWeight") : src_default.fn([
|
|
1204
|
+
f32,
|
|
1205
|
+
f32,
|
|
1206
|
+
f32,
|
|
1207
|
+
f32,
|
|
1208
|
+
f32
|
|
1209
|
+
], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((_q, t, n, bodyR, aaW) => {
|
|
1210
|
+
"use gpu";
|
|
1211
|
+
const sd = sdFn(t, n, __tsover_mul(bodyR, HL), __tsover_mul(bodyR, HW));
|
|
1212
|
+
return __tsover_sub(1, smoothstep(-aaW, aaW, sd));
|
|
1213
|
+
}), {
|
|
1214
|
+
v: 1,
|
|
1215
|
+
name: void 0,
|
|
1216
|
+
ast: {
|
|
1217
|
+
"params": [
|
|
1218
|
+
{
|
|
1219
|
+
"type": "i",
|
|
1220
|
+
"name": "_q"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"type": "i",
|
|
1224
|
+
"name": "t"
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"type": "i",
|
|
1228
|
+
"name": "n"
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
"type": "i",
|
|
1232
|
+
"name": "bodyR"
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
"type": "i",
|
|
1236
|
+
"name": "aaW"
|
|
1237
|
+
}
|
|
1238
|
+
],
|
|
1239
|
+
"body": [0, [[
|
|
1240
|
+
13,
|
|
1241
|
+
"sd",
|
|
1242
|
+
[
|
|
1243
|
+
6,
|
|
1244
|
+
"sdFn",
|
|
1245
|
+
[
|
|
1246
|
+
"t",
|
|
1247
|
+
"n",
|
|
1248
|
+
[
|
|
1249
|
+
1,
|
|
1250
|
+
"bodyR",
|
|
1251
|
+
"*",
|
|
1252
|
+
"HL"
|
|
1253
|
+
],
|
|
1254
|
+
[
|
|
1255
|
+
1,
|
|
1256
|
+
"bodyR",
|
|
1257
|
+
"*",
|
|
1258
|
+
"HW"
|
|
1259
|
+
]
|
|
1260
|
+
]
|
|
1261
|
+
]
|
|
1262
|
+
], [10, [
|
|
1263
|
+
1,
|
|
1264
|
+
[5, "1"],
|
|
1265
|
+
"-",
|
|
1266
|
+
[
|
|
1267
|
+
6,
|
|
1268
|
+
[
|
|
1269
|
+
7,
|
|
1270
|
+
"std",
|
|
1271
|
+
"smoothstep"
|
|
1272
|
+
],
|
|
1273
|
+
[
|
|
1274
|
+
[
|
|
1275
|
+
4,
|
|
1276
|
+
"-",
|
|
1277
|
+
"aaW"
|
|
1278
|
+
],
|
|
1279
|
+
"aaW",
|
|
1280
|
+
"sd"
|
|
1281
|
+
]
|
|
1282
|
+
]
|
|
1283
|
+
]]]],
|
|
1284
|
+
"externalNames": [
|
|
1285
|
+
"sdFn",
|
|
1286
|
+
"HL",
|
|
1287
|
+
"HW",
|
|
1288
|
+
"std"
|
|
1289
|
+
]
|
|
1290
|
+
},
|
|
1291
|
+
externals: () => ({
|
|
1292
|
+
sdFn,
|
|
1293
|
+
HL,
|
|
1294
|
+
HW,
|
|
1295
|
+
std: std_exports
|
|
1296
|
+
})
|
|
1297
|
+
}) && $.f)({})).$name("agentTexelWeight");
|
|
1298
|
+
}
|
|
856
1299
|
const cursorFalloff = src_default.fn([vec2f, f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((delta, radSq) => {
|
|
857
1300
|
"use gpu";
|
|
858
1301
|
const dl = dot(delta, delta);
|
|
@@ -994,4 +1437,4 @@ const cursorMagnet = src_default.fn([
|
|
|
994
1437
|
cursorFalloff
|
|
995
1438
|
})
|
|
996
1439
|
}) && $.f)({})).$name("agentCursorMagnet");
|
|
997
|
-
export {
|
|
1440
|
+
export { makeAgentTexelWeightFn as a, pointShapeOptions as c, cursorMagnet as i, resolveAgentShape as l, agents_exports as n, makeAgentWeightFn as o, cursorFalloff as r, orientedShapeOptions as s, AGENT_SHAPES as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as createGuardedCompute } from "./compute-
|
|
1
|
+
import { Et as fract, Gt as arrayOf, It as round, Kt as texture2d, Qt as struct, Ut as data_exports, cn as i32, et as src_default, it as textureLoad, ln as u32, nt as std_exports, on as vec4f, ot as textureStore, qt as textureStorage2d, rn as vec2u, sn as f32, yt as clamp } from "./edges-BZUKQxSE.js";
|
|
2
|
+
import { n as createGuardedCompute } from "./compute-BoeIXi0l.js";
|
|
3
3
|
var DEFAULT_HALF_KERNEL = 24;
|
|
4
4
|
const DEFAULT_COMPUTE_WIDTH = 1024;
|
|
5
5
|
const DEFAULT_COMPUTE_HEIGHT = 640;
|
|
@@ -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 { updateFieldValue as $,
|
|
29857
|
+
export { updateFieldValue as $, align as $t, tonemap_exports as A, mix as At, labToRgb as B, sqrt as Bt, isIdentityBoundingBox as C, exp as Ct, screenUVToBoxLocal as D, length as Dt, needsTransformation as E, fract as Et, colorMixing_exports as F, refract as Ft, mixPreconvertedLinear as G, arrayOf as Gt, mixColorsLinear as H, tan as Ht, convertMixSpaceToP3 as I, round as It, oklchToOklab as J, add as Jt, mixPreconvertedVariants as K, texture2d as Kt, convertP3ToMixSpaceCPU as L, sign as Lt, blend_exports as M, pow as Mt, unpremultiplyAlpha as N, radians as Nt, linearToSrgb as O, max as Ot, MixStep as P, reflect as Pt, createUniformStore as Q, struct as Qt, hslToRgb as R, sin as Rt, DEFAULT_BOUNDING_BOX as S, dot as St, boundingBoxToUVParams as T, floor as Tt, mixColorsVariants as U, data_exports as Ut, lchToLab as V, step as Vt, mixPreconvertedInSpace as W, atomic as Wt, sRGBToP3 as X, mul as Xt, rgbToHsl as Y, mod as Yt, FieldHandle as Z, sub as Zt, floatE as _, atan2 as _t, edgeTransparentMask as a, vec3u as an, textureSampleLevel as at, Expr as b, cos as bt, sampleRemappedExpr as c, i32 as cn, dpdy as ct, ZERO as d, atomicLoad as dt, size as en, src_default as et, arrayExpr as f, atomicStore as ft, expr as g, asin as gt, composeNodeTree as h, abs as ht, edgeMirrorUV as i, vec3f as in, textureLoad as it, blendModes as j, normalize as jt, srgbToLinear as k, min as kt, sampleCatmullRomExpr as l, u32 as ln, fwidth as lt, collectStructuralHashInputs as m, select as mt, composeEdgeRemapExpr as n, vec2i as nn, std_exports as nt, edgeWrapUV as o, vec4f as on, textureStore as ot, call as p, le as pt, oklabToRgb as q, textureStorage2d as qt, edgeClampUV as r, vec2u as rn, textureDimensions as rt, edges_exports as s, f32 as sn, dpdx as st, applyEdgeHandlingExpr as t, vec2f as tn, common_exports as tt, SHARED_SAMPLER_LAYOUT as u, __export$2 as un, atomicAdd as ut, mixExpr as v, ceil as vt, resolveBoundingBox as w, exp2 as wt, formatFloat as x, cross as xt, vec4 as y, clamp as yt, hsvToRgb as z, smoothstep as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { At as mix, Bt as sqrt, Mt as pow, N as unpremultiplyAlpha, Ot as max, Qt as struct, Rt as sin, St as dot, Ut as data_exports, _ as floatE, bt as cos, et as src_default, in as vec3f, kt as min, mt as select, nt as std_exports, on as vec4f, p as call, sn as f32, tn as vec2f, un as __export, wt as exp2, y as vec4, yt as clamp, zt as smoothstep } from "./edges-BZUKQxSE.js";
|
|
2
2
|
var glass_exports = /* @__PURE__ */ __export({
|
|
3
3
|
BLUR_DISK: () => BLUR_DISK,
|
|
4
4
|
GlassLensUVs: () => GlassLensUVs,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/gpu/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,SA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G,IAAI;IAIpE;;;;;;;;OAQG;iCAC0B,CAAC,CAAC,MAAM,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC,GAAG,IAAI,KAAG,IAAI;IAehG,gEAAgE;4BAC1C,gBAAgB,GAAG,IAAI;;;mCA/hFf,MAAM,KAAG,WAAW,EAAE;QAqiFhD,qFAAqF;8BAC/D,MAAM,KAAG,SAAS,EAAE,GAAG,IAAI;QAIjD,gFAAgF;gCACxD,MAAM,KAAG,IAAI;QAIrC,kFAAkF;sCACpD,MAAM,KAAG,IAAI;QAI3C,sFAAsF;sCACxD,MAAM,KAAG,IAAI;mCAIhB,MAAM,KAAG,MAAM,GAAG,IAAI;8BAO3B,MAAM,QAAQ,MAAM,SAAS,MAAM,GAAG,MAAM,EAAE,KAAG,IAAI;6BAItD,MAAM,QAAQ,MAAM,KAAG,OAAO;;;;;;;;QAOnD,gFAAgF;;;;;;;;;;;;;;qCA1xDtD,MAAM,GAAG,IAAI;;;QA6yDvC,sFAAsF;8BAChE;YAAC,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAC,KAAG,IAAI;;EAcvE"}
|
|
@@ -42,7 +42,7 @@ export declare const AGENT_SHAPES: {
|
|
|
42
42
|
readonly hl: 0;
|
|
43
43
|
readonly hw: 0;
|
|
44
44
|
readonly soft: 1;
|
|
45
|
-
readonly ext: 2.
|
|
45
|
+
readonly ext: 2.1;
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export type AgentShapeName = keyof typeof AGENT_SHAPES;
|
|
@@ -66,6 +66,22 @@ export declare const pointShapeOptions: {
|
|
|
66
66
|
* for hard shapes (see Boids).
|
|
67
67
|
*/
|
|
68
68
|
export declare function makeAgentWeightFn(shape: string): import('typegpu').TgpuFn<(t: d.F32, n: d.F32, bodyR: d.F32, aaW: d.F32, soft: d.F32) => d.F32>;
|
|
69
|
+
/**
|
|
70
|
+
* The FAST sibling of `makeAgentWeightFn`, for splat kernels whose softness is a compile-time
|
|
71
|
+
* constant (the shape registry's own 0/1) and which already computed the radial reject quotient
|
|
72
|
+
* `q = (t² + n²) / bodyR²` to cull the texel. Two things get baked away versus the general fn:
|
|
73
|
+
*
|
|
74
|
+
* - Only ONE half of the profile is emitted — the hard AA smoothstep, or the Gaussian skirt's
|
|
75
|
+
* divide + exp. The general fn always evaluates both and mixes, which is the right call only
|
|
76
|
+
* when `soft` is a live uniform (the Particles / FloatingParticles softness slider).
|
|
77
|
+
* - For a zero-half-length shape the capsule SDF degenerates to `dist − r`, and `dist` is
|
|
78
|
+
* already implied by `q` — so the signed distance comes from `sqrt(q)` instead of re-summing
|
|
79
|
+
* and re-sqrting the offsets inside a general SDF call.
|
|
80
|
+
*
|
|
81
|
+
* Signature is `(q, t, n, bodyR, aaW)`; whichever of `q` / `t,n` the baked shape doesn't need is
|
|
82
|
+
* ignored. Consumers with a runtime softness uniform must keep using `makeAgentWeightFn`.
|
|
83
|
+
*/
|
|
84
|
+
export declare function makeAgentTexelWeightFn(shape: string): import('typegpu').TgpuFn<(q: d.F32, _t: d.F32, _n: d.F32, bodyR: d.F32, _aaW: d.F32) => d.F32>;
|
|
69
85
|
/** Gaussian falloff of a cursor field at offset `delta` (any 2D space), radius² `radSq`. */
|
|
70
86
|
export declare const cursorFalloff: import('typegpu').TgpuFn<(delta: d.Vec2f, radSq: d.F32) => d.F32>;
|
|
71
87
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/gpu/kit/agents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAO,CAAC,EAAM,MAAM,SAAS,CAAA;AAIpC;+FAC+F;AAC/F,eAAO,MAAM,QAAQ,+EAgBI,CAAA;AAEzB;0CAC0C;AAC1C,eAAO,MAAM,UAAU,8EAII,CAAA;AAE3B,uFAAuF;AACvF,eAAO,MAAM,MAAM,+EAOI,CAAA;AAOvB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/gpu/kit/agents.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAO,CAAC,EAAM,MAAM,SAAS,CAAA;AAIpC;+FAC+F;AAC/F,eAAO,MAAM,QAAQ,+EAgBI,CAAA;AAEzB;0CAC0C;AAC1C,eAAO,MAAM,UAAU,8EAII,CAAA;AAE3B,uFAAuF;AACvF,eAAO,MAAM,MAAM,+EAOI,CAAA;AAOvB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUf,CAAA;AACV,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,YAAY,CAAA;AAEtD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,GAAG,cAAc,CAEzF;AAED,iFAAiF;AACjF,eAAO,MAAM,oBAAoB;;;GAMhC,CAAA;AACD,uEAAuE;AACvE,eAAO,MAAM,iBAAiB;;;GAI7B,CAAA;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,kGAa9C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,kGAiCnD;AAID,4FAA4F;AAC5F,eAAO,MAAM,aAAa,mEAII,CAAA;AAE9B;;;;;GAKG;AACH,eAAO,MAAM,YAAY,mFAII,CAAA"}
|
|
@@ -43,8 +43,12 @@ export interface PassManager {
|
|
|
43
43
|
* next full frame samples them.
|
|
44
44
|
*/
|
|
45
45
|
repaintRtt(): void;
|
|
46
|
-
/**
|
|
47
|
-
|
|
46
|
+
/**
|
|
47
|
+
* Resize all RTT textures to the new backing-buffer size. Returns true if any texture was
|
|
48
|
+
* actually destroyed + recreated — the caller uses that to decide whether the warm-up
|
|
49
|
+
* `repaintRtt` is needed at all.
|
|
50
|
+
*/
|
|
51
|
+
resize(width: number, height: number): boolean;
|
|
48
52
|
/** Live RTT texture count (feeds performanceTracker.textureCount). */
|
|
49
53
|
readonly textureCount: number;
|
|
50
54
|
/** Passes-per-frame (RTT + final) — feeds performanceTracker.drawCalls. */
|