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,7 +1,6 @@
|
|
|
1
|
-
import { $n as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { ht as gradientStopsInSpace, mt as MAX_COLOR_STOPS } from "./porters-B1UjrM1y.js";
|
|
1
|
+
import { $n as clamp, An as DEG_TO_RAD, Br as f32, Jn as select, Kt as fbmGated, Mn as PI, Mr as arrayOf, Pn as TAU, Tr as vec4f, Vr as i32, Yn as abs, _r as smoothstep, ar as floor, cr as max, en as aspectOf, er as cos, fr as pow, gr as sin, ln as curl22, lr as min, mr as round, nr as dot, or as fract, rr as exp, sr as length, un as curl22z, ur as mix, vn as mxNoiseFloat2, vr as sqrt, wr as vec3f, xn as paper12, xr as vec2f, zn as typegpu_default } from "./lower-DSk_KxOY.js";
|
|
2
|
+
import { a as toneRemap } from "./tone-Ax72n2WU.js";
|
|
3
|
+
import { Et as gradientStopsInSpace, wt as MAX_COLOR_STOPS } from "./porters-j4QbEOqj.js";
|
|
5
4
|
const cellHash2 = typegpu_default.fn([vec2f], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
6
5
|
"use gpu";
|
|
7
6
|
return fract(sin(vec2f(dot(p, vec2f(127.1, 311.7)), dot(p, vec2f(269.5, 183.3)))).mul(43758.5453));
|
|
@@ -2161,16 +2160,62 @@ const cellBorders = typegpu_default.fn([
|
|
|
2161
2160
|
},
|
|
2162
2161
|
externals: { "cellEdgeMask": () => cellEdgeMask }
|
|
2163
2162
|
}) && $.f)({}));
|
|
2164
|
-
const
|
|
2163
|
+
const toneLift = typegpu_default.fn([vec3f], vec3f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((rgb) => {
|
|
2164
|
+
"use gpu";
|
|
2165
|
+
return pow(rgb, vec3f(.85, .85, .85));
|
|
2166
|
+
}), {
|
|
2167
|
+
v: 2,
|
|
2168
|
+
name: void 0,
|
|
2169
|
+
ast: {
|
|
2170
|
+
"params": [{
|
|
2171
|
+
"type": "i",
|
|
2172
|
+
"name": "rgb"
|
|
2173
|
+
}],
|
|
2174
|
+
"body": [0, [[10, [
|
|
2175
|
+
6,
|
|
2176
|
+
"std.pow",
|
|
2177
|
+
["rgb", [
|
|
2178
|
+
6,
|
|
2179
|
+
"d.vec3f",
|
|
2180
|
+
[
|
|
2181
|
+
[5, "0.85"],
|
|
2182
|
+
[5, "0.85"],
|
|
2183
|
+
[5, "0.85"]
|
|
2184
|
+
]
|
|
2185
|
+
]]
|
|
2186
|
+
]]]]
|
|
2187
|
+
},
|
|
2188
|
+
externals: {
|
|
2189
|
+
"std.pow": () => pow,
|
|
2190
|
+
"d.vec3f": () => vec3f
|
|
2191
|
+
}
|
|
2192
|
+
}) && $.f)({}));
|
|
2193
|
+
var MAX = 8;
|
|
2194
|
+
if (8 !== MAX) throw new Error(`noisePaints: MAX (${MAX}) out of sync with MAX_COLOR_STOPS (8)`);
|
|
2195
|
+
const ribbonPathFrame = typegpu_default.fn([
|
|
2196
|
+
vec2f,
|
|
2197
|
+
vec2f,
|
|
2198
|
+
vec2f,
|
|
2165
2199
|
vec2f,
|
|
2166
|
-
f32,
|
|
2167
2200
|
f32
|
|
2168
|
-
],
|
|
2201
|
+
], vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv, viewport, start, end, pinFlag) => {
|
|
2169
2202
|
"use gpu";
|
|
2170
|
-
const
|
|
2171
|
-
const
|
|
2172
|
-
const
|
|
2173
|
-
|
|
2203
|
+
const aspectRatio = __tsover_div(viewport.x, max(viewport.y, 1e-6));
|
|
2204
|
+
const startPos = vec2f(__tsover_mul(start.x, aspectRatio), __tsover_sub(1, start.y));
|
|
2205
|
+
const endPos = vec2f(__tsover_mul(end.x, aspectRatio), __tsover_sub(1, end.y));
|
|
2206
|
+
const aspectUV = vec2f(__tsover_mul(uv.x, aspectRatio), uv.y);
|
|
2207
|
+
const direction = vec2f(__tsover_sub(endPos.x, startPos.x), __tsover_sub(endPos.y, startPos.y));
|
|
2208
|
+
const len = max(length(direction), 1e-6);
|
|
2209
|
+
const normalizedDir = vec2f(__tsover_div(direction.x, len), __tsover_div(direction.y, len));
|
|
2210
|
+
const perpDir = vec2f(-normalizedDir.y, normalizedDir.x);
|
|
2211
|
+
const relativePos = vec2f(__tsover_sub(aspectUV.x, startPos.x), __tsover_sub(aspectUV.y, startPos.y));
|
|
2212
|
+
const progress = __tsover_div(dot(relativePos, normalizedDir), len);
|
|
2213
|
+
const perpDist = dot(relativePos, perpDir);
|
|
2214
|
+
const pinOn = pinFlag > 0;
|
|
2215
|
+
const clampedProg = clamp(progress, 0, 1);
|
|
2216
|
+
const pinch = select(f32(1), sin(__tsover_mul(clampedProg, PI)), pinOn);
|
|
2217
|
+
const fade = __tsover_mul(smoothstep(0, .06, progress), __tsover_sub(1, smoothstep(.94, 1, progress)));
|
|
2218
|
+
return vec4f(progress, perpDist, pinch, select(f32(1), fade, pinOn));
|
|
2174
2219
|
}), {
|
|
2175
2220
|
v: 2,
|
|
2176
2221
|
name: void 0,
|
|
@@ -2178,405 +2223,402 @@ const marbleTurbulence = typegpu_default.fn([
|
|
|
2178
2223
|
"params": [
|
|
2179
2224
|
{
|
|
2180
2225
|
"type": "i",
|
|
2181
|
-
"name": "
|
|
2226
|
+
"name": "uv"
|
|
2182
2227
|
},
|
|
2183
2228
|
{
|
|
2184
2229
|
"type": "i",
|
|
2185
|
-
"name": "
|
|
2230
|
+
"name": "viewport"
|
|
2186
2231
|
},
|
|
2187
2232
|
{
|
|
2188
2233
|
"type": "i",
|
|
2189
|
-
"name": "
|
|
2234
|
+
"name": "start"
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
"type": "i",
|
|
2238
|
+
"name": "end"
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"type": "i",
|
|
2242
|
+
"name": "pinFlag"
|
|
2190
2243
|
}
|
|
2191
2244
|
],
|
|
2192
2245
|
"body": [0, [
|
|
2193
2246
|
[
|
|
2194
2247
|
13,
|
|
2195
|
-
"
|
|
2248
|
+
"aspectRatio",
|
|
2249
|
+
[
|
|
2250
|
+
1,
|
|
2251
|
+
[
|
|
2252
|
+
7,
|
|
2253
|
+
"viewport",
|
|
2254
|
+
"x"
|
|
2255
|
+
],
|
|
2256
|
+
"/",
|
|
2257
|
+
[
|
|
2258
|
+
6,
|
|
2259
|
+
"std.max",
|
|
2260
|
+
[[
|
|
2261
|
+
7,
|
|
2262
|
+
"viewport",
|
|
2263
|
+
"y"
|
|
2264
|
+
], [5, "0.000001"]]
|
|
2265
|
+
]
|
|
2266
|
+
]
|
|
2267
|
+
],
|
|
2268
|
+
[
|
|
2269
|
+
13,
|
|
2270
|
+
"startPos",
|
|
2271
|
+
[
|
|
2272
|
+
6,
|
|
2273
|
+
"d.vec2f",
|
|
2274
|
+
[[
|
|
2275
|
+
1,
|
|
2276
|
+
[
|
|
2277
|
+
7,
|
|
2278
|
+
"start",
|
|
2279
|
+
"x"
|
|
2280
|
+
],
|
|
2281
|
+
"*",
|
|
2282
|
+
"aspectRatio"
|
|
2283
|
+
], [
|
|
2284
|
+
1,
|
|
2285
|
+
[5, "1"],
|
|
2286
|
+
"-",
|
|
2287
|
+
[
|
|
2288
|
+
7,
|
|
2289
|
+
"start",
|
|
2290
|
+
"y"
|
|
2291
|
+
]
|
|
2292
|
+
]]
|
|
2293
|
+
]
|
|
2294
|
+
],
|
|
2295
|
+
[
|
|
2296
|
+
13,
|
|
2297
|
+
"endPos",
|
|
2196
2298
|
[
|
|
2197
2299
|
6,
|
|
2198
|
-
"
|
|
2300
|
+
"d.vec2f",
|
|
2301
|
+
[[
|
|
2302
|
+
1,
|
|
2303
|
+
[
|
|
2304
|
+
7,
|
|
2305
|
+
"end",
|
|
2306
|
+
"x"
|
|
2307
|
+
],
|
|
2308
|
+
"*",
|
|
2309
|
+
"aspectRatio"
|
|
2310
|
+
], [
|
|
2311
|
+
1,
|
|
2312
|
+
[5, "1"],
|
|
2313
|
+
"-",
|
|
2314
|
+
[
|
|
2315
|
+
7,
|
|
2316
|
+
"end",
|
|
2317
|
+
"y"
|
|
2318
|
+
]
|
|
2319
|
+
]]
|
|
2320
|
+
]
|
|
2321
|
+
],
|
|
2322
|
+
[
|
|
2323
|
+
13,
|
|
2324
|
+
"aspectUV",
|
|
2325
|
+
[
|
|
2326
|
+
6,
|
|
2327
|
+
"d.vec2f",
|
|
2328
|
+
[[
|
|
2329
|
+
1,
|
|
2330
|
+
[
|
|
2331
|
+
7,
|
|
2332
|
+
"uv",
|
|
2333
|
+
"x"
|
|
2334
|
+
],
|
|
2335
|
+
"*",
|
|
2336
|
+
"aspectRatio"
|
|
2337
|
+
], [
|
|
2338
|
+
7,
|
|
2339
|
+
"uv",
|
|
2340
|
+
"y"
|
|
2341
|
+
]]
|
|
2342
|
+
]
|
|
2343
|
+
],
|
|
2344
|
+
[
|
|
2345
|
+
13,
|
|
2346
|
+
"direction",
|
|
2347
|
+
[
|
|
2348
|
+
6,
|
|
2349
|
+
"d.vec2f",
|
|
2350
|
+
[[
|
|
2351
|
+
1,
|
|
2352
|
+
[
|
|
2353
|
+
7,
|
|
2354
|
+
"endPos",
|
|
2355
|
+
"x"
|
|
2356
|
+
],
|
|
2357
|
+
"-",
|
|
2358
|
+
[
|
|
2359
|
+
7,
|
|
2360
|
+
"startPos",
|
|
2361
|
+
"x"
|
|
2362
|
+
]
|
|
2363
|
+
], [
|
|
2364
|
+
1,
|
|
2365
|
+
[
|
|
2366
|
+
7,
|
|
2367
|
+
"endPos",
|
|
2368
|
+
"y"
|
|
2369
|
+
],
|
|
2370
|
+
"-",
|
|
2371
|
+
[
|
|
2372
|
+
7,
|
|
2373
|
+
"startPos",
|
|
2374
|
+
"y"
|
|
2375
|
+
]
|
|
2376
|
+
]]
|
|
2377
|
+
]
|
|
2378
|
+
],
|
|
2379
|
+
[
|
|
2380
|
+
13,
|
|
2381
|
+
"len",
|
|
2382
|
+
[
|
|
2383
|
+
6,
|
|
2384
|
+
"std.max",
|
|
2199
2385
|
[[
|
|
2200
2386
|
6,
|
|
2201
|
-
"
|
|
2202
|
-
[
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2387
|
+
"std.length",
|
|
2388
|
+
["direction"]
|
|
2389
|
+
], [5, "0.000001"]]
|
|
2390
|
+
]
|
|
2391
|
+
],
|
|
2392
|
+
[
|
|
2393
|
+
13,
|
|
2394
|
+
"normalizedDir",
|
|
2395
|
+
[
|
|
2396
|
+
6,
|
|
2397
|
+
"d.vec2f",
|
|
2398
|
+
[[
|
|
2399
|
+
1,
|
|
2400
|
+
[
|
|
2401
|
+
7,
|
|
2402
|
+
"direction",
|
|
2403
|
+
"x"
|
|
2404
|
+
],
|
|
2405
|
+
"/",
|
|
2406
|
+
"len"
|
|
2407
|
+
], [
|
|
2408
|
+
1,
|
|
2409
|
+
[
|
|
2410
|
+
7,
|
|
2411
|
+
"direction",
|
|
2412
|
+
"y"
|
|
2413
|
+
],
|
|
2414
|
+
"/",
|
|
2415
|
+
"len"
|
|
2416
|
+
]]
|
|
2417
|
+
]
|
|
2418
|
+
],
|
|
2419
|
+
[
|
|
2420
|
+
13,
|
|
2421
|
+
"perpDir",
|
|
2422
|
+
[
|
|
2423
|
+
6,
|
|
2424
|
+
"d.vec2f",
|
|
2425
|
+
[[
|
|
2426
|
+
4,
|
|
2427
|
+
"-",
|
|
2428
|
+
[
|
|
2429
|
+
7,
|
|
2430
|
+
"normalizedDir",
|
|
2431
|
+
"y"
|
|
2432
|
+
]
|
|
2433
|
+
], [
|
|
2434
|
+
7,
|
|
2435
|
+
"normalizedDir",
|
|
2436
|
+
"x"
|
|
2437
|
+
]]
|
|
2438
|
+
]
|
|
2439
|
+
],
|
|
2440
|
+
[
|
|
2441
|
+
13,
|
|
2442
|
+
"relativePos",
|
|
2443
|
+
[
|
|
2444
|
+
6,
|
|
2445
|
+
"d.vec2f",
|
|
2446
|
+
[[
|
|
2447
|
+
1,
|
|
2448
|
+
[
|
|
2449
|
+
7,
|
|
2450
|
+
"aspectUV",
|
|
2451
|
+
"x"
|
|
2452
|
+
],
|
|
2453
|
+
"-",
|
|
2454
|
+
[
|
|
2455
|
+
7,
|
|
2456
|
+
"startPos",
|
|
2457
|
+
"x"
|
|
2458
|
+
]
|
|
2459
|
+
], [
|
|
2460
|
+
1,
|
|
2461
|
+
[
|
|
2462
|
+
7,
|
|
2463
|
+
"aspectUV",
|
|
2464
|
+
"y"
|
|
2465
|
+
],
|
|
2466
|
+
"-",
|
|
2467
|
+
[
|
|
2468
|
+
7,
|
|
2469
|
+
"startPos",
|
|
2470
|
+
"y"
|
|
2471
|
+
]
|
|
2221
2472
|
]]
|
|
2222
2473
|
]
|
|
2223
2474
|
],
|
|
2224
2475
|
[
|
|
2225
2476
|
13,
|
|
2226
|
-
"
|
|
2477
|
+
"progress",
|
|
2227
2478
|
[
|
|
2228
2479
|
1,
|
|
2229
2480
|
[
|
|
2230
2481
|
6,
|
|
2231
|
-
"
|
|
2232
|
-
[
|
|
2233
|
-
6,
|
|
2234
|
-
"d.vec2f",
|
|
2235
|
-
[[
|
|
2236
|
-
1,
|
|
2237
|
-
[
|
|
2238
|
-
1,
|
|
2239
|
-
[
|
|
2240
|
-
7,
|
|
2241
|
-
"pos",
|
|
2242
|
-
"x"
|
|
2243
|
-
],
|
|
2244
|
-
"*",
|
|
2245
|
-
[5, "2"]
|
|
2246
|
-
],
|
|
2247
|
-
"+",
|
|
2248
|
-
[
|
|
2249
|
-
1,
|
|
2250
|
-
"seed",
|
|
2251
|
-
"*",
|
|
2252
|
-
[5, "1.7"]
|
|
2253
|
-
]
|
|
2254
|
-
], [
|
|
2255
|
-
1,
|
|
2256
|
-
[
|
|
2257
|
-
1,
|
|
2258
|
-
[
|
|
2259
|
-
7,
|
|
2260
|
-
"pos",
|
|
2261
|
-
"y"
|
|
2262
|
-
],
|
|
2263
|
-
"*",
|
|
2264
|
-
[5, "2"]
|
|
2265
|
-
],
|
|
2266
|
-
"+",
|
|
2267
|
-
[
|
|
2268
|
-
1,
|
|
2269
|
-
"animTime",
|
|
2270
|
-
"*",
|
|
2271
|
-
[5, "0.7"]
|
|
2272
|
-
]
|
|
2273
|
-
]]
|
|
2274
|
-
]]
|
|
2482
|
+
"std.dot",
|
|
2483
|
+
["relativePos", "normalizedDir"]
|
|
2275
2484
|
],
|
|
2276
|
-
"
|
|
2277
|
-
|
|
2485
|
+
"/",
|
|
2486
|
+
"len"
|
|
2278
2487
|
]
|
|
2279
2488
|
],
|
|
2280
2489
|
[
|
|
2281
2490
|
13,
|
|
2282
|
-
"
|
|
2491
|
+
"perpDist",
|
|
2283
2492
|
[
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
"mxNoiseFloat2",
|
|
2288
|
-
[[
|
|
2289
|
-
6,
|
|
2290
|
-
"d.vec2f",
|
|
2291
|
-
[[
|
|
2292
|
-
1,
|
|
2293
|
-
[
|
|
2294
|
-
1,
|
|
2295
|
-
[
|
|
2296
|
-
7,
|
|
2297
|
-
"pos",
|
|
2298
|
-
"x"
|
|
2299
|
-
],
|
|
2300
|
-
"*",
|
|
2301
|
-
[5, "4"]
|
|
2302
|
-
],
|
|
2303
|
-
"+",
|
|
2304
|
-
[
|
|
2305
|
-
1,
|
|
2306
|
-
"seed",
|
|
2307
|
-
"*",
|
|
2308
|
-
[5, "3.1"]
|
|
2309
|
-
]
|
|
2310
|
-
], [
|
|
2311
|
-
1,
|
|
2312
|
-
[
|
|
2313
|
-
1,
|
|
2314
|
-
[
|
|
2315
|
-
7,
|
|
2316
|
-
"pos",
|
|
2317
|
-
"y"
|
|
2318
|
-
],
|
|
2319
|
-
"*",
|
|
2320
|
-
[5, "4"]
|
|
2321
|
-
],
|
|
2322
|
-
"+",
|
|
2323
|
-
[
|
|
2324
|
-
1,
|
|
2325
|
-
"animTime",
|
|
2326
|
-
"*",
|
|
2327
|
-
[5, "1.3"]
|
|
2328
|
-
]
|
|
2329
|
-
]]
|
|
2330
|
-
]]
|
|
2331
|
-
],
|
|
2332
|
-
"*",
|
|
2333
|
-
[5, "0.25"]
|
|
2493
|
+
6,
|
|
2494
|
+
"std.dot",
|
|
2495
|
+
["relativePos", "perpDir"]
|
|
2334
2496
|
]
|
|
2335
2497
|
],
|
|
2336
|
-
[10, [
|
|
2337
|
-
1,
|
|
2338
|
-
[
|
|
2339
|
-
1,
|
|
2340
|
-
"n1",
|
|
2341
|
-
"+",
|
|
2342
|
-
"n2"
|
|
2343
|
-
],
|
|
2344
|
-
"+",
|
|
2345
|
-
"n3"
|
|
2346
|
-
]]
|
|
2347
|
-
]]
|
|
2348
|
-
},
|
|
2349
|
-
externals: {
|
|
2350
|
-
"mxNoiseFloat2": () => mxNoiseFloat2,
|
|
2351
|
-
"d.vec2f": () => vec2f
|
|
2352
|
-
}
|
|
2353
|
-
}) && $.f)({}));
|
|
2354
|
-
const veinWave = typegpu_default.fn([
|
|
2355
|
-
f32,
|
|
2356
|
-
f32,
|
|
2357
|
-
f32
|
|
2358
|
-
], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((x, turb, turbulence) => {
|
|
2359
|
-
"use gpu";
|
|
2360
|
-
const marbleCoord = __tsover_add(__tsover_mul(x, PI), __tsover_mul(turb, turbulence));
|
|
2361
|
-
return __tsover_add(__tsover_mul(sin(marbleCoord), .5), .5);
|
|
2362
|
-
}), {
|
|
2363
|
-
v: 2,
|
|
2364
|
-
name: void 0,
|
|
2365
|
-
ast: {
|
|
2366
|
-
"params": [
|
|
2367
|
-
{
|
|
2368
|
-
"type": "i",
|
|
2369
|
-
"name": "x"
|
|
2370
|
-
},
|
|
2371
|
-
{
|
|
2372
|
-
"type": "i",
|
|
2373
|
-
"name": "turb"
|
|
2374
|
-
},
|
|
2375
|
-
{
|
|
2376
|
-
"type": "i",
|
|
2377
|
-
"name": "turbulence"
|
|
2378
|
-
}
|
|
2379
|
-
],
|
|
2380
|
-
"body": [0, [[
|
|
2381
|
-
13,
|
|
2382
|
-
"marbleCoord",
|
|
2383
2498
|
[
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
1,
|
|
2387
|
-
"x",
|
|
2388
|
-
"*",
|
|
2389
|
-
"PI"
|
|
2390
|
-
],
|
|
2391
|
-
"+",
|
|
2499
|
+
13,
|
|
2500
|
+
"pinOn",
|
|
2392
2501
|
[
|
|
2393
2502
|
1,
|
|
2394
|
-
"
|
|
2395
|
-
"
|
|
2396
|
-
"
|
|
2503
|
+
"pinFlag",
|
|
2504
|
+
">",
|
|
2505
|
+
[5, "0"]
|
|
2397
2506
|
]
|
|
2398
|
-
]
|
|
2399
|
-
], [10, [
|
|
2400
|
-
1,
|
|
2507
|
+
],
|
|
2401
2508
|
[
|
|
2402
|
-
|
|
2509
|
+
13,
|
|
2510
|
+
"clampedProg",
|
|
2403
2511
|
[
|
|
2404
2512
|
6,
|
|
2405
|
-
"std.
|
|
2406
|
-
[
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2513
|
+
"std.clamp",
|
|
2514
|
+
[
|
|
2515
|
+
"progress",
|
|
2516
|
+
[5, "0"],
|
|
2517
|
+
[5, "1"]
|
|
2518
|
+
]
|
|
2519
|
+
]
|
|
2410
2520
|
],
|
|
2411
|
-
"+",
|
|
2412
|
-
[5, "0.5"]
|
|
2413
|
-
]]]]
|
|
2414
|
-
},
|
|
2415
|
-
externals: {
|
|
2416
|
-
"PI": () => PI,
|
|
2417
|
-
"std.sin": () => sin
|
|
2418
|
-
}
|
|
2419
|
-
}) && $.f)({}));
|
|
2420
|
-
const veinDepth = typegpu_default.fn([vec2f, f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((pos, seed) => {
|
|
2421
|
-
"use gpu";
|
|
2422
|
-
return __tsover_add(__tsover_mul(mxNoiseFloat2(vec2f(__tsover_add(__tsover_mul(pos.y, 1.5), __tsover_mul(seed, 2)), __tsover_mul(pos.x, 1.2))), .3), .5);
|
|
2423
|
-
}), {
|
|
2424
|
-
v: 2,
|
|
2425
|
-
name: void 0,
|
|
2426
|
-
ast: {
|
|
2427
|
-
"params": [{
|
|
2428
|
-
"type": "i",
|
|
2429
|
-
"name": "pos"
|
|
2430
|
-
}, {
|
|
2431
|
-
"type": "i",
|
|
2432
|
-
"name": "seed"
|
|
2433
|
-
}],
|
|
2434
|
-
"body": [0, [[10, [
|
|
2435
|
-
1,
|
|
2436
2521
|
[
|
|
2437
|
-
|
|
2522
|
+
13,
|
|
2523
|
+
"pinch",
|
|
2438
2524
|
[
|
|
2439
2525
|
6,
|
|
2440
|
-
"
|
|
2441
|
-
[
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
1
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
"y"
|
|
2452
|
-
],
|
|
2453
|
-
"*",
|
|
2454
|
-
[5, "1.5"]
|
|
2455
|
-
],
|
|
2456
|
-
"+",
|
|
2457
|
-
[
|
|
2526
|
+
"std.select",
|
|
2527
|
+
[
|
|
2528
|
+
[
|
|
2529
|
+
6,
|
|
2530
|
+
"d.f32",
|
|
2531
|
+
[[5, "1"]]
|
|
2532
|
+
],
|
|
2533
|
+
[
|
|
2534
|
+
6,
|
|
2535
|
+
"std.sin",
|
|
2536
|
+
[[
|
|
2458
2537
|
1,
|
|
2459
|
-
"
|
|
2538
|
+
"clampedProg",
|
|
2460
2539
|
"*",
|
|
2461
|
-
|
|
2462
|
-
]
|
|
2463
|
-
],
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
"pos",
|
|
2468
|
-
"x"
|
|
2469
|
-
],
|
|
2470
|
-
"*",
|
|
2471
|
-
[5, "1.2"]
|
|
2472
|
-
]]
|
|
2473
|
-
]]
|
|
2474
|
-
],
|
|
2475
|
-
"*",
|
|
2476
|
-
[5, "0.3"]
|
|
2540
|
+
"PI"
|
|
2541
|
+
]]
|
|
2542
|
+
],
|
|
2543
|
+
"pinOn"
|
|
2544
|
+
]
|
|
2545
|
+
]
|
|
2477
2546
|
],
|
|
2478
|
-
"+",
|
|
2479
|
-
[5, "0.5"]
|
|
2480
|
-
]]]]
|
|
2481
|
-
},
|
|
2482
|
-
externals: {
|
|
2483
|
-
"mxNoiseFloat2": () => mxNoiseFloat2,
|
|
2484
|
-
"d.vec2f": () => vec2f
|
|
2485
|
-
}
|
|
2486
|
-
}) && $.f)({}));
|
|
2487
|
-
const veinLadder = typegpu_default.fn([f32, f32], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((marbleT, depthVar) => {
|
|
2488
|
-
"use gpu";
|
|
2489
|
-
const t1 = smoothstep(.3, .6, marbleT);
|
|
2490
|
-
const t2 = smoothstep(.6, .9, marbleT);
|
|
2491
|
-
return vec2f(t1, __tsover_mul(t2, depthVar));
|
|
2492
|
-
}), {
|
|
2493
|
-
v: 2,
|
|
2494
|
-
name: void 0,
|
|
2495
|
-
ast: {
|
|
2496
|
-
"params": [{
|
|
2497
|
-
"type": "i",
|
|
2498
|
-
"name": "marbleT"
|
|
2499
|
-
}, {
|
|
2500
|
-
"type": "i",
|
|
2501
|
-
"name": "depthVar"
|
|
2502
|
-
}],
|
|
2503
|
-
"body": [0, [
|
|
2504
2547
|
[
|
|
2505
2548
|
13,
|
|
2506
|
-
"
|
|
2549
|
+
"fade",
|
|
2507
2550
|
[
|
|
2508
|
-
|
|
2509
|
-
|
|
2551
|
+
1,
|
|
2552
|
+
[
|
|
2553
|
+
6,
|
|
2554
|
+
"std.smoothstep",
|
|
2555
|
+
[
|
|
2556
|
+
[5, "0"],
|
|
2557
|
+
[5, "0.06"],
|
|
2558
|
+
"progress"
|
|
2559
|
+
]
|
|
2560
|
+
],
|
|
2561
|
+
"*",
|
|
2510
2562
|
[
|
|
2511
|
-
|
|
2512
|
-
[5, "
|
|
2513
|
-
"
|
|
2563
|
+
1,
|
|
2564
|
+
[5, "1"],
|
|
2565
|
+
"-",
|
|
2566
|
+
[
|
|
2567
|
+
6,
|
|
2568
|
+
"std.smoothstep",
|
|
2569
|
+
[
|
|
2570
|
+
[5, "0.94"],
|
|
2571
|
+
[5, "1"],
|
|
2572
|
+
"progress"
|
|
2573
|
+
]
|
|
2574
|
+
]
|
|
2514
2575
|
]
|
|
2515
2576
|
]
|
|
2516
2577
|
],
|
|
2517
2578
|
[
|
|
2518
2579
|
13,
|
|
2519
|
-
"
|
|
2580
|
+
"edgeFade",
|
|
2520
2581
|
[
|
|
2521
2582
|
6,
|
|
2522
|
-
"std.
|
|
2583
|
+
"std.select",
|
|
2523
2584
|
[
|
|
2524
|
-
[
|
|
2525
|
-
|
|
2526
|
-
|
|
2585
|
+
[
|
|
2586
|
+
6,
|
|
2587
|
+
"d.f32",
|
|
2588
|
+
[[5, "1"]]
|
|
2589
|
+
],
|
|
2590
|
+
"fade",
|
|
2591
|
+
"pinOn"
|
|
2527
2592
|
]
|
|
2528
2593
|
]
|
|
2529
2594
|
],
|
|
2530
2595
|
[10, [
|
|
2531
2596
|
6,
|
|
2532
|
-
"d.
|
|
2533
|
-
["t1", [
|
|
2534
|
-
1,
|
|
2535
|
-
"t2",
|
|
2536
|
-
"*",
|
|
2537
|
-
"depthVar"
|
|
2538
|
-
]]
|
|
2539
|
-
]]
|
|
2540
|
-
]]
|
|
2541
|
-
},
|
|
2542
|
-
externals: {
|
|
2543
|
-
"std.smoothstep": () => smoothstep,
|
|
2544
|
-
"d.vec2f": () => vec2f
|
|
2545
|
-
}
|
|
2546
|
-
}) && $.f)({}));
|
|
2547
|
-
const strandsTonePow = typegpu_default.fn([vec3f], vec3f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((rgb) => {
|
|
2548
|
-
"use gpu";
|
|
2549
|
-
return pow(rgb, vec3f(.85, .85, .85));
|
|
2550
|
-
}), {
|
|
2551
|
-
v: 2,
|
|
2552
|
-
name: void 0,
|
|
2553
|
-
ast: {
|
|
2554
|
-
"params": [{
|
|
2555
|
-
"type": "i",
|
|
2556
|
-
"name": "rgb"
|
|
2557
|
-
}],
|
|
2558
|
-
"body": [0, [[10, [
|
|
2559
|
-
6,
|
|
2560
|
-
"std.pow",
|
|
2561
|
-
["rgb", [
|
|
2562
|
-
6,
|
|
2563
|
-
"d.vec3f",
|
|
2597
|
+
"d.vec4f",
|
|
2564
2598
|
[
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2599
|
+
"progress",
|
|
2600
|
+
"perpDist",
|
|
2601
|
+
"pinch",
|
|
2602
|
+
"edgeFade"
|
|
2568
2603
|
]
|
|
2569
2604
|
]]
|
|
2570
|
-
]]
|
|
2605
|
+
]]
|
|
2571
2606
|
},
|
|
2572
2607
|
externals: {
|
|
2573
|
-
"std.
|
|
2574
|
-
"d.
|
|
2608
|
+
"std.max": () => max,
|
|
2609
|
+
"d.vec2f": () => vec2f,
|
|
2610
|
+
"std.length": () => length,
|
|
2611
|
+
"std.dot": () => dot,
|
|
2612
|
+
"std.clamp": () => clamp,
|
|
2613
|
+
"std.select": () => select,
|
|
2614
|
+
"d.f32": () => f32,
|
|
2615
|
+
"std.sin": () => sin,
|
|
2616
|
+
"PI": () => PI,
|
|
2617
|
+
"std.smoothstep": () => smoothstep,
|
|
2618
|
+
"d.vec4f": () => vec4f
|
|
2575
2619
|
}
|
|
2576
2620
|
}) && $.f)({}));
|
|
2577
|
-
|
|
2578
|
-
if (8 !== MAX) throw new Error(`noisePaints: MAX (${MAX}) out of sync with MAX_COLOR_STOPS (8)`);
|
|
2579
|
-
const strandsField = typegpu_default.fn([
|
|
2621
|
+
const ribbonsField = typegpu_default.fn([
|
|
2580
2622
|
vec2f,
|
|
2581
2623
|
vec2f,
|
|
2582
2624
|
vec2f,
|
|
@@ -2597,25 +2639,14 @@ const strandsField = typegpu_default.fn([
|
|
|
2597
2639
|
const spread = packed2.y;
|
|
2598
2640
|
const colorScale = packed2.z;
|
|
2599
2641
|
const colorVariance = packed2.w;
|
|
2600
|
-
const pinOn = packed3.x > 0;
|
|
2601
2642
|
const waveT = packed3.y;
|
|
2602
2643
|
const colorT = packed3.z;
|
|
2603
2644
|
const stopCount = packed3.w;
|
|
2604
|
-
const
|
|
2605
|
-
const
|
|
2606
|
-
const
|
|
2607
|
-
const
|
|
2608
|
-
const
|
|
2609
|
-
const len = max(length(direction), 1e-6);
|
|
2610
|
-
const normalizedDir = vec2f(__tsover_div(direction.x, len), __tsover_div(direction.y, len));
|
|
2611
|
-
const perpDir = vec2f(-normalizedDir.y, normalizedDir.x);
|
|
2612
|
-
const relativePos = vec2f(__tsover_sub(aspectUV.x, startPos.x), __tsover_sub(aspectUV.y, startPos.y));
|
|
2613
|
-
const progress = __tsover_div(dot(relativePos, normalizedDir), len);
|
|
2614
|
-
const perpDist = dot(relativePos, perpDir);
|
|
2615
|
-
const clampedProg = clamp(progress, 0, 1);
|
|
2616
|
-
const pinch = select(f32(1), sin(__tsover_mul(clampedProg, PI)), pinOn);
|
|
2617
|
-
const fade = __tsover_mul(smoothstep(0, .06, progress), __tsover_sub(1, smoothstep(.94, 1, progress)));
|
|
2618
|
-
const edgeFade = select(f32(1), fade, pinOn);
|
|
2645
|
+
const frame = ribbonPathFrame(uv, viewport, start, end, packed3.x);
|
|
2646
|
+
const progress = frame.x;
|
|
2647
|
+
const perpDist = frame.y;
|
|
2648
|
+
const pinch = frame.z;
|
|
2649
|
+
const edgeFade = frame.w;
|
|
2619
2650
|
const thickness = __tsover_mul(lineWidth, .07);
|
|
2620
2651
|
const softness = __tsover_add(__tsover_mul(softnessP, .08), 8e-4);
|
|
2621
2652
|
const denom = max(__tsover_sub(lineCount, 1), 1);
|
|
@@ -2712,435 +2743,137 @@ const strandsField = typegpu_default.fn([
|
|
|
2712
2743
|
[
|
|
2713
2744
|
13,
|
|
2714
2745
|
"lineCount",
|
|
2715
|
-
[
|
|
2716
|
-
7,
|
|
2717
|
-
"packed1",
|
|
2718
|
-
"z"
|
|
2719
|
-
]
|
|
2720
|
-
],
|
|
2721
|
-
[
|
|
2722
|
-
13,
|
|
2723
|
-
"lineWidth",
|
|
2724
|
-
[
|
|
2725
|
-
7,
|
|
2726
|
-
"packed1",
|
|
2727
|
-
"w"
|
|
2728
|
-
]
|
|
2729
|
-
],
|
|
2730
|
-
[
|
|
2731
|
-
13,
|
|
2732
|
-
"softnessP",
|
|
2733
|
-
[
|
|
2734
|
-
7,
|
|
2735
|
-
"packed2",
|
|
2736
|
-
"x"
|
|
2737
|
-
]
|
|
2738
|
-
],
|
|
2739
|
-
[
|
|
2740
|
-
13,
|
|
2741
|
-
"spread",
|
|
2742
|
-
[
|
|
2743
|
-
7,
|
|
2744
|
-
"packed2",
|
|
2745
|
-
"y"
|
|
2746
|
-
]
|
|
2747
|
-
],
|
|
2748
|
-
[
|
|
2749
|
-
13,
|
|
2750
|
-
"colorScale",
|
|
2751
|
-
[
|
|
2752
|
-
7,
|
|
2753
|
-
"packed2",
|
|
2754
|
-
"z"
|
|
2755
|
-
]
|
|
2756
|
-
],
|
|
2757
|
-
[
|
|
2758
|
-
13,
|
|
2759
|
-
"colorVariance",
|
|
2760
|
-
[
|
|
2761
|
-
7,
|
|
2762
|
-
"packed2",
|
|
2763
|
-
"w"
|
|
2764
|
-
]
|
|
2765
|
-
],
|
|
2766
|
-
[
|
|
2767
|
-
13,
|
|
2768
|
-
"pinOn",
|
|
2769
|
-
[
|
|
2770
|
-
1,
|
|
2771
|
-
[
|
|
2772
|
-
7,
|
|
2773
|
-
"packed3",
|
|
2774
|
-
"x"
|
|
2775
|
-
],
|
|
2776
|
-
">",
|
|
2777
|
-
[5, "0"]
|
|
2778
|
-
]
|
|
2779
|
-
],
|
|
2780
|
-
[
|
|
2781
|
-
13,
|
|
2782
|
-
"waveT",
|
|
2783
|
-
[
|
|
2784
|
-
7,
|
|
2785
|
-
"packed3",
|
|
2786
|
-
"y"
|
|
2787
|
-
]
|
|
2788
|
-
],
|
|
2789
|
-
[
|
|
2790
|
-
13,
|
|
2791
|
-
"colorT",
|
|
2792
|
-
[
|
|
2793
|
-
7,
|
|
2794
|
-
"packed3",
|
|
2795
|
-
"z"
|
|
2796
|
-
]
|
|
2797
|
-
],
|
|
2798
|
-
[
|
|
2799
|
-
13,
|
|
2800
|
-
"stopCount",
|
|
2801
|
-
[
|
|
2802
|
-
7,
|
|
2803
|
-
"packed3",
|
|
2804
|
-
"w"
|
|
2805
|
-
]
|
|
2806
|
-
],
|
|
2807
|
-
[
|
|
2808
|
-
13,
|
|
2809
|
-
"aspectRatio",
|
|
2810
|
-
[
|
|
2811
|
-
1,
|
|
2812
|
-
[
|
|
2813
|
-
7,
|
|
2814
|
-
"viewport",
|
|
2815
|
-
"x"
|
|
2816
|
-
],
|
|
2817
|
-
"/",
|
|
2818
|
-
[
|
|
2819
|
-
6,
|
|
2820
|
-
"std.max",
|
|
2821
|
-
[[
|
|
2822
|
-
7,
|
|
2823
|
-
"viewport",
|
|
2824
|
-
"y"
|
|
2825
|
-
], [5, "0.000001"]]
|
|
2826
|
-
]
|
|
2827
|
-
]
|
|
2828
|
-
],
|
|
2829
|
-
[
|
|
2830
|
-
13,
|
|
2831
|
-
"startPos",
|
|
2832
|
-
[
|
|
2833
|
-
6,
|
|
2834
|
-
"d.vec2f",
|
|
2835
|
-
[[
|
|
2836
|
-
1,
|
|
2837
|
-
[
|
|
2838
|
-
7,
|
|
2839
|
-
"start",
|
|
2840
|
-
"x"
|
|
2841
|
-
],
|
|
2842
|
-
"*",
|
|
2843
|
-
"aspectRatio"
|
|
2844
|
-
], [
|
|
2845
|
-
1,
|
|
2846
|
-
[5, "1"],
|
|
2847
|
-
"-",
|
|
2848
|
-
[
|
|
2849
|
-
7,
|
|
2850
|
-
"start",
|
|
2851
|
-
"y"
|
|
2852
|
-
]
|
|
2853
|
-
]]
|
|
2854
|
-
]
|
|
2855
|
-
],
|
|
2856
|
-
[
|
|
2857
|
-
13,
|
|
2858
|
-
"endPos",
|
|
2859
|
-
[
|
|
2860
|
-
6,
|
|
2861
|
-
"d.vec2f",
|
|
2862
|
-
[[
|
|
2863
|
-
1,
|
|
2864
|
-
[
|
|
2865
|
-
7,
|
|
2866
|
-
"end",
|
|
2867
|
-
"x"
|
|
2868
|
-
],
|
|
2869
|
-
"*",
|
|
2870
|
-
"aspectRatio"
|
|
2871
|
-
], [
|
|
2872
|
-
1,
|
|
2873
|
-
[5, "1"],
|
|
2874
|
-
"-",
|
|
2875
|
-
[
|
|
2876
|
-
7,
|
|
2877
|
-
"end",
|
|
2878
|
-
"y"
|
|
2879
|
-
]
|
|
2880
|
-
]]
|
|
2881
|
-
]
|
|
2882
|
-
],
|
|
2883
|
-
[
|
|
2884
|
-
13,
|
|
2885
|
-
"aspectUV",
|
|
2886
|
-
[
|
|
2887
|
-
6,
|
|
2888
|
-
"d.vec2f",
|
|
2889
|
-
[[
|
|
2890
|
-
1,
|
|
2891
|
-
[
|
|
2892
|
-
7,
|
|
2893
|
-
"uv",
|
|
2894
|
-
"x"
|
|
2895
|
-
],
|
|
2896
|
-
"*",
|
|
2897
|
-
"aspectRatio"
|
|
2898
|
-
], [
|
|
2899
|
-
7,
|
|
2900
|
-
"uv",
|
|
2901
|
-
"y"
|
|
2902
|
-
]]
|
|
2746
|
+
[
|
|
2747
|
+
7,
|
|
2748
|
+
"packed1",
|
|
2749
|
+
"z"
|
|
2903
2750
|
]
|
|
2904
2751
|
],
|
|
2905
2752
|
[
|
|
2906
2753
|
13,
|
|
2907
|
-
"
|
|
2754
|
+
"lineWidth",
|
|
2908
2755
|
[
|
|
2909
|
-
|
|
2910
|
-
"
|
|
2911
|
-
|
|
2912
|
-
1,
|
|
2913
|
-
[
|
|
2914
|
-
7,
|
|
2915
|
-
"endPos",
|
|
2916
|
-
"x"
|
|
2917
|
-
],
|
|
2918
|
-
"-",
|
|
2919
|
-
[
|
|
2920
|
-
7,
|
|
2921
|
-
"startPos",
|
|
2922
|
-
"x"
|
|
2923
|
-
]
|
|
2924
|
-
], [
|
|
2925
|
-
1,
|
|
2926
|
-
[
|
|
2927
|
-
7,
|
|
2928
|
-
"endPos",
|
|
2929
|
-
"y"
|
|
2930
|
-
],
|
|
2931
|
-
"-",
|
|
2932
|
-
[
|
|
2933
|
-
7,
|
|
2934
|
-
"startPos",
|
|
2935
|
-
"y"
|
|
2936
|
-
]
|
|
2937
|
-
]]
|
|
2756
|
+
7,
|
|
2757
|
+
"packed1",
|
|
2758
|
+
"w"
|
|
2938
2759
|
]
|
|
2939
2760
|
],
|
|
2940
2761
|
[
|
|
2941
2762
|
13,
|
|
2942
|
-
"
|
|
2763
|
+
"softnessP",
|
|
2943
2764
|
[
|
|
2944
|
-
|
|
2945
|
-
"
|
|
2946
|
-
|
|
2947
|
-
6,
|
|
2948
|
-
"std.length",
|
|
2949
|
-
["direction"]
|
|
2950
|
-
], [5, "0.000001"]]
|
|
2765
|
+
7,
|
|
2766
|
+
"packed2",
|
|
2767
|
+
"x"
|
|
2951
2768
|
]
|
|
2952
2769
|
],
|
|
2953
2770
|
[
|
|
2954
2771
|
13,
|
|
2955
|
-
"
|
|
2772
|
+
"spread",
|
|
2956
2773
|
[
|
|
2957
|
-
|
|
2958
|
-
"
|
|
2959
|
-
|
|
2960
|
-
1,
|
|
2961
|
-
[
|
|
2962
|
-
7,
|
|
2963
|
-
"direction",
|
|
2964
|
-
"x"
|
|
2965
|
-
],
|
|
2966
|
-
"/",
|
|
2967
|
-
"len"
|
|
2968
|
-
], [
|
|
2969
|
-
1,
|
|
2970
|
-
[
|
|
2971
|
-
7,
|
|
2972
|
-
"direction",
|
|
2973
|
-
"y"
|
|
2974
|
-
],
|
|
2975
|
-
"/",
|
|
2976
|
-
"len"
|
|
2977
|
-
]]
|
|
2774
|
+
7,
|
|
2775
|
+
"packed2",
|
|
2776
|
+
"y"
|
|
2978
2777
|
]
|
|
2979
2778
|
],
|
|
2980
2779
|
[
|
|
2981
2780
|
13,
|
|
2982
|
-
"
|
|
2781
|
+
"colorScale",
|
|
2983
2782
|
[
|
|
2984
|
-
|
|
2985
|
-
"
|
|
2986
|
-
|
|
2987
|
-
4,
|
|
2988
|
-
"-",
|
|
2989
|
-
[
|
|
2990
|
-
7,
|
|
2991
|
-
"normalizedDir",
|
|
2992
|
-
"y"
|
|
2993
|
-
]
|
|
2994
|
-
], [
|
|
2995
|
-
7,
|
|
2996
|
-
"normalizedDir",
|
|
2997
|
-
"x"
|
|
2998
|
-
]]
|
|
2783
|
+
7,
|
|
2784
|
+
"packed2",
|
|
2785
|
+
"z"
|
|
2999
2786
|
]
|
|
3000
2787
|
],
|
|
3001
2788
|
[
|
|
3002
2789
|
13,
|
|
3003
|
-
"
|
|
2790
|
+
"colorVariance",
|
|
3004
2791
|
[
|
|
3005
|
-
|
|
3006
|
-
"
|
|
3007
|
-
|
|
3008
|
-
1,
|
|
3009
|
-
[
|
|
3010
|
-
7,
|
|
3011
|
-
"aspectUV",
|
|
3012
|
-
"x"
|
|
3013
|
-
],
|
|
3014
|
-
"-",
|
|
3015
|
-
[
|
|
3016
|
-
7,
|
|
3017
|
-
"startPos",
|
|
3018
|
-
"x"
|
|
3019
|
-
]
|
|
3020
|
-
], [
|
|
3021
|
-
1,
|
|
3022
|
-
[
|
|
3023
|
-
7,
|
|
3024
|
-
"aspectUV",
|
|
3025
|
-
"y"
|
|
3026
|
-
],
|
|
3027
|
-
"-",
|
|
3028
|
-
[
|
|
3029
|
-
7,
|
|
3030
|
-
"startPos",
|
|
3031
|
-
"y"
|
|
3032
|
-
]
|
|
3033
|
-
]]
|
|
2792
|
+
7,
|
|
2793
|
+
"packed2",
|
|
2794
|
+
"w"
|
|
3034
2795
|
]
|
|
3035
2796
|
],
|
|
3036
2797
|
[
|
|
3037
2798
|
13,
|
|
3038
|
-
"
|
|
2799
|
+
"waveT",
|
|
3039
2800
|
[
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
"std.dot",
|
|
3044
|
-
["relativePos", "normalizedDir"]
|
|
3045
|
-
],
|
|
3046
|
-
"/",
|
|
3047
|
-
"len"
|
|
2801
|
+
7,
|
|
2802
|
+
"packed3",
|
|
2803
|
+
"y"
|
|
3048
2804
|
]
|
|
3049
2805
|
],
|
|
3050
2806
|
[
|
|
3051
2807
|
13,
|
|
3052
|
-
"
|
|
2808
|
+
"colorT",
|
|
3053
2809
|
[
|
|
3054
|
-
|
|
3055
|
-
"
|
|
3056
|
-
|
|
2810
|
+
7,
|
|
2811
|
+
"packed3",
|
|
2812
|
+
"z"
|
|
3057
2813
|
]
|
|
3058
2814
|
],
|
|
3059
2815
|
[
|
|
3060
2816
|
13,
|
|
3061
|
-
"
|
|
2817
|
+
"stopCount",
|
|
3062
2818
|
[
|
|
3063
|
-
|
|
3064
|
-
"
|
|
3065
|
-
|
|
3066
|
-
"progress",
|
|
3067
|
-
[5, "0"],
|
|
3068
|
-
[5, "1"]
|
|
3069
|
-
]
|
|
2819
|
+
7,
|
|
2820
|
+
"packed3",
|
|
2821
|
+
"w"
|
|
3070
2822
|
]
|
|
3071
2823
|
],
|
|
3072
2824
|
[
|
|
3073
2825
|
13,
|
|
3074
|
-
"
|
|
2826
|
+
"frame",
|
|
3075
2827
|
[
|
|
3076
2828
|
6,
|
|
3077
|
-
"
|
|
2829
|
+
"ribbonPathFrame",
|
|
3078
2830
|
[
|
|
2831
|
+
"uv",
|
|
2832
|
+
"viewport",
|
|
2833
|
+
"start",
|
|
2834
|
+
"end",
|
|
3079
2835
|
[
|
|
3080
|
-
|
|
3081
|
-
"
|
|
3082
|
-
|
|
3083
|
-
]
|
|
3084
|
-
[
|
|
3085
|
-
6,
|
|
3086
|
-
"std.sin",
|
|
3087
|
-
[[
|
|
3088
|
-
1,
|
|
3089
|
-
"clampedProg",
|
|
3090
|
-
"*",
|
|
3091
|
-
"PI"
|
|
3092
|
-
]]
|
|
3093
|
-
],
|
|
3094
|
-
"pinOn"
|
|
2836
|
+
7,
|
|
2837
|
+
"packed3",
|
|
2838
|
+
"x"
|
|
2839
|
+
]
|
|
3095
2840
|
]
|
|
3096
2841
|
]
|
|
3097
2842
|
],
|
|
3098
2843
|
[
|
|
3099
2844
|
13,
|
|
3100
|
-
"
|
|
2845
|
+
"progress",
|
|
3101
2846
|
[
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
"
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
"progress"
|
|
3124
|
-
]
|
|
3125
|
-
]
|
|
3126
|
-
]
|
|
2847
|
+
7,
|
|
2848
|
+
"frame",
|
|
2849
|
+
"x"
|
|
2850
|
+
]
|
|
2851
|
+
],
|
|
2852
|
+
[
|
|
2853
|
+
13,
|
|
2854
|
+
"perpDist",
|
|
2855
|
+
[
|
|
2856
|
+
7,
|
|
2857
|
+
"frame",
|
|
2858
|
+
"y"
|
|
2859
|
+
]
|
|
2860
|
+
],
|
|
2861
|
+
[
|
|
2862
|
+
13,
|
|
2863
|
+
"pinch",
|
|
2864
|
+
[
|
|
2865
|
+
7,
|
|
2866
|
+
"frame",
|
|
2867
|
+
"z"
|
|
3127
2868
|
]
|
|
3128
2869
|
],
|
|
3129
2870
|
[
|
|
3130
2871
|
13,
|
|
3131
2872
|
"edgeFade",
|
|
3132
2873
|
[
|
|
3133
|
-
|
|
3134
|
-
"
|
|
3135
|
-
|
|
3136
|
-
[
|
|
3137
|
-
6,
|
|
3138
|
-
"d.f32",
|
|
3139
|
-
[[5, "1"]]
|
|
3140
|
-
],
|
|
3141
|
-
"fade",
|
|
3142
|
-
"pinOn"
|
|
3143
|
-
]
|
|
2874
|
+
7,
|
|
2875
|
+
"frame",
|
|
2876
|
+
"w"
|
|
3144
2877
|
]
|
|
3145
2878
|
],
|
|
3146
2879
|
[
|
|
@@ -3654,23 +3387,19 @@ const strandsField = typegpu_default.fn([
|
|
|
3654
3387
|
]]
|
|
3655
3388
|
},
|
|
3656
3389
|
externals: {
|
|
3390
|
+
"ribbonPathFrame": () => ribbonPathFrame,
|
|
3657
3391
|
"std.max": () => max,
|
|
3658
|
-
"d.vec2f": () => vec2f,
|
|
3659
|
-
"std.length": () => length,
|
|
3660
|
-
"std.dot": () => dot,
|
|
3661
|
-
"std.clamp": () => clamp,
|
|
3662
|
-
"std.select": () => select,
|
|
3663
|
-
"d.f32": () => f32,
|
|
3664
|
-
"std.sin": () => sin,
|
|
3665
|
-
"PI": () => PI,
|
|
3666
|
-
"std.smoothstep": () => smoothstep,
|
|
3667
3392
|
"d.vec3f": () => vec3f,
|
|
3393
|
+
"d.f32": () => f32,
|
|
3668
3394
|
"TAU": () => TAU,
|
|
3669
3395
|
"d.i32": () => i32,
|
|
3670
3396
|
"std.round": () => round,
|
|
3397
|
+
"std.sin": () => sin,
|
|
3671
3398
|
"std.abs": () => abs,
|
|
3399
|
+
"std.smoothstep": () => smoothstep,
|
|
3672
3400
|
"std.fract": () => fract,
|
|
3673
3401
|
"gradientStopsInSpace": () => gradientStopsInSpace,
|
|
3402
|
+
"std.clamp": () => clamp,
|
|
3674
3403
|
"d.vec4f": () => vec4f
|
|
3675
3404
|
}
|
|
3676
3405
|
}) && $.f)({}));
|
|
@@ -3887,4 +3616,4 @@ const paperSurface = typegpu_default.fn([
|
|
|
3887
3616
|
"d.vec3f": () => vec3f
|
|
3888
3617
|
}
|
|
3889
3618
|
}) && $.f)({}));
|
|
3890
|
-
export {
|
|
3619
|
+
export { worleyHash as _, fbmNormalize as a, worleyNormalize as b, rawAspectScaledDomain as c, toneLift as d, transformWorleyDistance as f, worleyDistNum as g, worleyCells as h, curlMagnitude as i, ribbonsField as l, voronoiCells as m, cellBorders as n, fractalSum as o, transformWorleyMode as p, cellFill as r, paperSurface as s, aspectPlane as t, rotatedCenteredDomain as u, worleyModeNum as v, worleyTone as x, worleyModeScale as y };
|