shaders 3.2.465 → 3.2.466
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-DIuqsh_g.js → AngularBlur-CYzLRxIX.js} +2 -2
- package/dist/core/{Arc-Bj71OeVa.js → Arc-BPk3cEof.js} +3 -3
- package/dist/core/{Ascii-B5Zg8nLu.js → Ascii-CdHomCxj.js} +2 -2
- package/dist/core/{Aurora-Bj7ZG2AI.js → Aurora-ZmvhfgEm.js} +10 -10
- package/dist/core/{BarShift-DPThLZs_.js → BarShift-jSfzsRXa.js} +2 -2
- package/dist/core/{BarnDoors-BRBbwW_m.js → BarnDoors-BPLRE1MC.js} +2 -2
- package/dist/core/{Beam-Hb_ert_g.js → Beam-C-AgYZUY.js} +2 -2
- package/dist/core/{Bend-DXsmc81z.js → Bend-BGevEg2b.js} +2 -2
- package/dist/core/{Blob-BigqrVZv.js → Blob-BdWQQEoe.js} +8 -8
- package/dist/core/{BlockDissolve-CdFU8h6C.js → BlockDissolve-DYJ0eByb.js} +2 -2
- package/dist/core/{BlockNoise-CqPy-Ugl.js → BlockNoise-BPZaPiDe.js} +4 -4
- package/dist/core/{BlueNoise-BAo4Aauw.js → BlueNoise-DHgbHkyE.js} +4 -4
- package/dist/core/{Blur-DWRebKhd.js → Blur-ZwiojwRs.js} +2 -2
- package/dist/core/{Boids-DmJhzUCH.js → Boids-DEgu7RJE.js} +4 -4
- package/dist/core/{BokehBlur-CV3_ON_U.js → BokehBlur-Cpx0wGKI.js} +2 -2
- package/dist/core/{BrickPattern-vu5nVCWG.js → BrickPattern-k8Inu-i3.js} +2 -2
- package/dist/core/{BrightnessContrast-CY9XAi43.js → BrightnessContrast-Dc5x9UHy.js} +2 -2
- package/dist/core/{BrushedMetal-DS2r5KNw.js → BrushedMetal-CMi8cdop.js} +6 -6
- package/dist/core/{Bulge-Deev-nna.js → Bulge-ChyTjosH.js} +2 -2
- package/dist/core/{CRTScreen-UtLgwP9x.js → CRTScreen-BS9zt9Pg.js} +2 -2
- package/dist/core/{CarbonFiber-DyjbFQoK.js → CarbonFiber-cxca7Oyb.js} +5 -5
- package/dist/core/{Chalkboard-BmeKO6iA.js → Chalkboard-B0ekRhuG.js} +2 -2
- package/dist/core/{ChannelBlur-BCQbhip0.js → ChannelBlur-B9RB3TQC.js} +2 -2
- package/dist/core/{CheckerWipe-B0AHd80A.js → CheckerWipe-Cyj6y993.js} +2 -2
- package/dist/core/{Checkerboard-BxPmaPzN.js → Checkerboard-BMFb732q.js} +2 -2
- package/dist/core/{Chevron-DRRnVJv8.js → Chevron-C-NMRE-n.js} +2 -2
- package/dist/core/{ChromaFlow-DvHs9Afa.js → ChromaFlow-DR5NqU9g.js} +4 -4
- package/dist/core/{ChromaticAberration-qZmFsW-9.js → ChromaticAberration-DAkEq37T.js} +3 -3
- package/dist/core/{Chrome-CCiXGEIK.js → Chrome-CRPStB55.js} +5 -5
- package/dist/core/{Circle-C8oVlMm5.js → Circle-DGlgfW3s.js} +3 -3
- package/dist/core/{ColorWheel-UiKMjGmo.js → ColorWheel-DT8mnYUd.js} +2 -2
- package/dist/core/{CompressionArtifacts-Bcy_oi6I.js → CompressionArtifacts-C-99Zegd.js} +3 -3
- package/dist/core/{ConcentricSpin-ChsvpM4g.js → ConcentricSpin-Ct2MMQ8o.js} +2 -2
- package/dist/core/{ConicGradient-biAKBzTF.js → ConicGradient-BX4r-b8D.js} +3 -3
- package/dist/core/{ContourLines-DSVY48D3.js → ContourLines-CRmDo9Au.js} +2 -2
- package/dist/core/{CornerPin-Dlk-j8yj.js → CornerPin-CFk5fAci.js} +2 -2
- package/dist/core/{Crescent-CW1Jtj3p.js → Crescent-C0cIoAZZ.js} +2 -2
- package/dist/core/{Cross-BZJwBhka.js → Cross-DE8eHkJg.js} +2 -2
- package/dist/core/{Crystal-B9bRXJr3.js → Crystal-1HBq83Hx.js} +5 -5
- package/dist/core/{CurlNoise-ChVPqfJM.js → CurlNoise-D93EJl-q.js} +4 -4
- package/dist/core/{CursorRipples-uyzFiPfj.js → CursorRipples-BIMDDmb9.js} +1 -1
- package/dist/core/{CursorTrail-BljiaEok.js → CursorTrail-BQJ7PeRH.js} +3 -3
- package/dist/core/{DataMosh-CrqYJIlZ.js → DataMosh-BREAC50Y.js} +3 -3
- package/dist/core/{DiamondGradient-DsJORW4q.js → DiamondGradient-D87o3scS.js} +3 -3
- package/dist/core/{DiamondWipe-CZCAIz29.js → DiamondWipe-CCP141m_.js} +2 -2
- package/dist/core/{DiffuseBlur-D-ps8_Uv.js → DiffuseBlur-CoXbP2uS.js} +2 -2
- package/dist/core/{DisplacementMap-BdTvPZ5i.js → DisplacementMap-CDBviJSR.js} +2 -2
- package/dist/core/{Dither-DZH2vlNW.js → Dither-COUbgNOv.js} +2 -2
- package/dist/core/{DotGrid-DBBt-OS1.js → DotGrid-DDJT2DT-.js} +2 -2
- package/dist/core/{DropShadow-CUzoBD7j.js → DropShadow-CP86N89M.js} +2 -2
- package/dist/core/{Duotone-Bn5yWY27.js → Duotone-BHhqxBa8.js} +2 -2
- package/dist/core/{Ellipse-BtgtCRPq.js → Ellipse-BVIaeow2.js} +2 -2
- package/dist/core/{Emboss-DZ6Je6il.js → Emboss-Dzm1SN6s.js} +4 -4
- package/dist/core/{Engraving-DzCC1mKj.js → Engraving-HTB_OKsk.js} +2 -2
- package/dist/core/{ErosionNoise-Buor7ogt.js → ErosionNoise-BpVjihW1.js} +4 -4
- package/dist/core/{Exposure-CcM7JTiR.js → Exposure-D996Qz_5.js} +2 -2
- package/dist/core/{FallingLines-Cu1_3RSE.js → FallingLines-DpGJB3PZ.js} +2 -2
- package/dist/core/{FilmGrain-CDvRV776.js → FilmGrain-CoMG_xOV.js} +2 -2
- package/dist/core/{FilmStock-CVEZ0MMq.js → FilmStock-B-kutQT-.js} +3 -3
- package/dist/core/{Flip-D4aYsHii.js → Flip-B5lYH2Mt.js} +2 -2
- package/dist/core/{FloatingParticles-DxG2b7KL.js → FloatingParticles-k5C-jR2C.js} +4 -4
- package/dist/core/{FlowField-CBZ6AJjI.js → FlowField-Dfb8PUsC.js} +2 -2
- package/dist/core/{Flower-DQIHZ-bK.js → Flower-CA-S5hXJ.js} +2 -2
- package/dist/core/{FlowingGradient-Dp7p0Z0-.js → FlowingGradient-BCCYaHRU.js} +6 -6
- package/dist/core/{FlutedGlass-D0Eij6P1.js → FlutedGlass-CR1xOIi_.js} +2 -2
- package/dist/core/{Fog-CRkLRU9L.js → Fog-oEs_BnaR.js} +3 -3
- package/dist/core/{Form3D-DPKVw7Uz.js → Form3D-DZGLqyd_.js} +3 -3
- package/dist/core/{FractalNoise-CKerAjEP.js → FractalNoise-CTWIy4XL.js} +3 -3
- package/dist/core/{Frost-BT2y1-78.js → Frost-7w9_JrnS.js} +6 -6
- package/dist/core/{GaborNoise-CBl3ObUD.js → GaborNoise-ELV6bp27.js} +4 -4
- package/dist/core/{Glass-DujSDEC3.js → Glass-CJPcyPBk.js} +5 -5
- package/dist/core/{GlassTiles-BrFjg8_U.js → GlassTiles-C0MibxZj.js} +2 -2
- package/dist/core/{Glitch-BEj5IcEk.js → Glitch-DEIOsLBF.js} +2 -2
- package/dist/core/{Glow-BrLQEgGG.js → Glow-C7Sno5Ew.js} +2 -2
- package/dist/core/{Godrays-C-nFhT7J.js → Godrays-Dh47KnXp.js} +2 -2
- package/dist/core/{Goo-BHDDGalk.js → Goo-Dcq727vU.js} +6 -6
- package/dist/core/{GradientMap-o2MPg2ow.js → GradientMap--7ReYVMB.js} +2 -2
- package/dist/core/{Grayscale-C-la_L2j.js → Grayscale-DQCJ5wrK.js} +2 -2
- package/dist/core/{Grid-B1VcFuc7.js → Grid-BpMP5zeZ.js} +2 -2
- package/dist/core/{GridDistortion-CCHiCvEG.js → GridDistortion-CmuUD1ex.js} +4 -4
- package/dist/core/{Group-AnGFDE0L.js → Group-2Ug5Edun.js} +1 -1
- package/dist/core/{HTMLInCanvas-C_rqrYa1.js → HTMLInCanvas-C2r3_EHD.js} +1 -1
- package/dist/core/{Halftone-CU42fH-5.js → Halftone-DzKEDw2i.js} +2 -2
- package/dist/core/{Heart-07cEG1xh.js → Heart-2q0-jrCf.js} +2 -2
- package/dist/core/{Heatmap-xBYZaTxw.js → Heatmap-pvthE7lz.js} +6 -6
- package/dist/core/{HexGrid-3qTBLwQu.js → HexGrid-C9Bg6n-J.js} +2 -2
- package/dist/core/{Hologram-BMUHKIhP.js → Hologram-KLJHNdyR.js} +5 -5
- package/dist/core/{Holographic-XrdyIsQ7.js → Holographic-XSHxaTzf.js} +5 -5
- package/dist/core/{HueShift-DizW-T84.js → HueShift-IWU26WTo.js} +2 -2
- package/dist/core/{ImageTexture-C3Cn7rtL.js → ImageTexture-BeuG9nNt.js} +2 -2
- package/dist/core/{InkFlow-hFBLw4IG.js → InkFlow-CZWr9GHy.js} +4 -4
- package/dist/core/{Invert-BFpiH_Fe.js → Invert-B31ZEOnz.js} +2 -2
- package/dist/core/{IrisWipe-DSr8gRmW.js → IrisWipe-b2v0EUwG.js} +2 -2
- package/dist/core/{Irradiance-DT3bdyrR.js → Irradiance-DrBoTNBZ.js} +8 -8
- package/dist/core/{IsometricCubes-BCRJuLb8.js → IsometricCubes-ZGnFUu9w.js} +2 -2
- package/dist/core/{Kaleidoscope-BpOMiquv.js → Kaleidoscope-DS_fVo-o.js} +2 -2
- package/dist/core/{KeyFrames-wKMZnI5V.js → KeyFrames-BfHKDsom.js} +2 -2
- package/dist/core/{LensDistortion-DPn9dipa.js → LensDistortion-Df9T10tP.js} +2 -2
- package/dist/core/{LensFlare-BrSUeEER.js → LensFlare-DB0FhwdB.js} +2 -2
- package/dist/core/{LightEdge-DMKtLk_r.js → LightEdge-CQorAHVj.js} +4 -4
- package/dist/core/{LightLeak-D1d75-LU.js → LightLeak-CizWQXS5.js} +3 -3
- package/dist/core/{Line-CJ1nmMq5.js → Line-CjKmSkI-.js} +2 -2
- package/dist/core/{LinearBlur-1kNx5NeX.js → LinearBlur-BGtNHF-U.js} +2 -2
- package/dist/core/{LinearGradient-BIg2PR9v.js → LinearGradient-CQZZmLiw.js} +3 -3
- package/dist/core/{LinearWipe-CfGDpMW3.js → LinearWipe-CujAITNA.js} +2 -2
- package/dist/core/{LiquidMetal-CnkraENV.js → LiquidMetal-Dvn49LUc.js} +6 -6
- package/dist/core/{Liquify-2zml8B9N.js → Liquify-B4FTW8h6.js} +4 -4
- package/dist/core/{MagneticFilings-Ddl4BEe7.js → MagneticFilings-D1m7EXmm.js} +4 -4
- package/dist/core/{Marble-yskR3VxY.js → Marble-BlXh-fBp.js} +6 -6
- package/dist/core/{MeshGradient-DzcW4S3J.js → MeshGradient-DQ5f-9XR.js} +7 -7
- package/dist/core/{Mirror-PoO2nzkL.js → Mirror-efIr9F2U.js} +2 -2
- package/dist/core/{MultiPointGradient-b0b1o2Zp.js → MultiPointGradient-rr7lq4eW.js} +2 -2
- package/dist/core/{Nebula-yfdqoP2y.js → Nebula-CvW92f75.js} +7 -7
- package/dist/core/{Neon-BAsvBcVb.js → Neon-BQT09YKc.js} +4 -4
- package/dist/core/{NoiseDissolve-CFofypUT.js → NoiseDissolve-BNdrRbOc.js} +2 -2
- package/dist/core/{ObjectTracker-A8bkVn0T.js → ObjectTracker-C68u40Ku.js} +2 -2
- package/dist/core/{Obsidian-ug1e4cqX.js → Obsidian-FzvuWCb0.js} +7 -7
- package/dist/core/{PagePeel-0gUH5Q-F.js → PagePeel-nlJxITO2.js} +2 -2
- package/dist/core/{Paper-Cv-ENEnt.js → Paper-CqVmEVBn.js} +2 -2
- package/dist/core/{Parallelogram-CKri4Oxr.js → Parallelogram-DWPd1fyo.js} +2 -2
- package/dist/core/{ParticleField-ImA96tiR.js → ParticleField-C_KzrV0O.js} +4 -4
- package/dist/core/{ParticleFlow-CvOwCV9k.js → ParticleFlow-Brj0G-ks.js} +7 -7
- package/dist/core/{Particles-HiSrLK4u.js → Particles-Br305oHl.js} +5 -5
- package/dist/core/{PerlinNoise-DWzWZnfd.js → PerlinNoise-B4aWFOGc.js} +4 -4
- package/dist/core/{Perspective-CZsUpoMX.js → Perspective-BeiqPceh.js} +2 -2
- package/dist/core/{PixelSort-sFDbi0pD.js → PixelSort-Dyli4iK-.js} +4 -4
- package/dist/core/{PixelThrow-jqMlr2Be.js → PixelThrow-ipagWXI8.js} +3 -3
- package/dist/core/{Pixelate-BM5zL6Ss.js → Pixelate-P6clGjdH.js} +2 -2
- package/dist/core/{Plasma--XCLN3eI.js → Plasma-Dvqd9oyK.js} +3 -3
- package/dist/core/{Plastic-COIZ00DY.js → Plastic-C6Ts78Md.js} +6 -6
- package/dist/core/{PolarCoordinates-DvrVbOAL.js → PolarCoordinates-CQHtNHbq.js} +2 -2
- package/dist/core/{Polygon-C9joRqmN.js → Polygon-DGwVhe-8.js} +3 -3
- package/dist/core/{Posterize-Ctj5u3WL.js → Posterize-Bf7pCRaJ.js} +2 -2
- package/dist/core/{Prism-DDbB5dVW.js → Prism-DSfkY3f7.js} +5 -5
- package/dist/core/{ProgressiveBlur-DtsGEfjw.js → ProgressiveBlur-DYY4Htdn.js} +2 -2
- package/dist/core/{RadialGradient-X-zZCLXw.js → RadialGradient-DA305XkI.js} +3 -3
- package/dist/core/{RadialWipe-_fAAAe7h.js → RadialWipe-C5NG2ve7.js} +2 -2
- package/dist/core/{RandomBars-HijtROxW.js → RandomBars-CSrG25B9.js} +2 -2
- package/dist/core/{ReactionDiffusion-CS7NfQ4C.js → ReactionDiffusion-W4ncKC3u.js} +4 -4
- package/dist/core/{RectangularCoordinates-BqG9R6nC.js → RectangularCoordinates-CLkBF5WG.js} +2 -2
- package/dist/core/{ReflectivePlane-Cgxar0Vg.js → ReflectivePlane-nQbY5WT9.js} +2 -2
- package/dist/core/{Repeater-Bja_7hpl.js → Repeater-C7AL9Mxl.js} +1 -1
- package/dist/core/{Ring-CjXxnr67.js → Ring-CXT7fK-h.js} +2 -2
- package/dist/core/{RippleWipe-pFLRAiMP.js → RippleWipe-C9zw2zoh.js} +2 -2
- package/dist/core/{Ripples-f1uD5ZHV.js → Ripples-CZLal2P3.js} +2 -2
- package/dist/core/{RoundedRect-Nocfrish.js → RoundedRect-o5gVIChP.js} +2 -2
- package/dist/core/{Saturation-Bk2_CdAM.js → Saturation-D6v2GPIE.js} +2 -2
- package/dist/core/{Scratches-BGjPBk-E.js → Scratches-3lOFIxB6.js} +4 -4
- package/dist/core/{Sharpness-nMDZWmUh.js → Sharpness-0dzvGI0f.js} +2 -2
- package/dist/core/{Shatter-CNqHaYVM.js → Shatter-CwYKzuyE.js} +1 -1
- package/dist/core/{SimplexNoise-HdsHuat_.js → SimplexNoise-CfnpltZJ.js} +4 -4
- package/dist/core/{SineWave-DtfHg2hB.js → SineWave-CazFqILA.js} +2 -2
- package/dist/core/{SliceWipe-Bp_riBms.js → SliceWipe-BLaREJfc.js} +2 -2
- package/dist/core/{Smoke-C-lb8En_.js → Smoke-EnlKNhZI.js} +3 -3
- package/dist/core/{SmokeFill-ChR8Pe8m.js → SmokeFill-D0zfxSDC.js} +6 -6
- package/dist/core/{SmokeFlow-Dx6_BTmh.js → SmokeFlow-BtK1mACJ.js} +3 -3
- package/dist/core/{Solarize-CjleKYpq.js → Solarize-BiJ-2cQr.js} +2 -2
- package/dist/core/{SolidColor-BgxBiv00.js → SolidColor-BMk9Meqf.js} +2 -2
- package/dist/core/{Spherize-B8aaXFYF.js → Spherize-C77O2QfA.js} +2 -2
- package/dist/core/{Spiral-CMHZAfrE.js → Spiral-B5iRW2Fi.js} +2 -2
- package/dist/core/{Star-CCs7sc0U.js → Star-DmZNq1Ze.js} +2 -2
- package/dist/core/{Stone-DGW4Z0fk.js → Stone-BWJQO3db.js} +2 -2
- package/dist/core/{Strands-CRqZn5yd.js → Strands-DtRFs3Bx.js} +3 -3
- package/dist/core/{Stretch-CcVH3bEx.js → Stretch-VTtGN0nA.js} +2 -2
- package/dist/core/{Stripes-BZieDTLM.js → Stripes-C7rPhXJ0.js} +2 -2
- package/dist/core/{StudioBackground-Ba3yr_rk.js → StudioBackground-DgnCqp2D.js} +4 -4
- package/dist/core/{SunBurst-DcgLv7MO.js → SunBurst-OW_KKnBa.js} +2 -2
- package/dist/core/{Surface3D-CJCdvt2D.js → Surface3D-DcCmrxwq.js} +7 -6
- package/dist/core/{Swirl-DWcoxaOQ.js → Swirl-CCnPenFE.js} +3 -3
- package/dist/core/{Teardrop-CKptpnfu.js → Teardrop-MmYDzl0h.js} +2 -2
- package/dist/core/{Text-Cdu-4DM4.js → Text-CcWqiOY2.js} +2 -2
- package/dist/core/{ThinFilm-CEgkS1Gh.js → ThinFilm-BHGcmG02.js} +4 -4
- package/dist/core/{TiltShift-sU_nwYUs.js → TiltShift-DGfiXqhS.js} +2 -2
- package/dist/core/{TimeTrail-BPpKtbwU.js → TimeTrail-kBFCyhz-.js} +4 -4
- package/dist/core/{Tint-DLMwqDc-.js → Tint-DKSCEEcg.js} +2 -2
- package/dist/core/{Trapezoid-HmlCtO5F.js → Trapezoid-DuCdglLG.js} +2 -2
- package/dist/core/{TriangularGrid-CyN-Xlpp.js → TriangularGrid-CoUtF1N-.js} +2 -2
- package/dist/core/{Tritone-TxR-2WxY.js → Tritone-DNj_12sI.js} +2 -2
- package/dist/core/{Truchet-Dz0_Wb6a.js → Truchet-CWSNjtK8.js} +2 -2
- package/dist/core/{Twirl-C2ZZbEqD.js → Twirl-BIN5kbyh.js} +2 -2
- package/dist/core/{VHS-AzcydKoR.js → VHS-C64a6_3I.js} +2 -2
- package/dist/core/{VenetianBlinds-ByLVp-bI.js → VenetianBlinds-B7fG32kV.js} +2 -2
- package/dist/core/{Vesica--m1hCd0S.js → Vesica-CKcBbVpy.js} +2 -2
- package/dist/core/{Vibrance-C3W42RTW.js → Vibrance-CK1KU-pF.js} +2 -2
- package/dist/core/{VideoTexture-CiONs3rJ.js → VideoTexture-B9y2J6nd.js} +2 -2
- package/dist/core/{Vignette-YXS49Qyf.js → Vignette-DjSp8WlS.js} +2 -2
- package/dist/core/{Voronoi-BwSw2fv2.js → Voronoi-BB954UEY.js} +4 -4
- package/dist/core/{Water-Bsh_h3mJ.js → Water-CV68ciDJ.js} +6 -6
- package/dist/core/{Watercolor-CE1O6HQG.js → Watercolor-gBOdRnaY.js} +2 -2
- package/dist/core/{WaveDistortion-Bjr4PG5Q.js → WaveDistortion-LW0ChM_d.js} +2 -2
- package/dist/core/{Waveform-VAxURycO.js → Waveform-C8FBbanw.js} +8 -8
- package/dist/core/{WaveletNoise-dNJGloeP.js → WaveletNoise-Ct-RCxkn.js} +4 -4
- package/dist/core/{Weave-3Esy_ShT.js → Weave-C4SyYB8y.js} +2 -2
- package/dist/core/{WebcamTexture-BPuazZWW.js → WebcamTexture-CA_qO9pq.js} +2 -2
- package/dist/core/{Wool-Crs8DCcs.js → Wool-sp6kjEY_.js} +2 -2
- package/dist/core/{WorleyNoise-DHH2D7Mj.js → WorleyNoise-D1NWWFaR.js} +2 -2
- package/dist/core/{ZoomBlur-EltMxju3.js → ZoomBlur-BqYTdgz_.js} +2 -2
- package/dist/core/{agents-CR8K0nq1.js → agents-DQe7pxeW.js} +4 -4
- package/dist/core/{agents-DcHmaB0C.js → agents-DbBxdNWq.js} +1 -1
- package/dist/core/{blur-BwjlF0Uk.js → blur-DYLrOqIN.js} +1 -1
- package/dist/core/{blurs-D1HfQTGP.js → blurs-C6sv2MNe.js} +5 -5
- package/dist/core/{color-dbYyVLqf.js → color-C7Y571Qo.js} +2 -2
- package/dist/core/{compose-prsdG9f_.js → compose-CKGyjLJ0.js} +4 -4
- package/dist/core/{feedback-DvKOD0Oo.js → feedback-B2yDzwyJ.js} +1 -1
- package/dist/core/{fields-Cv-wBDLP.js → fields-DtRxK0iL.js} +5 -5
- package/dist/core/{figures-DdZ6A2i8.js → figures-CpLCtiIg.js} +3 -3
- package/dist/core/{fluids-BPs3cdPe.js → fluids-Db0oWuO7.js} +6 -4
- package/dist/core/{frames-DIS73FmL.js → frames-BLQE4FjA.js} +2 -2
- package/dist/core/{glass-CtWl8jzT.js → glass-BAA-gnEl.js} +1 -1
- package/dist/core/gpu/frame.d.ts +1 -0
- package/dist/core/gpu/frame.d.ts.map +1 -1
- package/dist/core/gpu/kit/host/pointer.d.ts +21 -12
- package/dist/core/gpu/kit/host/pointer.d.ts.map +1 -1
- package/dist/core/gpu/kit/sdf3d.d.ts.map +1 -1
- package/dist/core/{gradientPaints-Du0XCNHB.js → gradientPaints-CeLGuaeA.js} +3 -3
- package/dist/core/{gradients-DT6nJTmW.js → gradients-C8qE2n4g.js} +4 -4
- package/dist/core/{grids-C6sTUox5.js → grids-B04hYuFv.js} +5 -3
- package/dist/core/index.js +237 -351
- package/dist/core/{lens-Dh_a0mZH.js → lens-CWFAxwR8.js} +1 -1
- package/dist/core/{light-CROZ7Zf1.js → light-DtqDDoLB.js} +6 -6
- package/dist/core/{lightfields-D5lW4WSp.js → lightfields-BKy8DxIZ.js} +2 -2
- package/dist/core/{lower-DSk_KxOY.js → lower-yTKQx3pz.js} +11 -9
- package/dist/core/{mask-AFtVwMNo.js → mask-Clb-F2z0.js} +2 -2
- package/dist/core/{materials-Dhq8lDKb.js → materials-DWRWmfkA.js} +4 -4
- package/dist/core/{math-DCQU6EQz.js → math-DpiFV1BZ.js} +1 -1
- package/dist/core/{media-Bh5c_fVF.js → media-ByrvHD7G.js} +1 -1
- package/dist/core/{motionBlur-CiNghKu6.js → motionBlur-D_Tr1tup.js} +2 -2
- package/dist/core/{noise-DrbAbu3H.js → noise-BuBsH8Ef.js} +6 -6
- package/dist/core/{noiseColor-DKo-P8T0.js → noiseColor-DkHB7Xz5.js} +1 -1
- package/dist/core/{noisePaints-DV5jKo1A.js → noisePaints-DDdS-W_G.js} +3 -3
- package/dist/core/{overlay-Dc6bKqEd.js → overlay-D3-T3rF_.js} +2 -2
- package/dist/core/{patterns-BAu9g0yn.js → patterns-QKoVTznT.js} +5 -5
- package/dist/core/{pointerFields-yUe8811b.js → pointerFields-DRyRIqPt.js} +2 -2
- package/dist/core/{porters-j4QbEOqj.js → porters-Cq56lDOB.js} +1 -1
- package/dist/core/registry.js +237 -237
- package/dist/core/{reveal-s6xWR757.js → reveal-Dlgs2rNt.js} +1 -1
- package/dist/core/{sdf3d-DQ55w9nI.js → sdf3d-CwyfHq_Y.js} +126 -10
- package/dist/core/shaderRegistry-BMmO6i7R.js +441 -0
- package/dist/core/shaders/AngularBlur/index.js +7 -7
- package/dist/core/shaders/Arc/index.js +4 -4
- package/dist/core/shaders/Ascii/index.js +5 -5
- package/dist/core/shaders/Aurora/index.js +18 -18
- package/dist/core/shaders/BarShift/index.js +5 -5
- package/dist/core/shaders/BarnDoors/index.js +4 -4
- package/dist/core/shaders/Beam/index.js +8 -8
- package/dist/core/shaders/Bend/index.js +5 -5
- package/dist/core/shaders/Blob/index.js +14 -14
- package/dist/core/shaders/BlockDissolve/index.js +4 -4
- package/dist/core/shaders/BlockNoise/index.js +11 -11
- package/dist/core/shaders/BlueNoise/index.js +11 -11
- package/dist/core/shaders/Blur/index.js +7 -7
- package/dist/core/shaders/Boids/index.js +6 -6
- package/dist/core/shaders/BokehBlur/index.js +7 -7
- package/dist/core/shaders/BrickPattern/index.js +9 -9
- 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 +5 -5
- package/dist/core/shaders/CRTScreen/index.js +7 -7
- package/dist/core/shaders/CarbonFiber/index.js +8 -8
- package/dist/core/shaders/Chalkboard/index.js +5 -5
- package/dist/core/shaders/ChannelBlur/index.js +7 -7
- package/dist/core/shaders/CheckerWipe/index.js +4 -4
- package/dist/core/shaders/Checkerboard/index.js +9 -9
- package/dist/core/shaders/Chevron/index.js +9 -9
- package/dist/core/shaders/ChromaFlow/index.js +5 -5
- package/dist/core/shaders/ChromaticAberration/index.js +8 -8
- package/dist/core/shaders/Chrome/index.js +7 -7
- package/dist/core/shaders/Circle/index.js +4 -4
- package/dist/core/shaders/ColorWheel/index.js +8 -8
- package/dist/core/shaders/CompressionArtifacts/index.js +4 -4
- package/dist/core/shaders/ConcentricSpin/index.js +5 -5
- package/dist/core/shaders/ConicGradient/index.js +8 -8
- package/dist/core/shaders/ContourLines/index.js +4 -4
- package/dist/core/shaders/CornerPin/index.js +5 -5
- package/dist/core/shaders/Crescent/index.js +3 -3
- package/dist/core/shaders/Cross/index.js +3 -3
- package/dist/core/shaders/Crystal/index.js +8 -8
- package/dist/core/shaders/CurlNoise/index.js +11 -11
- package/dist/core/shaders/CursorRipples/index.js +3 -3
- 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 +8 -8
- package/dist/core/shaders/DiamondWipe/index.js +4 -4
- package/dist/core/shaders/DiffuseBlur/index.js +7 -7
- package/dist/core/shaders/DisplacementMap/index.js +5 -5
- package/dist/core/shaders/Dither/index.js +9 -9
- package/dist/core/shaders/DotGrid/index.js +9 -9
- package/dist/core/shaders/DropShadow/index.js +7 -7
- package/dist/core/shaders/Duotone/index.js +4 -4
- package/dist/core/shaders/Ellipse/index.js +3 -3
- package/dist/core/shaders/Emboss/index.js +6 -6
- package/dist/core/shaders/Engraving/index.js +5 -5
- package/dist/core/shaders/ErosionNoise/index.js +11 -11
- package/dist/core/shaders/Exposure/index.js +4 -4
- package/dist/core/shaders/FallingLines/index.js +9 -9
- package/dist/core/shaders/FilmGrain/index.js +4 -4
- package/dist/core/shaders/FilmStock/index.js +9 -9
- package/dist/core/shaders/Flip/index.js +5 -5
- package/dist/core/shaders/FloatingParticles/index.js +6 -6
- package/dist/core/shaders/FlowField/index.js +5 -5
- package/dist/core/shaders/Flower/index.js +3 -3
- package/dist/core/shaders/FlowingGradient/index.js +12 -12
- package/dist/core/shaders/FlutedGlass/index.js +7 -7
- 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 +10 -10
- package/dist/core/shaders/Frost/index.js +8 -8
- package/dist/core/shaders/GaborNoise/index.js +11 -11
- package/dist/core/shaders/Glass/index.js +7 -7
- package/dist/core/shaders/GlassTiles/index.js +5 -5
- package/dist/core/shaders/Glitch/index.js +7 -7
- package/dist/core/shaders/Glow/index.js +7 -7
- package/dist/core/shaders/Godrays/index.js +9 -9
- package/dist/core/shaders/Goo/index.js +8 -8
- 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 +9 -9
- package/dist/core/shaders/GridDistortion/index.js +7 -7
- package/dist/core/shaders/Group/index.js +3 -3
- package/dist/core/shaders/HTMLInCanvas/index.js +3 -3
- package/dist/core/shaders/Halftone/index.js +9 -9
- package/dist/core/shaders/Heart/index.js +3 -3
- package/dist/core/shaders/Heatmap/index.js +8 -8
- package/dist/core/shaders/HexGrid/index.js +9 -9
- package/dist/core/shaders/Hologram/index.js +7 -7
- package/dist/core/shaders/Holographic/index.js +7 -7
- package/dist/core/shaders/HueShift/index.js +4 -4
- package/dist/core/shaders/ImageTexture/index.js +3 -3
- package/dist/core/shaders/InkFlow/index.js +5 -5
- package/dist/core/shaders/Invert/index.js +4 -4
- package/dist/core/shaders/IrisWipe/index.js +4 -4
- package/dist/core/shaders/Irradiance/index.js +10 -10
- package/dist/core/shaders/IsometricCubes/index.js +9 -9
- package/dist/core/shaders/Kaleidoscope/index.js +5 -5
- package/dist/core/shaders/KeyFrames/index.js +4 -4
- package/dist/core/shaders/LensDistortion/index.js +3 -3
- package/dist/core/shaders/LensFlare/index.js +9 -9
- package/dist/core/shaders/LightEdge/index.js +7 -7
- package/dist/core/shaders/LightLeak/index.js +9 -9
- package/dist/core/shaders/Line/index.js +7 -7
- package/dist/core/shaders/LinearBlur/index.js +7 -7
- package/dist/core/shaders/LinearGradient/index.js +8 -8
- 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 +7 -7
- package/dist/core/shaders/MagneticFilings/index.js +6 -6
- package/dist/core/shaders/Marble/index.js +12 -12
- package/dist/core/shaders/MeshGradient/index.js +13 -13
- package/dist/core/shaders/Mirror/index.js +5 -5
- package/dist/core/shaders/MultiPointGradient/index.js +8 -8
- package/dist/core/shaders/Nebula/index.js +10 -10
- package/dist/core/shaders/Neon/index.js +6 -6
- package/dist/core/shaders/NoiseDissolve/index.js +4 -4
- package/dist/core/shaders/ObjectTracker/index.js +4 -4
- package/dist/core/shaders/Obsidian/index.js +12 -12
- package/dist/core/shaders/PagePeel/index.js +7 -7
- package/dist/core/shaders/Paper/index.js +5 -5
- package/dist/core/shaders/Parallelogram/index.js +3 -3
- package/dist/core/shaders/ParticleField/index.js +6 -6
- package/dist/core/shaders/ParticleFlow/index.js +6 -6
- package/dist/core/shaders/Particles/index.js +6 -6
- package/dist/core/shaders/PerlinNoise/index.js +11 -11
- 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 +7 -7
- package/dist/core/shaders/Plasma/index.js +8 -8
- package/dist/core/shaders/Plastic/index.js +8 -8
- package/dist/core/shaders/PolarCoordinates/index.js +5 -5
- package/dist/core/shaders/Polygon/index.js +4 -4
- package/dist/core/shaders/Posterize/index.js +4 -4
- package/dist/core/shaders/Prism/index.js +9 -9
- package/dist/core/shaders/ProgressiveBlur/index.js +7 -7
- package/dist/core/shaders/RadialGradient/index.js +8 -8
- package/dist/core/shaders/RadialWipe/index.js +4 -4
- package/dist/core/shaders/RandomBars/index.js +4 -4
- 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 +7 -7
- package/dist/core/shaders/Repeater/index.js +2 -2
- package/dist/core/shaders/Ring/index.js +3 -3
- package/dist/core/shaders/RippleWipe/index.js +4 -4
- package/dist/core/shaders/Ripples/index.js +9 -9
- package/dist/core/shaders/RoundedRect/index.js +3 -3
- package/dist/core/shaders/Saturation/index.js +4 -4
- package/dist/core/shaders/Scratches/index.js +11 -11
- package/dist/core/shaders/Sharpness/index.js +7 -7
- package/dist/core/shaders/Shatter/index.js +3 -3
- package/dist/core/shaders/SimplexNoise/index.js +11 -11
- package/dist/core/shaders/SineWave/index.js +7 -7
- package/dist/core/shaders/SliceWipe/index.js +5 -5
- 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 +8 -8
- package/dist/core/shaders/Spherize/index.js +7 -7
- package/dist/core/shaders/Spiral/index.js +8 -8
- package/dist/core/shaders/Star/index.js +3 -3
- package/dist/core/shaders/Stone/index.js +10 -10
- package/dist/core/shaders/Strands/index.js +10 -10
- package/dist/core/shaders/Stretch/index.js +5 -5
- package/dist/core/shaders/Stripes/index.js +9 -9
- package/dist/core/shaders/StudioBackground/index.js +10 -10
- package/dist/core/shaders/SunBurst/index.js +9 -9
- package/dist/core/shaders/Surface3D/index.d.ts.map +1 -1
- package/dist/core/shaders/Surface3D/index.js +4 -4
- package/dist/core/shaders/Swirl/index.js +8 -8
- package/dist/core/shaders/Teardrop/index.js +3 -3
- 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 +7 -7
- package/dist/core/shaders/TimeTrail/index.js +5 -5
- package/dist/core/shaders/Tint/index.js +4 -4
- package/dist/core/shaders/Trapezoid/index.js +3 -3
- package/dist/core/shaders/TriangularGrid/index.js +9 -9
- package/dist/core/shaders/Tritone/index.js +4 -4
- package/dist/core/shaders/Truchet/index.js +9 -9
- package/dist/core/shaders/Twirl/index.js +5 -5
- package/dist/core/shaders/VHS/index.js +7 -7
- package/dist/core/shaders/VenetianBlinds/index.js +4 -4
- package/dist/core/shaders/Vesica/index.js +3 -3
- package/dist/core/shaders/Vibrance/index.js +4 -4
- package/dist/core/shaders/VideoTexture/index.js +3 -3
- package/dist/core/shaders/Vignette/index.js +4 -4
- package/dist/core/shaders/Voronoi/index.js +10 -10
- package/dist/core/shaders/Water/index.js +8 -8
- package/dist/core/shaders/Watercolor/index.js +5 -5
- package/dist/core/shaders/WaveDistortion/index.js +5 -5
- package/dist/core/shaders/Waveform/index.js +13 -13
- package/dist/core/shaders/WaveletNoise/index.js +11 -11
- package/dist/core/shaders/Weave/index.js +9 -9
- package/dist/core/shaders/WebcamTexture/index.js +3 -3
- package/dist/core/shaders/Wool/index.js +10 -10
- package/dist/core/shaders/WorleyNoise/index.js +10 -10
- package/dist/core/shaders/ZoomBlur/index.js +7 -7
- package/dist/core/{shape-Dfa7_eQh.js → shape-Ctle9iU9.js} +1 -1
- package/dist/core/{shapePaints-CRpPT5Z5.js → shapePaints-kH2wcDEC.js} +3 -3
- package/dist/core/std/sim/fluids.d.ts +1 -1
- package/dist/core/std/sim/fluids.d.ts.map +1 -1
- package/dist/core/std/sim/grids.d.ts +7 -2
- package/dist/core/std/sim/grids.d.ts.map +1 -1
- package/dist/core/{stylize-AZmEMszr.js → stylize-B1HR4Evq.js} +1 -1
- package/dist/core/{tone-Ax72n2WU.js → tone-R9En6hOG.js} +1 -1
- package/dist/core/utilities/sdf3d.d.ts.map +1 -1
- package/dist/core/{warpMaps-051QhmeG.js → warpMaps-XO8MOBSl.js} +2 -2
- package/dist/core/{warps-B5j8H1vX.js → warps-Dc619a_L.js} +3 -3
- package/dist/js/bundle.js +52 -52
- package/dist/js/createShader.js +1 -1
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +53 -53
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/svelte/index.js +1 -1
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/package.json +6 -1
- package/dist/core/shaderRegistry-D6mNFoD5.js +0 -441
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as p, f as objectFitProp, t as defineStd } from "./lower-
|
|
2
|
-
import { r as webcamMedia } from "./media-
|
|
1
|
+
import { c as p, f as objectFitProp, t as defineStd } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { r as webcamMedia } from "./media-ByrvHD7G.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "WebcamTexture",
|
|
5
5
|
role: "media",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as defineStd } from "./lower-
|
|
2
|
-
import { p as noiseRelief, v as reliefBases } from "./noise-
|
|
1
|
+
import { t as defineStd } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { p as noiseRelief, v as reliefBases } from "./noise-BuBsH8Ef.js";
|
|
3
3
|
import { t as reliefStylizeProps } from "./noiseStylize-BfLjdB5R.js";
|
|
4
4
|
const componentDefinition = defineStd({
|
|
5
5
|
name: "Wool",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as p, t as defineStd } from "./lower-
|
|
2
|
-
import { T as transformWorleyMode, j as worleyNoise, w as transformWorleyDistance } from "./noise-
|
|
1
|
+
import { c as p, t as defineStd } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { T as transformWorleyMode, j as worleyNoise, w as transformWorleyDistance } from "./noise-BuBsH8Ef.js";
|
|
3
3
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-COlfAEsk.js";
|
|
4
4
|
const componentDefinition = defineStd({
|
|
5
5
|
name: "WorleyNoise",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as p, t as defineStd } from "./lower-
|
|
1
|
+
import { c as p, t as defineStd } from "./lower-yTKQx3pz.js";
|
|
2
2
|
import { c as transformPosition } from "./transformations-COlfAEsk.js";
|
|
3
|
-
import { C as motionBlur, i as blurPath } from "./blurs-
|
|
3
|
+
import { C as motionBlur, i as blurPath } from "./blurs-C6sv2MNe.js";
|
|
4
4
|
const componentDefinition = defineStd({
|
|
5
5
|
name: "ZoomBlur",
|
|
6
6
|
role: "filter",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $n as clamp, Bn as textureDimensions, Br as f32, Cr as vec2u, Ft as mixColorsVariants, Hr as u32, Jn as select, Kr as Void, Nr as struct, Pt as mixColorsLinear, Qn as ceil, Rr as dualImpl, Sr as vec2i, Tr as vec4f, Un as textureStore, Ur as stitch, Vn as textureLoad, Vr as i32, Wr as safeStringify, Yn as abs, Zn as atan2, _n as hash33, _r as smoothstep, ar as floor, cr as max, er as cos, gn as hash22, gr as sin, lr as min, mn as hash12, nr as dot, or as fract, pn as hash11, qr as isAtomic, rr as exp, rt as ZERO, sr as length, tr as cross, ur as mix, vr as sqrt, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-
|
|
2
|
-
import { B as R3_ALPHA, H as createAgentSystem, J as texelSplatWindow, R as FIXED_POINT_GAINS, U as energyCoverageAlpha, W as integrateSemiImplicitEuler, Y as worldSplatWindow, z as R2_ALPHA } from "./porters-
|
|
3
|
-
import { f as rotateVec3, p as rotateVecCpu } from "./sdf3d-
|
|
4
|
-
import { C as reynoldsSteer, S as resolveAgentShape, T as trailMaxDecay, _ as nematicTorque, a as cruiseVariation, c as dipoleOrRadialField, i as bilinearTexelFrame, l as makeAgentTexelWeightFn, n as applyCameraRows, o as cursorFalloff, p as makeOrientedCometWeightFn, r as applyCameraRowsTransposed, s as cursorMagnet, t as AGENT_SHAPES, u as makeAgentWeightFn, x as presenceVariation, y as orientedShapeProfile } from "./agents-
|
|
1
|
+
import { $n as clamp, Bn as textureDimensions, Br as f32, Cr as vec2u, Ft as mixColorsVariants, Hr as u32, Jn as select, Kr as Void, Nr as struct, Pt as mixColorsLinear, Qn as ceil, Rr as dualImpl, Sr as vec2i, Tr as vec4f, Un as textureStore, Ur as stitch, Vn as textureLoad, Vr as i32, Wr as safeStringify, Yn as abs, Zn as atan2, _n as hash33, _r as smoothstep, ar as floor, cr as max, er as cos, gn as hash22, gr as sin, lr as min, mn as hash12, nr as dot, or as fract, pn as hash11, qr as isAtomic, rr as exp, rt as ZERO, sr as length, tr as cross, ur as mix, vr as sqrt, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { B as R3_ALPHA, H as createAgentSystem, J as texelSplatWindow, R as FIXED_POINT_GAINS, U as energyCoverageAlpha, W as integrateSemiImplicitEuler, Y as worldSplatWindow, z as R2_ALPHA } from "./porters-Cq56lDOB.js";
|
|
3
|
+
import { f as rotateVec3, p as rotateVecCpu } from "./sdf3d-CwyfHq_Y.js";
|
|
4
|
+
import { C as reynoldsSteer, S as resolveAgentShape, T as trailMaxDecay, _ as nematicTorque, a as cruiseVariation, c as dipoleOrRadialField, i as bilinearTexelFrame, l as makeAgentTexelWeightFn, n as applyCameraRows, o as cursorFalloff, p as makeOrientedCometWeightFn, r as applyCameraRowsTransposed, s as cursorMagnet, t as AGENT_SHAPES, u as makeAgentWeightFn, x as presenceVariation, y as orientedShapeProfile } from "./agents-DbBxdNWq.js";
|
|
5
5
|
dualImpl({
|
|
6
6
|
name: "workgroupBarrier",
|
|
7
7
|
normalImpl: "workgroupBarrier is a no-op outside of CODEGEN mode.",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as clamp, Ar as texture2d, Br as f32, Cr as vec2u, Hr as u32, Jn as select, Nr as struct, Tr as vec4f, Vn as textureLoad, Yn as abs, _n as hash33, _r as smoothstep, ar as floor, cr as max, dr as normalize, er as cos, fr as pow, gr as sin, lr as min, nr as dot, pn as hash11, rr as exp, sr as length, ur as mix, vr as sqrt, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-
|
|
1
|
+
import { $n as clamp, Ar as texture2d, Br as f32, Cr as vec2u, Hr as u32, Jn as select, Nr as struct, Tr as vec4f, Vn as textureLoad, Yn as abs, _n as hash33, _r as smoothstep, ar as floor, cr as max, dr as normalize, er as cos, fr as pow, gr as sin, lr as min, nr as dot, pn as hash11, rr as exp, sr as length, ur as mix, vr as sqrt, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-yTKQx3pz.js";
|
|
2
2
|
const arrowSdf = typegpu_default.fn([
|
|
3
3
|
f32,
|
|
4
4
|
f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as clamp, An as DEG_TO_RAD$1, Ar as texture2d, Br as f32, Cr as vec2u, Et as unpremultiplyAlpha, G as createGuardedCompute, Hr as u32, Mr as arrayOf, Nr as struct, Tr as vec4f, Un as textureStore, Vn as textureLoad, Vr as i32, Yn as abs, _r as smoothstep, cr as max, er as cos, fr as pow, gr as sin, jr as textureStorage2d, mr as round, nr as dot, or as fract, ot as call, rt as ZERO, ur as mix, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-
|
|
1
|
+
import { $n as clamp, An as DEG_TO_RAD$1, Ar as texture2d, Br as f32, Cr as vec2u, Et as unpremultiplyAlpha, G as createGuardedCompute, Hr as u32, Mr as arrayOf, Nr as struct, Tr as vec4f, Un as textureStore, Vn as textureLoad, Vr as i32, Yn as abs, _r as smoothstep, cr as max, er as cos, fr as pow, gr as sin, jr as textureStorage2d, mr as round, nr as dot, or as fract, ot as call, rt as ZERO, ur as mix, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-yTKQx3pz.js";
|
|
2
2
|
var DEG_TO_RAD = DEG_TO_RAD$1;
|
|
3
3
|
var DEFAULT_HALF_KERNEL = 24;
|
|
4
4
|
const DEFAULT_COMPUTE_WIDTH = 1024;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $n as clamp, An as DEG_TO_RAD, Br as f32, Cr as vec2u, Et as unpremultiplyAlpha, G as createGuardedCompute, Hr as u32, J as applyEdgeHandlingExpr, Nr as struct, Tr as vec4f, Un as textureStore, _r as smoothstep, at as asLocal, cr as max, dt as mixExpr, er as cos, ft as vec4, gr as sin, i as resolveArg, jr as textureStorage2d, lt as expr, mt as formatFloat, o as uniformOf, ot as call, rt as ZERO, tt as sampleCatmullRomExpr, ur as mix, ut as floatE, wr as vec3f, xr as vec2f, yr as step, zn as typegpu_default } from "./lower-
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { D as rgbSplitTaps, E as revealShadow$1, O as rimComposite, S as pagePeelGeom, b as overhangShade, c as curlSheen$1, d as edgeClipSample, j as sphereBulge, k as rimLight, m as flutedGlassGeom, r as blinnHighlight, s as curlShade, x as pagePeelCompose } from "./warpMaps-
|
|
4
|
-
import { C as intensityToRadius, D as withBloomCompute, O as withFixedBlurCompute, S as glowCompose, T as tiltShiftBlurAmount, _ as channelBlurCompose, a as DEFAULT_COMPUTE_WIDTH, c as buildBokehGraph, d as buildGlowPrepassGraph, f as buildGlowPrepassMapGraph, g as buildTiltShiftFillMapGraph, h as buildTiltShiftFillGraph, i as DEFAULT_COMPUTE_HEIGHT, k as withVariableBlurCompute, l as buildBokehMapGraph, m as buildProgressiveBlurFillMapGraph, n as BOKEH_TAP_COUNT, o as bokehRadiusToPixels, p as buildProgressiveBlurFillGraph, r as CHANNEL_INTENSITY_TO_RADIUS, s as buildBloomExtractGraph, t as BLUR_MAP_FORMAT, u as buildFillBlurMapGraph, v as composeBlurredOverSharp, w as remapWindowValues, x as generateBokehTaps } from "./blur-
|
|
5
|
-
import { C as vignetteShade, S as vhsSampleUVs, _ as scatterGather, a as dropShadowComposite, b as vhsAcBeat, d as glitchSplitUVs, f as motionBlurGather, g as scanlineShade, h as rgbSplitCombine, i as distortScanShade, m as pixelateGather, n as beatShade, o as dropShadowUV, p as phosphorShade, r as crtSampleUV, s as fillBarsShade, t as adjustShade, u as glitchGeom, v as sharpenGather, w as yiqRecombine, x as vhsChromaTapUV, y as silhouetteBlur } from "./motionBlur-
|
|
1
|
+
import { $n as clamp, An as DEG_TO_RAD, Br as f32, Cr as vec2u, Et as unpremultiplyAlpha, G as createGuardedCompute, Hr as u32, J as applyEdgeHandlingExpr, Nr as struct, Tr as vec4f, Un as textureStore, _r as smoothstep, at as asLocal, cr as max, dt as mixExpr, er as cos, ft as vec4, gr as sin, i as resolveArg, jr as textureStorage2d, lt as expr, mt as formatFloat, o as uniformOf, ot as call, rt as ZERO, tt as sampleCatmullRomExpr, ur as mix, ut as floatE, wr as vec3f, xr as vec2f, yr as step, zn as typegpu_default } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-Cq56lDOB.js";
|
|
3
|
+
import { D as rgbSplitTaps, E as revealShadow$1, O as rimComposite, S as pagePeelGeom, b as overhangShade, c as curlSheen$1, d as edgeClipSample, j as sphereBulge, k as rimLight, m as flutedGlassGeom, r as blinnHighlight, s as curlShade, x as pagePeelCompose } from "./warpMaps-XO8MOBSl.js";
|
|
4
|
+
import { C as intensityToRadius, D as withBloomCompute, O as withFixedBlurCompute, S as glowCompose, T as tiltShiftBlurAmount, _ as channelBlurCompose, a as DEFAULT_COMPUTE_WIDTH, c as buildBokehGraph, d as buildGlowPrepassGraph, f as buildGlowPrepassMapGraph, g as buildTiltShiftFillMapGraph, h as buildTiltShiftFillGraph, i as DEFAULT_COMPUTE_HEIGHT, k as withVariableBlurCompute, l as buildBokehMapGraph, m as buildProgressiveBlurFillMapGraph, n as BOKEH_TAP_COUNT, o as bokehRadiusToPixels, p as buildProgressiveBlurFillGraph, r as CHANNEL_INTENSITY_TO_RADIUS, s as buildBloomExtractGraph, t as BLUR_MAP_FORMAT, u as buildFillBlurMapGraph, v as composeBlurredOverSharp, w as remapWindowValues, x as generateBokehTaps } from "./blur-DYLrOqIN.js";
|
|
5
|
+
import { C as vignetteShade, S as vhsSampleUVs, _ as scatterGather, a as dropShadowComposite, b as vhsAcBeat, d as glitchSplitUVs, f as motionBlurGather, g as scanlineShade, h as rgbSplitCombine, i as distortScanShade, m as pixelateGather, n as beatShade, o as dropShadowUV, p as phosphorShade, r as crtSampleUV, s as fillBarsShade, t as adjustShade, u as glitchGeom, v as sharpenGather, w as yiqRecombine, x as vhsChromaTapUV, y as silhouetteBlur } from "./motionBlur-D_Tr1tup.js";
|
|
6
6
|
function gatherStack(sample, overlays, opts) {
|
|
7
7
|
return {
|
|
8
8
|
kind: "gather",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $n as clamp, An as DEG_TO_RAD, Br as f32, Ct as srgbToLinear, Ft as mixColorsVariants, Jn as select, Kn as fwidth, Nn as SQRT3, Pn as TAU, Pt as mixColorsLinear, Tr as vec4f, Yn as abs, _r as smoothstep, ar as floor, cr as max, er as cos, fr as pow, ft as vec4, gr as sin, i as resolveArg, lt as expr, mn as hash12, mt as formatFloat, nr as dot, o as uniformOf, or as fract, ot as call, r as pointwiseOp, rt as ZERO, ur as mix, ut as floatE, wr as vec3f, xr as vec2f, xt as linearToSrgb, zn as typegpu_default } from "./lower-
|
|
2
|
-
import { n as luma709Dot } from "./tone-
|
|
1
|
+
import { $n as clamp, An as DEG_TO_RAD, Br as f32, Ct as srgbToLinear, Ft as mixColorsVariants, Jn as select, Kn as fwidth, Nn as SQRT3, Pn as TAU, Pt as mixColorsLinear, Tr as vec4f, Yn as abs, _r as smoothstep, ar as floor, cr as max, er as cos, fr as pow, ft as vec4, gr as sin, i as resolveArg, lt as expr, mn as hash12, mt as formatFloat, nr as dot, o as uniformOf, or as fract, ot as call, r as pointwiseOp, rt as ZERO, ur as mix, ut as floatE, wr as vec3f, xr as vec2f, xt as linearToSrgb, zn as typegpu_default } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { n as luma709Dot } from "./tone-R9En6hOG.js";
|
|
3
3
|
var TWO_PI = TAU;
|
|
4
4
|
const hueRotate$1 = typegpu_default.fn([vec4f, f32], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, shiftDeg) => {
|
|
5
5
|
"use gpu";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as paintFrame, ot as call } from "./lower-
|
|
2
|
-
import { r as rgbDither } from "./tone-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
4
|
-
import { B as vec4, C as mul, L as sub, b as max, i as clamp, n as add, o as div, y as local } from "./math-
|
|
1
|
+
import { n as paintFrame, ot as call } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { r as rgbDither } from "./tone-R9En6hOG.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Cq56lDOB.js";
|
|
4
|
+
import { B as vec4, C as mul, L as sub, b as max, i as clamp, n as add, o as div, y as local } from "./math-DpiFV1BZ.js";
|
|
5
5
|
function layered(layerData, build) {
|
|
6
6
|
let weightedSum;
|
|
7
7
|
let totalWeight;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as createFluidKernelPass, St as createFeedbackTrailSim } from "./porters-
|
|
1
|
+
import { F as createFluidKernelPass, St as createFeedbackTrailSim } from "./porters-Cq56lDOB.js";
|
|
2
2
|
function feedbackSim(build) {
|
|
3
3
|
return { compute: (params) => {
|
|
4
4
|
const { childNode, gpu } = params;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Cn as perlin13, Dn as value13, Ft as mixColorsVariants, Gt as domainWarp2, It as mixPreconvertedInSpace, Jt as scatterField$1, Lt as mixPreconvertedLinear, Pt as mixColorsLinear, Rt as mixPreconvertedVariants, Wt as chainedWarpStep, a as resolveScalar, at as asLocal, ft as vec4, kt as convertP3ToMixSpaceCPU, o as uniformOf, ot as call, s as Scalar, ut as floatE, yn as mxNoiseFloat3 } from "./lower-
|
|
2
|
-
import { s as toneUnitPivotInverted } from "./tone-
|
|
3
|
-
import { A as unitThreshold, C as radialDist, D as shimmerPulse, E as repeatWrap, O as spiralMask, S as plasmaTone, T as repeatRings, c as diamondDist, f as gradientClamp01, g as gradientTransparentAlpha, h as gradientRawT, j as volumeDomain, k as unitNoise3, l as flowLayers, m as gradientEdgeWrap, o as conicSweep, p as gradientEdgeMirror, w as rampWrap } from "./gradientPaints-
|
|
4
|
-
import { Dt as mixColorStopsRuntime, t as animatedTime } from "./porters-
|
|
1
|
+
import { Cn as perlin13, Dn as value13, Ft as mixColorsVariants, Gt as domainWarp2, It as mixPreconvertedInSpace, Jt as scatterField$1, Lt as mixPreconvertedLinear, Pt as mixColorsLinear, Rt as mixPreconvertedVariants, Wt as chainedWarpStep, a as resolveScalar, at as asLocal, ft as vec4, kt as convertP3ToMixSpaceCPU, o as uniformOf, ot as call, s as Scalar, ut as floatE, yn as mxNoiseFloat3 } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { s as toneUnitPivotInverted } from "./tone-R9En6hOG.js";
|
|
3
|
+
import { A as unitThreshold, C as radialDist, D as shimmerPulse, E as repeatWrap, O as spiralMask, S as plasmaTone, T as repeatRings, c as diamondDist, f as gradientClamp01, g as gradientTransparentAlpha, h as gradientRawT, j as volumeDomain, k as unitNoise3, l as flowLayers, m as gradientEdgeWrap, o as conicSweep, p as gradientEdgeMirror, w as rampWrap } from "./gradientPaints-CeLGuaeA.js";
|
|
4
|
+
import { Dt as mixColorStopsRuntime, t as animatedTime } from "./porters-Cq56lDOB.js";
|
|
5
5
|
import { o as transformColorSpace } from "./transformations-COlfAEsk.js";
|
|
6
|
-
import { C as mul, L as sub, R as vec2, f as fract, i as clamp, t as abs, y as local, z as vec3 } from "./math-
|
|
6
|
+
import { C as mul, L as sub, R as vec2, f as fract, i as clamp, t as abs, y as local, z as vec3 } from "./math-DpiFV1BZ.js";
|
|
7
7
|
const noiseToneKColor = toneUnitPivotInverted;
|
|
8
8
|
function mixStopsOrColorsExpr(params, t, endpoints = {}) {
|
|
9
9
|
const { uniforms, propValues } = params;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as resolveScalar, ft as vec4, n as paintFrame, o as uniformOf, ot as call, s as Scalar, ut as floatE } from "./lower-
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { l as lineMask, u as sineWaveMask } from "./shapePaints-
|
|
1
|
+
import { a as resolveScalar, ft as vec4, n as paintFrame, o as uniformOf, ot as call, s as Scalar, ut as floatE } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-Cq56lDOB.js";
|
|
3
|
+
import { l as lineMask, u as sineWaveMask } from "./shapePaints-kH2wcDEC.js";
|
|
4
4
|
function arg(spec, params) {
|
|
5
5
|
if (typeof spec === "number") return floatE(spec);
|
|
6
6
|
if (spec instanceof Scalar || spec.kind !== "ctx") return resolveScalar(spec, params);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as createIdleGate, Br as f32, Tr as vec4f, U as pathStampRibbon, V as createPointerVelocityTracker, q as createStateBuffer } from "./lower-
|
|
2
|
-
import { F as createFluidKernelPass, I as createStableFluidsPasses } from "./porters-
|
|
1
|
+
import { B as createIdleGate, Br as f32, Tr as vec4f, U as pathStampRibbon, V as createPointerVelocityTracker, q as createStateBuffer } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { F as createFluidKernelPass, I as createStableFluidsPasses } from "./porters-Cq56lDOB.js";
|
|
3
3
|
const ambientForce = (kernel) => ({
|
|
4
4
|
stage: "pre",
|
|
5
5
|
kernel
|
|
@@ -168,10 +168,12 @@ function cursorRibbon(opts) {
|
|
|
168
168
|
ptr = tracker.update(f.frameParams.pointer, f.dt);
|
|
169
169
|
opts.onFrame?.(f, ptr);
|
|
170
170
|
isActive = opts.activeWhen(ptr, f);
|
|
171
|
-
if (isActive) idle.markActive(
|
|
171
|
+
if (isActive) idle.markActive();
|
|
172
172
|
},
|
|
173
173
|
skip(f) {
|
|
174
|
-
|
|
174
|
+
const skip = idle.shouldSkip(opts.fadeSeconds(f));
|
|
175
|
+
if (!skip) idle.tickFrame(f.dt);
|
|
176
|
+
return skip;
|
|
175
177
|
},
|
|
176
178
|
emit(f, nodes, values) {
|
|
177
179
|
if (!isActive || !ptr || !pass) return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { An as DEG_TO_RAD$1, o as uniformOf } from "./lower-
|
|
2
|
-
import { C as mul, F as sqrt, L as sub, R as vec2, a as cos, b as max, f as fract, j as sin, n as add, o as div, r as atan2, s as dot, v as length, w as neg, x as min, y as local } from "./math-
|
|
1
|
+
import { An as DEG_TO_RAD$1, o as uniformOf } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { C as mul, F as sqrt, L as sub, R as vec2, a as cos, b as max, f as fract, j as sin, n as add, o as div, r as atan2, s as dot, v as length, w as neg, x as min, y as local } from "./math-DpiFV1BZ.js";
|
|
3
3
|
var DEG_TO_RAD = DEG_TO_RAD$1;
|
|
4
4
|
function surfaceOf(params) {
|
|
5
5
|
const uv = params.uvContext ?? params.ctx.uv;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as clamp, Br as f32, Et as unpremultiplyAlpha, Jn as select, Jr as __export, Nr as struct, Tr as vec4f, _r as smoothstep, at as asLocal, cr as max, er as cos, fr as pow, ft as vec4, gr as sin, ir as exp2, lr as min, nr as dot, ot as call, ur as mix, ut as floatE, vr as sqrt, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-
|
|
1
|
+
import { $n as clamp, Br as f32, Et as unpremultiplyAlpha, Jn as select, Jr as __export, Nr as struct, Tr as vec4f, _r as smoothstep, at as asLocal, cr as max, er as cos, fr as pow, ft as vec4, gr as sin, ir as exp2, lr as min, nr as dot, ot as call, ur as mix, ut as floatE, vr as sqrt, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-yTKQx3pz.js";
|
|
2
2
|
var glass_exports = /* @__PURE__ */ __export({
|
|
3
3
|
BLUR_DISK: () => BLUR_DISK,
|
|
4
4
|
GlassLensUVs: () => GlassLensUVs,
|
package/dist/core/gpu/frame.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { TgpuRoot } from 'typegpu';
|
|
|
3
3
|
/**
|
|
4
4
|
* Spring-damper step for smooth mouse tracking. Returns `[newPosition, newVelocity]`.
|
|
5
5
|
* When smoothing and momentum are both 0 the target is returned immediately (zero cost).
|
|
6
|
+
* Large deltas are integrated in ≤ 1/60s sub-steps (see {@link SPRING_MAX_SUBSTEP}).
|
|
6
7
|
*/
|
|
7
8
|
export declare function applySpring(current: number, velocity: number, target: number, smoothing: number, momentum: number, dt: number): [number, number];
|
|
8
9
|
/** The easing names the auto-animate driver accepts. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frame.d.ts","sourceRoot":"","sources":["../../src/gpu/frame.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"frame.d.ts","sourceRoot":"","sources":["../../src/gpu/frame.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,SAAS,CAAA;AAkBrC;;;;GAIG;AACH,wBAAgB,WAAW,CACvB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,GACX,CAAC,MAAM,EAAE,MAAM,CAAC,CAelB;AAMD,wDAAwD;AACxD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAA;AAEvE,iDAAiD;AACjD,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAcjD;AAED,qEAAqE;AACrE,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAgB7D;AAMD,MAAM,WAAW,QAAQ;IACrB,mFAAmF;IACnF,aAAa,EAAE,MAAM,CAAA;IACrB,4CAA4C;IAC5C,UAAU,EAAE,MAAM,CAAA;IAClB,yDAAyD;IACzD,aAAa,EAAE,MAAM,CAAA;IACrB,2DAA2D;IAC3D,cAAc,EAAE,MAAM,CAAA;CACzB;A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;IACb,uFAAuF;IACvF,MAAM,IAAI,IAAI,CAAA;IACd,gFAAgF;IAChF,SAAS,IAAI,IAAI,CAAA;IACjB,sCAAsC;IACtC,WAAW,IAAI,IAAI,CAAA;CACtB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,aAAa,GAAG,IAAI,CAQzD;AAMD,MAAM,WAAW,SAAS;IACtB,6DAA6D;IAC7D,KAAK,IAAI,IAAI,CAAA;IACb,kDAAkD;IAClD,IAAI,IAAI,IAAI,CAAA;IACZ,6CAA6C;IAC7C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC5B;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,SAAS,CA4B3D"}
|
|
@@ -80,34 +80,43 @@ export interface IdleGateOptions {
|
|
|
80
80
|
}
|
|
81
81
|
export interface IdleGate {
|
|
82
82
|
/**
|
|
83
|
-
* Record that something is driving the sim right now.
|
|
84
|
-
* clock
|
|
85
|
-
* `0` is a legitimate value — the gate tracks never-active separately.
|
|
83
|
+
* Record that something is driving the sim right now. Resets the simulated-time-since-input
|
|
84
|
+
* clock to zero.
|
|
86
85
|
*/
|
|
87
|
-
markActive(
|
|
88
|
-
/**
|
|
89
|
-
|
|
86
|
+
markActive(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Count one DISPATCHED frame toward the warm-up and advance the simulated clock by `dt` seconds
|
|
89
|
+
* (the same clamped delta the solve was stepped with). Call it once the frame is committed.
|
|
90
|
+
*
|
|
91
|
+
* The clock is simulated time, not wall-clock, on purpose: a hidden tab stops
|
|
92
|
+
* `requestAnimationFrame` cold, so no frames run while the user is away. If the gate measured
|
|
93
|
+
* wall-clock seconds since the last input it would freeze the sim the instant the tab came back
|
|
94
|
+
* — with the field still fully visible, since it never actually decayed — and the ink would
|
|
95
|
+
* sit "paused" until the next pointer move. Counting only the seconds the field was actually
|
|
96
|
+
* stepped keeps the decay budget honest across tab switches, throttling, and device loss.
|
|
97
|
+
*/
|
|
98
|
+
tickFrame(dt: number): void;
|
|
90
99
|
/** Nothing has ever driven the sim — there is no state worth advancing. */
|
|
91
100
|
readonly neverActive: boolean;
|
|
92
101
|
/** The warm-up has elapsed (always true when `warmupFrames` is 0). */
|
|
93
102
|
readonly warmedUp: boolean;
|
|
94
103
|
/**
|
|
95
104
|
* Whether this frame can be skipped entirely: nothing is driving the sim AND either it has never
|
|
96
|
-
* been driven or
|
|
105
|
+
* been driven or more than `fadeSeconds` of SIMULATED time has been stepped since the last input.
|
|
97
106
|
*
|
|
98
107
|
* `driving` is the caller's own "something wants this frame" signal (a stroke in progress, an
|
|
99
108
|
* ambient force, a pending init). Pass `false` when the only driver is the pointer.
|
|
100
109
|
*/
|
|
101
|
-
shouldSkip(
|
|
110
|
+
shouldSkip(fadeSeconds: number, driving?: boolean): boolean;
|
|
102
111
|
}
|
|
103
112
|
/**
|
|
104
|
-
* The "settle then freeze" gate: once the
|
|
105
|
-
* decayed to invisibility, stop dispatching. The previously rendered texture persists
|
|
106
|
-
* a settled sim costs zero GPU time.
|
|
113
|
+
* The "settle then freeze" gate: once the field has been stepped far enough past the last input
|
|
114
|
+
* that it has decayed to invisibility, stop dispatching. The previously rendered texture persists
|
|
115
|
+
* on screen, so a settled sim costs zero GPU time.
|
|
107
116
|
*
|
|
108
117
|
* TimeTrail's reasoning is worth restating because it is the trap here: pointer *speed* being zero is
|
|
109
118
|
* NOT a valid skip condition. A stationary cursor over a field that is still evolving must keep
|
|
110
|
-
* dispatching — the gate is about
|
|
119
|
+
* dispatching — the gate is about simulated time since the last input, never about instantaneous
|
|
111
120
|
* speed.
|
|
112
121
|
*/
|
|
113
122
|
export declare function createIdleGate(opts?: IdleGateOptions): IdleGate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pointer.d.ts","sourceRoot":"","sources":["../../../../src/gpu/kit/host/pointer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAC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,MAAM,CAAA;IACV,kDAAkD;IAClD,QAAQ,EAAE,MAAM,CAAA;IAChB,wEAAwE;IACxE,QAAQ,EAAE,MAAM,CAAA;IAChB,wFAAwF;IACxF,QAAQ,EAAE,MAAM,CAAA;IAChB,4FAA4F;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,CAAC,CAAA;IAC1B;;;;OAIG;IACH,KAAK,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,KAAK,IAAI,CAAA;IACnE,wDAAwD;IACxD,IAAI,EAAE,WAAW,CAAA;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,CAAC,GAAG,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,IAAI,EAAE,sBAAsB,CAAC,CAAC,CAAC,GAAG,MAAM,CAY5G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdf3d.d.ts","sourceRoot":"","sources":["../../../src/gpu/kit/sdf3d.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EAAO,CAAC,EAAM,MAAM,SAAS,CAAA;AACpC,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,cAAc,CAAA;AAC5C,OAAO,KAAK,EAAC,QAAQ,EAAE,WAAW,EAAC,MAAM,SAAS,CAAA;AAClD,OAAO,EAAuB,KAAK,kBAAkB,EAAC,MAAM,YAAY,CAAA;AACxE,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"sdf3d.d.ts","sourceRoot":"","sources":["../../../src/gpu/kit/sdf3d.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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+D;AAC/D,eAAO,MAAM,eAAe,sHAID,CAAA;AAE3B,eAAO,MAAM,aAAa,uGAKD,CAAA;AACzB,mEAAmE;AACnE,eAAO,MAAM,cAAc,sHAMD,CAAA;AAE1B,eAAO,MAAM,WAAW,sGAUD,CAAA;AACvB,iGAAiG;AACjG,eAAO,MAAM,SAAS,oHAiBD,CAAA;AAErB,eAAO,MAAM,eAAe,uGAOD,CAAA;AAC3B,mEAAmE;AACnE,eAAO,MAAM,gBAAgB,sHAMD,CAAA;AAE5B,eAAO,MAAM,cAAc,sGAeD,CAAA;AAC1B,8EAA8E;AAC9E,eAAO,MAAM,eAAe,sHAYD,CAAA;AAK3B,eAAO,MAAM,qBAAqB,sGAmBD,CAAA;AACjC,4EAA4E;AAC5E,eAAO,MAAM,sBAAsB,qHAiBD,CAAA;AAElC;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE;IAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAC,CAAC,CAIjI"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $n as clamp, An as DEG_TO_RAD, Br as f32, En as value12, Fn as TWO_PI, Gn as dpdy, Jn as select, Kn as fwidth, Pn as TAU, Pr as mod, Tr as vec4f, Wn as dpdx, Xt as aspectCenteredDelta, Yn as abs, Zn as atan2, Zt as aspectCentrePosition, _r as smoothstep, an as rotate2, ar as floor, cr as max, dr as normalize, en as aspectOf, er as cos, fr as pow, gr as sin, lr as min, mn as hash12, nn as directionalProjection, nr as dot, or as fract, rr as exp, sn as unflipPosition, sr as length, tn as canvasCentredDelta, ur as mix, vr as sqrt, wr as vec3f, xr as vec2f, yn as mxNoiseFloat3, yr as step, zn as typegpu_default } from "./lower-
|
|
2
|
-
import { a as toneRemap } from "./tone-
|
|
3
|
-
import { f as seamlessAngularField, h as taperedSegmentGlow, m as streakBand, n as anisotropicGaussianSpot, o as pointToSegment } from "./lightfields-
|
|
1
|
+
import { $n as clamp, An as DEG_TO_RAD, Br as f32, En as value12, Fn as TWO_PI, Gn as dpdy, Jn as select, Kn as fwidth, Pn as TAU, Pr as mod, Tr as vec4f, Wn as dpdx, Xt as aspectCenteredDelta, Yn as abs, Zn as atan2, Zt as aspectCentrePosition, _r as smoothstep, an as rotate2, ar as floor, cr as max, dr as normalize, en as aspectOf, er as cos, fr as pow, gr as sin, lr as min, mn as hash12, nn as directionalProjection, nr as dot, or as fract, rr as exp, sn as unflipPosition, sr as length, tn as canvasCentredDelta, ur as mix, vr as sqrt, wr as vec3f, xr as vec2f, yn as mxNoiseFloat3, yr as step, zn as typegpu_default } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { a as toneRemap } from "./tone-R9En6hOG.js";
|
|
3
|
+
import { f as seamlessAngularField, h as taperedSegmentGlow, m as streakBand, n as anisotropicGaussianSpot, o as pointToSegment } from "./lightfields-BKy8DxIZ.js";
|
|
4
4
|
const footprint1 = typegpu_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((x, softness) => {
|
|
5
5
|
"use gpu";
|
|
6
6
|
const baseW = max(abs(dpdx(x)), abs(dpdy(x)));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ft as mixColorsVariants, Lt as mixPreconvertedLinear, Pt as mixColorsLinear, Rt as mixPreconvertedVariants, a as resolveScalar, ft as vec4, kt as convertP3ToMixSpaceCPU, o as uniformOf, ot as call, s as Scalar, ut as floatE, wr as vec3f } from "./lower-
|
|
2
|
-
import { a as colorWheelT, i as colorWheelSelect, n as colorWheelPhase, r as colorWheelRainbow, t as beamField, x as mpgFactors } from "./gradientPaints-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
4
|
-
import { y as local } from "./math-
|
|
1
|
+
import { Ft as mixColorsVariants, Lt as mixPreconvertedLinear, Pt as mixColorsLinear, Rt as mixPreconvertedVariants, a as resolveScalar, ft as vec4, kt as convertP3ToMixSpaceCPU, o as uniformOf, ot as call, s as Scalar, ut as floatE, wr as vec3f } from "./lower-yTKQx3pz.js";
|
|
2
|
+
import { a as colorWheelT, i as colorWheelSelect, n as colorWheelPhase, r as colorWheelRainbow, t as beamField, x as mpgFactors } from "./gradientPaints-CeLGuaeA.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Cq56lDOB.js";
|
|
4
|
+
import { y as local } from "./math-DpiFV1BZ.js";
|
|
5
5
|
function arg(spec, params) {
|
|
6
6
|
if (typeof spec === "number") return floatE(spec);
|
|
7
7
|
if (spec instanceof Scalar || spec.kind !== "ctx") return resolveScalar(spec, params);
|
|
@@ -41,13 +41,15 @@ const op = {
|
|
|
41
41
|
return { emit: (f) => run(f) };
|
|
42
42
|
},
|
|
43
43
|
settle(opts) {
|
|
44
|
-
let
|
|
44
|
+
let simSinceActive = 0;
|
|
45
45
|
return {
|
|
46
46
|
tick(f) {
|
|
47
|
-
if (opts.activeWhen(f))
|
|
47
|
+
if (opts.activeWhen(f)) simSinceActive = 0;
|
|
48
48
|
},
|
|
49
49
|
skip(f) {
|
|
50
|
-
|
|
50
|
+
const skip = simSinceActive > opts.settleMs(f);
|
|
51
|
+
if (!skip) simSinceActive += f.dt * 1e3;
|
|
52
|
+
return skip;
|
|
51
53
|
}
|
|
52
54
|
};
|
|
53
55
|
},
|