shaders 3.0.436 → 3.0.438
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-DRlZFAmX.js → AngularBlur-CFsh0PlD.js} +1 -1
- package/dist/core/{Arc-BvNhkOAT.js → Arc-CUnOmySr.js} +1 -1
- package/dist/core/{Ascii-B3QbsnTj.js → Ascii-BLLIv-3N.js} +1 -1
- package/dist/core/{Aurora-DxmihKDt.js → Aurora-B_5FkTB2.js} +2 -2
- package/dist/core/{BarShift-Bc2d2NZ6.js → BarShift-Ca-1XYfx.js} +2 -2
- package/dist/core/{Beam-BdC36DD5.js → Beam-DRdKJKir.js} +1 -1
- package/dist/core/{Blob-wBvtPxKh.js → Blob-BRTcopJC.js} +2 -2
- package/dist/core/{BlockNoise-RSg0q5_6.js → BlockNoise-CA933kae.js} +3 -3
- package/dist/core/{BlueNoise-BnHwHhtc.js → BlueNoise-BeFfRr-o.js} +2 -2
- package/dist/core/{Blur-xYIgD4yj.js → Blur-l7HgDuUW.js} +1 -1
- package/dist/core/{BrickPattern-CH_r3AaT.js → BrickPattern-BWK7-KwE.js} +2 -2
- package/dist/core/{BrightnessContrast-CmJOINxr.js → BrightnessContrast-Dh8qSRLx.js} +1 -1
- package/dist/core/{BrushedMetal-BAqVn4_0.js → BrushedMetal-CvIXubZz.js} +3 -3
- package/dist/core/{Bulge-Dj_y5RrP.js → Bulge-d93jKEwv.js} +1 -1
- package/dist/core/{CRTScreen-D4ze-arS.js → CRTScreen-CSBjpbn4.js} +1 -1
- package/dist/core/{CarbonFiber-DBMXEOuV.js → CarbonFiber-G7vIOz5W.js} +2 -2
- package/dist/core/{Chalkboard-CFEtKLYx.js → Chalkboard-C9PtcnYN.js} +1 -1
- package/dist/core/{ChannelBlur-C-8ZLLv5.js → ChannelBlur-B1bY63Fb.js} +1 -1
- package/dist/core/{Checkerboard-DVhxbyz4.js → Checkerboard-DbjFO-fF.js} +1 -1
- package/dist/core/{Chevron-CcK0EpIo.js → Chevron-D5-x4Wwd.js} +2 -2
- package/dist/core/{ChromaFlow-Dnnkc0FJ.js → ChromaFlow-CuLYMObY.js} +1 -1
- package/dist/core/{ChromaticAberration-DKUoRwS7.js → ChromaticAberration-Dwvzvb8a.js} +1 -1
- package/dist/core/{Circle-E-QG-2dX.js → Circle-BLNjdX3R.js} +1 -1
- package/dist/core/{ColorWheel-vlU3nYtc.js → ColorWheel-CA_34-9I.js} +2 -2
- package/dist/core/{CompressionArtifacts-QK7Dgm-z.js → CompressionArtifacts-3lIojU64.js} +1 -1
- package/dist/core/{ConcentricSpin-BC54Cft7.js → ConcentricSpin-FJuBPPHi.js} +2 -2
- package/dist/core/{ConicGradient-BdJLjXQ3.js → ConicGradient-f9jCXFuK.js} +2 -2
- package/dist/core/{ContourLines-DVSmTPml.js → ContourLines-Clnm2pQU.js} +1 -1
- package/dist/core/{CornerPin-DuV0Xy5_.js → CornerPin-ecpjb9do.js} +1 -1
- package/dist/core/{Crescent-BH0A_-JE.js → Crescent-CO5EZzD1.js} +1 -1
- package/dist/core/{Cross-B9_p_uj5.js → Cross-CofGHkIn.js} +1 -1
- package/dist/core/{Crystal-CZuwaMT3.js → Crystal-C_aHlQ_3.js} +2 -2
- package/dist/core/{CurlNoise-BrxGLvSX.js → CurlNoise-Br5XEf1K.js} +3 -3
- package/dist/core/{CursorRipples-CYJg7vf4.js → CursorRipples-CLYoq-BF.js} +1 -1
- package/dist/core/{CursorTrail-BRkSstsR.js → CursorTrail-c-t96YgV.js} +2 -2
- package/dist/core/{DOMTexture-ClKGghvY.js → DOMTexture-Zxx_WTGZ.js} +1 -1
- package/dist/core/{DataMosh-DKxrBbQ2.js → DataMosh-BSYAol1u.js} +1 -1
- package/dist/core/{DiamondGradient-BTrGXbx8.js → DiamondGradient-uyUPtPc3.js} +2 -2
- package/dist/core/{DiffuseBlur-BtpNe6Sa.js → DiffuseBlur-Cw9duoJ7.js} +1 -1
- package/dist/core/{Dither-DgTDaKzp.js → Dither-B3ulhQOh.js} +1 -1
- package/dist/core/{DotGrid-BzqjmO-7.js → DotGrid-ioUj-Lim.js} +2 -2
- package/dist/core/{DropShadow-C0nj70GL.js → DropShadow-BRL7yRmy.js} +1 -1
- package/dist/core/{Duotone-YU9ZSjA5.js → Duotone-Df34HelN.js} +1 -1
- package/dist/core/{Ellipse-wgawYD-f.js → Ellipse-BHxcxCpl.js} +1 -1
- package/dist/core/{Emboss-BipX5lqn.js → Emboss-D-qOxM2u.js} +2 -2
- package/dist/core/{Engraving-BE-B1vPA.js → Engraving-B1ebFc1E.js} +1 -1
- package/dist/core/{ErosionNoise-D5aHuJbL.js → ErosionNoise-ZrJulbtK.js} +2 -2
- package/dist/core/{Exposure-BOcf-UEs.js → Exposure-D8apJapP.js} +1 -1
- package/dist/core/{FallingLines-_dhfhU2c.js → FallingLines-DsMBKjEZ.js} +2 -2
- package/dist/core/{FilmGrain-B9ktlnmx.js → FilmGrain-DeW-yw_v.js} +1 -1
- package/dist/core/{Flip-Bj0ogF9O.js → Flip-Dw194RY6.js} +1 -1
- package/dist/core/{FloatingParticles-C_Te8jN0.js → FloatingParticles--Y81hnnp.js} +1 -1
- package/dist/core/{FlowField-DElNva__.js → FlowField-CiK49M8B.js} +2 -2
- package/dist/core/{Flower-CXkCmBLZ.js → Flower-Cdg8fOzZ.js} +1 -1
- package/dist/core/{FlowingGradient-c94PnUCE.js → FlowingGradient-B1Iywvbd.js} +2 -2
- package/dist/core/{FlutedGlass-B_jQaMKv.js → FlutedGlass-Crp432sd.js} +2 -2
- package/dist/core/{Fog-u8bGUQf6.js → Fog-ClrsfQfj.js} +1 -1
- package/dist/core/{Form3D-C9UbLEZP.js → Form3D-CrT8E1u5.js} +2 -2
- package/dist/core/{FractalNoise-7wsXyM6s.js → FractalNoise-DeDp7KQE.js} +2 -2
- package/dist/core/{Frost-BWLU-0fX.js → Frost-IvGmzNqf.js} +3 -3
- package/dist/core/{GaborNoise-D9V48kJk.js → GaborNoise-Bmhmuq_Z.js} +3 -3
- package/dist/core/{Glass-Dkfn0SMt.js → Glass-CJFR7oIt.js} +2 -2
- package/dist/core/{GlassTiles-BGLDfREy.js → GlassTiles-BSBCjkhG.js} +1 -1
- package/dist/core/{Glitch-D0kocysI.js → Glitch-Bp0LbC1u.js} +1 -1
- package/dist/core/{Glow-CfBRrrll.js → Glow-CVBYSMxr.js} +1 -1
- package/dist/core/{Godrays-DxO0SnTg.js → Godrays-C0VLmrcc.js} +2 -2
- package/dist/core/{Goo-C5R23imu.js → Goo-D-X3mP-n.js} +3 -3
- package/dist/core/{GradientMap-auP4lpvS.js → GradientMap-uRYa7Yhv.js} +1 -1
- package/dist/core/{Grayscale--f1szxQm.js → Grayscale-DUGCGltR.js} +1 -1
- package/dist/core/{Grid-1jWuMzCJ.js → Grid-FtTNW6zy.js} +1 -1
- package/dist/core/{GridDistortion-C-rfTS4P.js → GridDistortion-lKZ4wpxx.js} +1 -1
- package/dist/core/{Group-DVaRgIft.js → Group-BNE6w-Ls.js} +1 -1
- package/dist/core/{Halftone-fv27xqzX.js → Halftone-BdmAqFEa.js} +1 -1
- package/dist/core/{Heart-Dd1xGz1I.js → Heart-iGATzBCZ.js} +1 -1
- package/dist/core/{Heatmap-Dv5ZM0Kw.js → Heatmap-dBfHUyG-.js} +3 -3
- package/dist/core/{HexGrid-BM6CHcCO.js → HexGrid-BUe3dyym.js} +1 -1
- package/dist/core/{Hologram-DWO6FCBx.js → Hologram-BQ1kz8M2.js} +3 -3
- package/dist/core/{Holographic-DMNxCZ-k.js → Holographic-B39ULAli.js} +3 -3
- package/dist/core/{HueShift-Btl0eaL3.js → HueShift-DeP_0kOt.js} +1 -1
- package/dist/core/{ImageTexture-FBLaCYIS.js → ImageTexture-Bzh0A17b.js} +1 -1
- package/dist/core/{Invert-XjiEBJkK.js → Invert-CqrJ-5l4.js} +1 -1
- package/dist/core/{IsometricCubes-Bw3jI82j.js → IsometricCubes-BVYfIhbb.js} +1 -1
- package/dist/core/{Kaleidoscope-ACwFKWbf.js → Kaleidoscope-VxQtO7zA.js} +1 -1
- package/dist/core/{KeyFrames-BgvQuBGm.js → KeyFrames-WFOyBjoF.js} +1 -1
- package/dist/core/{LensFlare-DGm7vHFs.js → LensFlare-2M6sCguV.js} +2 -2
- package/dist/core/{LightEdge-Dd3LQoeN.js → LightEdge-CvV9PYbe.js} +3 -3
- package/dist/core/{LightLeak-Cw0fM5Yj.js → LightLeak-BQxRr11E.js} +2 -2
- package/dist/core/{LinearBlur-HdE1cuuD.js → LinearBlur-CyNRaqj8.js} +1 -1
- package/dist/core/{LinearGradient-BrGSGH-T.js → LinearGradient-RDNQes5r.js} +2 -2
- package/dist/core/{LiquidMetal-BNZmdkMq.js → LiquidMetal-PGUaQGV-.js} +3 -3
- package/dist/core/{Liquify-CM2SBbe1.js → Liquify-CmkepjAk.js} +1 -1
- package/dist/core/{Marble-C0phwKI9.js → Marble-D_a2ctfR.js} +2 -2
- package/dist/core/{Mirror-CLNi8Oum.js → Mirror-B98LBGCI.js} +1 -1
- package/dist/core/{MultiPointGradient-CVocY4RF.js → MultiPointGradient-DBWhUtj8.js} +1 -1
- package/dist/core/{Neon-BAf6CpTa.js → Neon-DFuPjkcF.js} +2 -2
- package/dist/core/{ObjectTracker-CpJTv9rY.js → ObjectTracker-Bolz91qz.js} +1 -1
- package/dist/core/{PagePeel-lb4giAUA.js → PagePeel-CTy_-lpL.js} +1 -1
- package/dist/core/{Paper-RXPBU-s3.js → Paper-BE3SU_ac.js} +1 -1
- package/dist/core/{Parallelogram-C0CKAsZ0.js → Parallelogram-C9qwJkYa.js} +1 -1
- package/dist/core/{Particles-VKk-A1u-.js → Particles-x_HCygMr.js} +1 -1
- package/dist/core/{PerlinNoise-D8ooqK8m.js → PerlinNoise-Di7dE-hc.js} +3 -3
- package/dist/core/{Perspective-DAiNmtF1.js → Perspective-CoYBx1wH.js} +1 -1
- package/dist/core/{PixelSort-CSxAICcp.js → PixelSort-DMWTXIcO.js} +1 -1
- package/dist/core/{PixelThrow-BabwKRNB.js → PixelThrow-CiZj7iGN.js} +1 -1
- package/dist/core/{Pixelate-BLgV5NZQ.js → Pixelate-Dg41Ap0g.js} +1 -1
- package/dist/core/{Plasma-DhLDCK_f.js → Plasma-BpNK-Jnv.js} +2 -2
- package/dist/core/{Plastic-Dqpz6o3u.js → Plastic-CpmtjSSV.js} +3 -3
- package/dist/core/{PolarCoordinates-DJO8HED8.js → PolarCoordinates-CBh8MX8L.js} +1 -1
- package/dist/core/{Polygon-Cp1IQBTK.js → Polygon-KpW71r_g.js} +1 -1
- package/dist/core/{Posterize-C-7AtuYH.js → Posterize-DPwFDwMx.js} +1 -1
- package/dist/core/{Prism-B3Azjps3.js → Prism-BZcRvoMJ.js} +2 -2
- package/dist/core/{ProgressiveBlur-BDA_3-QL.js → ProgressiveBlur-BAYvLhUa.js} +1 -1
- package/dist/core/{RadialGradient-D76gL4IY.js → RadialGradient-DxIBw-EZ.js} +2 -2
- package/dist/core/{RectangularCoordinates-CwyCjhhp.js → RectangularCoordinates-DJGtXzgn.js} +1 -1
- package/dist/core/{ReflectivePlane-SXnEBM6m.js → ReflectivePlane-C4JxzSK_.js} +1 -1
- package/dist/core/{Repeater-DQ7biFtc.js → Repeater-1TW-fdff.js} +1 -1
- package/dist/core/{Ring-8NtT61V_.js → Ring-W9djENkw.js} +1 -1
- package/dist/core/{Ripples-CajxrcWg.js → Ripples-Dbvh__ZY.js} +2 -2
- package/dist/core/{RoundedRect-B-x01Wcr.js → RoundedRect-DXjLPZee.js} +1 -1
- package/dist/core/{Saturation-COqr6_GF.js → Saturation-Wct3aUol.js} +1 -1
- package/dist/core/{Scratches-C-qtUUBP.js → Scratches-CpfAuRQw.js} +3 -3
- package/dist/core/{Sharpness-hZeUeiE6.js → Sharpness-BgWKE-3E.js} +1 -1
- package/dist/core/{Shatter-CsKQrjVL.js → Shatter-DiBeVj4M.js} +1 -1
- package/dist/core/{SimplexNoise-7wU-Kk0i.js → SimplexNoise-Bgiw5XJP.js} +2 -2
- package/dist/core/{SineWave-BLtDnM7X.js → SineWave-CHygTRV-.js} +2 -2
- package/dist/core/{Smoke-CAC3DGda.js → Smoke-CbAIiwKG.js} +2 -2
- package/dist/core/{SmokeFill-BOg8Qxfo.js → SmokeFill-BnJoSbE3.js} +2 -2
- package/dist/core/{SmokeFlow-BCc-eVVc.js → SmokeFlow-H01ajJ5Q.js} +2 -2
- package/dist/core/{Solarize-DWLREDzY.js → Solarize-CUpThxJh.js} +1 -1
- package/dist/core/{Spherize-COF9nL8k.js → Spherize-bBe44dU7.js} +1 -1
- package/dist/core/{Spiral-SNQroJiL.js → Spiral-sBR7Fn0z.js} +2 -2
- package/dist/core/{Star-Cu2LVjO8.js → Star-DQUfQjbf.js} +1 -1
- package/dist/core/{Stone-ByPy4ZnH.js → Stone-DnY9YuMc.js} +1 -1
- package/dist/core/{Strands-CvlnKhgb.js → Strands-e7O0GIHI.js} +2 -2
- package/dist/core/{Stretch-CxKyQ9G3.js → Stretch-CXFrCyH_.js} +1 -1
- package/dist/core/{Stripes-BzgVxpMb.js → Stripes-BS5Y7yeT.js} +2 -2
- package/dist/core/{StudioBackground-CuRV2Hc1.js → StudioBackground-D7eIlsQA.js} +2 -2
- package/dist/core/{SunBurst-DUjzsYkK.js → SunBurst-CuawxiUI.js} +2 -2
- package/dist/core/{Surface3D-DeeEtwo1.js → Surface3D-ZtGSv9V6.js} +1 -1
- package/dist/core/{Swirl-DZtCUU2m.js → Swirl-CxRi1nI8.js} +2 -2
- package/dist/core/{Teardrop-f0s3hGdm.js → Teardrop-D_ePwja5.js} +1 -1
- package/dist/core/{Text-dUfQewK-.js → Text-C1Wjl8fJ.js} +1 -1
- package/dist/core/{ThinFilm-Be291AkM.js → ThinFilm-9l3KGv4Q.js} +2 -2
- package/dist/core/{TiltShift-2uzfonvz.js → TiltShift-CBCuQwu9.js} +1 -1
- package/dist/core/{Tint-ih2ymxTa.js → Tint-HLecBeer.js} +1 -1
- package/dist/core/{Trapezoid-BX0Wkuku.js → Trapezoid-CztpQJcb.js} +1 -1
- package/dist/core/{TriangularGrid-BmFTqqDX.js → TriangularGrid-BWzP25ws.js} +2 -2
- package/dist/core/{Tritone-bs7EJ4-v.js → Tritone-DczuOC88.js} +1 -1
- package/dist/core/{Truchet-D-JvGWhW.js → Truchet-Bj0dM4pc.js} +1 -1
- package/dist/core/{Twirl-ijx4WphB.js → Twirl-CgT4-JNU.js} +1 -1
- package/dist/core/{VHS-CVtrRcA4.js → VHS-BO2ImGGx.js} +1 -1
- package/dist/core/{Vesica-Sq84WDU0.js → Vesica-hhR3uVm2.js} +1 -1
- package/dist/core/{Vibrance-802woeqg.js → Vibrance-Bxbm2XXk.js} +1 -1
- package/dist/core/{VideoTexture-DmFJnmNl.js → VideoTexture-Zj56qULM.js} +1 -1
- package/dist/core/{Vignette-cbj-_A50.js → Vignette-DhIYUi7B.js} +1 -1
- package/dist/core/{Voronoi-DBzcfNYb.js → Voronoi-I5jNa5lH.js} +2 -2
- package/dist/core/{Water-P_UOwZtn.js → Water-DcoqDm5J.js} +3 -3
- package/dist/core/{Watercolor-DOwebABO.js → Watercolor-DhrRCOJ_.js} +1 -1
- package/dist/core/{WaveDistortion-BJLKBSsO.js → WaveDistortion-DJ1itI6L.js} +2 -2
- package/dist/core/{WaveletNoise-B7xbdbm4.js → WaveletNoise-Cy1pQ99p.js} +3 -3
- package/dist/core/{Weave-Ck-gk0Pr.js → Weave-CPIeOoWv.js} +1 -1
- package/dist/core/{WebcamTexture-l3bk5Eit.js → WebcamTexture-DNCb4NqI.js} +1 -1
- package/dist/core/{Wool-C_pB-BvG.js → Wool-aEiSh89V.js} +1 -1
- package/dist/core/{WorleyNoise-V2w4sb3d.js → WorleyNoise-C9l_C4G0.js} +2 -2
- package/dist/core/{ZoomBlur-DO1Tr9lK.js → ZoomBlur-CpM-IOSu.js} +1 -1
- package/dist/core/{coords-BxHv8WrA.js → coords-BlwgBpJf.js} +33 -6
- package/dist/core/{glass-Cywh_vHD.js → glass-DdgMBWkF.js} +1 -1
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/sdf3d.d.ts +10 -10
- package/dist/core/gpu/kit/sdf3d.d.ts.map +1 -1
- package/dist/core/gpu/passManager.d.ts +8 -0
- package/dist/core/gpu/passManager.d.ts.map +1 -1
- package/dist/core/gpu/root.d.ts.map +1 -1
- package/dist/core/gpu/uniformStore.d.ts +6 -0
- package/dist/core/gpu/uniformStore.d.ts.map +1 -1
- package/dist/core/index.js +227 -181
- package/dist/core/{noiseColor-W0vqgxy7.js → noiseColor-Cr76BYLN.js} +1 -1
- package/dist/core/{porters-7vtm6PTd.js → porters-CoaznI7i.js} +1 -1
- package/dist/core/registry.js +170 -170
- package/dist/core/shaderRegistry-BIiRyksy.js +370 -0
- package/dist/core/shaders/AngularBlur/index.js +3 -3
- package/dist/core/shaders/Arc/index.js +3 -3
- package/dist/core/shaders/Ascii/index.js +3 -3
- package/dist/core/shaders/Aurora/index.js +3 -3
- package/dist/core/shaders/BarShift/index.js +3 -3
- package/dist/core/shaders/Beam/index.js +3 -3
- package/dist/core/shaders/Blob/index.js +3 -3
- package/dist/core/shaders/BlockNoise/index.js +4 -4
- package/dist/core/shaders/BlueNoise/index.js +4 -4
- package/dist/core/shaders/Blur/index.js +3 -3
- package/dist/core/shaders/BrickPattern/index.js +3 -3
- package/dist/core/shaders/BrightnessContrast/index.js +3 -3
- package/dist/core/shaders/BrushedMetal/index.js +4 -4
- package/dist/core/shaders/Bulge/index.js +3 -3
- package/dist/core/shaders/CRTScreen/index.js +3 -3
- package/dist/core/shaders/CarbonFiber/index.js +4 -4
- package/dist/core/shaders/Chalkboard/index.js +3 -3
- package/dist/core/shaders/ChannelBlur/index.js +3 -3
- package/dist/core/shaders/Checkerboard/index.js +3 -3
- package/dist/core/shaders/Chevron/index.js +3 -3
- package/dist/core/shaders/ChromaFlow/index.js +3 -3
- package/dist/core/shaders/ChromaticAberration/index.js +3 -3
- package/dist/core/shaders/Circle/index.js +3 -3
- package/dist/core/shaders/ColorWheel/index.js +3 -3
- package/dist/core/shaders/CompressionArtifacts/index.js +3 -3
- package/dist/core/shaders/ConcentricSpin/index.js +3 -3
- package/dist/core/shaders/ConicGradient/index.js +3 -3
- package/dist/core/shaders/ContourLines/index.js +3 -3
- package/dist/core/shaders/CornerPin/index.js +3 -3
- package/dist/core/shaders/Crescent/index.js +3 -3
- package/dist/core/shaders/Cross/index.js +3 -3
- package/dist/core/shaders/Crystal/index.js +4 -4
- package/dist/core/shaders/CurlNoise/index.js +4 -4
- package/dist/core/shaders/CursorRipples/index.js +3 -3
- package/dist/core/shaders/CursorTrail/index.js +3 -3
- package/dist/core/shaders/DOMTexture/index.js +3 -3
- package/dist/core/shaders/DataMosh/index.js +3 -3
- package/dist/core/shaders/DiamondGradient/index.js +3 -3
- package/dist/core/shaders/DiffuseBlur/index.js +3 -3
- package/dist/core/shaders/Dither/index.js +3 -3
- package/dist/core/shaders/DotGrid/index.js +3 -3
- package/dist/core/shaders/DropShadow/index.js +3 -3
- package/dist/core/shaders/Duotone/index.js +3 -3
- package/dist/core/shaders/Ellipse/index.js +3 -3
- package/dist/core/shaders/Emboss/index.js +4 -4
- package/dist/core/shaders/Engraving/index.js +3 -3
- package/dist/core/shaders/ErosionNoise/index.js +4 -4
- package/dist/core/shaders/Exposure/index.js +3 -3
- package/dist/core/shaders/FallingLines/index.js +3 -3
- package/dist/core/shaders/FilmGrain/index.js +3 -3
- package/dist/core/shaders/Flip/index.js +3 -3
- package/dist/core/shaders/FloatingParticles/index.js +3 -3
- package/dist/core/shaders/FlowField/index.js +3 -3
- package/dist/core/shaders/Flower/index.js +3 -3
- package/dist/core/shaders/FlowingGradient/index.js +3 -3
- package/dist/core/shaders/FlutedGlass/index.js +3 -3
- package/dist/core/shaders/Fog/index.js +3 -3
- package/dist/core/shaders/Form3D/index.js +3 -3
- package/dist/core/shaders/FractalNoise/index.js +3 -3
- package/dist/core/shaders/Frost/index.js +4 -4
- package/dist/core/shaders/GaborNoise/index.js +4 -4
- package/dist/core/shaders/Glass/index.js +4 -4
- package/dist/core/shaders/GlassTiles/index.js +3 -3
- package/dist/core/shaders/Glitch/index.js +3 -3
- package/dist/core/shaders/Glow/index.js +3 -3
- package/dist/core/shaders/Godrays/index.js +3 -3
- package/dist/core/shaders/Goo/index.js +4 -4
- package/dist/core/shaders/GradientMap/index.js +3 -3
- package/dist/core/shaders/Grayscale/index.js +3 -3
- package/dist/core/shaders/Grid/index.js +3 -3
- package/dist/core/shaders/GridDistortion/index.js +3 -3
- package/dist/core/shaders/Group/index.js +3 -3
- package/dist/core/shaders/Halftone/index.js +3 -3
- package/dist/core/shaders/Heart/index.js +3 -3
- package/dist/core/shaders/Heatmap/index.js +4 -4
- package/dist/core/shaders/HexGrid/index.js +3 -3
- package/dist/core/shaders/Hologram/index.js +4 -4
- package/dist/core/shaders/Holographic/index.js +4 -4
- package/dist/core/shaders/HueShift/index.js +3 -3
- package/dist/core/shaders/ImageTexture/index.js +3 -3
- package/dist/core/shaders/Invert/index.js +3 -3
- package/dist/core/shaders/IsometricCubes/index.js +3 -3
- package/dist/core/shaders/Kaleidoscope/index.js +3 -3
- package/dist/core/shaders/KeyFrames/index.js +3 -3
- package/dist/core/shaders/LensFlare/index.js +3 -3
- package/dist/core/shaders/LightEdge/index.js +4 -4
- package/dist/core/shaders/LightLeak/index.js +3 -3
- package/dist/core/shaders/LinearBlur/index.js +3 -3
- package/dist/core/shaders/LinearGradient/index.js +3 -3
- package/dist/core/shaders/LiquidMetal/index.js +4 -4
- package/dist/core/shaders/Liquify/index.js +3 -3
- package/dist/core/shaders/Marble/index.js +3 -3
- package/dist/core/shaders/Mirror/index.js +3 -3
- package/dist/core/shaders/MultiPointGradient/index.js +3 -3
- package/dist/core/shaders/Neon/index.js +3 -3
- package/dist/core/shaders/ObjectTracker/index.js +3 -3
- package/dist/core/shaders/PagePeel/index.js +3 -3
- package/dist/core/shaders/Paper/index.js +3 -3
- package/dist/core/shaders/Parallelogram/index.js +3 -3
- package/dist/core/shaders/Particles/index.js +3 -3
- package/dist/core/shaders/PerlinNoise/index.js +4 -4
- package/dist/core/shaders/Perspective/index.js +3 -3
- package/dist/core/shaders/PixelSort/index.js +3 -3
- package/dist/core/shaders/PixelThrow/index.js +3 -3
- package/dist/core/shaders/Pixelate/index.js +3 -3
- package/dist/core/shaders/Plasma/index.js +3 -3
- package/dist/core/shaders/Plastic/index.js +4 -4
- package/dist/core/shaders/PolarCoordinates/index.js +3 -3
- package/dist/core/shaders/Polygon/index.js +3 -3
- package/dist/core/shaders/Posterize/index.js +3 -3
- package/dist/core/shaders/Prism/index.js +3 -3
- package/dist/core/shaders/ProgressiveBlur/index.js +3 -3
- package/dist/core/shaders/RadialGradient/index.js +3 -3
- package/dist/core/shaders/RectangularCoordinates/index.js +3 -3
- package/dist/core/shaders/ReflectivePlane/index.js +3 -3
- package/dist/core/shaders/Repeater/index.js +3 -3
- package/dist/core/shaders/Ring/index.js +3 -3
- package/dist/core/shaders/Ripples/index.js +3 -3
- package/dist/core/shaders/RoundedRect/index.js +3 -3
- package/dist/core/shaders/Saturation/index.js +3 -3
- package/dist/core/shaders/Scratches/index.js +4 -4
- package/dist/core/shaders/Sharpness/index.js +3 -3
- package/dist/core/shaders/Shatter/index.js +3 -3
- package/dist/core/shaders/SimplexNoise/index.js +3 -3
- package/dist/core/shaders/SineWave/index.js +3 -3
- package/dist/core/shaders/Smoke/index.js +3 -3
- package/dist/core/shaders/SmokeFill/index.js +4 -4
- package/dist/core/shaders/SmokeFlow/index.js +3 -3
- package/dist/core/shaders/Solarize/index.js +3 -3
- package/dist/core/shaders/Spherize/index.js +3 -3
- package/dist/core/shaders/Spiral/index.js +3 -3
- package/dist/core/shaders/Star/index.js +3 -3
- package/dist/core/shaders/Stone/index.js +2 -2
- package/dist/core/shaders/Strands/index.js +3 -3
- package/dist/core/shaders/Stretch/index.js +3 -3
- package/dist/core/shaders/Stripes/index.js +3 -3
- package/dist/core/shaders/StudioBackground/index.js +3 -3
- package/dist/core/shaders/SunBurst/index.js +3 -3
- package/dist/core/shaders/Surface3D/index.js +3 -3
- package/dist/core/shaders/Swirl/index.js +3 -3
- package/dist/core/shaders/Teardrop/index.js +3 -3
- package/dist/core/shaders/Text/index.js +3 -3
- package/dist/core/shaders/ThinFilm/index.js +3 -3
- package/dist/core/shaders/TiltShift/index.js +3 -3
- package/dist/core/shaders/Tint/index.js +3 -3
- package/dist/core/shaders/Trapezoid/index.js +3 -3
- package/dist/core/shaders/TriangularGrid/index.js +3 -3
- package/dist/core/shaders/Tritone/index.js +3 -3
- package/dist/core/shaders/Truchet/index.js +3 -3
- package/dist/core/shaders/Twirl/index.js +3 -3
- package/dist/core/shaders/VHS/index.js +3 -3
- package/dist/core/shaders/Vesica/index.js +3 -3
- package/dist/core/shaders/Vibrance/index.js +3 -3
- package/dist/core/shaders/VideoTexture/index.js +3 -3
- package/dist/core/shaders/Vignette/index.js +3 -3
- package/dist/core/shaders/Voronoi/index.js +3 -3
- package/dist/core/shaders/Water/index.js +4 -4
- package/dist/core/shaders/Watercolor/index.js +3 -3
- package/dist/core/shaders/WaveDistortion/index.js +3 -3
- package/dist/core/shaders/WaveletNoise/index.js +4 -4
- package/dist/core/shaders/Weave/index.js +3 -3
- package/dist/core/shaders/WebcamTexture/index.js +3 -3
- package/dist/core/shaders/Wool/index.js +2 -2
- package/dist/core/shaders/WorleyNoise/index.js +3 -3
- package/dist/core/shaders/ZoomBlur/index.js +3 -3
- package/dist/js/bundle.js +54 -54
- package/dist/js/createShader.js +1 -1
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +57 -57
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/svelte/index.js +1 -1
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/package.json +1 -1
- package/dist/core/shaderRegistry-BqzwMTq1.js +0 -370
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passManager.d.ts","sour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IACP,0FAA0F;IAC1F,MAAM,CAAC,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI,CAAA;IACvD;;;;;;OAMG;IACH,UAAU,IAAI,IAAI,CAAA;IAClB,8DAA8D;IAC9D,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3C,sEAAsE;IACtE,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAC7B,2EAA2E;IAC3E,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,kDAAkD;IAClD,OAAO,IAAI,IAAI,CAAA;CAClB;AAID,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,kBAAkB,GAAG,WAAW,CA8U1F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../src/gpu/root.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAa,EAAC,KAAK,QAAQ,EAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../src/gpu/root.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAa,EAAC,KAAK,QAAQ,EAAC,MAAM,SAAS,CAAA;AA2C3C,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAA;CACnD;AAED,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,QAAQ,CAAA;IACd,MAAM,EAAE,SAAS,CAAA;IACjB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,6FAA6F;IAC7F,aAAa,EAAE,OAAO,CAAA;CACzB;AAED;;;;;;GAMG;AACH,wBAAsB,WAAW,CAAC,OAAO,GAAE,kBAAuB,GAAG,OAAO,CAAC,WAAW,CAAC,CAgDxF;AAiBD;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAClC,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,iBAAiB,EACzB,OAAO,GAAE,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAM,GAC1E,gBAAgB,CAMlB;AAED,2FAA2F;AAC3F,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,SAAS,CAExE"}
|
|
@@ -28,6 +28,12 @@ type FieldKind = 'scalar' | VecKind;
|
|
|
28
28
|
* number[] → arrayOf(f32, length).
|
|
29
29
|
* Strings (urls / shape JSON / origin / compile-time selects) are CPU-only — they never
|
|
30
30
|
* enter the struct; callers mark those `cpu: true` and get a mirror-only FieldHandle.
|
|
31
|
+
*
|
|
32
|
+
* CAUTION (strict uniform layout): `arrayOf(f32, n)` has a 4-byte stride, which is invalid in
|
|
33
|
+
* the uniform address space on browsers without `uniform_buffer_standard_layout` (arrays there
|
|
34
|
+
* need 16-byte strides). No shader hits this inference today — array props (colorStops) pass
|
|
35
|
+
* explicit vec4f/vec3f schemas, whose 16-byte strides are valid everywhere. A new plain
|
|
36
|
+
* `number[]` prop must pack into vec4s (`d.arrayOf(d.vec4f, ceil(n/4))`), not rely on this.
|
|
31
37
|
*/
|
|
32
38
|
export declare function inferFieldSchema(value: unknown): AnyWgslData;
|
|
33
39
|
/** Minimal surface the store exposes to its handles for coalesced dirty-tracking. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uniformStore.d.ts","sourceRoot":"","sources":["../../src/gpu/uniformStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,OAAa,EAAC,KAAK,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,aAAa,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C,CAAA;AAExE,MAAM,WAAW,YAAY;IACzB,yFAAyF;IACzF,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,WAAW,CAAA;IAC3D,oFAAoF;IACpF,YAAY,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,WAAW,CAAA;IAC/C;;;OAGG;IACH,QAAQ,IAAI,cAAc,CAAA;IAC1B,8FAA8F;IAC9F,KAAK,IAAI,IAAI,CAAA;IACb,yDAAyD;IACzD,QAAQ,IAAI,IAAI,CAAA;IAChB,wFAAwF;IACxF,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,gBAAgB,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/E,wDAAwD;IACxD,QAAQ,CAAC,MAAM,CAAC,EAAE,UAAU,CAAA;IAC5B,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,CAAA;IACrC,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAA;IAC1C,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAA;IAClC,iDAAiD;IACjD,QAAQ,CAAC,aAAa,EAAE,WAAW,CAAA;IACnC,OAAO,IAAI,IAAI,CAAA;CAClB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAE,mBAAwB,GAAG,YAAY,CAmSlG;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,WAAW,GAAG,gBAAgB,EAAE,QAAQ,EAAE,OAAO,GAAG,IAAI,CAMhG"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,210 +1,245 @@
|
|
|
1
|
-
import { Bt as needsTransformation, Dt as SHARED_SAMPLER_LAYOUT, Mt as composeNodeTree, Vt as screenUVToBoxLocal$1, _t as packConvertedStops, an as createUniformStore, f as maxPixelRatioForDevice, in as FieldHandle, jt as collectStructuralHashInputs, sn as updateFieldValue, t as SystemUniforms, vt as packStops, yt as getAnimatedTimeState, z as createComputeDispatcher, zt as boundingBoxToUVParams } from "./coords-
|
|
2
|
-
import "./glass-
|
|
3
|
-
import "./Neon-
|
|
4
|
-
import "./Emboss-
|
|
5
|
-
import "./Form3D-
|
|
6
|
-
import "./ThinFilm-
|
|
1
|
+
import { Bt as needsTransformation, Dt as SHARED_SAMPLER_LAYOUT, Mt as composeNodeTree, Vt as screenUVToBoxLocal$1, _t as packConvertedStops, an as createUniformStore, f as maxPixelRatioForDevice, in as FieldHandle, jt as collectStructuralHashInputs, sn as updateFieldValue, t as SystemUniforms, vt as packStops, yt as getAnimatedTimeState, z as createComputeDispatcher, zt as boundingBoxToUVParams } from "./coords-BlwgBpJf.js";
|
|
2
|
+
import "./glass-DdgMBWkF.js";
|
|
3
|
+
import "./Neon-DFuPjkcF.js";
|
|
4
|
+
import "./Emboss-D-qOxM2u.js";
|
|
5
|
+
import "./Form3D-CrT8E1u5.js";
|
|
6
|
+
import "./ThinFilm-9l3KGv4Q.js";
|
|
7
7
|
import { o as transformColorSpace } from "./transformations-fqzznt4g.js";
|
|
8
|
-
import { _ as sortStops, a as buildDimensionalPlan, c as isDimensionalValue, d as colorToRGBA, f as setColorSpaceModeGpu, g as resolveStops, h as colorStopsTransform, i as boxHalfExtentsUV, l as resolveDimensionalProp, n as rootPassthrough, o as buildExtraSizeProps, p as MAX_COLOR_STOPS, r as createGpuUniformsMap, s as isDimensionalProp, u as setShaderCanvasDimensions } from "./porters-
|
|
9
|
-
import "./AngularBlur-
|
|
10
|
-
import "./Arc-
|
|
11
|
-
import "./Ascii-
|
|
12
|
-
import "./Aurora-
|
|
13
|
-
import "./BarShift-
|
|
14
|
-
import "./Beam-
|
|
15
|
-
import "./Blob-
|
|
16
|
-
import "./noiseColor-
|
|
17
|
-
import "./BlockNoise-
|
|
18
|
-
import "./BlueNoise-
|
|
19
|
-
import "./Blur-
|
|
20
|
-
import "./BrickPattern-
|
|
21
|
-
import "./BrightnessContrast-
|
|
8
|
+
import { _ as sortStops, a as buildDimensionalPlan, c as isDimensionalValue, d as colorToRGBA, f as setColorSpaceModeGpu, g as resolveStops, h as colorStopsTransform, i as boxHalfExtentsUV, l as resolveDimensionalProp, n as rootPassthrough, o as buildExtraSizeProps, p as MAX_COLOR_STOPS, r as createGpuUniformsMap, s as isDimensionalProp, u as setShaderCanvasDimensions } from "./porters-CoaznI7i.js";
|
|
9
|
+
import "./AngularBlur-CFsh0PlD.js";
|
|
10
|
+
import "./Arc-CUnOmySr.js";
|
|
11
|
+
import "./Ascii-BLLIv-3N.js";
|
|
12
|
+
import "./Aurora-B_5FkTB2.js";
|
|
13
|
+
import "./BarShift-Ca-1XYfx.js";
|
|
14
|
+
import "./Beam-DRdKJKir.js";
|
|
15
|
+
import "./Blob-BRTcopJC.js";
|
|
16
|
+
import "./noiseColor-Cr76BYLN.js";
|
|
17
|
+
import "./BlockNoise-CA933kae.js";
|
|
18
|
+
import "./BlueNoise-BeFfRr-o.js";
|
|
19
|
+
import "./Blur-l7HgDuUW.js";
|
|
20
|
+
import "./BrickPattern-BWK7-KwE.js";
|
|
21
|
+
import "./BrightnessContrast-Dh8qSRLx.js";
|
|
22
22
|
import { a as SVG3D_TYPES, c as isVolumetricShapeType, i as SVG3D_DEFAULTS, l as shape3dBoundingRadius, n as SHAPE3D_DEFAULTS, o as is3dShapeType, r as SHAPE3D_TYPES, s as isSvg3dShapeType } from "./shapeEffectBounds-BlxxsYMN.js";
|
|
23
|
-
import "./BrushedMetal-
|
|
24
|
-
import "./Bulge-
|
|
25
|
-
import "./CarbonFiber-
|
|
26
|
-
import "./Chalkboard-
|
|
27
|
-
import "./ChannelBlur-
|
|
28
|
-
import "./Checkerboard-
|
|
29
|
-
import "./Chevron-
|
|
30
|
-
import "./ChromaFlow-
|
|
31
|
-
import "./ChromaticAberration-
|
|
32
|
-
import "./Circle-
|
|
33
|
-
import "./ColorWheel-
|
|
34
|
-
import "./CompressionArtifacts-
|
|
35
|
-
import "./ConcentricSpin-
|
|
36
|
-
import "./ConicGradient-
|
|
37
|
-
import "./ContourLines-
|
|
38
|
-
import "./CornerPin-
|
|
39
|
-
import "./Crescent-
|
|
40
|
-
import "./Cross-
|
|
41
|
-
import "./CRTScreen-
|
|
42
|
-
import "./Crystal-
|
|
43
|
-
import "./CurlNoise-
|
|
44
|
-
import "./CursorRipples-
|
|
45
|
-
import "./CursorTrail-
|
|
46
|
-
import "./DataMosh-
|
|
47
|
-
import "./DiamondGradient-
|
|
48
|
-
import "./DiffuseBlur-
|
|
49
|
-
import "./Dither-
|
|
50
|
-
import "./DOMTexture-
|
|
51
|
-
import "./DotGrid-
|
|
52
|
-
import "./DropShadow-
|
|
53
|
-
import "./Duotone-
|
|
54
|
-
import "./Ellipse-
|
|
55
|
-
import "./Engraving-
|
|
56
|
-
import "./ErosionNoise-
|
|
57
|
-
import "./Exposure-
|
|
58
|
-
import "./FallingLines-
|
|
59
|
-
import "./FilmGrain-
|
|
60
|
-
import "./Flip-
|
|
61
|
-
import "./FloatingParticles
|
|
62
|
-
import "./Flower-
|
|
63
|
-
import "./FlowField-
|
|
64
|
-
import "./FlowingGradient-
|
|
65
|
-
import "./FlutedGlass-
|
|
66
|
-
import "./Fog-
|
|
67
|
-
import "./FractalNoise-
|
|
68
|
-
import "./Frost-
|
|
69
|
-
import "./GaborNoise-
|
|
70
|
-
import "./Glass-
|
|
71
|
-
import "./GlassTiles-
|
|
72
|
-
import "./Glitch-
|
|
73
|
-
import "./Glow-
|
|
74
|
-
import "./Godrays-
|
|
75
|
-
import "./Goo-
|
|
76
|
-
import "./GradientMap-
|
|
77
|
-
import "./Grayscale
|
|
78
|
-
import "./Grid-
|
|
79
|
-
import "./GridDistortion-
|
|
80
|
-
import "./Group-
|
|
81
|
-
import "./Halftone-
|
|
82
|
-
import "./Heart-
|
|
83
|
-
import "./Heatmap-
|
|
84
|
-
import "./HexGrid-
|
|
85
|
-
import "./Hologram-
|
|
86
|
-
import "./Holographic-
|
|
87
|
-
import "./HueShift-
|
|
88
|
-
import "./ImageTexture-
|
|
89
|
-
import "./Invert-
|
|
90
|
-
import "./IsometricCubes-
|
|
91
|
-
import "./Kaleidoscope-
|
|
92
|
-
import "./KeyFrames-
|
|
93
|
-
import "./LensFlare-
|
|
94
|
-
import "./LightEdge-
|
|
95
|
-
import "./LightLeak-
|
|
96
|
-
import "./LinearBlur-
|
|
97
|
-
import "./LinearGradient-
|
|
98
|
-
import "./LiquidMetal-
|
|
99
|
-
import "./Liquify-
|
|
100
|
-
import "./Marble-
|
|
101
|
-
import "./Mirror-
|
|
102
|
-
import "./MultiPointGradient-
|
|
23
|
+
import "./BrushedMetal-CvIXubZz.js";
|
|
24
|
+
import "./Bulge-d93jKEwv.js";
|
|
25
|
+
import "./CarbonFiber-G7vIOz5W.js";
|
|
26
|
+
import "./Chalkboard-C9PtcnYN.js";
|
|
27
|
+
import "./ChannelBlur-B1bY63Fb.js";
|
|
28
|
+
import "./Checkerboard-DbjFO-fF.js";
|
|
29
|
+
import "./Chevron-D5-x4Wwd.js";
|
|
30
|
+
import "./ChromaFlow-CuLYMObY.js";
|
|
31
|
+
import "./ChromaticAberration-Dwvzvb8a.js";
|
|
32
|
+
import "./Circle-BLNjdX3R.js";
|
|
33
|
+
import "./ColorWheel-CA_34-9I.js";
|
|
34
|
+
import "./CompressionArtifacts-3lIojU64.js";
|
|
35
|
+
import "./ConcentricSpin-FJuBPPHi.js";
|
|
36
|
+
import "./ConicGradient-f9jCXFuK.js";
|
|
37
|
+
import "./ContourLines-Clnm2pQU.js";
|
|
38
|
+
import "./CornerPin-ecpjb9do.js";
|
|
39
|
+
import "./Crescent-CO5EZzD1.js";
|
|
40
|
+
import "./Cross-CofGHkIn.js";
|
|
41
|
+
import "./CRTScreen-CSBjpbn4.js";
|
|
42
|
+
import "./Crystal-C_aHlQ_3.js";
|
|
43
|
+
import "./CurlNoise-Br5XEf1K.js";
|
|
44
|
+
import "./CursorRipples-CLYoq-BF.js";
|
|
45
|
+
import "./CursorTrail-c-t96YgV.js";
|
|
46
|
+
import "./DataMosh-BSYAol1u.js";
|
|
47
|
+
import "./DiamondGradient-uyUPtPc3.js";
|
|
48
|
+
import "./DiffuseBlur-Cw9duoJ7.js";
|
|
49
|
+
import "./Dither-B3ulhQOh.js";
|
|
50
|
+
import "./DOMTexture-Zxx_WTGZ.js";
|
|
51
|
+
import "./DotGrid-ioUj-Lim.js";
|
|
52
|
+
import "./DropShadow-BRL7yRmy.js";
|
|
53
|
+
import "./Duotone-Df34HelN.js";
|
|
54
|
+
import "./Ellipse-BHxcxCpl.js";
|
|
55
|
+
import "./Engraving-B1ebFc1E.js";
|
|
56
|
+
import "./ErosionNoise-ZrJulbtK.js";
|
|
57
|
+
import "./Exposure-D8apJapP.js";
|
|
58
|
+
import "./FallingLines-DsMBKjEZ.js";
|
|
59
|
+
import "./FilmGrain-DeW-yw_v.js";
|
|
60
|
+
import "./Flip-Dw194RY6.js";
|
|
61
|
+
import "./FloatingParticles--Y81hnnp.js";
|
|
62
|
+
import "./Flower-Cdg8fOzZ.js";
|
|
63
|
+
import "./FlowField-CiK49M8B.js";
|
|
64
|
+
import "./FlowingGradient-B1Iywvbd.js";
|
|
65
|
+
import "./FlutedGlass-Crp432sd.js";
|
|
66
|
+
import "./Fog-ClrsfQfj.js";
|
|
67
|
+
import "./FractalNoise-DeDp7KQE.js";
|
|
68
|
+
import "./Frost-IvGmzNqf.js";
|
|
69
|
+
import "./GaborNoise-Bmhmuq_Z.js";
|
|
70
|
+
import "./Glass-CJFR7oIt.js";
|
|
71
|
+
import "./GlassTiles-BSBCjkhG.js";
|
|
72
|
+
import "./Glitch-Bp0LbC1u.js";
|
|
73
|
+
import "./Glow-CVBYSMxr.js";
|
|
74
|
+
import "./Godrays-C0VLmrcc.js";
|
|
75
|
+
import "./Goo-D-X3mP-n.js";
|
|
76
|
+
import "./GradientMap-uRYa7Yhv.js";
|
|
77
|
+
import "./Grayscale-DUGCGltR.js";
|
|
78
|
+
import "./Grid-FtTNW6zy.js";
|
|
79
|
+
import "./GridDistortion-lKZ4wpxx.js";
|
|
80
|
+
import "./Group-BNE6w-Ls.js";
|
|
81
|
+
import "./Halftone-BdmAqFEa.js";
|
|
82
|
+
import "./Heart-iGATzBCZ.js";
|
|
83
|
+
import "./Heatmap-dBfHUyG-.js";
|
|
84
|
+
import "./HexGrid-BUe3dyym.js";
|
|
85
|
+
import "./Hologram-BQ1kz8M2.js";
|
|
86
|
+
import "./Holographic-B39ULAli.js";
|
|
87
|
+
import "./HueShift-DeP_0kOt.js";
|
|
88
|
+
import "./ImageTexture-Bzh0A17b.js";
|
|
89
|
+
import "./Invert-CqrJ-5l4.js";
|
|
90
|
+
import "./IsometricCubes-BVYfIhbb.js";
|
|
91
|
+
import "./Kaleidoscope-VxQtO7zA.js";
|
|
92
|
+
import "./KeyFrames-WFOyBjoF.js";
|
|
93
|
+
import "./LensFlare-2M6sCguV.js";
|
|
94
|
+
import "./LightEdge-CvV9PYbe.js";
|
|
95
|
+
import "./LightLeak-BQxRr11E.js";
|
|
96
|
+
import "./LinearBlur-CyNRaqj8.js";
|
|
97
|
+
import "./LinearGradient-RDNQes5r.js";
|
|
98
|
+
import "./LiquidMetal-PGUaQGV-.js";
|
|
99
|
+
import "./Liquify-CmkepjAk.js";
|
|
100
|
+
import "./Marble-D_a2ctfR.js";
|
|
101
|
+
import "./Mirror-B98LBGCI.js";
|
|
102
|
+
import "./MultiPointGradient-DBWhUtj8.js";
|
|
103
103
|
import "./fonts-3F3pIODs.js";
|
|
104
|
-
import "./ObjectTracker-
|
|
105
|
-
import "./PagePeel-
|
|
106
|
-
import "./Paper-
|
|
107
|
-
import "./Parallelogram-
|
|
108
|
-
import "./Particles-
|
|
109
|
-
import "./PerlinNoise-
|
|
110
|
-
import "./Perspective-
|
|
111
|
-
import "./Pixelate-
|
|
112
|
-
import "./PixelSort-
|
|
113
|
-
import "./PixelThrow-
|
|
114
|
-
import "./Plasma-
|
|
115
|
-
import "./Plastic-
|
|
116
|
-
import "./PolarCoordinates-
|
|
117
|
-
import "./Polygon-
|
|
118
|
-
import "./Posterize-
|
|
119
|
-
import "./Prism-
|
|
120
|
-
import "./ProgressiveBlur-
|
|
121
|
-
import "./RadialGradient-
|
|
122
|
-
import "./RectangularCoordinates-
|
|
123
|
-
import "./ReflectivePlane-
|
|
124
|
-
import "./Repeater-
|
|
125
|
-
import "./Ring-
|
|
126
|
-
import "./Ripples-
|
|
127
|
-
import "./RoundedRect-
|
|
128
|
-
import "./Saturation-
|
|
129
|
-
import "./Scratches-
|
|
130
|
-
import "./Sharpness-
|
|
131
|
-
import "./Shatter-
|
|
132
|
-
import "./SimplexNoise-
|
|
133
|
-
import "./SineWave-
|
|
134
|
-
import "./Smoke-
|
|
135
|
-
import "./SmokeFill-
|
|
136
|
-
import "./SmokeFlow-
|
|
137
|
-
import "./Solarize-
|
|
104
|
+
import "./ObjectTracker-Bolz91qz.js";
|
|
105
|
+
import "./PagePeel-CTy_-lpL.js";
|
|
106
|
+
import "./Paper-BE3SU_ac.js";
|
|
107
|
+
import "./Parallelogram-C9qwJkYa.js";
|
|
108
|
+
import "./Particles-x_HCygMr.js";
|
|
109
|
+
import "./PerlinNoise-Di7dE-hc.js";
|
|
110
|
+
import "./Perspective-CoYBx1wH.js";
|
|
111
|
+
import "./Pixelate-Dg41Ap0g.js";
|
|
112
|
+
import "./PixelSort-DMWTXIcO.js";
|
|
113
|
+
import "./PixelThrow-CiZj7iGN.js";
|
|
114
|
+
import "./Plasma-BpNK-Jnv.js";
|
|
115
|
+
import "./Plastic-CpmtjSSV.js";
|
|
116
|
+
import "./PolarCoordinates-CBh8MX8L.js";
|
|
117
|
+
import "./Polygon-KpW71r_g.js";
|
|
118
|
+
import "./Posterize-DPwFDwMx.js";
|
|
119
|
+
import "./Prism-BZcRvoMJ.js";
|
|
120
|
+
import "./ProgressiveBlur-BAYvLhUa.js";
|
|
121
|
+
import "./RadialGradient-DxIBw-EZ.js";
|
|
122
|
+
import "./RectangularCoordinates-DJGtXzgn.js";
|
|
123
|
+
import "./ReflectivePlane-C4JxzSK_.js";
|
|
124
|
+
import "./Repeater-1TW-fdff.js";
|
|
125
|
+
import "./Ring-W9djENkw.js";
|
|
126
|
+
import "./Ripples-Dbvh__ZY.js";
|
|
127
|
+
import "./RoundedRect-DXjLPZee.js";
|
|
128
|
+
import "./Saturation-Wct3aUol.js";
|
|
129
|
+
import "./Scratches-CpfAuRQw.js";
|
|
130
|
+
import "./Sharpness-BgWKE-3E.js";
|
|
131
|
+
import "./Shatter-DiBeVj4M.js";
|
|
132
|
+
import "./SimplexNoise-Bgiw5XJP.js";
|
|
133
|
+
import "./SineWave-CHygTRV-.js";
|
|
134
|
+
import "./Smoke-CbAIiwKG.js";
|
|
135
|
+
import "./SmokeFill-BnJoSbE3.js";
|
|
136
|
+
import "./SmokeFlow-H01ajJ5Q.js";
|
|
137
|
+
import "./Solarize-CUpThxJh.js";
|
|
138
138
|
import "./SolidColor-rdMtlNyB.js";
|
|
139
|
-
import "./Spherize-
|
|
140
|
-
import "./Spiral-
|
|
141
|
-
import "./Star-
|
|
139
|
+
import "./Spherize-bBe44dU7.js";
|
|
140
|
+
import "./Spiral-sBR7Fn0z.js";
|
|
141
|
+
import "./Star-DQUfQjbf.js";
|
|
142
142
|
import "./noiseStylize-C2jzZv4d.js";
|
|
143
|
-
import "./Stone-
|
|
144
|
-
import "./Strands-
|
|
145
|
-
import "./Stretch-
|
|
146
|
-
import "./Stripes-
|
|
147
|
-
import "./StudioBackground-
|
|
148
|
-
import "./SunBurst-
|
|
149
|
-
import "./Surface3D-
|
|
150
|
-
import "./Swirl-
|
|
151
|
-
import "./Teardrop-
|
|
152
|
-
import "./Text-
|
|
153
|
-
import "./TiltShift-
|
|
154
|
-
import "./Tint-
|
|
155
|
-
import "./Trapezoid-
|
|
156
|
-
import "./TriangularGrid-
|
|
157
|
-
import "./Tritone-
|
|
158
|
-
import "./Truchet-
|
|
159
|
-
import "./Twirl-
|
|
160
|
-
import "./Vesica-
|
|
161
|
-
import "./VHS-
|
|
162
|
-
import "./Vibrance-
|
|
163
|
-
import "./VideoTexture-
|
|
164
|
-
import "./Vignette-
|
|
165
|
-
import "./Voronoi-
|
|
166
|
-
import "./Water-
|
|
167
|
-
import "./Watercolor-
|
|
168
|
-
import "./WaveDistortion-
|
|
169
|
-
import "./WaveletNoise-
|
|
170
|
-
import "./Weave-
|
|
171
|
-
import "./WebcamTexture-
|
|
172
|
-
import "./Wool-
|
|
173
|
-
import "./WorleyNoise-
|
|
174
|
-
import "./ZoomBlur-
|
|
175
|
-
import { t as getAllShaders } from "./shaderRegistry-
|
|
143
|
+
import "./Stone-DnY9YuMc.js";
|
|
144
|
+
import "./Strands-e7O0GIHI.js";
|
|
145
|
+
import "./Stretch-CXFrCyH_.js";
|
|
146
|
+
import "./Stripes-BS5Y7yeT.js";
|
|
147
|
+
import "./StudioBackground-D7eIlsQA.js";
|
|
148
|
+
import "./SunBurst-CuawxiUI.js";
|
|
149
|
+
import "./Surface3D-ZtGSv9V6.js";
|
|
150
|
+
import "./Swirl-CxRi1nI8.js";
|
|
151
|
+
import "./Teardrop-D_ePwja5.js";
|
|
152
|
+
import "./Text-C1Wjl8fJ.js";
|
|
153
|
+
import "./TiltShift-CBCuQwu9.js";
|
|
154
|
+
import "./Tint-HLecBeer.js";
|
|
155
|
+
import "./Trapezoid-CztpQJcb.js";
|
|
156
|
+
import "./TriangularGrid-BWzP25ws.js";
|
|
157
|
+
import "./Tritone-DczuOC88.js";
|
|
158
|
+
import "./Truchet-Bj0dM4pc.js";
|
|
159
|
+
import "./Twirl-CgT4-JNU.js";
|
|
160
|
+
import "./Vesica-hhR3uVm2.js";
|
|
161
|
+
import "./VHS-BO2ImGGx.js";
|
|
162
|
+
import "./Vibrance-Bxbm2XXk.js";
|
|
163
|
+
import "./VideoTexture-Zj56qULM.js";
|
|
164
|
+
import "./Vignette-DhIYUi7B.js";
|
|
165
|
+
import "./Voronoi-I5jNa5lH.js";
|
|
166
|
+
import "./Water-DcoqDm5J.js";
|
|
167
|
+
import "./Watercolor-DhrRCOJ_.js";
|
|
168
|
+
import "./WaveDistortion-DJ1itI6L.js";
|
|
169
|
+
import "./WaveletNoise-Cy1pQ99p.js";
|
|
170
|
+
import "./Weave-CPIeOoWv.js";
|
|
171
|
+
import "./WebcamTexture-DNCb4NqI.js";
|
|
172
|
+
import "./Wool-aEiSh89V.js";
|
|
173
|
+
import "./WorleyNoise-C9l_C4G0.js";
|
|
174
|
+
import "./ZoomBlur-CpM-IOSu.js";
|
|
175
|
+
import { t as getAllShaders } from "./shaderRegistry-BIiRyksy.js";
|
|
176
176
|
import * as d from "typegpu/data";
|
|
177
177
|
import tgpu, { common } from "typegpu";
|
|
178
178
|
var OPTIONAL_FEATURES = ["float32-filterable", "timestamp-query"];
|
|
179
179
|
var rootsByDevice = /* @__PURE__ */ new WeakMap();
|
|
180
180
|
var lostCallbacks = /* @__PURE__ */ new WeakMap();
|
|
181
|
+
var lostDevices = /* @__PURE__ */ new WeakSet();
|
|
182
|
+
var replacementRoots = /* @__PURE__ */ new WeakMap();
|
|
181
183
|
async function acquireRoot(options = {}) {
|
|
182
184
|
if (options.device) {
|
|
183
185
|
const device = options.device;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
root
|
|
187
|
-
|
|
186
|
+
if (!lostDevices.has(device)) {
|
|
187
|
+
let root = rootsByDevice.get(device);
|
|
188
|
+
if (!root) {
|
|
189
|
+
root = tgpu.initFromDevice({ device });
|
|
190
|
+
rootsByDevice.set(device, root);
|
|
191
|
+
}
|
|
192
|
+
wireDeviceLost(root, options.onDeviceLost);
|
|
193
|
+
return {
|
|
194
|
+
root,
|
|
195
|
+
device,
|
|
196
|
+
adapter: options.adapter,
|
|
197
|
+
createdDevice: false
|
|
198
|
+
};
|
|
188
199
|
}
|
|
189
|
-
|
|
200
|
+
let replacement;
|
|
201
|
+
for (;;) {
|
|
202
|
+
const cached = replacementRoots.get(device);
|
|
203
|
+
if (!cached) break;
|
|
204
|
+
const cachedCtx = await cached.catch(() => null);
|
|
205
|
+
if (cachedCtx && !lostDevices.has(cachedCtx.device)) {
|
|
206
|
+
replacement = cached;
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
if (replacementRoots.get(device) === cached) replacementRoots.delete(device);
|
|
210
|
+
}
|
|
211
|
+
if (!replacement) {
|
|
212
|
+
console.warn("[gpu] injected GPU device was lost — creating a replacement device for recovery");
|
|
213
|
+
replacement = createOwnRoot();
|
|
214
|
+
replacementRoots.set(device, replacement);
|
|
215
|
+
}
|
|
216
|
+
const ctx$1 = await replacement;
|
|
217
|
+
wireDeviceLost(ctx$1.root, options.onDeviceLost);
|
|
190
218
|
return {
|
|
191
|
-
root:
|
|
192
|
-
device,
|
|
193
|
-
adapter:
|
|
219
|
+
root: ctx$1.root,
|
|
220
|
+
device: ctx$1.device,
|
|
221
|
+
adapter: ctx$1.adapter,
|
|
194
222
|
createdDevice: false
|
|
195
223
|
};
|
|
196
224
|
}
|
|
225
|
+
const ctx = await createOwnRoot();
|
|
226
|
+
wireDeviceLost(ctx.root, options.onDeviceLost);
|
|
227
|
+
return {
|
|
228
|
+
...ctx,
|
|
229
|
+
adapter: options.adapter,
|
|
230
|
+
createdDevice: true
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
async function createOwnRoot() {
|
|
197
234
|
if (typeof navigator === "undefined" || !navigator.gpu) throw new Error("[gpu] WebGPU is not available in this environment (navigator.gpu is undefined). This renderer is WebGPU-only.");
|
|
198
235
|
const root = await tgpu.init({
|
|
199
236
|
adapter: { powerPreference: "high-performance" },
|
|
200
237
|
device: { optionalFeatures: OPTIONAL_FEATURES }
|
|
201
238
|
});
|
|
202
239
|
rootsByDevice.set(root.device, root);
|
|
203
|
-
wireDeviceLost(root, options.onDeviceLost);
|
|
204
240
|
return {
|
|
205
241
|
root,
|
|
206
242
|
device: root.device,
|
|
207
|
-
adapter: options.adapter,
|
|
208
243
|
createdDevice: true
|
|
209
244
|
};
|
|
210
245
|
}
|
|
@@ -222,6 +257,7 @@ function wireDeviceLost(root, onDeviceLost) {
|
|
|
222
257
|
callbacks = /* @__PURE__ */ new Set();
|
|
223
258
|
lostCallbacks.set(device, callbacks);
|
|
224
259
|
root.device.lost.then((info) => {
|
|
260
|
+
lostDevices.add(device);
|
|
225
261
|
if (info.reason === "destroyed") return;
|
|
226
262
|
for (const cb of lostCallbacks.get(device) ?? []) cb(info);
|
|
227
263
|
});
|
|
@@ -508,12 +544,16 @@ function createPassManager(root, options) {
|
|
|
508
544
|
const steps = step.getComputeNodes(frameParams);
|
|
509
545
|
if (steps && steps.length) dispatcher.dispatch(steps);
|
|
510
546
|
}
|
|
547
|
+
repaintRtt();
|
|
548
|
+
execPass(current.finalPass, canvasView);
|
|
549
|
+
}
|
|
550
|
+
function repaintRtt() {
|
|
551
|
+
if (!current) return;
|
|
511
552
|
for (const pass of current.rttPasses) {
|
|
512
553
|
const rt = rttTextures.get(pass.target.key);
|
|
513
554
|
if (!rt) continue;
|
|
514
555
|
execPass(pass, renderView(rt));
|
|
515
556
|
}
|
|
516
|
-
execPass(current.finalPass, canvasView);
|
|
517
557
|
}
|
|
518
558
|
function renderView(rt) {
|
|
519
559
|
return root.unwrap(rt.texture).createView();
|
|
@@ -537,6 +577,7 @@ function createPassManager(root, options) {
|
|
|
537
577
|
return {
|
|
538
578
|
setComposition,
|
|
539
579
|
render,
|
|
580
|
+
repaintRtt,
|
|
540
581
|
resize,
|
|
541
582
|
get textureCount() {
|
|
542
583
|
return liveTextures.size;
|
|
@@ -2209,6 +2250,11 @@ function shaderRendererGPU() {
|
|
|
2209
2250
|
}
|
|
2210
2251
|
reresolveDimensionalUniforms(node);
|
|
2211
2252
|
}
|
|
2253
|
+
for (const c of liveCompositions) {
|
|
2254
|
+
writeSystemUniforms(c.store);
|
|
2255
|
+
c.store.flush();
|
|
2256
|
+
c.passManager.repaintRtt();
|
|
2257
|
+
}
|
|
2212
2258
|
lastRenderTime = 0;
|
|
2213
2259
|
renderFrame();
|
|
2214
2260
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-fqzznt4g.js";
|
|
2
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
2
|
+
import { m as colorStopsPropConfig } from "./porters-CoaznI7i.js";
|
|
3
3
|
function noiseColorProps() {
|
|
4
4
|
return {
|
|
5
5
|
colorA: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Nt as expr, _t as packConvertedStops, pt as MAX_COLOR_STOPS, vt as packStops } from "./coords-
|
|
1
|
+
import { Nt as expr, _t as packConvertedStops, pt as MAX_COLOR_STOPS, vt as packStops } from "./coords-BlwgBpJf.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, n as setColorSpaceMode, o as transformColorSpace, u as Color } from "./transformations-fqzznt4g.js";
|
|
3
3
|
import * as d from "typegpu/data";
|
|
4
4
|
const MAX_COLOR_STOPS$1 = 8;
|