shaders 3.2.464 → 3.2.465
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-BwCxKNcQ.js → AngularBlur-DIuqsh_g.js} +3 -3
- package/dist/core/{Arc-BdSzj8aT.js → Arc-Bj71OeVa.js} +3 -3
- package/dist/core/{Ascii-3XAIw2Bb.js → Ascii-B5Zg8nLu.js} +5 -5
- package/dist/core/Aurora-Bj7ZG2AI.js +304 -0
- package/dist/core/{BarShift-BfLFLroO.js → BarShift-DPThLZs_.js} +3 -3
- package/dist/core/{BarnDoors-Do1MN34d.js → BarnDoors-BRBbwW_m.js} +3 -3
- package/dist/core/{Beam-Crszqjl5.js → Beam-Hb_ert_g.js} +3 -3
- package/dist/core/{Bend-XAqsg_xj.js → Bend-DXsmc81z.js} +2 -2
- package/dist/core/{Blob-Sr5tPikb.js → Blob-BigqrVZv.js} +129 -23
- package/dist/core/{BlockDissolve-CtvDicJt.js → BlockDissolve-CdFU8h6C.js} +3 -3
- package/dist/core/{BlockNoise-BYCW1y2-.js → BlockNoise-CqPy-Ugl.js} +4 -4
- package/dist/core/{BlueNoise-DqZFPThf.js → BlueNoise-BAo4Aauw.js} +4 -4
- package/dist/core/{Blur-CbnGAsl9.js → Blur-DWRebKhd.js} +2 -2
- package/dist/core/{Boids-CnXob_HY.js → Boids-DmJhzUCH.js} +5 -5
- package/dist/core/{BokehBlur-DN1DMnaB.js → BokehBlur-CV3_ON_U.js} +3 -3
- package/dist/core/{BrickPattern-DxfaxjHT.js → BrickPattern-vu5nVCWG.js} +3 -3
- package/dist/core/{BrightnessContrast-DRSwp0yp.js → BrightnessContrast-CY9XAi43.js} +3 -3
- package/dist/core/{BrushedMetal-BlwYqKiC.js → BrushedMetal-DS2r5KNw.js} +7 -7
- package/dist/core/{Bulge-CWtv1aVG.js → Bulge-Deev-nna.js} +2 -2
- package/dist/core/{CRTScreen-CKNOV6IF.js → CRTScreen-UtLgwP9x.js} +2 -2
- package/dist/core/{CarbonFiber-0PowYOyE.js → CarbonFiber-DyjbFQoK.js} +6 -6
- package/dist/core/{Chalkboard-DNfYEUQN.js → Chalkboard-BmeKO6iA.js} +3 -3
- package/dist/core/{ChannelBlur-Bl5Slnhm.js → ChannelBlur-BCQbhip0.js} +2 -2
- package/dist/core/{CheckerWipe-D1Pn4tq3.js → CheckerWipe-B0AHd80A.js} +3 -3
- package/dist/core/{Checkerboard-DYNjSdWz.js → Checkerboard-BxPmaPzN.js} +3 -3
- package/dist/core/{Chevron-By9YDPlg.js → Chevron-DRRnVJv8.js} +3 -3
- package/dist/core/{ChromaFlow-BHgHfSHB.js → ChromaFlow-DvHs9Afa.js} +5 -5
- package/dist/core/{ChromaticAberration-CsekFO9W.js → ChromaticAberration-qZmFsW-9.js} +4 -4
- package/dist/core/{Chrome-wfGdzbP1.js → Chrome-CCiXGEIK.js} +6 -7
- package/dist/core/{Circle-CBP-iZmQ.js → Circle-C8oVlMm5.js} +3 -3
- package/dist/core/{ColorWheel-Bt8Yats6.js → ColorWheel-UiKMjGmo.js} +3 -3
- package/dist/core/{CompressionArtifacts-CN-aj4Cz.js → CompressionArtifacts-Bcy_oi6I.js} +3 -3
- package/dist/core/{ConcentricSpin-CyCJxLJL.js → ConcentricSpin-ChsvpM4g.js} +2 -2
- package/dist/core/{ConicGradient-ucJPMdRd.js → ConicGradient-biAKBzTF.js} +4 -4
- package/dist/core/{ContourLines-B_CtL8Vu.js → ContourLines-DSVY48D3.js} +3 -3
- package/dist/core/{CornerPin-C76LSuH_.js → CornerPin-Dlk-j8yj.js} +3 -3
- package/dist/core/{Crescent-D-gZU6vD.js → Crescent-CW1Jtj3p.js} +2 -2
- package/dist/core/{Cross-CPbK6WLW.js → Cross-BZJwBhka.js} +2 -2
- package/dist/core/{Crystal-BAVRri0F.js → Crystal-B9bRXJr3.js} +6 -6
- package/dist/core/{CurlNoise-B8V3FalE.js → CurlNoise-ChVPqfJM.js} +4 -4
- package/dist/core/{CursorRipples-Ce_kWhe1.js → CursorRipples-uyzFiPfj.js} +6 -18
- package/dist/core/{CursorTrail-Dza0OORy.js → CursorTrail-BljiaEok.js} +4 -4
- package/dist/core/{DataMosh-DrJYG80o.js → DataMosh-CrqYJIlZ.js} +3 -3
- package/dist/core/{DiamondGradient-Dq0DpQpR.js → DiamondGradient-DsJORW4q.js} +4 -4
- package/dist/core/{DiamondWipe-CcgeiQ3X.js → DiamondWipe-CZCAIz29.js} +3 -3
- package/dist/core/{DiffuseBlur-DUecWEvv.js → DiffuseBlur-D-ps8_Uv.js} +3 -3
- package/dist/core/{DisplacementMap-B-yc-a_8.js → DisplacementMap-BdTvPZ5i.js} +3 -3
- package/dist/core/{Dither-CFxqATIY.js → Dither-DZH2vlNW.js} +3 -3
- package/dist/core/{DotGrid-Br5gKbrO.js → DotGrid-DBBt-OS1.js} +3 -3
- package/dist/core/{DropShadow-CRe0s6MQ.js → DropShadow-CUzoBD7j.js} +3 -3
- package/dist/core/{Duotone-M-wa5I6y.js → Duotone-Bn5yWY27.js} +3 -3
- package/dist/core/{Ellipse-B8SC59iU.js → Ellipse-BtgtCRPq.js} +2 -2
- package/dist/core/{Emboss-Df9dLMp4.js → Emboss-DZ6Je6il.js} +5 -5
- package/dist/core/{Engraving-BCfdEBr_.js → Engraving-DzCC1mKj.js} +3 -3
- package/dist/core/{ErosionNoise-cwJc4FgN.js → ErosionNoise-Buor7ogt.js} +4 -4
- package/dist/core/{Exposure-ILGY3UKH.js → Exposure-CcM7JTiR.js} +3 -3
- package/dist/core/{FallingLines-wUWAGXtD.js → FallingLines-Cu1_3RSE.js} +3 -3
- package/dist/core/{FilmGrain-ablIumMy.js → FilmGrain-CDvRV776.js} +3 -3
- package/dist/core/{FilmStock-CmpGCyGm.js → FilmStock-CVEZ0MMq.js} +4 -4
- package/dist/core/{Flip-tLanxfrx.js → Flip-D4aYsHii.js} +3 -3
- package/dist/core/{FloatingParticles-Bi1Llmwz.js → FloatingParticles-DxG2b7KL.js} +5 -5
- package/dist/core/{FlowField-DDFjV4AF.js → FlowField-CBZ6AJjI.js} +3 -3
- package/dist/core/{Flower-CQgB1K5v.js → Flower-DQIHZ-bK.js} +2 -2
- package/dist/core/FlowingGradient-Dp7p0Z0-.js +201 -0
- package/dist/core/{FlutedGlass-B3Talps5.js → FlutedGlass-D0Eij6P1.js} +4 -4
- package/dist/core/{Fog-zIXi81Mr.js → Fog-CRkLRU9L.js} +4 -4
- package/dist/core/{Form3D-JvT_i-8s.js → Form3D-DPKVw7Uz.js} +4 -4
- package/dist/core/{FractalNoise-BclR0vM-.js → FractalNoise-CKerAjEP.js} +4 -4
- package/dist/core/{Frost-r3Cn37X0.js → Frost-BT2y1-78.js} +7 -8
- package/dist/core/{GaborNoise-DCcdB69a.js → GaborNoise-CBl3ObUD.js} +4 -4
- package/dist/core/{Glass-U4NJVg8d.js → Glass-DujSDEC3.js} +7 -7
- package/dist/core/{GlassTiles-CF1FpanH.js → GlassTiles-BrFjg8_U.js} +2 -2
- package/dist/core/{Glitch-DOnrgMPv.js → Glitch-BEj5IcEk.js} +2 -2
- package/dist/core/{Glow-C5Xwf4jz.js → Glow-BrLQEgGG.js} +3 -3
- package/dist/core/{Godrays-DFD0-QUO.js → Godrays-C-nFhT7J.js} +3 -3
- package/dist/core/{Goo-CXruf3Bc.js → Goo-BHDDGalk.js} +7 -7
- package/dist/core/{GradientMap-0btW-vE7.js → GradientMap-o2MPg2ow.js} +4 -4
- package/dist/core/{Grayscale-CQVfbvqS.js → Grayscale-C-la_L2j.js} +2 -2
- package/dist/core/{Grid-OAYnOEA9.js → Grid-B1VcFuc7.js} +3 -3
- package/dist/core/{GridDistortion-DeLoOUlh.js → GridDistortion-CCHiCvEG.js} +5 -5
- package/dist/core/{Group-UfbFIE6i.js → Group-AnGFDE0L.js} +1 -1
- package/dist/core/{HTMLInCanvas-DFZW7XjR.js → HTMLInCanvas-C_rqrYa1.js} +2 -2
- package/dist/core/{Halftone-BK7mr9rb.js → Halftone-CU42fH-5.js} +3 -3
- package/dist/core/{Heart-BdD0KoOX.js → Heart-07cEG1xh.js} +2 -2
- package/dist/core/{Heatmap-BubYsW6_.js → Heatmap-xBYZaTxw.js} +7 -7
- package/dist/core/{HexGrid-BVK5rrwR.js → HexGrid-3qTBLwQu.js} +3 -3
- package/dist/core/{Hologram-DE3lGk0F.js → Hologram-BMUHKIhP.js} +6 -6
- package/dist/core/{Holographic-DJqswtrS.js → Holographic-XrdyIsQ7.js} +6 -6
- package/dist/core/{HueShift-BfopB_hn.js → HueShift-DizW-T84.js} +3 -3
- package/dist/core/{ImageTexture-B5gNePC8.js → ImageTexture-C3Cn7rtL.js} +2 -2
- package/dist/core/{InkFlow-9Dy9cgIR.js → InkFlow-hFBLw4IG.js} +5 -5
- package/dist/core/{Invert-B5uKr4Bw.js → Invert-BFpiH_Fe.js} +2 -2
- package/dist/core/{IrisWipe-BunsTSPx.js → IrisWipe-DSr8gRmW.js} +3 -3
- package/dist/core/Irradiance-DT3bdyrR.js +4191 -0
- package/dist/core/{IsometricCubes-COoLKav-.js → IsometricCubes-BCRJuLb8.js} +3 -3
- package/dist/core/{Kaleidoscope-D2zB6f60.js → Kaleidoscope-BpOMiquv.js} +2 -2
- package/dist/core/{KeyFrames-QLmC6Sdn.js → KeyFrames-wKMZnI5V.js} +3 -3
- package/dist/core/{LensDistortion-CxLTKe5L.js → LensDistortion-DPn9dipa.js} +3 -3
- package/dist/core/{LensFlare-P1Cc_7_5.js → LensFlare-BrSUeEER.js} +3 -3
- package/dist/core/{LightEdge-B3HMbUyU.js → LightEdge-DMKtLk_r.js} +5 -6
- package/dist/core/{LightLeak-oEDfnsq5.js → LightLeak-D1d75-LU.js} +4 -4
- package/dist/core/{Line-BzGomKXR.js → Line-CJ1nmMq5.js} +3 -3
- package/dist/core/{LinearBlur-yhxdvssU.js → LinearBlur-1kNx5NeX.js} +3 -3
- package/dist/core/{LinearGradient-C15kSqLN.js → LinearGradient-BIg2PR9v.js} +4 -4
- package/dist/core/{LinearWipe-DHxvpnNg.js → LinearWipe-CfGDpMW3.js} +3 -3
- package/dist/core/{LiquidMetal-Cu2WeYH7.js → LiquidMetal-CnkraENV.js} +7 -7
- package/dist/core/{Liquify-DY1EfFNf.js → Liquify-2zml8B9N.js} +4 -4
- package/dist/core/{MagneticFilings-Bd6Pe_E0.js → MagneticFilings-Ddl4BEe7.js} +5 -5
- package/dist/core/{Marble-Bdc_FHzu.js → Marble-yskR3VxY.js} +26 -11
- package/dist/core/{MeshGradient-DRRMmZHE.js → MeshGradient-DzcW4S3J.js} +43 -13
- package/dist/core/{Mirror-5UQjt2Tf.js → Mirror-PoO2nzkL.js} +2 -2
- package/dist/core/{MultiPointGradient-DqdcS8e0.js → MultiPointGradient-b0b1o2Zp.js} +3 -3
- package/dist/core/{Nebula-BQuiaN-z.js → Nebula-yfdqoP2y.js} +8 -19
- package/dist/core/{Neon-BicLpgbo.js → Neon-BAsvBcVb.js} +5 -5
- package/dist/core/{NoiseDissolve-DGbFYpRH.js → NoiseDissolve-CFofypUT.js} +3 -3
- package/dist/core/{ObjectTracker-T8FCXWre.js → ObjectTracker-A8bkVn0T.js} +3 -3
- package/dist/core/Obsidian-ug1e4cqX.js +305 -0
- package/dist/core/{PagePeel-DilPJ9RZ.js → PagePeel-0gUH5Q-F.js} +2 -2
- package/dist/core/{Paper-l6RxJWBc.js → Paper-Cv-ENEnt.js} +2 -2
- package/dist/core/{Parallelogram-C95JWNsU.js → Parallelogram-CKri4Oxr.js} +2 -2
- package/dist/core/{ParticleField-aw2g8IBO.js → ParticleField-ImA96tiR.js} +4 -4
- package/dist/core/{ParticleFlow-DTrnGnOB.js → ParticleFlow-CvOwCV9k.js} +6 -6
- package/dist/core/{Particles-Jhwjq6OU.js → Particles-HiSrLK4u.js} +6 -6
- package/dist/core/{PerlinNoise-D6xOjr7j.js → PerlinNoise-DWzWZnfd.js} +4 -4
- package/dist/core/{Perspective-Bb-9hqX5.js → Perspective-CZsUpoMX.js} +3 -3
- package/dist/core/{PixelSort-INY2qe01.js → PixelSort-sFDbi0pD.js} +4 -4
- package/dist/core/{PixelThrow-BWWz7QQi.js → PixelThrow-jqMlr2Be.js} +4 -4
- package/dist/core/{Pixelate-C3aJ40yf.js → Pixelate-BM5zL6Ss.js} +2 -2
- package/dist/core/{Plasma-evU7RvjN.js → Plasma--XCLN3eI.js} +4 -4
- package/dist/core/{Plastic-CdenJzHE.js → Plastic-COIZ00DY.js} +7 -7
- package/dist/core/{PolarCoordinates-CgSPmcVa.js → PolarCoordinates-DvrVbOAL.js} +2 -2
- package/dist/core/{Polygon-CP182yxM.js → Polygon-C9joRqmN.js} +3 -3
- package/dist/core/{Posterize-g1VAiALB.js → Posterize-Ctj5u3WL.js} +2 -2
- package/dist/core/{Prism-ZUtkRwyw.js → Prism-DDbB5dVW.js} +6 -6
- package/dist/core/{ProgressiveBlur-wUfFxLuq.js → ProgressiveBlur-DtsGEfjw.js} +3 -3
- package/dist/core/{RadialGradient-BVplFboK.js → RadialGradient-X-zZCLXw.js} +4 -4
- package/dist/core/{RadialWipe-CEvgkBtN.js → RadialWipe-_fAAAe7h.js} +3 -3
- package/dist/core/{RandomBars-DznYc1cK.js → RandomBars-HijtROxW.js} +3 -3
- package/dist/core/{ReactionDiffusion-hEARMWb4.js → ReactionDiffusion-CS7NfQ4C.js} +5 -5
- package/dist/core/{RectangularCoordinates-BKOR8UVl.js → RectangularCoordinates-BqG9R6nC.js} +2 -2
- package/dist/core/{ReflectivePlane-DrJ1pxMa.js → ReflectivePlane-Cgxar0Vg.js} +3 -3
- package/dist/core/{Repeater-DTpCf9Lm.js → Repeater-Bja_7hpl.js} +3 -3
- package/dist/core/{Ring-DINywbbr.js → Ring-CjXxnr67.js} +2 -2
- package/dist/core/{RippleWipe-CwenaRYy.js → RippleWipe-pFLRAiMP.js} +3 -3
- package/dist/core/{Ripples-FuYdWcQW.js → Ripples-f1uD5ZHV.js} +3 -3
- package/dist/core/{RoundedRect-h_UJqq2W.js → RoundedRect-Nocfrish.js} +2 -2
- package/dist/core/{Saturation-DitLgecu.js → Saturation-Bk2_CdAM.js} +3 -3
- package/dist/core/{Scratches-4So8YZag.js → Scratches-BGjPBk-E.js} +4 -4
- package/dist/core/{Sharpness-CZ7h17-W.js → Sharpness-nMDZWmUh.js} +3 -3
- package/dist/core/{Shatter-DQ1i7GCD.js → Shatter-CNqHaYVM.js} +2 -2
- package/dist/core/{SimplexNoise-Cbhm8yTV.js → SimplexNoise-HdsHuat_.js} +4 -4
- package/dist/core/{SineWave-BULHKSth.js → SineWave-DtfHg2hB.js} +3 -3
- package/dist/core/{SliceWipe-CrxHLUSK.js → SliceWipe-Bp_riBms.js} +2 -2
- package/dist/core/{Smoke-C-0NUtDU.js → Smoke-C-lb8En_.js} +4 -4
- package/dist/core/{SmokeFill-D81FhHmB.js → SmokeFill-ChR8Pe8m.js} +7 -7
- package/dist/core/{SmokeFlow-DirP_Xti.js → SmokeFlow-Dx6_BTmh.js} +4 -4
- package/dist/core/{Solarize-DZP3UJ85.js → Solarize-CjleKYpq.js} +3 -3
- package/dist/core/{SolidColor-DvatFKwG.js → SolidColor-BgxBiv00.js} +3 -3
- package/dist/core/{Spherize-sLICbjrn.js → Spherize-B8aaXFYF.js} +3 -3
- package/dist/core/{Spiral-irgoeG4p.js → Spiral-CMHZAfrE.js} +3 -3
- package/dist/core/{Star-CKLN8zIt.js → Star-CCs7sc0U.js} +2 -2
- package/dist/core/{Stone-D5-LyXDX.js → Stone-DGW4Z0fk.js} +2 -2
- package/dist/core/{Strands-DhHb1DvF.js → Strands-CRqZn5yd.js} +5 -5
- package/dist/core/{Stretch-T57H17vt.js → Stretch-CcVH3bEx.js} +2 -2
- package/dist/core/{Stripes-DxWGkOif.js → Stripes-BZieDTLM.js} +3 -3
- package/dist/core/StudioBackground-Ba3yr_rk.js +399 -0
- package/dist/core/{SunBurst-DR13HThp.js → SunBurst-DcgLv7MO.js} +3 -3
- package/dist/core/{Surface3D-CpOF-rTd.js → Surface3D-CJCdvt2D.js} +6 -6
- package/dist/core/{Swirl-Cn9B5BXA.js → Swirl-DWcoxaOQ.js} +4 -4
- package/dist/core/{Teardrop-xVB2Rryt.js → Teardrop-CKptpnfu.js} +2 -2
- package/dist/core/{Text-Bzitt0Bc.js → Text-Cdu-4DM4.js} +6 -6
- package/dist/core/{ThinFilm-CrslR7Dx.js → ThinFilm-CEgkS1Gh.js} +5 -5
- package/dist/core/{TiltShift-DxfHWzYk.js → TiltShift-sU_nwYUs.js} +3 -3
- package/dist/core/{TimeTrail-CSy6Y7hh.js → TimeTrail-BPpKtbwU.js} +6 -6
- package/dist/core/{Tint-DOCp2b8s.js → Tint-DLMwqDc-.js} +3 -3
- package/dist/core/{Trapezoid-CtfXCYGA.js → Trapezoid-HmlCtO5F.js} +2 -2
- package/dist/core/{TriangularGrid-BmumLNDo.js → TriangularGrid-CyN-Xlpp.js} +3 -3
- package/dist/core/{Tritone-B93mcT36.js → Tritone-TxR-2WxY.js} +3 -3
- package/dist/core/{Truchet-CH6G5ozn.js → Truchet-Dz0_Wb6a.js} +3 -3
- package/dist/core/{Twirl-B9Z9dST8.js → Twirl-C2ZZbEqD.js} +2 -2
- package/dist/core/{VHS-BqFaXkMd.js → VHS-AzcydKoR.js} +2 -2
- package/dist/core/{VenetianBlinds-DAGlgwNE.js → VenetianBlinds-ByLVp-bI.js} +3 -3
- package/dist/core/{Vesica-D-8FK4C2.js → Vesica--m1hCd0S.js} +2 -2
- package/dist/core/{Vibrance-bJAZ4iks.js → Vibrance-C3W42RTW.js} +3 -3
- package/dist/core/{VideoTexture-LRpjvr-E.js → VideoTexture-CiONs3rJ.js} +2 -2
- package/dist/core/{Vignette-QPr1Cal2.js → Vignette-YXS49Qyf.js} +5 -12
- package/dist/core/{Voronoi-c4jiH9Rs.js → Voronoi-BwSw2fv2.js} +5 -5
- package/dist/core/{Water-D9HuYCj8.js → Water-Bsh_h3mJ.js} +7 -7
- package/dist/core/{Watercolor-DQUk4Fp6.js → Watercolor-CE1O6HQG.js} +4 -4
- package/dist/core/{WaveDistortion-7a_HwjyD.js → WaveDistortion-Bjr4PG5Q.js} +2 -2
- package/dist/core/Waveform-VAxURycO.js +427 -0
- package/dist/core/{WaveletNoise-B87y08nU.js → WaveletNoise-dNJGloeP.js} +4 -4
- package/dist/core/{Weave-BYnUiQAe.js → Weave-3Esy_ShT.js} +3 -3
- package/dist/core/{WebcamTexture-B7ldvLMJ.js → WebcamTexture-BPuazZWW.js} +2 -2
- package/dist/core/{Wool-BIVLEFAo.js → Wool-Crs8DCcs.js} +2 -2
- package/dist/core/{WorleyNoise-BzruBvh3.js → WorleyNoise-DHH2D7Mj.js} +3 -3
- package/dist/core/{ZoomBlur-Cg6vOxUb.js → ZoomBlur-EltMxju3.js} +3 -3
- package/dist/core/{agents-Ccxns43k.js → agents-CR8K0nq1.js} +4 -5
- package/dist/core/{agents-DbHmHbkU.js → agents-DcHmaB0C.js} +1 -2
- package/dist/core/{blur-CpGmUq81.js → blur-BwjlF0Uk.js} +1 -1
- package/dist/core/{blurs-O1YbZEVw.js → blurs-D1HfQTGP.js} +5 -5
- package/dist/core/{color-C9iR6boM.js → color-dbYyVLqf.js} +2 -3
- package/dist/core/compose-prsdG9f_.js +46 -0
- package/dist/core/{feedback-ZMsR_fKB.js → feedback-DvKOD0Oo.js} +1 -1
- package/dist/core/{fields-Cg5kOBDV.js → fields-Cv-wBDLP.js} +155 -7
- package/dist/core/figures-DdZ6A2i8.js +48 -0
- package/dist/core/{fluids-D76EnTFg.js → fluids-BPs3cdPe.js} +2 -2
- package/dist/core/{frames-BWC4dNMQ.js → frames-DIS73FmL.js} +23 -3
- package/dist/core/{glass-DxE2Cy6_.js → glass-CtWl8jzT.js} +1 -1
- package/dist/core/gpu/index.d.ts +4 -0
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/colorStops.d.ts +6 -0
- package/dist/core/gpu/kit/colorStops.d.ts.map +1 -1
- package/dist/core/gpu/kit/fields.d.ts +29 -0
- package/dist/core/gpu/kit/fields.d.ts.map +1 -1
- package/dist/core/gpu/kit/gradientPaints.d.ts +9 -0
- package/dist/core/gpu/kit/gradientPaints.d.ts.map +1 -1
- package/dist/core/gpu/kit/index.d.ts +0 -1
- package/dist/core/gpu/kit/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/noisePaints.d.ts +12 -22
- package/dist/core/gpu/kit/noisePaints.d.ts.map +1 -1
- package/dist/core/gpu/kit/patternPaints.d.ts +5 -0
- package/dist/core/gpu/kit/patternPaints.d.ts.map +1 -1
- package/dist/core/gpu/kit/sdf.d.ts +15 -0
- package/dist/core/gpu/kit/sdf.d.ts.map +1 -1
- package/dist/core/gpu/kit/shapePaints.d.ts +8 -21
- package/dist/core/gpu/kit/shapePaints.d.ts.map +1 -1
- package/dist/core/gpu/kit/tone.d.ts +5 -0
- package/dist/core/gpu/kit/tone.d.ts.map +1 -1
- package/dist/core/gpu/scaffolds/radiance.d.ts +347 -0
- package/dist/core/gpu/scaffolds/radiance.d.ts.map +1 -0
- package/dist/core/gpu/transforms.d.ts +2 -1
- package/dist/core/gpu/transforms.d.ts.map +1 -1
- package/dist/core/gpu/uniformBridge.d.ts +6 -0
- package/dist/core/gpu/uniformBridge.d.ts.map +1 -1
- package/dist/core/{gradientPaints-B6-PoDoK.js → gradientPaints-Du0XCNHB.js} +1287 -301
- package/dist/core/{gradients-CVEWcxw9.js → gradients-DT6nJTmW.js} +4 -4
- package/dist/core/index.js +300 -248
- package/dist/core/{lens-ChZyqXRf.js → lens-Dh_a0mZH.js} +2 -2
- package/dist/core/{light-CJ3dY0iH.js → light-CROZ7Zf1.js} +39 -6
- package/dist/core/{lightfields-BjzpZvFy.js → lightfields-D5lW4WSp.js} +2 -2
- package/dist/core/{lower-z2vuXP8M.js → lower-DSk_KxOY.js} +12186 -958
- package/dist/core/mask-AFtVwMNo.js +28 -0
- package/dist/core/{materials-D7QX3H4h.js → materials-Dhq8lDKb.js} +77 -28
- package/dist/core/{math-BF-GBlb4.js → math-DCQU6EQz.js} +9 -2
- package/dist/core/{media-By6o6a83.js → media-Bh5c_fVF.js} +2 -2
- package/dist/core/{mediaLifecycle-DQg13y-f.js → mediaLifecycle-BTPb5i1-.js} +1 -1
- package/dist/core/{motionBlur-BnthNfqm.js → motionBlur-CiNghKu6.js} +2 -3
- package/dist/core/{noise-DQWgxDEf.js → noise-DrbAbu3H.js} +54 -76
- package/dist/core/{noiseColor-XppoAmXi.js → noiseColor-DKo-P8T0.js} +2 -2
- package/dist/core/{noisePaints-Cs2Q1Xk9.js → noisePaints-DV5jKo1A.js} +464 -735
- package/dist/core/{overlay-Sye7-I6D.js → overlay-Dc6bKqEd.js} +5 -5
- package/dist/core/{patterns-CUWhLDh0.js → patterns-BAu9g0yn.js} +729 -433
- package/dist/core/{pointerFields-CaaXhvvu.js → pointerFields-yUe8811b.js} +2 -2
- package/dist/core/{porters-B1UjrM1y.js → porters-j4QbEOqj.js} +148 -7
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +246 -244
- package/dist/core/{reveal-xpOj9hSs.js → reveal-s6xWR757.js} +1 -2
- package/dist/core/{sdf3d-BD5m6HR6.js → sdf3d-DQ55w9nI.js} +3 -3
- package/dist/core/shaderRegistry-D6mNFoD5.js +441 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +10 -11
- package/dist/core/shaders/Arc/index.js +6 -6
- package/dist/core/shaders/Ascii/index.js +11 -12
- package/dist/core/shaders/Aurora/index.d.ts.map +1 -1
- package/dist/core/shaders/Aurora/index.js +21 -12
- package/dist/core/shaders/BarShift/index.js +8 -9
- package/dist/core/shaders/BarnDoors/index.js +7 -8
- package/dist/core/shaders/Beam/index.js +11 -12
- package/dist/core/shaders/Bend/index.js +8 -9
- package/dist/core/shaders/Blob/index.d.ts.map +1 -1
- package/dist/core/shaders/Blob/index.js +18 -12
- package/dist/core/shaders/BlockDissolve/index.js +7 -8
- package/dist/core/shaders/BlockNoise/index.js +14 -16
- package/dist/core/shaders/BlueNoise/index.js +14 -16
- package/dist/core/shaders/Blur/index.js +10 -11
- package/dist/core/shaders/Boids/index.js +9 -10
- package/dist/core/shaders/BokehBlur/index.js +10 -11
- package/dist/core/shaders/BrickPattern/index.js +13 -15
- package/dist/core/shaders/BrightnessContrast/index.js +7 -8
- package/dist/core/shaders/BrushedMetal/index.js +11 -12
- package/dist/core/shaders/Bulge/index.js +8 -9
- package/dist/core/shaders/CRTScreen/index.js +10 -11
- package/dist/core/shaders/CarbonFiber/index.js +11 -12
- package/dist/core/shaders/Chalkboard/index.js +9 -10
- package/dist/core/shaders/ChannelBlur/index.js +10 -11
- package/dist/core/shaders/CheckerWipe/index.js +7 -8
- package/dist/core/shaders/Checkerboard/index.js +13 -15
- package/dist/core/shaders/Chevron/index.js +13 -15
- package/dist/core/shaders/ChromaFlow/index.js +8 -9
- package/dist/core/shaders/ChromaticAberration/index.js +11 -12
- package/dist/core/shaders/Chrome/index.js +10 -11
- package/dist/core/shaders/Circle/index.js +6 -6
- package/dist/core/shaders/ColorWheel/index.js +11 -12
- package/dist/core/shaders/CompressionArtifacts/index.js +7 -8
- package/dist/core/shaders/ConcentricSpin/index.js +8 -9
- package/dist/core/shaders/ConicGradient/index.js +11 -12
- package/dist/core/shaders/ContourLines/index.js +6 -7
- package/dist/core/shaders/CornerPin/index.js +8 -9
- package/dist/core/shaders/Crescent/index.js +5 -5
- package/dist/core/shaders/Cross/index.js +5 -5
- package/dist/core/shaders/Crystal/index.js +11 -12
- package/dist/core/shaders/CurlNoise/index.js +14 -16
- package/dist/core/shaders/CursorRipples/index.js +7 -6
- package/dist/core/shaders/CursorTrail/index.js +7 -8
- package/dist/core/shaders/DataMosh/index.js +7 -8
- package/dist/core/shaders/DiamondGradient/index.js +11 -12
- package/dist/core/shaders/DiamondWipe/index.js +7 -8
- package/dist/core/shaders/DiffuseBlur/index.js +10 -11
- package/dist/core/shaders/DisplacementMap/index.js +8 -9
- package/dist/core/shaders/Dither/index.js +13 -15
- package/dist/core/shaders/DotGrid/index.js +13 -15
- package/dist/core/shaders/DropShadow/index.js +10 -11
- package/dist/core/shaders/Duotone/index.js +6 -7
- package/dist/core/shaders/Ellipse/index.js +5 -5
- package/dist/core/shaders/Emboss/index.js +9 -10
- package/dist/core/shaders/Engraving/index.js +9 -10
- package/dist/core/shaders/ErosionNoise/index.js +14 -16
- package/dist/core/shaders/Exposure/index.js +7 -8
- package/dist/core/shaders/FallingLines/index.js +13 -15
- package/dist/core/shaders/FilmGrain/index.js +7 -8
- package/dist/core/shaders/FilmStock/index.js +13 -14
- package/dist/core/shaders/Flip/index.js +8 -9
- package/dist/core/shaders/FloatingParticles/index.js +9 -10
- package/dist/core/shaders/FlowField/index.js +8 -9
- package/dist/core/shaders/Flower/index.js +5 -5
- package/dist/core/shaders/FlowingGradient/index.d.ts.map +1 -1
- package/dist/core/shaders/FlowingGradient/index.js +15 -12
- package/dist/core/shaders/FlutedGlass/index.js +11 -12
- package/dist/core/shaders/Fog/index.js +7 -8
- package/dist/core/shaders/Form3D/index.js +7 -8
- package/dist/core/shaders/FractalNoise/index.js +13 -15
- package/dist/core/shaders/Frost/index.js +11 -12
- package/dist/core/shaders/GaborNoise/index.js +14 -16
- package/dist/core/shaders/Glass/index.js +11 -12
- package/dist/core/shaders/GlassTiles/index.js +8 -9
- package/dist/core/shaders/Glitch/index.js +10 -11
- package/dist/core/shaders/Glow/index.js +11 -12
- package/dist/core/shaders/Godrays/index.js +12 -12
- package/dist/core/shaders/Goo/index.js +11 -12
- package/dist/core/shaders/GradientMap/index.js +7 -8
- package/dist/core/shaders/Grayscale/index.js +6 -7
- package/dist/core/shaders/Grid/index.js +13 -15
- package/dist/core/shaders/GridDistortion/index.js +11 -12
- package/dist/core/shaders/Group/index.js +6 -7
- package/dist/core/shaders/HTMLInCanvas/index.js +7 -8
- package/dist/core/shaders/Halftone/index.js +13 -15
- package/dist/core/shaders/Heart/index.js +5 -5
- package/dist/core/shaders/Heatmap/index.js +11 -12
- package/dist/core/shaders/HexGrid/index.js +13 -15
- package/dist/core/shaders/Hologram/index.js +10 -11
- package/dist/core/shaders/Holographic/index.js +10 -11
- package/dist/core/shaders/HueShift/index.js +7 -8
- package/dist/core/shaders/ImageTexture/index.js +6 -6
- package/dist/core/shaders/InkFlow/index.js +8 -9
- package/dist/core/shaders/Invert/index.js +6 -7
- package/dist/core/shaders/IrisWipe/index.js +7 -8
- package/dist/core/shaders/Irradiance/index.d.ts +127 -0
- package/dist/core/shaders/Irradiance/index.d.ts.map +1 -0
- package/dist/core/shaders/Irradiance/index.js +14 -0
- package/dist/core/shaders/IsometricCubes/index.js +13 -15
- package/dist/core/shaders/Kaleidoscope/index.js +8 -9
- package/dist/core/shaders/KeyFrames/index.js +10 -11
- package/dist/core/shaders/LensDistortion/index.js +6 -6
- package/dist/core/shaders/LensFlare/index.js +12 -12
- package/dist/core/shaders/LightEdge/index.js +10 -11
- package/dist/core/shaders/LightLeak/index.js +12 -12
- package/dist/core/shaders/Line/index.js +10 -12
- package/dist/core/shaders/LinearBlur/index.js +10 -11
- package/dist/core/shaders/LinearGradient/index.js +11 -12
- package/dist/core/shaders/LinearWipe/index.js +7 -8
- package/dist/core/shaders/LiquidMetal/index.js +11 -12
- package/dist/core/shaders/Liquify/index.js +10 -11
- package/dist/core/shaders/MagneticFilings/index.js +9 -10
- package/dist/core/shaders/Marble/index.d.ts +1 -1
- package/dist/core/shaders/Marble/index.d.ts.map +1 -1
- package/dist/core/shaders/Marble/index.js +15 -15
- package/dist/core/shaders/MeshGradient/index.d.ts.map +1 -1
- package/dist/core/shaders/MeshGradient/index.js +16 -12
- package/dist/core/shaders/Mirror/index.js +8 -9
- package/dist/core/shaders/MultiPointGradient/index.js +11 -12
- package/dist/core/shaders/Nebula/index.js +13 -12
- package/dist/core/shaders/Neon/index.js +9 -10
- package/dist/core/shaders/NoiseDissolve/index.js +7 -8
- package/dist/core/shaders/ObjectTracker/index.js +10 -11
- package/dist/core/shaders/Obsidian/index.d.ts +142 -0
- package/dist/core/shaders/Obsidian/index.d.ts.map +1 -0
- package/dist/core/shaders/Obsidian/index.js +16 -0
- package/dist/core/shaders/PagePeel/index.js +10 -11
- package/dist/core/shaders/Paper/index.js +8 -9
- package/dist/core/shaders/Parallelogram/index.js +5 -5
- package/dist/core/shaders/ParticleField/index.js +9 -10
- package/dist/core/shaders/ParticleFlow/index.js +10 -11
- package/dist/core/shaders/Particles/index.js +9 -10
- package/dist/core/shaders/PerlinNoise/index.js +14 -16
- package/dist/core/shaders/Perspective/index.js +8 -9
- package/dist/core/shaders/PixelSort/index.js +8 -9
- package/dist/core/shaders/PixelThrow/index.js +8 -9
- package/dist/core/shaders/Pixelate/index.js +10 -11
- package/dist/core/shaders/Plasma/index.js +11 -12
- package/dist/core/shaders/Plastic/index.js +11 -12
- package/dist/core/shaders/PolarCoordinates/index.js +8 -9
- package/dist/core/shaders/Polygon/index.js +6 -6
- package/dist/core/shaders/Posterize/index.js +6 -7
- package/dist/core/shaders/Prism/index.js +12 -13
- package/dist/core/shaders/ProgressiveBlur/index.js +10 -11
- package/dist/core/shaders/RadialGradient/index.js +11 -12
- package/dist/core/shaders/RadialWipe/index.js +7 -8
- package/dist/core/shaders/RandomBars/index.js +7 -8
- package/dist/core/shaders/ReactionDiffusion/index.js +8 -9
- package/dist/core/shaders/RectangularCoordinates/index.js +8 -9
- package/dist/core/shaders/ReflectivePlane/index.js +10 -11
- package/dist/core/shaders/Repeater/index.js +5 -5
- package/dist/core/shaders/Ring/index.js +5 -5
- package/dist/core/shaders/RippleWipe/index.js +7 -8
- package/dist/core/shaders/Ripples/index.js +13 -15
- package/dist/core/shaders/RoundedRect/index.js +5 -5
- package/dist/core/shaders/Saturation/index.js +7 -8
- package/dist/core/shaders/Scratches/index.js +14 -16
- package/dist/core/shaders/Sharpness/index.js +11 -12
- package/dist/core/shaders/Shatter/index.js +6 -7
- package/dist/core/shaders/SimplexNoise/index.js +14 -16
- package/dist/core/shaders/SineWave/index.js +10 -12
- package/dist/core/shaders/SliceWipe/index.js +8 -9
- package/dist/core/shaders/Smoke/index.js +7 -8
- package/dist/core/shaders/SmokeFill/index.js +10 -11
- package/dist/core/shaders/SmokeFlow/index.js +7 -8
- package/dist/core/shaders/Solarize/index.js +7 -8
- package/dist/core/shaders/SolidColor/index.js +11 -12
- package/dist/core/shaders/Spherize/index.js +10 -11
- package/dist/core/shaders/Spiral/index.js +11 -12
- package/dist/core/shaders/Star/index.js +5 -5
- package/dist/core/shaders/Stone/index.js +13 -15
- package/dist/core/shaders/Strands/index.js +13 -15
- package/dist/core/shaders/Stretch/index.js +8 -9
- package/dist/core/shaders/Stripes/index.js +13 -15
- package/dist/core/shaders/StudioBackground/index.d.ts.map +1 -1
- package/dist/core/shaders/StudioBackground/index.js +14 -15
- package/dist/core/shaders/SunBurst/index.js +12 -12
- package/dist/core/shaders/Surface3D/index.js +8 -9
- package/dist/core/shaders/Swirl/index.js +11 -12
- package/dist/core/shaders/Teardrop/index.js +5 -5
- package/dist/core/shaders/Text/index.js +12 -13
- package/dist/core/shaders/ThinFilm/index.js +9 -10
- package/dist/core/shaders/TiltShift/index.js +10 -11
- package/dist/core/shaders/TimeTrail/index.js +8 -9
- package/dist/core/shaders/Tint/index.js +6 -7
- package/dist/core/shaders/Trapezoid/index.js +5 -5
- package/dist/core/shaders/TriangularGrid/index.js +13 -15
- package/dist/core/shaders/Tritone/index.js +6 -7
- package/dist/core/shaders/Truchet/index.js +13 -15
- package/dist/core/shaders/Twirl/index.js +8 -9
- package/dist/core/shaders/VHS/index.js +10 -11
- package/dist/core/shaders/VenetianBlinds/index.js +7 -8
- package/dist/core/shaders/Vesica/index.js +5 -5
- package/dist/core/shaders/Vibrance/index.js +7 -8
- package/dist/core/shaders/VideoTexture/index.js +6 -6
- package/dist/core/shaders/Vignette/index.js +8 -7
- package/dist/core/shaders/Voronoi/index.js +13 -15
- package/dist/core/shaders/Water/index.js +11 -12
- package/dist/core/shaders/Watercolor/index.js +10 -11
- package/dist/core/shaders/WaveDistortion/index.js +8 -9
- package/dist/core/shaders/Waveform/index.d.ts +131 -0
- package/dist/core/shaders/Waveform/index.d.ts.map +1 -0
- package/dist/core/shaders/Waveform/index.js +17 -0
- package/dist/core/shaders/WaveletNoise/index.js +14 -16
- package/dist/core/shaders/Weave/index.js +13 -15
- package/dist/core/shaders/WebcamTexture/index.js +6 -6
- package/dist/core/shaders/Wool/index.js +13 -15
- package/dist/core/shaders/WorleyNoise/index.js +13 -15
- package/dist/core/shaders/ZoomBlur/index.js +10 -11
- package/dist/core/{shape-BMO1cLTt.js → shape-Dfa7_eQh.js} +1 -1
- package/dist/core/{shapePaints-G_Ap8xID.js → shapePaints-CRpPT5Z5.js} +792 -2038
- package/dist/core/signal-DuaxoxK4.js +34 -0
- package/dist/core/std/frames.d.ts +27 -0
- package/dist/core/std/frames.d.ts.map +1 -1
- package/dist/core/std/invoke.d.ts +9 -1
- package/dist/core/std/invoke.d.ts.map +1 -1
- package/dist/core/std/lists.d.ts +32 -0
- package/dist/core/std/lists.d.ts.map +1 -0
- package/dist/core/std/mask.d.ts +52 -0
- package/dist/core/std/mask.d.ts.map +1 -1
- package/dist/core/std/math.d.ts +14 -0
- package/dist/core/std/math.d.ts.map +1 -1
- package/dist/core/std/paint/compose.d.ts +29 -1
- package/dist/core/std/paint/compose.d.ts.map +1 -1
- package/dist/core/std/paint/fields.d.ts +91 -0
- package/dist/core/std/paint/fields.d.ts.map +1 -1
- package/dist/core/std/paint/figures.d.ts +0 -36
- package/dist/core/std/paint/figures.d.ts.map +1 -1
- package/dist/core/std/paint/light.d.ts +61 -0
- package/dist/core/std/paint/light.d.ts.map +1 -1
- package/dist/core/std/paint/materials.d.ts +84 -6
- package/dist/core/std/paint/materials.d.ts.map +1 -1
- package/dist/core/std/paint/noise.d.ts +72 -34
- package/dist/core/std/paint/noise.d.ts.map +1 -1
- package/dist/core/std/paint/patterns.d.ts +4 -3
- package/dist/core/std/paint/patterns.d.ts.map +1 -1
- package/dist/core/std/paint/radiance.d.ts +94 -0
- package/dist/core/std/paint/radiance.d.ts.map +1 -0
- package/dist/core/std/signal.d.ts +25 -0
- package/dist/core/std/signal.d.ts.map +1 -1
- package/dist/core/{stylize-DuY5wWZo.js → stylize-AZmEMszr.js} +2 -3
- package/dist/core/telemetry/index.js +1 -1
- package/dist/core/{tone-BA0D_veZ.js → tone-Ax72n2WU.js} +130 -2
- package/dist/core/types.d.ts +26 -1
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/utilities/listProps.d.ts +68 -0
- package/dist/core/utilities/listProps.d.ts.map +1 -0
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/core/{warpMaps-CPjWFW4W.js → warpMaps-051QhmeG.js} +2 -3
- package/dist/core/{warps-B_sbWWsN.js → warps-B5j8H1vX.js} +3 -3
- package/dist/js/bundle.js +182 -180
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +119 -0
- package/dist/react/Irradiance.js +226 -0
- package/dist/react/Obsidian.js +226 -0
- package/dist/react/Preview.js +3 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/Waveform.js +226 -0
- package/dist/react/bundle.js +167 -165
- package/dist/react/components/Irradiance.d.ts +45 -0
- package/dist/react/components/Irradiance.d.ts.map +1 -0
- package/dist/react/components/Obsidian.d.ts +44 -0
- package/dist/react/components/Obsidian.d.ts.map +1 -0
- package/dist/react/components/Waveform.d.ts +46 -0
- package/dist/react/components/Waveform.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +3 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +4 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +119 -0
- package/dist/registry.js +2549 -554
- package/dist/solid/components/Irradiance.d.ts +42 -0
- package/dist/solid/components/Irradiance.d.ts.map +1 -0
- package/dist/solid/components/Irradiance.js +232 -0
- package/dist/solid/components/Obsidian.d.ts +41 -0
- package/dist/solid/components/Obsidian.d.ts.map +1 -0
- package/dist/solid/components/Obsidian.js +232 -0
- package/dist/solid/components/Waveform.d.ts +43 -0
- package/dist/solid/components/Waveform.d.ts.map +1 -0
- package/dist/solid/components/Waveform.js +232 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +383 -377
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +3 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +212 -206
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +122 -0
- package/dist/svelte/components/Irradiance.svelte.d.ts +32 -0
- package/dist/svelte/components/Obsidian.svelte.d.ts +31 -0
- package/dist/svelte/components/Waveform.svelte.d.ts +33 -0
- package/dist/svelte/index.d.ts +3 -0
- package/dist/svelte/index.js +1698 -1077
- package/dist/svelte/source/components/Irradiance.svelte +356 -0
- package/dist/svelte/source/components/Obsidian.svelte +355 -0
- package/dist/svelte/source/components/Waveform.svelte +357 -0
- package/dist/svelte/source/engine/Preview.svelte +6 -0
- package/dist/svelte/source/index.js +3 -0
- package/dist/svelte/utils/generatePresetCode.js +119 -0
- package/dist/vue/Irradiance.js +3 -0
- package/dist/vue/Irradiance.vue_vue_type_script_setup_true_lang.js +244 -0
- package/dist/vue/Obsidian.js +3 -0
- package/dist/vue/Obsidian.vue_vue_type_script_setup_true_lang.js +248 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +6 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/Waveform.js +3 -0
- package/dist/vue/Waveform.vue_vue_type_script_setup_true_lang.js +244 -0
- package/dist/vue/components/Irradiance.vue.d.ts +67 -0
- package/dist/vue/components/Irradiance.vue.d.ts.map +1 -0
- package/dist/vue/components/Obsidian.vue.d.ts +66 -0
- package/dist/vue/components/Obsidian.vue.d.ts.map +1 -0
- package/dist/vue/components/Waveform.vue.d.ts +68 -0
- package/dist/vue/components/Waveform.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +3 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +4 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +119 -0
- package/package.json +25 -1
- package/dist/core/Aurora-aZQ7Sgpi.js +0 -189
- package/dist/core/FlowingGradient-DExZwWd-.js +0 -154
- package/dist/core/StudioBackground-CyNdOTtR.js +0 -294
- package/dist/core/aa-BfXCHL6-.js +0 -915
- package/dist/core/figures-Ca2qPDh7.js +0 -116
- package/dist/core/gpu/kit/scenicPaints.d.ts +0 -18
- package/dist/core/gpu/kit/scenicPaints.d.ts.map +0 -1
- package/dist/core/noise-B3Oq1k3_.js +0 -10320
- package/dist/core/noiseColor-CMKVWP1J.js +0 -20
- package/dist/core/scenic-CJSExiX2.js +0 -5738
- package/dist/core/shaderRegistry-Ch1r8XbD.js +0 -435
- package/dist/core/std/paint/scenic.d.ts +0 -111
- package/dist/core/std/paint/scenic.d.ts.map +0 -1
- /package/dist/core/{canvasRaster-Clio8jcl.js → canvasRaster-DDBkrdY8.js} +0 -0
- /package/dist/core/{device-DLKcFOd2.js → device-m0ud8-Fn.js} +0 -0
- /package/dist/core/{filter-Bw8Ogi4T.js → filter-VJlLs3Zs.js} +0 -0
- /package/dist/core/{fonts-Dyp7nl7T.js → fonts-BUXTd9qb.js} +0 -0
- /package/dist/core/{grids-BqY3o2yc.js → grids-C6sTUox5.js} +0 -0
- /package/dist/core/{slots-BqeQDVxy.js → slots-BuIG6s6W.js} +0 -0
- /package/dist/core/{support-ULZQgbko.js → support-GJphyuEe.js} +0 -0
- /package/dist/core/{transformations-CoIwF5JU.js → transformations-COlfAEsk.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import {
|
|
1
|
+
import { c as p, t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { vt as colorStopsPropConfig } from "./porters-j4QbEOqj.js";
|
|
3
|
+
import { f as rampOver, g as share, y as stops } from "./fields-Cv-wBDLP.js";
|
|
4
|
+
import { a as cellDistances, i as cellBorders, o as cellFill, r as borderOverlay } from "./noise-DrbAbu3H.js";
|
|
5
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-COlfAEsk.js";
|
|
6
6
|
var cells = share(cellDistances({
|
|
7
7
|
scale: p("scale"),
|
|
8
8
|
seed: p("seed")
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
6
|
-
import { C as
|
|
7
|
-
import {
|
|
1
|
+
import { rt as ZERO, t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-j4QbEOqj.js";
|
|
3
|
+
import { F as shapedSurface, I as sharpGlint, O as opticalThickness, P as schlickFresnel, R as silhouette, U as surfaceNoiseAt, V as surfaceField, W as surfacePattern, b as keyLightAt, g as guarded, l as fieldSlope, m as grazingFlat, n as beerLambert, u as flowWarp, v as insideShape, w as marchedNormal } from "./materials-Dhq8lDKb.js";
|
|
4
|
+
import { y as shapeEffectBoundingBoxDeclaration } from "./sdf3d-DQ55w9nI.js";
|
|
5
|
+
import { a as transformColor, c as transformPosition } from "./transformations-COlfAEsk.js";
|
|
6
|
+
import { B as vec4, C as mul, D as reflect, E as pow, L as sub, M as smoothstep, O as refract, P as splat3, R as vec2, S as mix, T as normalize, i as clamp, j as sin, n as add, o as div, s as dot, t as abs, u as float, v as length, y as local, z as vec3 } from "./math-DCQU6EQz.js";
|
|
7
|
+
import { n as direction } from "./frames-DIS73FmL.js";
|
|
8
8
|
var DEFAULT_SHAPE_CONFIG = JSON.stringify({
|
|
9
9
|
type: "circleSDF",
|
|
10
10
|
radius: .35
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { f as wash, s as kuwahara, t as bleedWarp, u as paperGrain } from "./stylize-
|
|
3
|
-
import { a as transformColor } from "./transformations-
|
|
4
|
-
import { n as crosses } from "./slots-
|
|
1
|
+
import { c as p, t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { f as wash, s as kuwahara, t as bleedWarp, u as paperGrain } from "./stylize-AZmEMszr.js";
|
|
3
|
+
import { a as transformColor } from "./transformations-COlfAEsk.js";
|
|
4
|
+
import { n as crosses } from "./slots-BuIG6s6W.js";
|
|
5
5
|
var wet = bleedWarp({ amount: p("bleed") });
|
|
6
6
|
const componentDefinition = defineStd({
|
|
7
7
|
name: "Watercolor",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { y as wave } from "./warps-
|
|
1
|
+
import { c as p, t as defineStd, u as edgesPropConfig } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { y as wave } from "./warps-B5j8H1vX.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "WaveDistortion",
|
|
5
5
|
role: "warp",
|
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
import { c as p, o as uniformOf, t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { t as animatedTime, vt as colorStopsPropConfig } from "./porters-j4QbEOqj.js";
|
|
3
|
+
import { y as stops } from "./fields-Cv-wBDLP.js";
|
|
4
|
+
import { O as waves } from "./noise-DrbAbu3H.js";
|
|
5
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-COlfAEsk.js";
|
|
6
|
+
import { B as vec4, C as mul, F as sqrt, I as step, L as sub, M as smoothstep, S as mix, b as max, d as floor, f as fract, i as clamp, n as add, o as div, p as gaussBell, t as abs, w as neg, y as local } from "./math-DCQU6EQz.js";
|
|
7
|
+
import { n as crispStroke, t as crispFill } from "./mask-AFtVwMNo.js";
|
|
8
|
+
import { f as roundedRect, r as circle } from "./shape-Dfa7_eQh.js";
|
|
9
|
+
import { o as segmentFrame, s as surfaceOf } from "./frames-DIS73FmL.js";
|
|
10
|
+
var SPECTRUM = [
|
|
11
|
+
{
|
|
12
|
+
waves: [{
|
|
13
|
+
x: 5.1,
|
|
14
|
+
t: 1.3
|
|
15
|
+
}],
|
|
16
|
+
weight: .28
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
waves: [{
|
|
20
|
+
x: 9.7,
|
|
21
|
+
t: -1.9
|
|
22
|
+
}, {
|
|
23
|
+
x: 1.7,
|
|
24
|
+
t: .6
|
|
25
|
+
}],
|
|
26
|
+
weight: .24
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
waves: [{
|
|
30
|
+
x: 17.3,
|
|
31
|
+
t: 2.7
|
|
32
|
+
}],
|
|
33
|
+
weight: .18
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
waves: [{
|
|
37
|
+
x: 31.9,
|
|
38
|
+
t: -3.4
|
|
39
|
+
}, {
|
|
40
|
+
x: 3.3,
|
|
41
|
+
t: -.9
|
|
42
|
+
}],
|
|
43
|
+
weight: .14
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
waves: [{
|
|
47
|
+
x: 67.7,
|
|
48
|
+
t: 4.1
|
|
49
|
+
}],
|
|
50
|
+
weight: .09
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
waves: [{
|
|
54
|
+
x: 131.3,
|
|
55
|
+
t: -5.3
|
|
56
|
+
}, {
|
|
57
|
+
x: 7.9,
|
|
58
|
+
t: 1.1
|
|
59
|
+
}],
|
|
60
|
+
weight: .07
|
|
61
|
+
}
|
|
62
|
+
];
|
|
63
|
+
var EDGE_LEVEL = .4;
|
|
64
|
+
var ENVELOPE_FALLOFF = 4;
|
|
65
|
+
var LEVEL_FLOOR = .45;
|
|
66
|
+
var LEVEL_SWING = .6;
|
|
67
|
+
var SLOPE_EPS = .002;
|
|
68
|
+
var STYLE_MODES = {
|
|
69
|
+
bars: 0,
|
|
70
|
+
wave: 1,
|
|
71
|
+
line: 2,
|
|
72
|
+
dots: 3
|
|
73
|
+
};
|
|
74
|
+
var ALIGN_MODES = {
|
|
75
|
+
mirrored: 0,
|
|
76
|
+
top: 1,
|
|
77
|
+
bottom: 2
|
|
78
|
+
};
|
|
79
|
+
var styleOf = (raw) => {
|
|
80
|
+
if (typeof raw === "number") return Object.keys(STYLE_MODES)[raw] ?? "bars";
|
|
81
|
+
return raw === "wave" || raw === "line" || raw === "dots" ? raw : "bars";
|
|
82
|
+
};
|
|
83
|
+
var alignOf = (raw) => {
|
|
84
|
+
if (typeof raw === "number") return Object.keys(ALIGN_MODES)[raw] ?? "mirrored";
|
|
85
|
+
return raw === "top" || raw === "bottom" ? raw : "mirrored";
|
|
86
|
+
};
|
|
87
|
+
const componentDefinition = defineStd({
|
|
88
|
+
name: "Waveform",
|
|
89
|
+
role: "generator",
|
|
90
|
+
boundingBoxDeclaration: {
|
|
91
|
+
aspectRatio: null,
|
|
92
|
+
supportsResizeFit: true
|
|
93
|
+
},
|
|
94
|
+
category: "Textures",
|
|
95
|
+
description: "Audio-visualizer waveform — equalizer bars, a filled wave, an oscilloscope line, or a dot matrix — driven by a simulated signal whose amplitude you can map to your own audio level",
|
|
96
|
+
acceptsUVContext: true,
|
|
97
|
+
animatedTime: { speed: "speed" },
|
|
98
|
+
props: {
|
|
99
|
+
style: {
|
|
100
|
+
default: "bars",
|
|
101
|
+
transform: (value) => STYLE_MODES[value] ?? 0,
|
|
102
|
+
compileTime: true,
|
|
103
|
+
description: "Visualizer style: equalizer bars, a filled wave envelope, an oscilloscope line, or a dot matrix",
|
|
104
|
+
ui: {
|
|
105
|
+
type: "select",
|
|
106
|
+
options: [
|
|
107
|
+
{
|
|
108
|
+
label: "Bars",
|
|
109
|
+
value: "bars"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
label: "Wave",
|
|
113
|
+
value: "wave"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
label: "Line",
|
|
117
|
+
value: "line"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
label: "Dots",
|
|
121
|
+
value: "dots"
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
label: "Style",
|
|
125
|
+
group: "Style"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
colorA: {
|
|
129
|
+
default: "#3b5bff",
|
|
130
|
+
transform: transformColor,
|
|
131
|
+
description: "Color at the start",
|
|
132
|
+
ui: {
|
|
133
|
+
type: "color",
|
|
134
|
+
label: "Color A",
|
|
135
|
+
group: "Colors"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
colorB: {
|
|
139
|
+
default: "#ff3bd4",
|
|
140
|
+
transform: transformColor,
|
|
141
|
+
description: "Color at the end",
|
|
142
|
+
ui: {
|
|
143
|
+
type: "color",
|
|
144
|
+
label: "Color B",
|
|
145
|
+
group: "Colors"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
stops: colorStopsPropConfig(),
|
|
149
|
+
colorSpace: {
|
|
150
|
+
default: "oklab",
|
|
151
|
+
transform: transformColorSpace,
|
|
152
|
+
compileTime: true,
|
|
153
|
+
description: "Color space for the start→end gradient",
|
|
154
|
+
ui: {
|
|
155
|
+
type: "select",
|
|
156
|
+
options: colorSpaceOptions,
|
|
157
|
+
label: "Color Space",
|
|
158
|
+
group: "Colors"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
from: {
|
|
162
|
+
default: {
|
|
163
|
+
x: 0,
|
|
164
|
+
y: .5
|
|
165
|
+
},
|
|
166
|
+
transform: transformPosition,
|
|
167
|
+
description: "Where the waveform starts (Color A end)",
|
|
168
|
+
ui: {
|
|
169
|
+
type: "position",
|
|
170
|
+
label: "Start",
|
|
171
|
+
group: "Position",
|
|
172
|
+
units: ["%", "px"]
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
to: {
|
|
176
|
+
default: {
|
|
177
|
+
x: 1,
|
|
178
|
+
y: .5
|
|
179
|
+
},
|
|
180
|
+
transform: transformPosition,
|
|
181
|
+
description: "Where the waveform ends (Color B end)",
|
|
182
|
+
ui: {
|
|
183
|
+
type: "position",
|
|
184
|
+
label: "End",
|
|
185
|
+
group: "Position",
|
|
186
|
+
units: ["%", "px"]
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
amplitude: {
|
|
190
|
+
default: 1,
|
|
191
|
+
description: "Overall signal level (0 = silence). Map this to your own audio level to make the waveform react to real sound.",
|
|
192
|
+
ui: {
|
|
193
|
+
type: ["range", "map"],
|
|
194
|
+
min: 0,
|
|
195
|
+
max: 2,
|
|
196
|
+
step: .01,
|
|
197
|
+
label: "Amplitude",
|
|
198
|
+
group: "Signal"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
frequency: {
|
|
202
|
+
default: 1,
|
|
203
|
+
description: "How busy the signal is across the width (higher = more peaks)",
|
|
204
|
+
ui: {
|
|
205
|
+
type: ["range", "map"],
|
|
206
|
+
min: .2,
|
|
207
|
+
max: 3,
|
|
208
|
+
step: .01,
|
|
209
|
+
label: "Frequency",
|
|
210
|
+
group: "Signal"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
height: {
|
|
214
|
+
default: .6,
|
|
215
|
+
description: "Maximum vertical extent of the waveform as a fraction of the canvas height",
|
|
216
|
+
ui: {
|
|
217
|
+
type: ["range", "map"],
|
|
218
|
+
min: .05,
|
|
219
|
+
max: 1,
|
|
220
|
+
step: .01,
|
|
221
|
+
label: "Height",
|
|
222
|
+
group: "Effect"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
align: {
|
|
226
|
+
default: "mirrored",
|
|
227
|
+
transform: (value) => ALIGN_MODES[value] ?? 0,
|
|
228
|
+
compileTime: true,
|
|
229
|
+
description: "Which side of the start→end baseline the waveform grows on: mirrored around it, above it (top), or below it (bottom)",
|
|
230
|
+
ui: {
|
|
231
|
+
type: "select",
|
|
232
|
+
options: [
|
|
233
|
+
{
|
|
234
|
+
label: "Mirrored",
|
|
235
|
+
value: "mirrored"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
label: "Top",
|
|
239
|
+
value: "top"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
label: "Bottom",
|
|
243
|
+
value: "bottom"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
label: "Align",
|
|
247
|
+
group: "Effect"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
count: {
|
|
251
|
+
default: 32,
|
|
252
|
+
description: "Number of bars (or dot columns) across the width",
|
|
253
|
+
ui: {
|
|
254
|
+
type: ["range", "map"],
|
|
255
|
+
min: 4,
|
|
256
|
+
max: 128,
|
|
257
|
+
step: 1,
|
|
258
|
+
label: "Count",
|
|
259
|
+
group: "Effect",
|
|
260
|
+
condition: { style: ["bars", "dots"] }
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
barWidth: {
|
|
264
|
+
default: .6,
|
|
265
|
+
description: "Bar thickness as a fraction of its column (1 = bars touch)",
|
|
266
|
+
ui: {
|
|
267
|
+
type: ["range", "map"],
|
|
268
|
+
min: .1,
|
|
269
|
+
max: 1,
|
|
270
|
+
step: .01,
|
|
271
|
+
label: "Bar Width",
|
|
272
|
+
group: "Effect",
|
|
273
|
+
condition: { style: "bars" }
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
rounding: {
|
|
277
|
+
default: 1,
|
|
278
|
+
description: "Rounds the bar ends (0 = square, 1 = fully rounded caps)",
|
|
279
|
+
ui: {
|
|
280
|
+
type: ["range", "map"],
|
|
281
|
+
min: 0,
|
|
282
|
+
max: 1,
|
|
283
|
+
step: .01,
|
|
284
|
+
label: "Rounding",
|
|
285
|
+
group: "Effect",
|
|
286
|
+
condition: { style: "bars" }
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
dotSize: {
|
|
290
|
+
default: .7,
|
|
291
|
+
description: "Dot diameter as a fraction of its cell",
|
|
292
|
+
ui: {
|
|
293
|
+
type: ["range", "map"],
|
|
294
|
+
min: .2,
|
|
295
|
+
max: 1,
|
|
296
|
+
step: .01,
|
|
297
|
+
label: "Dot Size",
|
|
298
|
+
group: "Effect",
|
|
299
|
+
condition: { style: "dots" }
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
lineWidth: {
|
|
303
|
+
default: .006,
|
|
304
|
+
description: "Stroke thickness of the line. A value of one (1) matches the canvas height.",
|
|
305
|
+
ui: {
|
|
306
|
+
type: ["range", "map"],
|
|
307
|
+
min: .001,
|
|
308
|
+
max: .05,
|
|
309
|
+
step: .001,
|
|
310
|
+
label: "Line Width",
|
|
311
|
+
group: "Effect",
|
|
312
|
+
dimensional: "canvas-height",
|
|
313
|
+
condition: { style: "line" }
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
softness: {
|
|
317
|
+
default: 0,
|
|
318
|
+
description: "Feathers the wave's edge into a glow",
|
|
319
|
+
ui: {
|
|
320
|
+
type: ["range", "map"],
|
|
321
|
+
min: 0,
|
|
322
|
+
max: 1,
|
|
323
|
+
step: .01,
|
|
324
|
+
label: "Softness",
|
|
325
|
+
group: "Effect",
|
|
326
|
+
condition: { style: "wave" }
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
speed: {
|
|
330
|
+
default: 1,
|
|
331
|
+
description: "Animation speed of the simulated signal",
|
|
332
|
+
ui: {
|
|
333
|
+
type: "range",
|
|
334
|
+
min: 0,
|
|
335
|
+
max: 3,
|
|
336
|
+
step: .01,
|
|
337
|
+
label: "Speed",
|
|
338
|
+
group: "Animation"
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
seed: {
|
|
342
|
+
default: 1,
|
|
343
|
+
description: "Adjusts the starting state, useful for variation",
|
|
344
|
+
ui: {
|
|
345
|
+
type: "range",
|
|
346
|
+
min: 0,
|
|
347
|
+
max: 100,
|
|
348
|
+
step: 1,
|
|
349
|
+
label: "Seed",
|
|
350
|
+
group: "Animation"
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
paint: (params) => {
|
|
355
|
+
const style = styleOf(params.propValues.style);
|
|
356
|
+
const align = alignOf(params.propValues.align);
|
|
357
|
+
const { viewport } = surfaceOf(params);
|
|
358
|
+
const u = (name) => uniformOf(p(name), params);
|
|
359
|
+
const { along, across, length } = segmentFrame({
|
|
360
|
+
from: p("from"),
|
|
361
|
+
to: p("to")
|
|
362
|
+
})(params, surfaceOf(params));
|
|
363
|
+
const x = local(div(along, length), "wfX");
|
|
364
|
+
const px = local(div(1, viewport.member("y")), "wfPx");
|
|
365
|
+
const t = local(animatedTime(params, "seed"), "wfTime");
|
|
366
|
+
const amplitude = u("amplitude");
|
|
367
|
+
const frequency = u("frequency");
|
|
368
|
+
const height = u("height");
|
|
369
|
+
const rawAt = (xs) => waves({
|
|
370
|
+
x: mul(xs, frequency),
|
|
371
|
+
t
|
|
372
|
+
}, SPECTRUM);
|
|
373
|
+
const envelopeAt = (xs) => mix(EDGE_LEVEL, 1, gaussBell(sub(xs, .5), ENVELOPE_FALLOFF));
|
|
374
|
+
const signalAt = (xs) => clamp(mul(mul(rawAt(xs), envelopeAt(xs)), amplitude), -1, 1);
|
|
375
|
+
const levelAt = (xs) => clamp(mul(mul(add(LEVEL_FLOOR, mul(rawAt(xs), LEVEL_SWING)), envelopeAt(xs)), amplitude), 0, 1);
|
|
376
|
+
const mirrored = align === "mirrored";
|
|
377
|
+
const dy = local(align === "top" ? neg(across) : across, "wfDy");
|
|
378
|
+
const rise = mirrored ? abs(dy) : dy;
|
|
379
|
+
const extentOf = (level) => mul(mul(level, height), mirrored ? .5 : 1);
|
|
380
|
+
const bandDistance = (extent) => mirrored ? sub(rise, extent) : max(sub(rise, extent), neg(rise));
|
|
381
|
+
const count = u("count");
|
|
382
|
+
const cell = local(div(length, count), "wfCell");
|
|
383
|
+
const xCells = local(mul(x, count), "wfXCells");
|
|
384
|
+
const columnX = local(div(add(floor(xCells), .5), count), "wfColX");
|
|
385
|
+
const acrossColumn = local(mul(sub(fract(xCells), .5), cell), "wfColDx");
|
|
386
|
+
let coverage;
|
|
387
|
+
if (style === "bars") {
|
|
388
|
+
const halfW = local(mul(mul(u("barWidth"), cell), .5), "wfHalfW");
|
|
389
|
+
const extent = local(max(extentOf(levelAt(columnX)), mirrored ? halfW : mul(halfW, 2)), "wfExtent");
|
|
390
|
+
const halfH = mirrored ? extent : mul(extent, .5);
|
|
391
|
+
coverage = crispFill({
|
|
392
|
+
distance: roundedRect(acrossColumn, mirrored ? dy : sub(dy, halfH), halfW, halfH, mul(u("rounding"), halfW)),
|
|
393
|
+
footprint: px
|
|
394
|
+
});
|
|
395
|
+
} else if (style === "dots") {
|
|
396
|
+
const rows = local(div(rise, cell), "wfRows");
|
|
397
|
+
const rowCentre = local(mul(add(floor(rows), .5), cell), "wfRowY");
|
|
398
|
+
const extent = local(extentOf(levelAt(columnX)), "wfExtent");
|
|
399
|
+
const lit = mul(sub(1, smoothstep(sub(extent, mul(cell, .5)), add(extent, mul(cell, .5)), rowCentre)), mirrored ? 1 : step(0, rise));
|
|
400
|
+
const radius = mul(mul(u("dotSize"), cell), .5);
|
|
401
|
+
coverage = mul(crispFill({
|
|
402
|
+
distance: circle(acrossColumn, mul(sub(fract(rows), .5), cell), radius),
|
|
403
|
+
footprint: px
|
|
404
|
+
}), lit);
|
|
405
|
+
} else if (style === "line") {
|
|
406
|
+
const curveAt = (xs) => mirrored ? extentOf(signalAt(xs)) : extentOf(levelAt(xs));
|
|
407
|
+
const curve = local(curveAt(x), "wfCurve");
|
|
408
|
+
const slope = local(div(sub(curveAt(add(x, SLOPE_EPS)), curveAt(sub(x, SLOPE_EPS))), mul(2 * SLOPE_EPS, length)), "wfSlope");
|
|
409
|
+
coverage = crispStroke({
|
|
410
|
+
distance: div(sub(dy, curve), sqrt(add(1, mul(slope, slope)))),
|
|
411
|
+
width: u("lineWidth"),
|
|
412
|
+
footprint: px
|
|
413
|
+
});
|
|
414
|
+
} else coverage = crispFill({
|
|
415
|
+
distance: bandDistance(local(extentOf(levelAt(x)), "wfExtent")),
|
|
416
|
+
footprint: add(px, mul(u("softness"), .2))
|
|
417
|
+
});
|
|
418
|
+
const inSpan = crispFill({
|
|
419
|
+
distance: max(neg(along), sub(along, length)),
|
|
420
|
+
footprint: px
|
|
421
|
+
});
|
|
422
|
+
const color = local(stops(p("colorSpace"))(x, params), "wfColor");
|
|
423
|
+
return vec4(color.member("rgb"), mul(mul(color.member("a"), coverage), inSpan));
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
var Waveform_default = componentDefinition;
|
|
427
|
+
export { componentDefinition as n, Waveform_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { c as p, t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { f as rampOver, y as stops } from "./fields-Cv-wBDLP.js";
|
|
3
|
+
import { D as waveletBands, E as unitized, m as noiseTone, x as seededPlane } from "./noise-DrbAbu3H.js";
|
|
4
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-DKo-P8T0.js";
|
|
5
5
|
const componentDefinition = defineStd({
|
|
6
6
|
name: "WaveletNoise",
|
|
7
7
|
role: "generator",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O as weaveThreads, r as cellFrame } from "./patterns-
|
|
3
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { c as p, t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { O as weaveThreads, r as cellFrame } from "./patterns-BAu9g0yn.js";
|
|
3
|
+
import { a as transformColor } from "./transformations-COlfAEsk.js";
|
|
4
4
|
const componentDefinition = defineStd({
|
|
5
5
|
name: "Weave",
|
|
6
6
|
role: "generator",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as webcamMedia } from "./media-
|
|
1
|
+
import { c as p, f as objectFitProp, t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { r as webcamMedia } from "./media-Bh5c_fVF.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "WebcamTexture",
|
|
5
5
|
role: "media",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as defineStd } from "./lower-
|
|
2
|
-
import {
|
|
1
|
+
import { t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { p as noiseRelief, v as reliefBases } from "./noise-DrbAbu3H.js";
|
|
3
3
|
import { t as reliefStylizeProps } from "./noiseStylize-BfLjdB5R.js";
|
|
4
4
|
const componentDefinition = defineStd({
|
|
5
5
|
name: "Wool",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { c as p, t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { T as transformWorleyMode, j as worleyNoise, w as transformWorleyDistance } from "./noise-DrbAbu3H.js";
|
|
3
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-COlfAEsk.js";
|
|
4
4
|
const componentDefinition = defineStd({
|
|
5
5
|
name: "WorleyNoise",
|
|
6
6
|
role: "generator",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition } from "./transformations-
|
|
3
|
-
import { C as motionBlur, i as blurPath } from "./blurs-
|
|
1
|
+
import { c as p, t as defineStd } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { c as transformPosition } from "./transformations-COlfAEsk.js";
|
|
3
|
+
import { C as motionBlur, i as blurPath } from "./blurs-D1HfQTGP.js";
|
|
4
4
|
const componentDefinition = defineStd({
|
|
5
5
|
name: "ZoomBlur",
|
|
6
6
|
role: "filter",
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { C as reynoldsSteer, S as resolveAgentShape, T as trailMaxDecay, _ as nematicTorque, a as cruiseVariation, c as dipoleOrRadialField, i as bilinearTexelFrame, l as makeAgentTexelWeightFn, n as applyCameraRows, o as cursorFalloff, p as makeOrientedCometWeightFn, r as applyCameraRowsTransposed, s as cursorMagnet, t as AGENT_SHAPES, u as makeAgentWeightFn, x as presenceVariation, y as orientedShapeProfile } from "./agents-DbHmHbkU.js";
|
|
1
|
+
import { $n as clamp, Bn as textureDimensions, Br as f32, Cr as vec2u, Ft as mixColorsVariants, Hr as u32, Jn as select, Kr as Void, Nr as struct, Pt as mixColorsLinear, Qn as ceil, Rr as dualImpl, Sr as vec2i, Tr as vec4f, Un as textureStore, Ur as stitch, Vn as textureLoad, Vr as i32, Wr as safeStringify, Yn as abs, Zn as atan2, _n as hash33, _r as smoothstep, ar as floor, cr as max, er as cos, gn as hash22, gr as sin, lr as min, mn as hash12, nr as dot, or as fract, pn as hash11, qr as isAtomic, rr as exp, rt as ZERO, sr as length, tr as cross, ur as mix, vr as sqrt, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { B as R3_ALPHA, H as createAgentSystem, J as texelSplatWindow, R as FIXED_POINT_GAINS, U as energyCoverageAlpha, W as integrateSemiImplicitEuler, Y as worldSplatWindow, z as R2_ALPHA } from "./porters-j4QbEOqj.js";
|
|
3
|
+
import { f as rotateVec3, p as rotateVecCpu } from "./sdf3d-DQ55w9nI.js";
|
|
4
|
+
import { C as reynoldsSteer, S as resolveAgentShape, T as trailMaxDecay, _ as nematicTorque, a as cruiseVariation, c as dipoleOrRadialField, i as bilinearTexelFrame, l as makeAgentTexelWeightFn, n as applyCameraRows, o as cursorFalloff, p as makeOrientedCometWeightFn, r as applyCameraRowsTransposed, s as cursorMagnet, t as AGENT_SHAPES, u as makeAgentWeightFn, x as presenceVariation, y as orientedShapeProfile } from "./agents-DcHmaB0C.js";
|
|
6
5
|
dualImpl({
|
|
7
6
|
name: "workgroupBarrier",
|
|
8
7
|
normalImpl: "workgroupBarrier is a no-op outside of CODEGEN mode.",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import { o as hash11, u as hash33 } from "./noise-B3Oq1k3_.js";
|
|
1
|
+
import { $n as clamp, Ar as texture2d, Br as f32, Cr as vec2u, Hr as u32, Jn as select, Nr as struct, Tr as vec4f, Vn as textureLoad, Yn as abs, _n as hash33, _r as smoothstep, ar as floor, cr as max, dr as normalize, er as cos, fr as pow, gr as sin, lr as min, nr as dot, pn as hash11, rr as exp, sr as length, ur as mix, vr as sqrt, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-DSk_KxOY.js";
|
|
3
2
|
const arrowSdf = typegpu_default.fn([
|
|
4
3
|
f32,
|
|
5
4
|
f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as
|
|
1
|
+
import { $n as clamp, An as DEG_TO_RAD$1, Ar as texture2d, Br as f32, Cr as vec2u, Et as unpremultiplyAlpha, G as createGuardedCompute, Hr as u32, Mr as arrayOf, Nr as struct, Tr as vec4f, Un as textureStore, Vn as textureLoad, Vr as i32, Yn as abs, _r as smoothstep, cr as max, er as cos, fr as pow, gr as sin, jr as textureStorage2d, mr as round, nr as dot, or as fract, ot as call, rt as ZERO, ur as mix, wr as vec3f, xr as vec2f, zn as typegpu_default } from "./lower-DSk_KxOY.js";
|
|
2
2
|
var DEG_TO_RAD = DEG_TO_RAD$1;
|
|
3
3
|
var DEFAULT_HALF_KERNEL = 24;
|
|
4
4
|
const DEFAULT_COMPUTE_WIDTH = 1024;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { D as rgbSplitTaps, E as revealShadow$1, O as rimComposite, S as pagePeelGeom, b as overhangShade, c as curlSheen$1, d as edgeClipSample, j as sphereBulge, k as rimLight, m as flutedGlassGeom, r as blinnHighlight, s as curlShade, x as pagePeelCompose } from "./warpMaps-
|
|
4
|
-
import { C as intensityToRadius, D as withBloomCompute, O as withFixedBlurCompute, S as glowCompose, T as tiltShiftBlurAmount, _ as channelBlurCompose, a as DEFAULT_COMPUTE_WIDTH, c as buildBokehGraph, d as buildGlowPrepassGraph, f as buildGlowPrepassMapGraph, g as buildTiltShiftFillMapGraph, h as buildTiltShiftFillGraph, i as DEFAULT_COMPUTE_HEIGHT, k as withVariableBlurCompute, l as buildBokehMapGraph, m as buildProgressiveBlurFillMapGraph, n as BOKEH_TAP_COUNT, o as bokehRadiusToPixels, p as buildProgressiveBlurFillGraph, r as CHANNEL_INTENSITY_TO_RADIUS, s as buildBloomExtractGraph, t as BLUR_MAP_FORMAT, u as buildFillBlurMapGraph, v as composeBlurredOverSharp, w as remapWindowValues, x as generateBokehTaps } from "./blur-
|
|
5
|
-
import { C as vignetteShade, S as vhsSampleUVs, _ as scatterGather, a as dropShadowComposite, b as vhsAcBeat, d as glitchSplitUVs, f as motionBlurGather, g as scanlineShade, h as rgbSplitCombine, i as distortScanShade, m as pixelateGather, n as beatShade, o as dropShadowUV, p as phosphorShade, r as crtSampleUV, s as fillBarsShade, t as adjustShade, u as glitchGeom, v as sharpenGather, w as yiqRecombine, x as vhsChromaTapUV, y as silhouetteBlur } from "./motionBlur-
|
|
1
|
+
import { $n as clamp, An as DEG_TO_RAD, Br as f32, Cr as vec2u, Et as unpremultiplyAlpha, G as createGuardedCompute, Hr as u32, J as applyEdgeHandlingExpr, Nr as struct, Tr as vec4f, Un as textureStore, _r as smoothstep, at as asLocal, cr as max, dt as mixExpr, er as cos, ft as vec4, gr as sin, i as resolveArg, jr as textureStorage2d, lt as expr, mt as formatFloat, o as uniformOf, ot as call, rt as ZERO, tt as sampleCatmullRomExpr, ur as mix, ut as floatE, wr as vec3f, xr as vec2f, yr as step, zn as typegpu_default } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-j4QbEOqj.js";
|
|
3
|
+
import { D as rgbSplitTaps, E as revealShadow$1, O as rimComposite, S as pagePeelGeom, b as overhangShade, c as curlSheen$1, d as edgeClipSample, j as sphereBulge, k as rimLight, m as flutedGlassGeom, r as blinnHighlight, s as curlShade, x as pagePeelCompose } from "./warpMaps-051QhmeG.js";
|
|
4
|
+
import { C as intensityToRadius, D as withBloomCompute, O as withFixedBlurCompute, S as glowCompose, T as tiltShiftBlurAmount, _ as channelBlurCompose, a as DEFAULT_COMPUTE_WIDTH, c as buildBokehGraph, d as buildGlowPrepassGraph, f as buildGlowPrepassMapGraph, g as buildTiltShiftFillMapGraph, h as buildTiltShiftFillGraph, i as DEFAULT_COMPUTE_HEIGHT, k as withVariableBlurCompute, l as buildBokehMapGraph, m as buildProgressiveBlurFillMapGraph, n as BOKEH_TAP_COUNT, o as bokehRadiusToPixels, p as buildProgressiveBlurFillGraph, r as CHANNEL_INTENSITY_TO_RADIUS, s as buildBloomExtractGraph, t as BLUR_MAP_FORMAT, u as buildFillBlurMapGraph, v as composeBlurredOverSharp, w as remapWindowValues, x as generateBokehTaps } from "./blur-BwjlF0Uk.js";
|
|
5
|
+
import { C as vignetteShade, S as vhsSampleUVs, _ as scatterGather, a as dropShadowComposite, b as vhsAcBeat, d as glitchSplitUVs, f as motionBlurGather, g as scanlineShade, h as rgbSplitCombine, i as distortScanShade, m as pixelateGather, n as beatShade, o as dropShadowUV, p as phosphorShade, r as crtSampleUV, s as fillBarsShade, t as adjustShade, u as glitchGeom, v as sharpenGather, w as yiqRecombine, x as vhsChromaTapUV, y as silhouetteBlur } from "./motionBlur-CiNghKu6.js";
|
|
6
6
|
function gatherStack(sample, overlays, opts) {
|
|
7
7
|
return {
|
|
8
8
|
kind: "gather",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import {
|
|
3
|
-
import { n as luma709Dot } from "./tone-BA0D_veZ.js";
|
|
1
|
+
import { $n as clamp, An as DEG_TO_RAD, Br as f32, Ct as srgbToLinear, Ft as mixColorsVariants, Jn as select, Kn as fwidth, Nn as SQRT3, Pn as TAU, Pt as mixColorsLinear, Tr as vec4f, Yn as abs, _r as smoothstep, ar as floor, cr as max, er as cos, fr as pow, ft as vec4, gr as sin, i as resolveArg, lt as expr, mn as hash12, mt as formatFloat, nr as dot, o as uniformOf, or as fract, ot as call, r as pointwiseOp, rt as ZERO, ur as mix, ut as floatE, wr as vec3f, xr as vec2f, xt as linearToSrgb, zn as typegpu_default } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { n as luma709Dot } from "./tone-Ax72n2WU.js";
|
|
4
3
|
var TWO_PI = TAU;
|
|
5
4
|
const hueRotate$1 = typegpu_default.fn([vec4f, f32], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, shiftDeg) => {
|
|
6
5
|
"use gpu";
|