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
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { getContext, setContext, onMount, onDestroy } from 'svelte';
|
|
3
|
+
import {
|
|
4
|
+
createGpuUniformsMap,
|
|
5
|
+
resolveBoundingBox,
|
|
6
|
+
type GpuUniformsMap,
|
|
7
|
+
type BlendMode,
|
|
8
|
+
type NodeMetadata,
|
|
9
|
+
type PropConfig,
|
|
10
|
+
type MaskConfig,
|
|
11
|
+
type PropDriver,
|
|
12
|
+
type TransformConfig,
|
|
13
|
+
type BoundingBoxConfig,
|
|
14
|
+
type LayoutConfig
|
|
15
|
+
} from '../../../core/index.js';
|
|
16
|
+
import {setColorSpaceMode} from '../../../core/utilities/transformations/index.js';
|
|
17
|
+
|
|
18
|
+
// @ts-ignore - this import is replaced at build time
|
|
19
|
+
import { componentDefinition, type ComponentProps } from '../../../core/shaders/Waveform/index.js';
|
|
20
|
+
|
|
21
|
+
// Warn once per page load if this is an experimental component
|
|
22
|
+
let _experimentalWarnedOnce = false;
|
|
23
|
+
if ((componentDefinition as any).experimental && !_experimentalWarnedOnce) {
|
|
24
|
+
_experimentalWarnedOnce = true;
|
|
25
|
+
const _e = (componentDefinition as any).experimental;
|
|
26
|
+
console.info(`%c⚠ [Shaders] ${componentDefinition.name} is experimental: ${_e.message}`, 'color: #f59e0b; font-weight: bold');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Define component props including blend mode, opacity, visibility, masking, and transformation
|
|
31
|
+
*/
|
|
32
|
+
interface ExtendedComponentProps extends Partial<ComponentProps> {
|
|
33
|
+
from?: ComponentProps['from'] | PropDriver;
|
|
34
|
+
to?: ComponentProps['to'] | PropDriver;
|
|
35
|
+
amplitude?: ComponentProps['amplitude'] | PropDriver;
|
|
36
|
+
frequency?: ComponentProps['frequency'] | PropDriver;
|
|
37
|
+
height?: ComponentProps['height'] | PropDriver;
|
|
38
|
+
count?: ComponentProps['count'] | PropDriver;
|
|
39
|
+
barWidth?: ComponentProps['barWidth'] | PropDriver;
|
|
40
|
+
rounding?: ComponentProps['rounding'] | PropDriver;
|
|
41
|
+
dotSize?: ComponentProps['dotSize'] | PropDriver;
|
|
42
|
+
lineWidth?: ComponentProps['lineWidth'] | PropDriver;
|
|
43
|
+
softness?: ComponentProps['softness'] | PropDriver;
|
|
44
|
+
blendMode?: BlendMode;
|
|
45
|
+
opacity?: number;
|
|
46
|
+
visible?: boolean;
|
|
47
|
+
id?: string;
|
|
48
|
+
maskSource?: string;
|
|
49
|
+
maskType?: string;
|
|
50
|
+
renderOrder?: number;
|
|
51
|
+
transform?: Partial<TransformConfig>;
|
|
52
|
+
boundingBox?: Partial<BoundingBoxConfig>;
|
|
53
|
+
flow?: LayoutConfig;
|
|
54
|
+
absolute?: boolean;
|
|
55
|
+
children?: import('svelte').Snippet;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function isPropDriver(value: unknown): value is PropDriver {
|
|
59
|
+
return typeof value === 'object' && value !== null && 'type' in value &&
|
|
60
|
+
((value as any).type === 'map' || (value as any).type === 'mouse' || (value as any).type === 'mouse-position' || (value as any).type === 'auto-animate');
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Default transform configuration (optimized for zero overhead)
|
|
65
|
+
*/
|
|
66
|
+
const DEFAULT_TRANSFORM: TransformConfig = {
|
|
67
|
+
offsetX: 0,
|
|
68
|
+
offsetY: 0,
|
|
69
|
+
rotation: 0,
|
|
70
|
+
scale: 1,
|
|
71
|
+
anchorX: 0.5,
|
|
72
|
+
anchorY: 0.5,
|
|
73
|
+
edges: 'transparent'
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
// Define the component props and their default values from the shader definition
|
|
77
|
+
const componentDefaults = {
|
|
78
|
+
blendMode: 'normal' as BlendMode,
|
|
79
|
+
visible: true,
|
|
80
|
+
// opacity intentionally has no default - handled by renderer
|
|
81
|
+
// transform intentionally has no default - handled by effectiveTransform
|
|
82
|
+
...Object.entries(componentDefinition.props).reduce(
|
|
83
|
+
(acc, [key, config]) => {
|
|
84
|
+
acc[key] = (config as unknown as PropConfig<typeof config>).default;
|
|
85
|
+
return acc;
|
|
86
|
+
},
|
|
87
|
+
{} as Record<string, any>
|
|
88
|
+
)
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
// Declare props using Svelte 5's syntax
|
|
92
|
+
const props: ExtendedComponentProps = $props();
|
|
93
|
+
|
|
94
|
+
// Apply defaults manually since Svelte 5 doesn't have withDefaults equivalent
|
|
95
|
+
// Use $derived so the metadata $effect re-runs when any of these change at runtime
|
|
96
|
+
const blendMode = $derived(props.blendMode ?? componentDefaults.blendMode);
|
|
97
|
+
const opacity = $derived(props.opacity); // No default - handled by renderer
|
|
98
|
+
const visible = $derived(props.visible ?? componentDefaults.visible); // Default to true
|
|
99
|
+
const id = $derived(props.id);
|
|
100
|
+
const maskSource = $derived(props.maskSource);
|
|
101
|
+
const maskType = $derived(props.maskType);
|
|
102
|
+
const renderOrder = $derived(props.renderOrder);
|
|
103
|
+
const { children } = props;
|
|
104
|
+
|
|
105
|
+
// Collect PropDriver values from shader props into the maps metadata structure
|
|
106
|
+
const mapsFromProps = $derived.by(() => {
|
|
107
|
+
const maps: Record<string, PropDriver> = {};
|
|
108
|
+
for (const key of Object.keys(componentDefinition.props)) {
|
|
109
|
+
const val = (props as any)[key];
|
|
110
|
+
if (isPropDriver(val)) maps[key] = val as PropDriver;
|
|
111
|
+
}
|
|
112
|
+
return Object.keys(maps).length > 0 ? maps : undefined;
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Computed transform that merges user-provided values with defaults
|
|
117
|
+
*/
|
|
118
|
+
const effectiveTransform = $derived({
|
|
119
|
+
...DEFAULT_TRANSFORM,
|
|
120
|
+
...props.transform
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Effective bounding box — partial configs merge with full-frame defaults,
|
|
125
|
+
* absent stays undefined so the bbox render path is not activated
|
|
126
|
+
*/
|
|
127
|
+
const effectiveBoundingBox = $derived(resolveBoundingBox(props.boundingBox));
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* FIRST: Get the parent ID from context BEFORE setting our own context
|
|
131
|
+
*/
|
|
132
|
+
const parentId = getContext<string>('shaderParentId');
|
|
133
|
+
if (parentId === undefined) {
|
|
134
|
+
throw new Error('Shader components must be used inside an <Shader> component or another shader component');
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Use the provided ID or generate a unique identifier for this component instance
|
|
139
|
+
*/
|
|
140
|
+
const instanceId = (id ? id.replace(/[^a-zA-Z0-9_]/g, '_') : null) || Math.random().toString(36).substring(2, 10);
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* THEN: Provide our unique identifier to child components
|
|
144
|
+
*/
|
|
145
|
+
setContext('shaderParentId', instanceId);
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Creates a non-reactive object containing only props that differ from defaults
|
|
149
|
+
* This optimization prevents unnecessary GPU uniform updates for unchanged values
|
|
150
|
+
* Special props like blendMode and opacity are handled separately
|
|
151
|
+
*/
|
|
152
|
+
const shaderReadyProps = $derived.by(() => {
|
|
153
|
+
let baseProps = { ...componentDefaults };
|
|
154
|
+
|
|
155
|
+
// Only include props that differ from defaults (excluding special props and PropDrivers)
|
|
156
|
+
for (const key in props) {
|
|
157
|
+
if (key !== 'blendMode' && key !== 'opacity' && key !== 'visible' &&
|
|
158
|
+
key !== 'id' && key !== 'maskSource' && key !== 'maskType' && key !== 'renderOrder' &&
|
|
159
|
+
key !== 'transform' && key !== 'boundingBox' && key !== 'flow' && key !== 'absolute' && key !== 'children') {
|
|
160
|
+
const propValue = (props as any)[key];
|
|
161
|
+
if (isPropDriver(propValue)) continue; // PropDrivers go to metadata.maps, not uniforms
|
|
162
|
+
const defaultValue = (componentDefaults as any)[key];
|
|
163
|
+
if (propValue !== undefined && propValue !== defaultValue) {
|
|
164
|
+
(baseProps as any)[key] = propValue;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
return baseProps;
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Get the color space from the root Shader component.
|
|
173
|
+
* Used to set the global color space mode before creating uniforms.
|
|
174
|
+
*/
|
|
175
|
+
const shaderColorSpace = getContext<() => 'p3-linear' | 'srgb'>('shaderColorSpace');
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Creates the GPU uniform values map using only the changed props
|
|
179
|
+
* Set the global color space mode before creating uniforms so colors are transformed correctly
|
|
180
|
+
* Note: Intentionally captures initial value - props are immutable after initialization
|
|
181
|
+
*/
|
|
182
|
+
if (shaderColorSpace) {
|
|
183
|
+
setColorSpaceMode(shaderColorSpace());
|
|
184
|
+
}
|
|
185
|
+
// svelte-ignore state_referenced_locally
|
|
186
|
+
const uniforms: GpuUniformsMap = createGpuUniformsMap(componentDefinition, shaderReadyProps, instanceId);
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Get the node registration function from parent context
|
|
190
|
+
*/
|
|
191
|
+
const parentRegister = getContext<(id: string, fragmentNodeFunc: any, parentId: string | null, metadata: NodeMetadata | null, uniforms: GpuUniformsMap | null, componentDefinition: any, domCanvas?: HTMLCanvasElement) => void>('shaderNodeRegister');
|
|
192
|
+
if (parentRegister === undefined) {
|
|
193
|
+
throw new Error('Shader components must be used inside an <Shader> component or another shader component');
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Get the uniform update function from parent context
|
|
198
|
+
*/
|
|
199
|
+
const parentUniformUpdate = getContext<(nodeId: string, uniformName: string, value: any) => void>('shaderUniformUpdate');
|
|
200
|
+
if (parentUniformUpdate === undefined) {
|
|
201
|
+
throw new Error('Shader components require shaderUniformUpdate from parent');
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Get the metadata update function from parent context
|
|
206
|
+
*/
|
|
207
|
+
const parentMetadataUpdate = getContext<(nodeId: string, metadata: NodeMetadata) => void>('shaderMetadataUpdate');
|
|
208
|
+
if (parentMetadataUpdate === undefined) {
|
|
209
|
+
throw new Error('Shader components require shaderMetadataUpdate from parent');
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// capturesDOM — canvas layoutsubtree portal for HTMLInCanvas-style shaders
|
|
213
|
+
const isCapturesDOM = !!(componentDefinition as any).capturesDOM;
|
|
214
|
+
let captureCanvas: HTMLCanvasElement | undefined;
|
|
215
|
+
let captureW = $state(typeof window !== 'undefined' ? Math.round(window.innerWidth * Math.min(window.devicePixelRatio, 2)) : 0);
|
|
216
|
+
let captureH = $state(typeof window !== 'undefined' ? Math.round(window.innerHeight * Math.min(window.devicePixelRatio, 2)) : 0);
|
|
217
|
+
|
|
218
|
+
function teleportToBody(node: HTMLElement) {
|
|
219
|
+
document.body.appendChild(node);
|
|
220
|
+
return { destroy() { node.remove(); } };
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
if (isCapturesDOM) {
|
|
224
|
+
const onWinResize = () => {
|
|
225
|
+
const d = Math.min(window.devicePixelRatio, 2);
|
|
226
|
+
captureW = Math.round(window.innerWidth * d);
|
|
227
|
+
captureH = Math.round(window.innerHeight * d);
|
|
228
|
+
};
|
|
229
|
+
onMount(() => { window.addEventListener('resize', onWinResize); });
|
|
230
|
+
onDestroy(() => { window.removeEventListener('resize', onWinResize); });
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// DOM marker ref for determining render order from template position
|
|
234
|
+
let orderMarker: HTMLSpanElement;
|
|
235
|
+
|
|
236
|
+
// Stores the DOM-detected render order
|
|
237
|
+
let detectedRenderOrder: number | undefined = undefined;
|
|
238
|
+
|
|
239
|
+
// Flag to track when component is registered
|
|
240
|
+
let isRegistered = $state(false);
|
|
241
|
+
|
|
242
|
+
// Setup uniform watchers with registration guard
|
|
243
|
+
Object.entries(uniforms).forEach(([propName, entry]) => {
|
|
244
|
+
$effect(() => {
|
|
245
|
+
// Only run after component is registered
|
|
246
|
+
if (!isRegistered) return;
|
|
247
|
+
|
|
248
|
+
// GPU bridge entries carry `.value` (no v1 `.uniform` node). colorStops expands into
|
|
249
|
+
// extra array fields (colorsArray/…) that aren't component props — their `props[name]`
|
|
250
|
+
// is always undefined, so the guard below skips them.
|
|
251
|
+
if (entry && entry.value !== undefined) {
|
|
252
|
+
const newValue = (props as any)[propName];
|
|
253
|
+
if (newValue !== undefined && !isPropDriver(newValue)) {
|
|
254
|
+
// Send raw value - renderer will handle transformation
|
|
255
|
+
// PropDriver values go to metadata.maps, not uniforms
|
|
256
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
});
|
|
261
|
+
|
|
262
|
+
// Watch blend mode, opacity, visibility, masking, transformations, and prop maps changes
|
|
263
|
+
$effect(() => {
|
|
264
|
+
// Only run after component is registered
|
|
265
|
+
if (!isRegistered) return;
|
|
266
|
+
|
|
267
|
+
const metadata: NodeMetadata = {
|
|
268
|
+
blendMode,
|
|
269
|
+
opacity,
|
|
270
|
+
visible: visible === false ? false : true,
|
|
271
|
+
id,
|
|
272
|
+
mask: maskSource ? {
|
|
273
|
+
source: maskSource,
|
|
274
|
+
type: (maskType || 'alpha') as MaskConfig['type']
|
|
275
|
+
} : undefined,
|
|
276
|
+
maps: mapsFromProps,
|
|
277
|
+
renderOrder: renderOrder ?? detectedRenderOrder,
|
|
278
|
+
transform: effectiveTransform,
|
|
279
|
+
boundingBox: effectiveBoundingBox,
|
|
280
|
+
flow: props.flow,
|
|
281
|
+
absolute: props.absolute
|
|
282
|
+
};
|
|
283
|
+
parentMetadataUpdate(instanceId, metadata);
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
// Register this component after mount to ensure parent is ready
|
|
287
|
+
onMount(() => {
|
|
288
|
+
// Register this component with safety check
|
|
289
|
+
if (componentDefinition && typeof componentDefinition.fragment === 'function') {
|
|
290
|
+
parentRegister(
|
|
291
|
+
instanceId,
|
|
292
|
+
componentDefinition.fragment,
|
|
293
|
+
parentId,
|
|
294
|
+
{
|
|
295
|
+
blendMode,
|
|
296
|
+
opacity,
|
|
297
|
+
visible: visible !== false ? true : false,
|
|
298
|
+
id,
|
|
299
|
+
mask: maskSource ? {
|
|
300
|
+
source: maskSource,
|
|
301
|
+
type: (maskType || 'alpha') as MaskConfig['type']
|
|
302
|
+
} as MaskConfig : undefined,
|
|
303
|
+
maps: mapsFromProps,
|
|
304
|
+
renderOrder: renderOrder ?? detectedRenderOrder,
|
|
305
|
+
transform: effectiveTransform,
|
|
306
|
+
boundingBox: effectiveBoundingBox,
|
|
307
|
+
flow: props.flow,
|
|
308
|
+
absolute: props.absolute
|
|
309
|
+
},
|
|
310
|
+
uniforms,
|
|
311
|
+
componentDefinition,
|
|
312
|
+
isCapturesDOM ? captureCanvas : undefined
|
|
313
|
+
);
|
|
314
|
+
|
|
315
|
+
// Set flag to enable effects after successful registration
|
|
316
|
+
isRegistered = true;
|
|
317
|
+
|
|
318
|
+
// Detect DOM position for correct render ordering
|
|
319
|
+
if (renderOrder === undefined && orderMarker) {
|
|
320
|
+
const parent = orderMarker.parentElement;
|
|
321
|
+
if (parent) {
|
|
322
|
+
const siblings = parent.querySelectorAll(':scope > [data-shader-id]');
|
|
323
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
324
|
+
if (position >= 0) {
|
|
325
|
+
detectedRenderOrder = position;
|
|
326
|
+
parentMetadataUpdate(instanceId, { renderOrder: position } as NodeMetadata);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
} else {
|
|
331
|
+
console.error('componentDefinition.fragment is not a function:', {
|
|
332
|
+
componentDefinition,
|
|
333
|
+
fragment: componentDefinition?.fragment,
|
|
334
|
+
type: typeof componentDefinition?.fragment
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
|
|
339
|
+
// Clean up node from registry when component is unmounted
|
|
340
|
+
onDestroy(() => {
|
|
341
|
+
isRegistered = false;
|
|
342
|
+
parentRegister(instanceId, null, null, null, null);
|
|
343
|
+
});
|
|
344
|
+
</script>
|
|
345
|
+
|
|
346
|
+
<span bind:this={orderMarker} style="display:contents" data-shader-id={instanceId}>
|
|
347
|
+
{#if !isCapturesDOM}
|
|
348
|
+
{@render children?.()}
|
|
349
|
+
{/if}
|
|
350
|
+
</span>
|
|
351
|
+
{#if isCapturesDOM}
|
|
352
|
+
<canvas use:teleportToBody bind:this={captureCanvas} layoutsubtree
|
|
353
|
+
width={captureW} height={captureH}
|
|
354
|
+
style="position:fixed;inset:0;width:100vw;height:100vh;z-index:-9999">
|
|
355
|
+
{@render children?.()}
|
|
356
|
+
</canvas>
|
|
357
|
+
{/if}
|
|
@@ -98,6 +98,7 @@ import ImageTexture from '../components/ImageTexture.svelte'
|
|
|
98
98
|
import InkFlow from '../components/InkFlow.svelte'
|
|
99
99
|
import Invert from '../components/Invert.svelte'
|
|
100
100
|
import IrisWipe from '../components/IrisWipe.svelte'
|
|
101
|
+
import Irradiance from '../components/Irradiance.svelte'
|
|
101
102
|
import IsometricCubes from '../components/IsometricCubes.svelte'
|
|
102
103
|
import Kaleidoscope from '../components/Kaleidoscope.svelte'
|
|
103
104
|
import KeyFrames from '../components/KeyFrames.svelte'
|
|
@@ -120,6 +121,7 @@ import Nebula from '../components/Nebula.svelte'
|
|
|
120
121
|
import Neon from '../components/Neon.svelte'
|
|
121
122
|
import NoiseDissolve from '../components/NoiseDissolve.svelte'
|
|
122
123
|
import ObjectTracker from '../components/ObjectTracker.svelte'
|
|
124
|
+
import Obsidian from '../components/Obsidian.svelte'
|
|
123
125
|
import PagePeel from '../components/PagePeel.svelte'
|
|
124
126
|
import Paper from '../components/Paper.svelte'
|
|
125
127
|
import Parallelogram from '../components/Parallelogram.svelte'
|
|
@@ -193,6 +195,7 @@ import Voronoi from '../components/Voronoi.svelte'
|
|
|
193
195
|
import Water from '../components/Water.svelte'
|
|
194
196
|
import Watercolor from '../components/Watercolor.svelte'
|
|
195
197
|
import WaveDistortion from '../components/WaveDistortion.svelte'
|
|
198
|
+
import Waveform from '../components/Waveform.svelte'
|
|
196
199
|
import WaveletNoise from '../components/WaveletNoise.svelte'
|
|
197
200
|
import Weave from '../components/Weave.svelte'
|
|
198
201
|
import WebcamTexture from '../components/WebcamTexture.svelte'
|
|
@@ -297,6 +300,7 @@ const componentMap: Record<string, any> = {
|
|
|
297
300
|
InkFlow,
|
|
298
301
|
Invert,
|
|
299
302
|
IrisWipe,
|
|
303
|
+
Irradiance,
|
|
300
304
|
IsometricCubes,
|
|
301
305
|
Kaleidoscope,
|
|
302
306
|
KeyFrames,
|
|
@@ -319,6 +323,7 @@ const componentMap: Record<string, any> = {
|
|
|
319
323
|
Neon,
|
|
320
324
|
NoiseDissolve,
|
|
321
325
|
ObjectTracker,
|
|
326
|
+
Obsidian,
|
|
322
327
|
PagePeel,
|
|
323
328
|
Paper,
|
|
324
329
|
Parallelogram,
|
|
@@ -392,6 +397,7 @@ const componentMap: Record<string, any> = {
|
|
|
392
397
|
Water,
|
|
393
398
|
Watercolor,
|
|
394
399
|
WaveDistortion,
|
|
400
|
+
Waveform,
|
|
395
401
|
WaveletNoise,
|
|
396
402
|
Weave,
|
|
397
403
|
WebcamTexture,
|
|
@@ -93,6 +93,7 @@ export { default as ImageTexture } from './components/ImageTexture.svelte';
|
|
|
93
93
|
export { default as InkFlow } from './components/InkFlow.svelte';
|
|
94
94
|
export { default as Invert } from './components/Invert.svelte';
|
|
95
95
|
export { default as IrisWipe } from './components/IrisWipe.svelte';
|
|
96
|
+
export { default as Irradiance } from './components/Irradiance.svelte';
|
|
96
97
|
export { default as IsometricCubes } from './components/IsometricCubes.svelte';
|
|
97
98
|
export { default as Kaleidoscope } from './components/Kaleidoscope.svelte';
|
|
98
99
|
export { default as KeyFrames } from './components/KeyFrames.svelte';
|
|
@@ -115,6 +116,7 @@ export { default as Nebula } from './components/Nebula.svelte';
|
|
|
115
116
|
export { default as Neon } from './components/Neon.svelte';
|
|
116
117
|
export { default as NoiseDissolve } from './components/NoiseDissolve.svelte';
|
|
117
118
|
export { default as ObjectTracker } from './components/ObjectTracker.svelte';
|
|
119
|
+
export { default as Obsidian } from './components/Obsidian.svelte';
|
|
118
120
|
export { default as PagePeel } from './components/PagePeel.svelte';
|
|
119
121
|
export { default as Paper } from './components/Paper.svelte';
|
|
120
122
|
export { default as Parallelogram } from './components/Parallelogram.svelte';
|
|
@@ -188,6 +190,7 @@ export { default as Voronoi } from './components/Voronoi.svelte';
|
|
|
188
190
|
export { default as Water } from './components/Water.svelte';
|
|
189
191
|
export { default as Watercolor } from './components/Watercolor.svelte';
|
|
190
192
|
export { default as WaveDistortion } from './components/WaveDistortion.svelte';
|
|
193
|
+
export { default as Waveform } from './components/Waveform.svelte';
|
|
191
194
|
export { default as WaveletNoise } from './components/WaveletNoise.svelte';
|
|
192
195
|
export { default as Weave } from './components/Weave.svelte';
|
|
193
196
|
export { default as WebcamTexture } from './components/WebcamTexture.svelte';
|
|
@@ -1297,6 +1297,44 @@ var shaderMetadata = {
|
|
|
1297
1297
|
"feather": .1,
|
|
1298
1298
|
"invert": false
|
|
1299
1299
|
},
|
|
1300
|
+
"Irradiance": {
|
|
1301
|
+
"opacity": 1,
|
|
1302
|
+
"blendMode": "normal",
|
|
1303
|
+
"origin": "center",
|
|
1304
|
+
"center": {
|
|
1305
|
+
"x": .5,
|
|
1306
|
+
"y": .5
|
|
1307
|
+
},
|
|
1308
|
+
"scale": 1,
|
|
1309
|
+
"rotation": 0,
|
|
1310
|
+
"lights": [{
|
|
1311
|
+
"position": {
|
|
1312
|
+
"x": .3,
|
|
1313
|
+
"y": .3
|
|
1314
|
+
},
|
|
1315
|
+
"color": "#ffb347",
|
|
1316
|
+
"intensity": 3
|
|
1317
|
+
}, {
|
|
1318
|
+
"position": {
|
|
1319
|
+
"x": .72,
|
|
1320
|
+
"y": .7
|
|
1321
|
+
},
|
|
1322
|
+
"color": "#7a5cff",
|
|
1323
|
+
"intensity": 2
|
|
1324
|
+
}],
|
|
1325
|
+
"lightHeight": .5,
|
|
1326
|
+
"lightRange": 1.2,
|
|
1327
|
+
"reach": 3,
|
|
1328
|
+
"core": 1,
|
|
1329
|
+
"wrap": .1,
|
|
1330
|
+
"shadows": true,
|
|
1331
|
+
"shadowSoftness": .15,
|
|
1332
|
+
"bodyColor": "#000000",
|
|
1333
|
+
"bodyLight": .6,
|
|
1334
|
+
"bevelWidth": .01,
|
|
1335
|
+
"edgeSoftness": .05,
|
|
1336
|
+
"shape": "{\"type\":\"circleSDF\",\"radius\":0.35}"
|
|
1337
|
+
},
|
|
1300
1338
|
"IsometricCubes": {
|
|
1301
1339
|
"opacity": 1,
|
|
1302
1340
|
"blendMode": "normal",
|
|
@@ -1730,6 +1768,55 @@ var shaderMetadata = {
|
|
|
1730
1768
|
"fontSize": .015,
|
|
1731
1769
|
"letterSpacing": 0
|
|
1732
1770
|
},
|
|
1771
|
+
"Obsidian": {
|
|
1772
|
+
"opacity": 1,
|
|
1773
|
+
"blendMode": "normal",
|
|
1774
|
+
"origin": "center",
|
|
1775
|
+
"center": {
|
|
1776
|
+
"x": .5,
|
|
1777
|
+
"y": .5
|
|
1778
|
+
},
|
|
1779
|
+
"scale": 1,
|
|
1780
|
+
"rotation": 0,
|
|
1781
|
+
"bodyColor": "#06071a",
|
|
1782
|
+
"colorA": "#ff2f7a",
|
|
1783
|
+
"colorB": "#5fe6ff",
|
|
1784
|
+
"stops": [
|
|
1785
|
+
{
|
|
1786
|
+
"color": "#ff2f7a",
|
|
1787
|
+
"position": 0
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"color": "#2a2cff",
|
|
1791
|
+
"position": .3
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"color": "#5fe6ff",
|
|
1795
|
+
"position": .55
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"color": "#a6ffd8",
|
|
1799
|
+
"position": .75
|
|
1800
|
+
},
|
|
1801
|
+
{
|
|
1802
|
+
"color": "#ffb3e6",
|
|
1803
|
+
"position": 1
|
|
1804
|
+
}
|
|
1805
|
+
],
|
|
1806
|
+
"colorSpace": "oklab",
|
|
1807
|
+
"iridescence": 1,
|
|
1808
|
+
"rimWidth": .55,
|
|
1809
|
+
"rimSoftness": .25,
|
|
1810
|
+
"flowAngle": 30,
|
|
1811
|
+
"flowScale": 1,
|
|
1812
|
+
"speed": .5,
|
|
1813
|
+
"gloss": .35,
|
|
1814
|
+
"envRotation": 0,
|
|
1815
|
+
"bevelWidth": .08,
|
|
1816
|
+
"bevelShape": 0,
|
|
1817
|
+
"edgeSoftness": .05,
|
|
1818
|
+
"shape": "{\"type\":\"circleSDF\",\"radius\":0.35}"
|
|
1819
|
+
},
|
|
1733
1820
|
"PagePeel": {
|
|
1734
1821
|
"opacity": 1,
|
|
1735
1822
|
"blendMode": "normal",
|
|
@@ -2818,6 +2905,35 @@ var shaderMetadata = {
|
|
|
2818
2905
|
"waveType": "sine",
|
|
2819
2906
|
"edges": "stretch"
|
|
2820
2907
|
},
|
|
2908
|
+
"Waveform": {
|
|
2909
|
+
"opacity": 1,
|
|
2910
|
+
"blendMode": "normal",
|
|
2911
|
+
"style": "bars",
|
|
2912
|
+
"colorA": "#3b5bff",
|
|
2913
|
+
"colorB": "#ff3bd4",
|
|
2914
|
+
"stops": null,
|
|
2915
|
+
"colorSpace": "oklab",
|
|
2916
|
+
"from": {
|
|
2917
|
+
"x": 0,
|
|
2918
|
+
"y": .5
|
|
2919
|
+
},
|
|
2920
|
+
"to": {
|
|
2921
|
+
"x": 1,
|
|
2922
|
+
"y": .5
|
|
2923
|
+
},
|
|
2924
|
+
"amplitude": 1,
|
|
2925
|
+
"frequency": 1,
|
|
2926
|
+
"height": .6,
|
|
2927
|
+
"align": "mirrored",
|
|
2928
|
+
"count": 32,
|
|
2929
|
+
"barWidth": .6,
|
|
2930
|
+
"rounding": 1,
|
|
2931
|
+
"dotSize": .7,
|
|
2932
|
+
"lineWidth": .006,
|
|
2933
|
+
"softness": 0,
|
|
2934
|
+
"speed": 1,
|
|
2935
|
+
"seed": 1
|
|
2936
|
+
},
|
|
2821
2937
|
"WaveletNoise": {
|
|
2822
2938
|
"opacity": 1,
|
|
2823
2939
|
"blendMode": "normal",
|
|
@@ -3131,6 +3247,7 @@ const availableComponents = [
|
|
|
3131
3247
|
"InkFlow",
|
|
3132
3248
|
"Invert",
|
|
3133
3249
|
"IrisWipe",
|
|
3250
|
+
"Irradiance",
|
|
3134
3251
|
"IsometricCubes",
|
|
3135
3252
|
"Kaleidoscope",
|
|
3136
3253
|
"KeyFrames",
|
|
@@ -3153,6 +3270,7 @@ const availableComponents = [
|
|
|
3153
3270
|
"Neon",
|
|
3154
3271
|
"NoiseDissolve",
|
|
3155
3272
|
"ObjectTracker",
|
|
3273
|
+
"Obsidian",
|
|
3156
3274
|
"PagePeel",
|
|
3157
3275
|
"Paper",
|
|
3158
3276
|
"Parallelogram",
|
|
@@ -3226,6 +3344,7 @@ const availableComponents = [
|
|
|
3226
3344
|
"Water",
|
|
3227
3345
|
"Watercolor",
|
|
3228
3346
|
"WaveDistortion",
|
|
3347
|
+
"Waveform",
|
|
3229
3348
|
"WaveletNoise",
|
|
3230
3349
|
"Weave",
|
|
3231
3350
|
"WebcamTexture",
|