shaders 3.0.440 → 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 +1 -1
- package/dist/vue/components/ReactionDiffusion.vue.d.ts +62 -0
- package/dist/vue/components/ReactionDiffusion.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +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 "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { n as componentDefinition, r as twirlUV, t as Twirl_default } from "../../Twirl-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { n as componentDefinition, r as twirlUV, t as Twirl_default } from "../../Twirl-CtFo8Cjm.js";
|
|
5
5
|
export { componentDefinition, Twirl_default as default, twirlUV };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { a as vhsCompose, i as vhsChromaTapUV, n as componentDefinition, o as vhsSampleUVs, r as vhsAcBeat, t as VHS_default } from "../../VHS-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { a as vhsCompose, i as vhsChromaTapUV, n as componentDefinition, o as vhsSampleUVs, r as vhsAcBeat, t as VHS_default } from "../../VHS-CKc1qc0j.js";
|
|
5
5
|
export { componentDefinition, VHS_default as default, vhsAcBeat, vhsChromaTapUV, vhsCompose, vhsSampleUVs };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { n as componentDefinition, r as vesicaShape, t as Vesica_default } from "../../Vesica-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { n as componentDefinition, r as vesicaShape, t as Vesica_default } from "../../Vesica-D1HOV75v.js";
|
|
5
5
|
export { componentDefinition, Vesica_default as default, vesicaShape };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { n as componentDefinition, r as vibranceColor, t as Vibrance_default } from "../../Vibrance-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { n as componentDefinition, r as vibranceColor, t as Vibrance_default } from "../../Vibrance-E9-pYAwh.js";
|
|
5
5
|
export { componentDefinition, Vibrance_default as default, vibranceColor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { a as videoSampleUV, c as videoScaleFill, i as videoAlphaCut, l as videoScaleScaleDown, n as componentDefinition, o as videoScaleContain, r as srgbToLinear, s as videoScaleCover, t as VideoTexture_default } from "../../VideoTexture-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { a as videoSampleUV, c as videoScaleFill, i as videoAlphaCut, l as videoScaleScaleDown, n as componentDefinition, o as videoScaleContain, r as srgbToLinear, s as videoScaleCover, t as VideoTexture_default } from "../../VideoTexture-Df7BPBe-.js";
|
|
5
5
|
export { componentDefinition, VideoTexture_default as default, srgbToLinear, videoAlphaCut, videoSampleUV, videoScaleContain, videoScaleCover, videoScaleFill, videoScaleScaleDown };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { n as componentDefinition, r as vignetteColor, t as Vignette_default } from "../../Vignette-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { n as componentDefinition, r as vignetteColor, t as Vignette_default } from "../../Vignette-DOVH3O7h.js";
|
|
5
5
|
export { componentDefinition, Vignette_default as default, vignetteColor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { n as componentDefinition, r as voronoiField, t as Voronoi_default } from "../../Voronoi-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { n as componentDefinition, r as voronoiField, t as Voronoi_default } from "../../Voronoi-BYmYkJfN.js";
|
|
5
5
|
export { componentDefinition, Voronoi_default as default, voronoiField };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../glass-
|
|
3
|
-
import "../../transformations-
|
|
4
|
-
import "../../porters-
|
|
5
|
-
import "../../shapeEffectBounds-
|
|
6
|
-
import { a as waterNoise1, i as waterFbm, n as componentDefinition, o as waterSky, r as waterComposite, t as Water_default } from "../../Water-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../glass-CGThMEIa.js";
|
|
3
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
+
import "../../porters-DdcOi7BN.js";
|
|
5
|
+
import "../../shapeEffectBounds-BglTGD4B.js";
|
|
6
|
+
import { a as waterNoise1, i as waterFbm, n as componentDefinition, o as waterSky, r as waterComposite, t as Water_default } from "../../Water-DAQnd09w.js";
|
|
7
7
|
export { componentDefinition, Water_default as default, waterComposite, waterFbm, waterNoise1, waterSky };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { a as watercolorTapUV, i as watercolorGrain, n as componentDefinition, o as watercolorUvBase, r as watercolorCompose, t as Watercolor_default } from "../../Watercolor
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { a as watercolorTapUV, i as watercolorGrain, n as componentDefinition, o as watercolorUvBase, r as watercolorCompose, t as Watercolor_default } from "../../Watercolor-B1iwfQSH.js";
|
|
5
5
|
export { componentDefinition, Watercolor_default as default, watercolorCompose, watercolorGrain, watercolorTapUV, watercolorUvBase };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { a as waveDistortSawtooth, c as waveDistortTriangle, i as waveDistortBounce, l as wavePhase, n as componentDefinition, o as waveDistortSine, r as waveApply, s as waveDistortSquare, t as WaveDistortion_default } from "../../WaveDistortion-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { a as waveDistortSawtooth, c as waveDistortTriangle, i as waveDistortBounce, l as wavePhase, n as componentDefinition, o as waveDistortSine, r as waveApply, s as waveDistortSquare, t as WaveDistortion_default } from "../../WaveDistortion-BNkgWs3D.js";
|
|
5
5
|
export { componentDefinition, WaveDistortion_default as default, waveApply, waveDistortBounce, waveDistortSawtooth, waveDistortSine, waveDistortSquare, waveDistortTriangle, wavePhase };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../noiseColor-
|
|
5
|
-
import { n as componentDefinition, r as waveletNoiseField, t as WaveletNoise_default } from "../../WaveletNoise-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import "../../noiseColor-kVjc2DJn.js";
|
|
5
|
+
import { n as componentDefinition, r as waveletNoiseField, t as WaveletNoise_default } from "../../WaveletNoise-ByqzdG-6.js";
|
|
6
6
|
export { componentDefinition, WaveletNoise_default as default, waveletNoiseField };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { n as componentDefinition, r as weaveColor, t as Weave_default } from "../../Weave
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { n as componentDefinition, r as weaveColor, t as Weave_default } from "../../Weave-DeItcIeX.js";
|
|
5
5
|
export { componentDefinition, Weave_default as default, weaveColor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { n as applyMirror, r as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { n as applyMirror, r as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-BAeqZ7pH.js";
|
|
5
5
|
export { applyMirror, componentDefinition, WebcamTexture_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../noiseStylize-
|
|
3
|
-
import { n as componentDefinition, t as Wool_default } from "../../Wool-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../noiseStylize-BMnwulEm.js";
|
|
3
|
+
import { n as componentDefinition, t as Wool_default } from "../../Wool-Br5Ajlvr.js";
|
|
4
4
|
export { componentDefinition, Wool_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { a as worleyNoiseField, i as worleyHash, n as componentDefinition, o as worleyTone, r as worleyEvalOctave, t as WorleyNoise_default } from "../../WorleyNoise-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { a as worleyNoiseField, i as worleyHash, n as componentDefinition, o as worleyTone, r as worleyEvalOctave, t as WorleyNoise_default } from "../../WorleyNoise-D1piyiG2.js";
|
|
5
5
|
export { componentDefinition, WorleyNoise_default as default, worleyEvalOctave, worleyHash, worleyNoiseField, worleyTone };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../coords-
|
|
2
|
-
import "../../transformations-
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import { a as zoomBlurTapCoord, i as componentDefinition, n as TAP_COUNT, r as ZoomBlur_default, t as BLUR_WEIGHTS } from "../../ZoomBlur-
|
|
1
|
+
import "../../coords-DLZT4HVT.js";
|
|
2
|
+
import "../../transformations-P50Uo_Ju.js";
|
|
3
|
+
import "../../porters-DdcOi7BN.js";
|
|
4
|
+
import { a as zoomBlurTapCoord, i as componentDefinition, n as TAP_COUNT, r as ZoomBlur_default, t as BLUR_WEIGHTS } from "../../ZoomBlur-ZEtNzn4_.js";
|
|
5
5
|
export { BLUR_WEIGHTS, TAP_COUNT, componentDefinition, ZoomBlur_default as default, zoomBlurTapCoord };
|
|
@@ -1,62 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var cache = {};
|
|
3
|
-
var pending = /* @__PURE__ */ new Set();
|
|
4
|
-
var waiters = {};
|
|
5
|
-
function getSdfContentBounds(url, onReady) {
|
|
6
|
-
if (!url) return null;
|
|
7
|
-
if (url in cache) return cache[url];
|
|
8
|
-
if (onReady) (waiters[url] ??= []).push(onReady);
|
|
9
|
-
if (!pending.has(url)) {
|
|
10
|
-
pending.add(url);
|
|
11
|
-
scan(url);
|
|
12
|
-
}
|
|
13
|
-
return null;
|
|
14
|
-
}
|
|
15
|
-
async function scan(url) {
|
|
16
|
-
try {
|
|
17
|
-
const res = await fetch(url, { mode: "cors" });
|
|
18
|
-
if (!res.ok) {
|
|
19
|
-
cache[url] = null;
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const buf = await res.arrayBuffer();
|
|
23
|
-
const pixelCount = SVG_SDF_SIZE * SVG_SDF_SIZE;
|
|
24
|
-
if (buf.byteLength !== pixelCount * 2 && buf.byteLength !== pixelCount * 4) {
|
|
25
|
-
cache[url] = null;
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
const valueAt = buf.byteLength === pixelCount * 2 ? (() => {
|
|
29
|
-
const u = new Uint16Array(buf);
|
|
30
|
-
return (i) => u[i] / 32767.5 - 1;
|
|
31
|
-
})() : (() => {
|
|
32
|
-
const f = new Float32Array(buf);
|
|
33
|
-
return (i) => f[i];
|
|
34
|
-
})();
|
|
35
|
-
let minX = SVG_SDF_SIZE, minY = SVG_SDF_SIZE, maxX = -1, maxY = -1;
|
|
36
|
-
for (let y = 0; y < SVG_SDF_SIZE; y++) {
|
|
37
|
-
const row = y * SVG_SDF_SIZE;
|
|
38
|
-
for (let x = 0; x < SVG_SDF_SIZE; x++) if (valueAt(row + x) < 0) {
|
|
39
|
-
if (x < minX) minX = x;
|
|
40
|
-
if (x > maxX) maxX = x;
|
|
41
|
-
if (y < minY) minY = y;
|
|
42
|
-
if (y > maxY) maxY = y;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
cache[url] = maxX < 0 ? null : {
|
|
46
|
-
hwf: (maxX - minX + 1) / SVG_SDF_SIZE / 2,
|
|
47
|
-
hhf: (maxY - minY + 1) / SVG_SDF_SIZE / 2
|
|
48
|
-
};
|
|
49
|
-
} catch {
|
|
50
|
-
cache[url] = null;
|
|
51
|
-
} finally {
|
|
52
|
-
pending.delete(url);
|
|
53
|
-
const fns = waiters[url];
|
|
54
|
-
if (fns) {
|
|
55
|
-
delete waiters[url];
|
|
56
|
-
for (const fn of fns) fn();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
import { f as getSdfContentBounds } from "./coords-DLZT4HVT.js";
|
|
60
2
|
const SHAPE3D_TYPES = [
|
|
61
3
|
"sphere3D",
|
|
62
4
|
"cube3D",
|
|
@@ -4591,11 +4591,12 @@ function parseColorChannels(value) {
|
|
|
4591
4591
|
const threeColor = new Color(value);
|
|
4592
4592
|
const targetSpace = colorSpaceMode === "srgb" ? "srgb-linear" : "p3-linear";
|
|
4593
4593
|
const coords = threeColor.to(targetSpace).coords;
|
|
4594
|
+
const alpha = Number(threeColor.alpha);
|
|
4594
4595
|
return {
|
|
4595
4596
|
r: Number.isFinite(coords?.[0]) ? coords[0] : 0,
|
|
4596
4597
|
g: Number.isFinite(coords?.[1]) ? coords[1] : 0,
|
|
4597
4598
|
b: Number.isFinite(coords?.[2]) ? coords[2] : 0,
|
|
4598
|
-
a: Number.isFinite(
|
|
4599
|
+
a: Number.isFinite(alpha) ? alpha : 1
|
|
4599
4600
|
};
|
|
4600
4601
|
} catch {
|
|
4601
4602
|
return {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as transformColor, c as transformPosition, i as transformBoolean, l as transformStrokePosition, n as setColorSpaceMode, o as transformColorSpace, r as transformAngle, s as transformEdges, t as colorSpaceOptions } from "../../transformations-
|
|
1
|
+
import { a as transformColor, c as transformPosition, i as transformBoolean, l as transformStrokePosition, n as setColorSpaceMode, o as transformColorSpace, r as transformAngle, s as transformEdges, t as colorSpaceOptions } from "../../transformations-P50Uo_Ju.js";
|
|
2
2
|
export { colorSpaceOptions, setColorSpaceMode, transformAngle, transformBoolean, transformColor, transformColorSpace, transformEdges, transformPosition, transformStrokePosition };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformations.d.ts","sourceRoot":"","sources":["../../src/utilities/transformations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAA;AAOlE,eAAO,MAAM,iBAAiB,SAAU,WAAW,GAAG,MAAM,SAE3D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,UAAW,OAAO,WAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"transformations.d.ts","sourceRoot":"","sources":["../../src/utilities/transformations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAEhD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAA;AAOlE,eAAO,MAAM,iBAAiB,SAAU,WAAW,GAAG,MAAM,SAE3D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,UAAW,OAAO,WAAkB,CAAA;AAqCjE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,UAAW,MAAM;OAnCK,MAAM;OAAK,MAAM;OAAK,MAAM;OAAK,MAAM;CAmCd,CAAA;AAE1E;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB,UAAW;IAAC,CAAC,EAAE,iBAAiB,CAAC;IAAC,CAAC,EAAE,iBAAiB,CAAA;CAAC,GAAG,MAAM;;;CAiE7F,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,UAAW,MAAM,GAAG,MAAM,KAAG,MAyEvD,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,MAe9C,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,UAAW,MAAM,KAAG,MAGvD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;GAO7B,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,UAAW,MAAM,KAAG,MAiBnD,CAAA"}
|