shaders 3.0.439 → 3.0.441
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-BJKQrsoZ.js → AngularBlur-BDxGVOMQ.js} +2 -2
- package/dist/core/{Arc-BZdfWWlz.js → Arc-C981IGmm.js} +2 -2
- package/dist/core/{Ascii-CR5iFmk8.js → Ascii-C_-Jn2_c.js} +2 -2
- package/dist/core/{Aurora-C0KIoJY5.js → Aurora-D66-fTnE.js} +3 -3
- package/dist/core/{BarShift-_mdK3UWW.js → BarShift-DLaO6DjV.js} +3 -3
- package/dist/core/{Beam-DYvBEj6q.js → Beam-mVVEXCwG.js} +2 -2
- package/dist/core/{Blob-DgMJ5M6V.js → Blob-BnBDJJ84.js} +3 -3
- package/dist/core/{BlockNoise-CsBWCDzA.js → BlockNoise-DINAV0qg.js} +3 -3
- package/dist/core/{BlueNoise-D-WjLdgK.js → BlueNoise-B9jPJ1s5.js} +2 -2
- package/dist/core/{Blur-WeJoA31s.js → Blur-DDWaY0Ld.js} +1 -1
- package/dist/core/{BrickPattern-DPez_hvr.js → BrickPattern-DGsAflLE.js} +3 -3
- package/dist/core/{BrightnessContrast-XvDV1ixv.js → BrightnessContrast-CEHGmtvm.js} +1 -1
- package/dist/core/{BrushedMetal-DYwNjVpX.js → BrushedMetal-CcpOuWtJ.js} +5 -5
- package/dist/core/{Bulge-DcBJaYyW.js → Bulge-B3noQSAj.js} +2 -2
- package/dist/core/{CRTScreen-Byau9--w.js → CRTScreen-DL5luEsd.js} +1 -1
- package/dist/core/{CarbonFiber-DwYVLmd0.js → CarbonFiber-CSHN_f_N.js} +4 -4
- package/dist/core/{Chalkboard-D_FVdz4V.js → Chalkboard-BSLaGFyY.js} +2 -2
- package/dist/core/{ChannelBlur-B70l9vql.js → ChannelBlur-CDigdYX8.js} +1 -1
- package/dist/core/{Checkerboard-B_z4be-A.js → Checkerboard-DlZGigj6.js} +2 -2
- package/dist/core/{Chevron-CfGjPdH6.js → Chevron-BuOn9mA1.js} +3 -3
- package/dist/core/{ChromaFlow-B9zZUgzN.js → ChromaFlow-BOB8M0bU.js} +2 -2
- package/dist/core/{ChromaticAberration-BrGXd7kq.js → ChromaticAberration-gtezUw88.js} +2 -2
- package/dist/core/{Circle-DFx6OVnv.js → Circle-Vb7e3gL-.js} +2 -2
- package/dist/core/{ColorWheel-CI_qR6vL.js → ColorWheel-jc1jsi5U.js} +3 -3
- package/dist/core/{CompressionArtifacts-CVWkWovO.js → CompressionArtifacts-DlwHUO-X.js} +1 -1
- package/dist/core/{ConcentricSpin-lAMdNRDl.js → ConcentricSpin-BLIJre0M.js} +3 -3
- package/dist/core/{ConicGradient-C3wD1h2z.js → ConicGradient-BcNQlquk.js} +3 -3
- package/dist/core/{ContourLines-C3Hwaw1Y.js → ContourLines-CkGvhac3.js} +2 -2
- package/dist/core/{CornerPin-DxUoEjhR.js → CornerPin-DYy3m7oY.js} +2 -2
- package/dist/core/{Crescent-BCf_ZZI3.js → Crescent-CrWVqQDf.js} +2 -2
- package/dist/core/{Cross-CeQhwjVB.js → Cross-DUznb_Y-.js} +2 -2
- package/dist/core/{Crystal-CC7d_6kZ.js → Crystal-CgDpYkhN.js} +4 -4
- package/dist/core/{CurlNoise-KsNJEh6E.js → CurlNoise-DAYJuMmN.js} +3 -3
- package/dist/core/{CursorRipples-Jgm7iF0Z.js → CursorRipples-CNP8wzdR.js} +2 -2
- package/dist/core/{CursorTrail-CkNn85vn.js → CursorTrail-B1VULW3E.js} +3 -3
- package/dist/core/{DOMTexture-DFvbXYrj.js → DOMTexture-DROf41BI.js} +1 -1
- package/dist/core/{DataMosh-Dh7TYpbW.js → DataMosh-BYwbcTxJ.js} +1 -1
- package/dist/core/{DiamondGradient-HmZwnTdD.js → DiamondGradient-BB7ajCKo.js} +3 -3
- package/dist/core/{DiffuseBlur-uXE0w0DD.js → DiffuseBlur-KE2fGEND.js} +2 -2
- package/dist/core/{Dither-YUNtD1tI.js → Dither-B8yxWNxE.js} +2 -2
- package/dist/core/{DotGrid-DABCUp6d.js → DotGrid-Doh7yuqR.js} +3 -3
- package/dist/core/{DropShadow-C7KAuipC.js → DropShadow-DhHQBpiK.js} +2 -2
- package/dist/core/{Duotone-CuJunWJ0.js → Duotone-DA3IudVy.js} +2 -2
- package/dist/core/{Ellipse-DrZqqQh2.js → Ellipse-m1D5EVjj.js} +2 -2
- package/dist/core/{Emboss-D_-1_a3u.js → Emboss-C3NBF44G.js} +4 -4
- package/dist/core/{Engraving-fQ1zZJ89.js → Engraving-Bz503L4R.js} +2 -2
- package/dist/core/{ErosionNoise-B01HEvZk.js → ErosionNoise-DOOt5U2Z.js} +2 -2
- package/dist/core/{Exposure-o_CViEwJ.js → Exposure-DkQ4kanv.js} +1 -1
- package/dist/core/{FallingLines-Bv8X8gRy.js → FallingLines-BE6S1TUf.js} +3 -3
- package/dist/core/{FilmGrain-CoW4iHsT.js → FilmGrain-9-Mgc2Ri.js} +1 -1
- package/dist/core/{Flip-h2K3wLGX.js → Flip-Dpi0pVGo.js} +2 -2
- package/dist/core/{FloatingParticles-W_QAKOku.js → FloatingParticles-Qh0dQBmA.js} +2 -2
- package/dist/core/{FlowField-CwU9iWbf.js → FlowField-0UUp41dK.js} +3 -3
- package/dist/core/{Flower-DxOinfag.js → Flower-DJLgm11L.js} +2 -2
- package/dist/core/{FlowingGradient-DdFrloZC.js → FlowingGradient-C01NbZ16.js} +3 -3
- package/dist/core/{FlutedGlass-B9652Bh4.js → FlutedGlass-DIwsLgXX.js} +3 -3
- package/dist/core/{Fog-D5sIF3cX.js → Fog-BwPDTYRv.js} +2 -2
- package/dist/core/{Form3D-BmCwmFPZ.js → Form3D-Csuoy7Rq.js} +3 -3
- package/dist/core/{FractalNoise-BFs55FIe.js → FractalNoise-B9usxoBx.js} +3 -3
- package/dist/core/{Frost-C6qVP9a2.js → Frost-Bhd3oWES.js} +6 -6
- package/dist/core/{GaborNoise-C1LVTyG3.js → GaborNoise-CQX_VPTg.js} +3 -3
- package/dist/core/{Glass-DR9JYQMG.js → Glass-tFOQd3eV.js} +4 -4
- package/dist/core/{GlassTiles-D5Lrddns.js → GlassTiles-C-yPKp5B.js} +1 -1
- package/dist/core/{Glitch-B93JzM-d.js → Glitch-0i5BtHaq.js} +1 -1
- package/dist/core/{Glow-DlxNehzC.js → Glow-CMz4cv5I.js} +1 -1
- package/dist/core/{Godrays-n9Gjl-h6.js → Godrays-D0euidZr.js} +3 -3
- package/dist/core/{Goo-BusLBgE3.js → Goo-AMjCwSDQ.js} +5 -5
- package/dist/core/{GradientMap-CapG6NfM.js → GradientMap-BU4kVWfH.js} +2 -2
- package/dist/core/{Grayscale-Dx9gKGZb.js → Grayscale-iaDYz9To.js} +1 -1
- package/dist/core/{Grid-gZHTJmwP.js → Grid-BwbSPDqS.js} +2 -2
- package/dist/core/{GridDistortion-BkkuULR2.js → GridDistortion-B3S8D94q.js} +2 -2
- package/dist/core/{Group-pHN72R84.js → Group-0BcuiZZM.js} +1 -1
- package/dist/core/{Halftone-dlX8bpPV.js → Halftone-ClxolEhO.js} +2 -2
- package/dist/core/{Heart-CwELiXMT.js → Heart-BdSnsqq-.js} +2 -2
- package/dist/core/{Heatmap-unI_z4Uc.js → Heatmap-CFEEphb2.js} +62 -41
- package/dist/core/{HexGrid-BTWeNz9Z.js → HexGrid-D8CgLdgw.js} +2 -2
- package/dist/core/{Hologram-3-c4mCzw.js → Hologram-IJhpMkKa.js} +5 -5
- package/dist/core/{Holographic-SchvA6Dy.js → Holographic-BbrHmA39.js} +5 -5
- package/dist/core/{HueShift-BJGcv19-.js → HueShift-Bv6qzKH0.js} +1 -1
- package/dist/core/{ImageTexture-CRueGzAZ.js → ImageTexture-Dh6VPuYy.js} +1 -1
- package/dist/core/{Invert-DLot9mli.js → Invert-B8gtmw54.js} +1 -1
- package/dist/core/{IsometricCubes-CFg5QBjO.js → IsometricCubes-BL0ZvkwZ.js} +2 -2
- package/dist/core/{Kaleidoscope-BQFm59wM.js → Kaleidoscope-D4VzDZni.js} +2 -2
- package/dist/core/{KeyFrames-DiAKRsxm.js → KeyFrames-C-nnFGBw.js} +2 -2
- package/dist/core/{LensFlare-BpFbnSsM.js → LensFlare-D_LFHDo0.js} +3 -3
- package/dist/core/{LightEdge-CZpMFMKO.js → LightEdge-Ck4lGBye.js} +5 -5
- package/dist/core/{LightLeak-DGt9quKs.js → LightLeak-DuaMzzKh.js} +3 -3
- package/dist/core/{LinearBlur-ClAsNnkC.js → LinearBlur-CHioFPql.js} +2 -2
- package/dist/core/{LinearGradient-B_dBLhFm.js → LinearGradient-CEz9WjgA.js} +3 -3
- package/dist/core/{LiquidMetal-Bb9b2h9X.js → LiquidMetal-CtbGXpkb.js} +5 -5
- package/dist/core/{Liquify-B9ypclFj.js → Liquify-B0rCOoDY.js} +2 -2
- package/dist/core/{Marble-CZYhaDcz.js → Marble-BJp6F6BF.js} +3 -3
- package/dist/core/{Mirror--NvGPp-u.js → Mirror-9fC_SqqB.js} +2 -2
- package/dist/core/{MultiPointGradient-IJtw3dEC.js → MultiPointGradient-BuDBY6Ax.js} +2 -2
- package/dist/core/{Neon-Der_R-Bh.js → Neon-CgA9zX4Y.js} +4 -4
- package/dist/core/{ObjectTracker-CfW_aMyp.js → ObjectTracker-D1qrJe0c.js} +2 -2
- package/dist/core/{PagePeel-D_DnKmec.js → PagePeel-YA6Q8kM0.js} +1 -1
- package/dist/core/{Paper-CZT7vlqM.js → Paper-Bu3J7_h8.js} +1 -1
- package/dist/core/{Parallelogram-BAi9iFi0.js → Parallelogram-8VWcTkAt.js} +2 -2
- package/dist/core/{Particles-DtxN6LL7.js → Particles-BG7Z-4in.js} +3 -3
- package/dist/core/{PerlinNoise-BCbLpWKn.js → PerlinNoise-gV2dOb_o.js} +3 -3
- package/dist/core/{Perspective-DXIafIz8.js → Perspective-m70JnY4Z.js} +2 -2
- package/dist/core/{PixelSort-BnZgslHG.js → PixelSort-tKcoDnMz.js} +1 -1
- package/dist/core/{PixelThrow-BAVO2zdp.js → PixelThrow-CzelDKa4.js} +2 -2
- package/dist/core/{Pixelate-L-pZ8G79.js → Pixelate-CcBgoqXj.js} +1 -1
- package/dist/core/{Plasma-BELcebZa.js → Plasma-Bsei8uLa.js} +3 -3
- package/dist/core/{Plastic-e8KLjCgS.js → Plastic-D9qe3OWm.js} +5 -5
- package/dist/core/{PolarCoordinates-CNZ6Df5J.js → PolarCoordinates-C9WxI22k.js} +2 -2
- package/dist/core/{Polygon-BGBTOGLe.js → Polygon-D58HZRzJ.js} +2 -2
- package/dist/core/{Posterize-Cs_kyyjG.js → Posterize-DxR6F30M.js} +1 -1
- package/dist/core/{Prism-BUalIt7a.js → Prism-JLQP5dhZ.js} +3 -3
- package/dist/core/{ProgressiveBlur-C2wYIOH-.js → ProgressiveBlur-DpERTuHY.js} +2 -2
- package/dist/core/{RadialGradient-B3tlBsQZ.js → RadialGradient-N4mHVX7b.js} +3 -3
- package/dist/core/ReactionDiffusion-BpLbPwbw.js +4640 -0
- package/dist/core/{RectangularCoordinates-DWWlrqB4.js → RectangularCoordinates-Bt9H7sBE.js} +2 -2
- package/dist/core/{ReflectivePlane-BmM5w76k.js → ReflectivePlane-Cumbz3x2.js} +2 -2
- package/dist/core/{Repeater-V37OGlry.js → Repeater-DuRfWt9x.js} +2 -2
- package/dist/core/{Ring-WVyMeyoh.js → Ring-Cg_pZTin.js} +2 -2
- package/dist/core/{Ripples-Bv__zvme.js → Ripples-BtenteeG.js} +3 -3
- package/dist/core/{RoundedRect-B62UFEeb.js → RoundedRect-C0ETFLNc.js} +2 -2
- package/dist/core/{Saturation-DIRGc5kp.js → Saturation-BbOceqP3.js} +1 -1
- package/dist/core/{Scratches-ZFLTq06k.js → Scratches-B2Q_mgvt.js} +3 -3
- package/dist/core/{Sharpness-WYaGJlSI.js → Sharpness-Bhb9aDxA.js} +1 -1
- package/dist/core/{Shatter-CPS5Kdei.js → Shatter-zxLD4RY8.js} +2 -2
- package/dist/core/{SimplexNoise-DMWtripU.js → SimplexNoise-DTCJ__Jt.js} +3 -3
- package/dist/core/{SineWave-BOoYgny1.js → SineWave-JNTzGGXH.js} +3 -3
- package/dist/core/{Smoke-BGGH2iTS.js → Smoke-BX4EcQdI.js} +3 -3
- package/dist/core/{SmokeFill-ClBFBWz3.js → SmokeFill-9SqGHgJt.js} +4 -4
- package/dist/core/{SmokeFlow-DkBGrN_d.js → SmokeFlow-Cfs5EVW_.js} +3 -3
- package/dist/core/{Solarize-D_ZPY_Cr.js → Solarize-BQq15L3x.js} +1 -1
- package/dist/core/{SolidColor-rdMtlNyB.js → SolidColor-8aFR9Ecl.js} +1 -1
- package/dist/core/{Spherize-h1F31u9-.js → Spherize-Czfb_NCO.js} +2 -2
- package/dist/core/{Spiral-BMFhUpkP.js → Spiral-CO_pymky.js} +3 -3
- package/dist/core/{Star-D8d3Gk74.js → Star-CgLpQtzz.js} +2 -2
- package/dist/core/{Stone-CfpfDKpn.js → Stone-Bl9-bI0G.js} +2 -2
- package/dist/core/{Strands-256prKRG.js → Strands-BdSTwZXc.js} +3 -3
- package/dist/core/{Stretch-C7z0wdI7.js → Stretch-BCZ_vkQn.js} +2 -2
- package/dist/core/{Stripes-BVvuh6r7.js → Stripes-OLW9XYEW.js} +3 -3
- package/dist/core/{StudioBackground-Cy2qPLYJ.js → StudioBackground-ksKsEcWQ.js} +3 -3
- package/dist/core/{SunBurst-vUglW69s.js → SunBurst-B_mkcjjh.js} +3 -3
- package/dist/core/{Surface3D-quYcBdK_.js → Surface3D-D6D9L3et.js} +2 -2
- package/dist/core/{Swirl-BD3Fk-SC.js → Swirl-DMQ-Iq-_.js} +3 -3
- package/dist/core/{Teardrop-Bxfkjjaz.js → Teardrop-Dz5aCCyM.js} +2 -2
- package/dist/core/{Text-CrbVixvj.js → Text-9v36CCo0.js} +2 -2
- package/dist/core/{ThinFilm-D_y48u9e.js → ThinFilm-C28dTgXR.js} +4 -4
- package/dist/core/{TiltShift-3s5RKGCa.js → TiltShift-Df93B2bk.js} +2 -2
- package/dist/core/{Tint-DZUIRc-Z.js → Tint-e-sF3Q5L.js} +2 -2
- package/dist/core/{Trapezoid-7VOLjftp.js → Trapezoid-B6r05rcQ.js} +2 -2
- package/dist/core/{TriangularGrid-Qek0gRuV.js → TriangularGrid-CX7hnKpa.js} +3 -3
- package/dist/core/{Tritone-CqYOMKFE.js → Tritone-CccAEZZ2.js} +2 -2
- package/dist/core/{Truchet-D6emdFny.js → Truchet-DG3fNF5b.js} +2 -2
- package/dist/core/{Twirl-Y8OzHc49.js → Twirl-CtFo8Cjm.js} +2 -2
- package/dist/core/{VHS-B28K9Bfc.js → VHS-CKc1qc0j.js} +1 -1
- package/dist/core/{Vesica-DFRPMcgz.js → Vesica-D1HOV75v.js} +2 -2
- package/dist/core/{Vibrance-BkMNClGf.js → Vibrance-E9-pYAwh.js} +1 -1
- package/dist/core/{VideoTexture-DNfGZ4kz.js → VideoTexture-Df7BPBe-.js} +1 -1
- package/dist/core/{Vignette-DWveIoCk.js → Vignette-DOVH3O7h.js} +2 -2
- package/dist/core/{Voronoi-c1kHPUka.js → Voronoi-BYmYkJfN.js} +3 -3
- package/dist/core/{Water-CEmTC2Ii.js → Water-DAQnd09w.js} +5 -5
- package/dist/core/{Watercolor--Bg1ZPIG.js → Watercolor-B1iwfQSH.js} +2 -2
- package/dist/core/{WaveDistortion-BSyW8c28.js → WaveDistortion-BNkgWs3D.js} +3 -3
- package/dist/core/{WaveletNoise-cDkFw55m.js → WaveletNoise-ByqzdG-6.js} +3 -3
- package/dist/core/{Weave--Ex2UVBt.js → Weave-DeItcIeX.js} +2 -2
- package/dist/core/{WebcamTexture-CPWUtxVm.js → WebcamTexture-BAeqZ7pH.js} +1 -1
- package/dist/core/{Wool-BNmVUISf.js → Wool-Br5Ajlvr.js} +2 -2
- package/dist/core/{WorleyNoise-CbhvPZS-.js → WorleyNoise-D1piyiG2.js} +3 -3
- package/dist/core/{ZoomBlur-BR_do-LV.js → ZoomBlur-ZEtNzn4_.js} +2 -2
- package/dist/core/{coords-CWOT0Wqh.js → coords-DLZT4HVT.js} +136 -13
- package/dist/core/{glass-hUL2pCYG.js → glass-CGThMEIa.js} +1 -1
- package/dist/core/gpu/composer.d.ts.map +1 -1
- package/dist/core/gpu/contract.d.ts +1 -0
- package/dist/core/gpu/contract.d.ts.map +1 -1
- package/dist/core/gpu/kit/sdf3d.d.ts.map +1 -1
- package/dist/core/gpu/transforms.d.ts.map +1 -1
- package/dist/core/index.js +175 -174
- package/dist/core/{noiseColor-WSY8YuLZ.js → noiseColor-kVjc2DJn.js} +2 -2
- package/dist/core/{porters-Dg80Yg90.js → porters-DdcOi7BN.js} +4 -3
- package/dist/core/registry.js +175 -174
- package/dist/core/shaderRegistry-Gsachoy8.js +372 -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 +4 -4
- package/dist/core/shaders/Ascii/index.js +4 -4
- package/dist/core/shaders/Aurora/index.js +4 -4
- package/dist/core/shaders/BarShift/index.js +4 -4
- package/dist/core/shaders/Beam/index.js +4 -4
- package/dist/core/shaders/Blob/index.js +4 -4
- package/dist/core/shaders/BlockNoise/index.js +5 -5
- package/dist/core/shaders/BlueNoise/index.js +5 -5
- package/dist/core/shaders/Blur/index.js +4 -4
- 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 +6 -6
- 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 +6 -6
- package/dist/core/shaders/Chalkboard/index.js +4 -4
- package/dist/core/shaders/ChannelBlur/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 +4 -4
- 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 +4 -4
- package/dist/core/shaders/Cross/index.js +4 -4
- package/dist/core/shaders/Crystal/index.js +6 -6
- package/dist/core/shaders/CurlNoise/index.js +5 -5
- package/dist/core/shaders/CursorRipples/index.js +4 -4
- package/dist/core/shaders/CursorTrail/index.js +4 -4
- package/dist/core/shaders/DOMTexture/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/DiffuseBlur/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 +4 -4
- package/dist/core/shaders/Emboss/index.js +6 -6
- package/dist/core/shaders/Engraving/index.js +4 -4
- package/dist/core/shaders/ErosionNoise/index.js +5 -5
- 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/Flip/index.js +4 -4
- package/dist/core/shaders/FloatingParticles/index.js +4 -4
- package/dist/core/shaders/FlowField/index.js +4 -4
- package/dist/core/shaders/Flower/index.js +4 -4
- package/dist/core/shaders/FlowingGradient/index.js +4 -4
- 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 +4 -4
- package/dist/core/shaders/Frost/index.d.ts.map +1 -1
- package/dist/core/shaders/Frost/index.js +6 -6
- package/dist/core/shaders/GaborNoise/index.js +5 -5
- package/dist/core/shaders/Glass/index.js +6 -6
- package/dist/core/shaders/GlassTiles/index.js +4 -4
- package/dist/core/shaders/Glitch/index.js +4 -4
- package/dist/core/shaders/Glow/index.js +4 -4
- package/dist/core/shaders/Godrays/index.js +4 -4
- package/dist/core/shaders/Goo/index.js +6 -6
- 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/Halftone/index.js +4 -4
- package/dist/core/shaders/Heart/index.js +4 -4
- package/dist/core/shaders/Heatmap/index.d.ts +2 -2
- package/dist/core/shaders/Heatmap/index.d.ts.map +1 -1
- package/dist/core/shaders/Heatmap/index.js +6 -6
- package/dist/core/shaders/HexGrid/index.js +4 -4
- package/dist/core/shaders/Hologram/index.js +6 -6
- package/dist/core/shaders/Holographic/index.js +6 -6
- package/dist/core/shaders/HueShift/index.js +4 -4
- package/dist/core/shaders/ImageTexture/index.js +4 -4
- package/dist/core/shaders/Invert/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/LensFlare/index.js +4 -4
- package/dist/core/shaders/LightEdge/index.js +6 -6
- package/dist/core/shaders/LightLeak/index.js +4 -4
- package/dist/core/shaders/LinearBlur/index.js +4 -4
- package/dist/core/shaders/LinearGradient/index.js +4 -4
- package/dist/core/shaders/LiquidMetal/index.js +6 -6
- package/dist/core/shaders/Liquify/index.js +4 -4
- package/dist/core/shaders/Marble/index.js +4 -4
- 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 +5 -5
- package/dist/core/shaders/ObjectTracker/index.js +4 -4
- package/dist/core/shaders/PagePeel/index.js +4 -4
- package/dist/core/shaders/Paper/index.js +4 -4
- package/dist/core/shaders/Parallelogram/index.js +4 -4
- package/dist/core/shaders/Particles/index.js +5 -5
- package/dist/core/shaders/PerlinNoise/index.js +5 -5
- 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 +4 -4
- package/dist/core/shaders/Plastic/index.js +6 -6
- package/dist/core/shaders/PolarCoordinates/index.js +4 -4
- 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 +4 -4
- package/dist/core/shaders/ProgressiveBlur/index.js +4 -4
- package/dist/core/shaders/RadialGradient/index.js +4 -4
- package/dist/core/shaders/ReactionDiffusion/index.d.ts +163 -0
- package/dist/core/shaders/ReactionDiffusion/index.d.ts.map +1 -0
- package/dist/core/shaders/ReactionDiffusion/index.js +5 -0
- package/dist/core/shaders/RectangularCoordinates/index.js +4 -4
- package/dist/core/shaders/ReflectivePlane/index.js +4 -4
- package/dist/core/shaders/Repeater/index.js +4 -4
- package/dist/core/shaders/Ring/index.js +4 -4
- package/dist/core/shaders/Ripples/index.js +4 -4
- package/dist/core/shaders/RoundedRect/index.js +4 -4
- package/dist/core/shaders/Saturation/index.js +4 -4
- package/dist/core/shaders/Scratches/index.js +5 -5
- 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 +4 -4
- package/dist/core/shaders/SineWave/index.js +4 -4
- package/dist/core/shaders/Smoke/index.js +4 -4
- package/dist/core/shaders/SmokeFill/index.js +6 -6
- 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 +2 -2
- 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 +4 -4
- package/dist/core/shaders/Stone/index.js +3 -3
- 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.js +4 -4
- package/dist/core/shaders/Swirl/index.js +4 -4
- package/dist/core/shaders/Teardrop/index.js +4 -4
- package/dist/core/shaders/Text/index.js +4 -4
- package/dist/core/shaders/ThinFilm/index.js +5 -5
- package/dist/core/shaders/TiltShift/index.js +4 -4
- package/dist/core/shaders/Tint/index.js +4 -4
- package/dist/core/shaders/Trapezoid/index.js +4 -4
- 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/Vesica/index.js +4 -4
- 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 +6 -6
- package/dist/core/shaders/Watercolor/index.js +4 -4
- package/dist/core/shaders/WaveDistortion/index.js +4 -4
- package/dist/core/shaders/WaveletNoise/index.js +5 -5
- package/dist/core/shaders/Weave/index.js +4 -4
- package/dist/core/shaders/WebcamTexture/index.js +4 -4
- package/dist/core/shaders/Wool/index.js +3 -3
- package/dist/core/shaders/WorleyNoise/index.js +4 -4
- package/dist/core/shaders/ZoomBlur/index.js +4 -4
- package/dist/core/{shapeEffectBounds-BlxxsYMN.js → shapeEffectBounds-BglTGD4B.js} +1 -59
- package/dist/core/{transformations-fqzznt4g.js → transformations-P50Uo_Ju.js} +2 -1
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/core/utilities/transformations.d.ts.map +1 -1
- package/dist/js/bundle.js +142 -142
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +25 -0
- package/dist/react/Preview.js +1 -0
- package/dist/react/ReactionDiffusion.js +220 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +138 -138
- package/dist/react/components/ReactionDiffusion.d.ts +40 -0
- package/dist/react/components/ReactionDiffusion.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 +25 -0
- package/dist/registry.js +674 -0
- package/dist/solid/components/ReactionDiffusion.d.ts +37 -0
- package/dist/solid/components/ReactionDiffusion.d.ts.map +1 -0
- package/dist/solid/components/ReactionDiffusion.js +228 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +228 -226
- 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 +112 -110
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +25 -0
- package/dist/svelte/components/ReactionDiffusion.svelte.d.ts +27 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +2131 -1928
- package/dist/svelte/source/components/ReactionDiffusion.svelte +346 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +25 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/ReactionDiffusion.js +3 -0
- package/dist/vue/ReactionDiffusion.vue_vue_type_script_setup_true_lang.js +237 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +39 -17
- package/dist/vue/components/ReactionDiffusion.vue.d.ts +62 -0
- package/dist/vue/components/ReactionDiffusion.vue.d.ts.map +1 -0
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- 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 +25 -0
- package/package.json +9 -6
- package/dist/core/shaderRegistry-DC0r_QlY.js +0 -370
- /package/dist/core/{noiseStylize-C2jzZv4d.js → noiseStylize-BMnwulEm.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const flipUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Ft as floatE, V as createGuardedCompute, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var PARTICLE_TEX = 1024;
|
|
4
4
|
var STATE_FORMAT = "rgba16float";
|
|
5
5
|
var ParticleParams = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(d.struct({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, St as composeEdgeRemapExpr, it as noise_exports, jt as call, kt as ZERO, n as tgpu, nt as mxNoiseFloat3, sn as d, xt as applyEdgeHandlingExpr, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var TWO_PI = Math.PI * 2;
|
|
5
5
|
const flowFieldUV = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, D as shapeLocalCoords, E as sdf_exports, Lt as vec4, Qt as mixColorsLinear, b as flowerSdf, jt as call, k as strokeMaskFromSdf, m as ShapeMask, n as tgpu, sn as d } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const flowerShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { $t as mixColorsVariants, Qt as mixColorsLinear, it as noise_exports, jt as call, n as tgpu, nt as mxNoiseFloat3, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var FOUR_PI = 4 * Math.PI;
|
|
5
5
|
const flowingFactors = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, s as transformEdges } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Ct as edgeClampUV, Et as edgeWrapUV, Gt as unpremultiplyAlpha, Lt as vec4, Pt as expr, Tt as edgeTransparentMask, jt as call, kt as ZERO, n as tgpu, sn as d, wt as edgeMirrorUV, z as std, zt as formatFloat } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var PI = Math.PI;
|
|
5
5
|
const FlutedGeom = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(d.struct({
|
|
6
6
|
refractedUV: d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { H as createStateBuffer, Kt as colorMixing_exports, Lt as vec4, V as createGuardedCompute, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var N = 256;
|
|
4
4
|
var COUNT = N * N;
|
|
5
5
|
var JACOBI_ITERS = 10;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, jt as call, kt as ZERO, ln as __export, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var raymarch3d_exports = /* @__PURE__ */ __export({
|
|
5
5
|
Distortion3DTrace: () => Distortion3DTrace$1,
|
|
6
6
|
applyDistortion3D: () => applyDistortion3D,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
1
|
+
import { W as mixStopsOrColorsExpr, it as noise_exports, jt as call, n as tgpu, sn as d, tt as mxNoiseFloat2, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var GOLDEN = 2.39996;
|
|
5
5
|
const fractalNoiseValue = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
4
|
-
import { t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { E as sdf_exports, Ft as floatE, Lt as vec4, d as sdf3d_exports, it as noise_exports, jt as call, n as tgpu, rt as mxWorleyNoiseFloat2Pub, sn as d, tt as mxNoiseFloat2, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
6
6
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
8
8
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS, is3dShapeType, isVolumetricShapeType } = sdf3d_exports;
|
|
@@ -2592,7 +2592,7 @@ const componentDefinition = {
|
|
|
2592
2592
|
}
|
|
2593
2593
|
},
|
|
2594
2594
|
compute: (params) => {
|
|
2595
|
-
const vf = createVolumetricFieldComputeNode(params, () => params.getCpuValue("shape"), "raw");
|
|
2595
|
+
const vf = createVolumetricFieldComputeNode(params, () => params.getCpuValue("shape"), "raw", "firstLobe");
|
|
2596
2596
|
return vf ? {
|
|
2597
2597
|
outputs: vf.outputs,
|
|
2598
2598
|
getComputeNodes: (fp) => vf.getComputeNodes(fp)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { G as toneAndColorExpr, X as gabor12, it as noise_exports, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-kVjc2DJn.js";
|
|
4
4
|
const gaborNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition, i as transformBoolean } from "./transformations-
|
|
4
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { E as sdf_exports, L as createGaussianBlurCompute, d as sdf3d_exports, kt as ZERO } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
5
5
|
var { applyGlassEffect } = glass_exports;
|
|
6
6
|
var { createSvgSdfSamplerWithGradients, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
7
7
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS, is3dShapeType, isVolumetricShapeType } = sdf3d_exports;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ct as edgeClampUV, Gt as unpremultiplyAlpha, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
var DEG_TO_RAD = Math.PI / 180;
|
|
3
3
|
const glassTilesUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gt as unpremultiplyAlpha, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
var hash11 = tgpu.fn([d.f32], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
return std.fract(__tsover_mul(std.sin(__tsover_mul(p, 78.233)), 43758.5453));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as DEFAULT_COMPUTE_HEIGHT, Gt as unpremultiplyAlpha, I as DEFAULT_COMPUTE_WIDTH, P as BLUR_MAP_FORMAT, R as createVariableGaussianBlurCompute, V as createGuardedCompute, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
var BRIGHT_FORMAT = "rgba16float";
|
|
3
3
|
const glowCompose = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var godraysHash = tgpu.fn([d.vec2f], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
5
5
|
"use gpu";
|
|
6
6
|
return std.fract(__tsover_mul(std.sin(__tsover_add(__tsover_mul(p.x, 127.1), __tsover_mul(p.y, 311.7))), 43758.5453));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
4
|
-
import { t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { E as sdf_exports, Ft as floatE, Lt as vec4, d as sdf3d_exports, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
6
6
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
8
8
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS, is3dShapeType, isVolumetricShapeType } = sdf3d_exports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, Pt as expr, Qt as mixColorsLinear, jt as call, kt as ZERO, n as tgpu, sn as d, z as std, zt as formatFloat } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var PALETTES = {
|
|
4
4
|
0: {
|
|
5
5
|
a: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
const grayscaleColor = tgpu.fn([d.vec4f], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const luminance = std.dot(color.xyz, d.vec3f(.2126, .7152, .0722));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, Lt as vec4, Qt as mixColorsLinear, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const gridCellCenterUV = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, H as createStateBuffer, Pt as expr, St as composeEdgeRemapExpr, V as createGuardedCompute, jt as call, kt as ZERO, n as tgpu, sn as d, xt as applyEdgeHandlingExpr, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var DEFAULT_GRID_SIZE = 20;
|
|
4
4
|
var MIN_GRID = 8;
|
|
5
5
|
var MAX_GRID = 128;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, r as transformAngle } from "./transformations-
|
|
1
|
+
import { Ft as floatE, Gt as unpremultiplyAlpha, Lt as vec4, jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, r as transformAngle } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var SMOOTHNESS = .1;
|
|
4
4
|
var DEG_TO_RAD = Math.PI / 180;
|
|
5
5
|
var transformStyle = (value) => value === "cmyk" ? 1 : 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, D as shapeLocalCoords, E as sdf_exports, Lt as vec4, Qt as mixColorsLinear, jt as call, k as strokeMaskFromSdf, m as ShapeMask, n as tgpu, sn as d, x as heartSdf } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const heartShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
4
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { $t as mixColorsVariants, E as sdf_exports, Lt as vec4, Q as hash12, Qt as mixColorsLinear, _t as mixColorStopsRuntime, d as sdf3d_exports, it as noise_exports, jt as call, n as tgpu, sn as d, ut as value12, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
6
6
|
var { sdfSpaceUV } = glass_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
8
8
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS } = sdf3d_exports;
|
|
@@ -293,7 +293,7 @@ const heatmapHeatField = tgpu.fn([
|
|
|
293
293
|
d.f32,
|
|
294
294
|
d.vec4f,
|
|
295
295
|
d.f32
|
|
296
|
-
], d.
|
|
296
|
+
], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((fieldRaw, sdfUV, animTime, p0, scale) => {
|
|
297
297
|
"use gpu";
|
|
298
298
|
const innerGlow = p0.x;
|
|
299
299
|
const outerGlow = p0.y;
|
|
@@ -329,7 +329,8 @@ const heatmapHeatField = tgpu.fn([
|
|
|
329
329
|
const frame = __tsover_mul(__tsover_mul(__tsover_mul(std.smoothstep(-.06, .1, sdfUV.x), __tsover_sub(1, std.smoothstep(.9, 1.06, sdfUV.x))), std.smoothstep(-.06, .1, sdfUV.y)), __tsover_sub(1, std.smoothstep(.9, 1.06, sdfUV.y)));
|
|
330
330
|
heat = __tsover_mul(heat, frame);
|
|
331
331
|
heat = __tsover_add(heat, __tsover_mul(.005, __tsover_sub(hash12(d.vec2f(__tsover_mul(sdfUV.x, 991.3), __tsover_mul(sdfUV.y, 787.7))), .5)));
|
|
332
|
-
|
|
332
|
+
const coverage = __tsover_mul(std.clamp(__tsover_add(inside, outer), 0, 1), frame);
|
|
333
|
+
return d.vec2f(std.clamp(heat, 0, 1), coverage);
|
|
333
334
|
}), {
|
|
334
335
|
v: 1,
|
|
335
336
|
name: void 0,
|
|
@@ -1249,18 +1250,53 @@ const heatmapHeatField = tgpu.fn([
|
|
|
1249
1250
|
]
|
|
1250
1251
|
]
|
|
1251
1252
|
],
|
|
1253
|
+
[
|
|
1254
|
+
13,
|
|
1255
|
+
"coverage",
|
|
1256
|
+
[
|
|
1257
|
+
1,
|
|
1258
|
+
[
|
|
1259
|
+
6,
|
|
1260
|
+
[
|
|
1261
|
+
7,
|
|
1262
|
+
"std",
|
|
1263
|
+
"clamp"
|
|
1264
|
+
],
|
|
1265
|
+
[
|
|
1266
|
+
[
|
|
1267
|
+
1,
|
|
1268
|
+
"inside",
|
|
1269
|
+
"+",
|
|
1270
|
+
"outer"
|
|
1271
|
+
],
|
|
1272
|
+
[5, "0"],
|
|
1273
|
+
[5, "1"]
|
|
1274
|
+
]
|
|
1275
|
+
],
|
|
1276
|
+
"*",
|
|
1277
|
+
"frame"
|
|
1278
|
+
]
|
|
1279
|
+
],
|
|
1252
1280
|
[10, [
|
|
1253
1281
|
6,
|
|
1254
1282
|
[
|
|
1255
1283
|
7,
|
|
1256
|
-
"
|
|
1257
|
-
"
|
|
1284
|
+
"d",
|
|
1285
|
+
"vec2f"
|
|
1258
1286
|
],
|
|
1259
|
-
[
|
|
1260
|
-
|
|
1261
|
-
[
|
|
1262
|
-
|
|
1263
|
-
|
|
1287
|
+
[[
|
|
1288
|
+
6,
|
|
1289
|
+
[
|
|
1290
|
+
7,
|
|
1291
|
+
"std",
|
|
1292
|
+
"clamp"
|
|
1293
|
+
],
|
|
1294
|
+
[
|
|
1295
|
+
"heat",
|
|
1296
|
+
[5, "0"],
|
|
1297
|
+
[5, "1"]
|
|
1298
|
+
]
|
|
1299
|
+
], "coverage"]
|
|
1264
1300
|
]]
|
|
1265
1301
|
]],
|
|
1266
1302
|
"externalNames": [
|
|
@@ -1279,38 +1315,21 @@ const heatmapHeatField = tgpu.fn([
|
|
|
1279
1315
|
d
|
|
1280
1316
|
})
|
|
1281
1317
|
}) && $.f)({}));
|
|
1282
|
-
const heatmapCompose = tgpu.fn([d.f32, d.vec4f], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((
|
|
1318
|
+
const heatmapCompose = tgpu.fn([d.f32, d.vec4f], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((coverage, ramp) => {
|
|
1283
1319
|
"use gpu";
|
|
1284
|
-
|
|
1285
|
-
return d.vec4f(std.clamp(ramp.xyz, d.vec3f(0), d.vec3f(1)), __tsover_mul(ramp.w, shapeA));
|
|
1320
|
+
return d.vec4f(std.clamp(ramp.xyz, d.vec3f(0), d.vec3f(1)), __tsover_mul(ramp.w, coverage));
|
|
1286
1321
|
}), {
|
|
1287
1322
|
v: 1,
|
|
1288
1323
|
name: void 0,
|
|
1289
1324
|
ast: {
|
|
1290
1325
|
"params": [{
|
|
1291
1326
|
"type": "i",
|
|
1292
|
-
"name": "
|
|
1327
|
+
"name": "coverage"
|
|
1293
1328
|
}, {
|
|
1294
1329
|
"type": "i",
|
|
1295
1330
|
"name": "ramp"
|
|
1296
1331
|
}],
|
|
1297
|
-
"body": [0, [[
|
|
1298
|
-
13,
|
|
1299
|
-
"shapeA",
|
|
1300
|
-
[
|
|
1301
|
-
6,
|
|
1302
|
-
[
|
|
1303
|
-
7,
|
|
1304
|
-
"std",
|
|
1305
|
-
"smoothstep"
|
|
1306
|
-
],
|
|
1307
|
-
[
|
|
1308
|
-
[5, "0"],
|
|
1309
|
-
[5, "0.15"],
|
|
1310
|
-
"heat"
|
|
1311
|
-
]
|
|
1312
|
-
]
|
|
1313
|
-
], [10, [
|
|
1332
|
+
"body": [0, [[10, [
|
|
1314
1333
|
6,
|
|
1315
1334
|
[
|
|
1316
1335
|
7,
|
|
@@ -1357,14 +1376,14 @@ const heatmapCompose = tgpu.fn([d.f32, d.vec4f], d.vec4f)(/* @__PURE__ */ (($) =
|
|
|
1357
1376
|
"w"
|
|
1358
1377
|
],
|
|
1359
1378
|
"*",
|
|
1360
|
-
"
|
|
1379
|
+
"coverage"
|
|
1361
1380
|
]]
|
|
1362
1381
|
]]]],
|
|
1363
|
-
"externalNames": ["
|
|
1382
|
+
"externalNames": ["d", "std"]
|
|
1364
1383
|
},
|
|
1365
1384
|
externals: () => ({
|
|
1366
|
-
|
|
1367
|
-
|
|
1385
|
+
d,
|
|
1386
|
+
std
|
|
1368
1387
|
})
|
|
1369
1388
|
}) && $.f)({}));
|
|
1370
1389
|
const componentDefinition = {
|
|
@@ -1575,13 +1594,15 @@ const componentDefinition = {
|
|
|
1575
1594
|
const surf0 = sampler(sdfUV);
|
|
1576
1595
|
const t = animatedTime(params);
|
|
1577
1596
|
const p0 = vec4(uniforms.innerGlow, uniforms.outerGlow, uniforms.contour, uniforms.angle);
|
|
1578
|
-
const
|
|
1597
|
+
const field = call(heatmapHeatField, "heatmapHeatField", [
|
|
1579
1598
|
surf0.member("r"),
|
|
1580
1599
|
sdfUV,
|
|
1581
1600
|
t,
|
|
1582
1601
|
p0,
|
|
1583
1602
|
uniforms.scale
|
|
1584
1603
|
]);
|
|
1604
|
+
const heat = field.member("x");
|
|
1605
|
+
const coverage = field.member("y");
|
|
1585
1606
|
const colorSpaceMode = propValues.colorSpace ?? 0;
|
|
1586
1607
|
const stopCount = propValues.stopCount ?? 0;
|
|
1587
1608
|
let ramp;
|
|
@@ -1596,7 +1617,7 @@ const componentDefinition = {
|
|
|
1596
1617
|
uniforms.colorB,
|
|
1597
1618
|
heat
|
|
1598
1619
|
]);
|
|
1599
|
-
return call(heatmapCompose, "heatmapCompose", [
|
|
1620
|
+
return call(heatmapCompose, "heatmapCompose", [coverage, ramp]);
|
|
1600
1621
|
}
|
|
1601
1622
|
};
|
|
1602
1623
|
var Heatmap_default = componentDefinition;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, Lt as vec4, Qt as mixColorsLinear, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
var SQRT3 = Math.sqrt(3);
|
|
5
5
|
var INV_SQRT3_2 = 2 / Math.sqrt(3);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
4
|
-
import { t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { E as sdf_exports, Ft as floatE, Lt as vec4, d as sdf3d_exports, it as noise_exports, jt as call, n as tgpu, sn as d, tt as mxNoiseFloat2, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
6
6
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
8
8
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS, is3dShapeType, isVolumetricShapeType } = sdf3d_exports;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { c as transformPosition } from "./transformations-
|
|
4
|
-
import { t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { E as sdf_exports, Ft as floatE, Lt as vec4, d as sdf3d_exports, it as noise_exports, jt as call, n as tgpu, sn as d, tt as mxNoiseFloat2, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
6
6
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
8
8
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS, is3dShapeType, isVolumetricShapeType } = sdf3d_exports;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jt as call, kt as ZERO, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
2
|
var DEG_TO_RAD = Math.PI / 180;
|
|
3
3
|
var SQRT3 = 1.7320508075688772;
|
|
4
4
|
const hueShiftColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, shiftDeg) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as scaleContain, i as sampleUV, jt as call, l as scaleScaleDown, o as scaleCover, r as alphaCutLinear, s as scaleFill } from "./coords-DLZT4HVT.js";
|
|
2
2
|
var OBJECT_FIT_MODES = {
|
|
3
3
|
cover: 0,
|
|
4
4
|
contain: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jt as call, kt as ZERO, n as tgpu, sn as d } from "./coords-DLZT4HVT.js";
|
|
2
2
|
const invertColor = tgpu.fn([d.vec4f], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
return d.vec4f(__tsover_sub(1, color.x), __tsover_sub(1, color.y), __tsover_sub(1, color.z), color.w);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { $t as mixColorsVariants, It as mixExpr, Lt as vec4, Qt as mixColorsLinear, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
var SQRT3 = Math.sqrt(3);
|
|
5
5
|
var SQRT3_2 = Math.sqrt(3) / 2;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
1
|
+
import { Gt as unpremultiplyAlpha, St as composeEdgeRemapExpr, jt as call, kt as ZERO, n as tgpu, sn as d, xt as applyEdgeHandlingExpr, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
var TAU = Math.PI * 2;
|
|
5
5
|
const kaleidoscopeUV = tgpu.fn([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Rt as Expr, V as createGuardedCompute, kt as ZERO, n as tgpu, sn as d, z as std, zt as formatFloat } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var MAX_TRACKERS = 64;
|
|
4
4
|
var TRAIL_LEN = 12;
|
|
5
5
|
var TRAIL_EVERY = 8;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Lt as vec4, jt as call, n as tgpu, sn as d, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
var TAU = 6.2831853;
|
|
5
5
|
var lensFlareSpectral = tgpu.fn([d.f32], d.vec3f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((t) => {
|
|
6
6
|
"use gpu";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
4
|
-
import { m as colorStopsPropConfig, p as MAX_COLOR_STOPS, t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { $ as hash22, $t as mixColorsVariants, E as sdf_exports, Ft as floatE, Qt as mixColorsLinear, d as sdf3d_exports, it as noise_exports, jt as call, n as tgpu, sn as d, u as VOLUMETRIC_FIELD_EXTRA_FIELDS$1, ut as value12, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-CGThMEIa.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
4
|
+
import { m as colorStopsPropConfig, p as MAX_COLOR_STOPS, t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-BglTGD4B.js";
|
|
6
6
|
var { sdfSpaceUV } = glass_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
8
8
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler } = sdf3d_exports;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Q as hash12, it as noise_exports, jt as call, kt as ZERO, n as tgpu, sn as d, ut as value12, z as std } from "./coords-DLZT4HVT.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-DdcOi7BN.js";
|
|
4
4
|
const lightLeakRamp = tgpu.fn([
|
|
5
5
|
d.f32,
|
|
6
6
|
d.vec3f,
|