shaders 4.0.2 → 4.0.4
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-CI9YxDuh.js +129 -0
- package/dist/core/{Arc-D-WnjM7T.js → Arc-DGqWR3Bd.js} +1 -1
- package/dist/core/{Ascii-BGPIwMc3.js → Ascii-CPdyy-Ce.js} +1 -1
- package/dist/core/{Aurora-DqJBPdMQ.js → Aurora-DY2TB0JW.js} +1 -1
- package/dist/core/{BarShift-BcCOweUh.js → BarShift-CgnJnCB2.js} +1 -1
- package/dist/core/{BarnDoors-B9B-AmCV.js → BarnDoors-BrftoIvA.js} +1 -1
- package/dist/core/{Beam-QG_9OS8I.js → Beam-CChBswEo.js} +1 -1
- package/dist/core/{Bend-Cy9VAowL.js → Bend-BHYjcxYe.js} +1 -1
- package/dist/core/{Blob-C3txJeW0.js → Blob-BB6VUuE3.js} +1 -1
- package/dist/core/{BlockDissolve-C1SFUys7.js → BlockDissolve-BxVJeBmh.js} +1 -1
- package/dist/core/{BlockNoise-Cm3y8hce.js → BlockNoise-BRGG5VGx.js} +2 -2
- package/dist/core/{BlueNoise-BCLObOMm.js → BlueNoise-DS6NWeuL.js} +2 -2
- package/dist/core/{Blur-Dg29SnXd.js → Blur-B6uikNMR.js} +1 -1
- package/dist/core/{Boids-rsGsPN5h.js → Boids-Bt3Vqqmj.js} +1 -1
- package/dist/core/{BokehBlur-rFSFEnb0.js → BokehBlur-CPRNbaGM.js} +15 -2
- package/dist/core/{BrickPattern-DqN6JKEN.js → BrickPattern-D8lK5t7i.js} +1 -1
- package/dist/core/{BrightnessContrast-J9fCSBiC.js → BrightnessContrast-A-MXcsJ3.js} +1 -1
- package/dist/core/{BrushedMetal-74wSZKjG.js → BrushedMetal-CwBg_OrC.js} +1 -1
- package/dist/core/{Bulge-BIk0oq8j.js → Bulge-D2DRILIE.js} +1 -1
- package/dist/core/{CRTScreen-hEH-JNRd.js → CRTScreen-DPS9lxJ2.js} +1 -1
- package/dist/core/{CarbonFiber-CZdUDvRU.js → CarbonFiber-qcPJhSIR.js} +1 -1
- package/dist/core/{Chalkboard-CClJHqvs.js → Chalkboard-Bq0qg-b5.js} +1 -1
- package/dist/core/{ChannelBlur-BEuEwQOC.js → ChannelBlur-Bm_ox1-N.js} +1 -1
- package/dist/core/{CheckerWipe-KuAWj2qg.js → CheckerWipe-B0rXlaTa.js} +1 -1
- package/dist/core/{Checkerboard-Rq9ze1W3.js → Checkerboard-DTBwkFnn.js} +1 -1
- package/dist/core/{Chevron-C1j6X2Ye.js → Chevron-D0Ocr6Wt.js} +1 -1
- package/dist/core/{ChromaFlow-BgsCUYIl.js → ChromaFlow-CD0wG8VV.js} +1 -1
- package/dist/core/{ChromaticAberration-2_4tjQ0u.js → ChromaticAberration-DZsNUXIc.js} +1 -1
- package/dist/core/{Chrome-Be3z6C5i.js → Chrome-DdeXQM4v.js} +1 -1
- package/dist/core/{Circle-e_qQI3tU.js → Circle-CpaQmHOS.js} +1 -1
- package/dist/core/{ColorWheel-s5ep1H7d.js → ColorWheel-Ciz39YtU.js} +1 -1
- package/dist/core/{CompressionArtifacts-OE9U9Qrq.js → CompressionArtifacts-BrRmzBmd.js} +1 -1
- package/dist/core/{ConcentricSpin-CLE_5yCJ.js → ConcentricSpin-kSb7VlpT.js} +1 -1
- package/dist/core/{ConicGradient-Cji2SgVO.js → ConicGradient-BUGGpeBn.js} +1 -1
- package/dist/core/{ContourLines-wpPK00cF.js → ContourLines-CAkGuO_l.js} +1 -1
- package/dist/core/{CornerPin-gYU0Uf2m.js → CornerPin-sTeTdO54.js} +1 -1
- package/dist/core/{Crescent-viNc7Unp.js → Crescent-JPQZbAgM.js} +1 -1
- package/dist/core/{Cross-DyQSsw_k.js → Cross-DPxLnAXd.js} +1 -1
- package/dist/core/{Crystal-Vjj8azWg.js → Crystal-BbLoU4xM.js} +1 -1
- package/dist/core/{CurlNoise-C7PHjDht.js → CurlNoise-BrgjFOTL.js} +2 -2
- package/dist/core/{CursorRipples-BzPPNkA3.js → CursorRipples-DIUoRojU.js} +1 -1
- package/dist/core/{CursorTrail-cBj0AuQA.js → CursorTrail-DKHkxUqL.js} +1 -1
- package/dist/core/{DataMosh-5Yr9TyVx.js → DataMosh-BZlgABHW.js} +1 -1
- package/dist/core/{DiamondGradient-DZM7HwF5.js → DiamondGradient-DGGQpuc0.js} +1 -1
- package/dist/core/{DiamondWipe-CqeT7lCt.js → DiamondWipe-D2rUDoG_.js} +1 -1
- package/dist/core/{DiffuseBlur-Y5hSDTZF.js → DiffuseBlur-BXChd2KQ.js} +16 -2
- package/dist/core/{DisplacementMap-FobRx5Ie.js → DisplacementMap-D89sVcBJ.js} +1 -1
- package/dist/core/{Dither-50rqHpt9.js → Dither-VDLOXe9H.js} +1 -1
- package/dist/core/{DotGrid-B6AGLUbR.js → DotGrid-it63myH-.js} +1 -1
- package/dist/core/{DropShadow-CEPpgatB.js → DropShadow-VzD0-Byt.js} +1 -1
- package/dist/core/{Duotone-D76Kp7Pb.js → Duotone-BroCb_su.js} +1 -1
- package/dist/core/{Ellipse-BGod1LeG.js → Ellipse-W8NyZcKM.js} +1 -1
- package/dist/core/{Emboss-DMNFb_ww.js → Emboss-DOgQmAti.js} +1 -1
- package/dist/core/{Engraving-Dj7bCATQ.js → Engraving-BE1m1Bod.js} +1 -1
- package/dist/core/{ErosionNoise-4O68wJQZ.js → ErosionNoise-zHZiriUE.js} +2 -2
- package/dist/core/{Exposure-h-vapOpj.js → Exposure-D4bDba84.js} +1 -1
- package/dist/core/{FallingLines-Dzop_89k.js → FallingLines-DPEUnSeK.js} +1 -1
- package/dist/core/{FilmGrain-Bs8PCfdf.js → FilmGrain-CdyASl8G.js} +1 -1
- package/dist/core/{FilmStock-DBjVo6rL.js → FilmStock-Bg3La848.js} +1 -1
- package/dist/core/{Flip-CfrS4KfZ.js → Flip-BtN-1Tm7.js} +1 -1
- package/dist/core/{FloatingParticles-D1R2tD2J.js → FloatingParticles-BKf0oRZt.js} +1 -1
- package/dist/core/{FlowField-Slirm5AI.js → FlowField-CjsNplw1.js} +1 -1
- package/dist/core/{Flower-Ddlut7QZ.js → Flower-DFRo3Foo.js} +1 -1
- package/dist/core/{FlowingGradient-CwIgTtbj.js → FlowingGradient-Cma6CyNn.js} +1 -1
- package/dist/core/{FlutedGlass-CMMy2GJ5.js → FlutedGlass-D4e-TR_b.js} +1 -1
- package/dist/core/{Fog-DjjUkcTZ.js → Fog-CKLqyJFd.js} +1 -1
- package/dist/core/{Form3D-DQDOHWpC.js → Form3D-DdUVksGn.js} +1 -1
- package/dist/core/{FractalNoise-BjI3IOIj.js → FractalNoise-xT6nfDL8.js} +1 -1
- package/dist/core/{Frost-CK12HnL1.js → Frost-fqtsE0VN.js} +1 -1
- package/dist/core/{GaborNoise-DKEIvvRJ.js → GaborNoise-DQx5Dmdl.js} +2 -2
- package/dist/core/{Glass-CzcOVD5Y.js → Glass-B8B3LKIr.js} +1 -1
- package/dist/core/{GlassTiles-gjhc563g.js → GlassTiles-DOoBsjL2.js} +1 -1
- package/dist/core/{Glitch-C_XAWltC.js → Glitch-CZgWlgKN.js} +1 -1
- package/dist/core/{Glow-CrYCanBI.js → Glow-CcVl6l0_.js} +1 -1
- package/dist/core/{Godrays-BBTMOVLP.js → Godrays-bPYI6IYx.js} +1 -1
- package/dist/core/{Goo-Brhjk8aS.js → Goo-LWpHTOQ9.js} +1 -1
- package/dist/core/{GradientMap-C5325QWw.js → GradientMap-DCGtaGpD.js} +1 -1
- package/dist/core/{Grayscale-dPjs-wvf.js → Grayscale-DKh1spZ5.js} +1 -1
- package/dist/core/{Grid-UjEd3O76.js → Grid-D6WroKOX.js} +1 -1
- package/dist/core/{GridDistortion-vVgYya1U.js → GridDistortion-Biq_fOA1.js} +1 -1
- package/dist/core/{Group-KVdmAi5g.js → Group-BYKXw6yw.js} +1 -1
- package/dist/core/{HTMLInCanvas-CKr2u76R.js → HTMLInCanvas-Cl7fosAr.js} +1 -1
- package/dist/core/{Halftone-pRV3TRUW.js → Halftone-B5ypTuq9.js} +1 -1
- package/dist/core/{Heart-CX7MvvHZ.js → Heart-CSpPJ77t.js} +1 -1
- package/dist/core/{Heatmap-Dn6qyd2e.js → Heatmap-DlFZVct7.js} +1 -1
- package/dist/core/{HexGrid-BIfYhkfV.js → HexGrid-ji4m18iC.js} +1 -1
- package/dist/core/{Hologram-ou27baPQ.js → Hologram-CfYQV4AY.js} +1 -1
- package/dist/core/{Holographic-CiHdBSMg.js → Holographic-eZAfsWGx.js} +1 -1
- package/dist/core/{HueShift-CG7pcXfg.js → HueShift-DRWqpyEk.js} +1 -1
- package/dist/core/{ImageTexture-BiZuU58C.js → ImageTexture-CTL2VXJa.js} +1 -1
- package/dist/core/{InkFlow-D9_L7opB.js → InkFlow-C2eoJ8E_.js} +1 -1
- package/dist/core/{Invert-CHEaiQZO.js → Invert-Cdz7BiuY.js} +1 -1
- package/dist/core/{IrisWipe-x22vOQHm.js → IrisWipe-CMftEbHA.js} +1 -1
- package/dist/core/{Irradiance-7yq2K87_.js → Irradiance-DYOzfcYd.js} +1 -1
- package/dist/core/{IsometricCubes-CkPGWr7M.js → IsometricCubes-Cf17PZKl.js} +1 -1
- package/dist/core/{Kaleidoscope-CEC5m1Ww.js → Kaleidoscope-eV3KxWC_.js} +1 -1
- package/dist/core/{KeyFrames-BMGEZsAZ.js → KeyFrames-BYXhTMvZ.js} +1 -1
- package/dist/core/{LensDistortion-DKo8PiO5.js → LensDistortion-BvHcaPAj.js} +1 -1
- package/dist/core/{LensFlare-DMS-NUtK.js → LensFlare-WftiuGke.js} +1 -1
- package/dist/core/{LightEdge-DxmnCRls.js → LightEdge-pY69-oXa.js} +1 -1
- package/dist/core/{LightLeak-yoEsZtYg.js → LightLeak-BHcmHoPq.js} +1 -1
- package/dist/core/{Line-D17XDUjO.js → Line-Dy4n9kG0.js} +1 -1
- package/dist/core/LinearBlur-BMGYoL9G.js +129 -0
- package/dist/core/{LinearGradient-DfjKG70q.js → LinearGradient-BLD0pXpY.js} +1 -1
- package/dist/core/{LinearWipe-D9CtBg6S.js → LinearWipe-NgkvKYWw.js} +1 -1
- package/dist/core/{LiquidMetal-8EG6DwV6.js → LiquidMetal-jhFloJ2w.js} +1 -1
- package/dist/core/{Liquify-BySXF1OB.js → Liquify-BHy1V26i.js} +1 -1
- package/dist/core/{MagneticFilings-DNESH3Zs.js → MagneticFilings-D4biKXSd.js} +1 -1
- package/dist/core/{Marble-C9WvdxrP.js → Marble-CxZXeCW1.js} +1 -1
- package/dist/core/{MeshGradient-d9--RXOU.js → MeshGradient-BBdSnGNG.js} +1 -1
- package/dist/core/{Mirror-1V2FF2kD.js → Mirror-Dz-2FX2p.js} +1 -1
- package/dist/core/{MultiPointGradient-cRA9ytgL.js → MultiPointGradient-CyBo3Mt7.js} +1 -1
- package/dist/core/{Nebula-BRV-q74y.js → Nebula-3XuPYIo-.js} +1 -1
- package/dist/core/{Neon-4PemK9Rj.js → Neon-CIiz8Go1.js} +1 -1
- package/dist/core/{NoiseDissolve-B7LgD46G.js → NoiseDissolve-BcKmhJWB.js} +1 -1
- package/dist/core/{ObjectTracker-CdzDxhpy.js → ObjectTracker-RiBh2YFe.js} +1 -1
- package/dist/core/{Obsidian-2J1eX9kT.js → Obsidian-CSWNH0g3.js} +1 -1
- package/dist/core/{PagePeel-D-ziraOm.js → PagePeel-DKXXJnW2.js} +1 -1
- package/dist/core/{Paper-BxzCLyzB.js → Paper-BWiPnSdk.js} +1 -1
- package/dist/core/{Parallelogram-D4OflTwn.js → Parallelogram-Bdibf18e.js} +1 -1
- package/dist/core/{ParticleField-tWNicEDO.js → ParticleField-DP2tJXxN.js} +1 -1
- package/dist/core/{ParticleFlow-BiEYFyWR.js → ParticleFlow-BxyJp6kF.js} +1 -1
- package/dist/core/{Particles-B7W4yWgo.js → Particles-CgvGZNOx.js} +1 -1
- package/dist/core/{PerlinNoise-C-irUxp9.js → PerlinNoise-BMkkfzp-.js} +2 -2
- package/dist/core/{Perspective-DlnAW-pe.js → Perspective-DS7zqsdY.js} +1 -1
- package/dist/core/{PixelSort-BBOTYuOE.js → PixelSort-DdGs1Lpj.js} +1 -1
- package/dist/core/{PixelThrow-DCJb9Lxd.js → PixelThrow-FtEE5D8Y.js} +1 -1
- package/dist/core/{Pixelate-CZdwB--K.js → Pixelate-YSpsPOUv.js} +1 -1
- package/dist/core/{Plasma-CTOQJeqy.js → Plasma-BXs3UGgs.js} +1 -1
- package/dist/core/{Plastic-DvyH9x-4.js → Plastic-B8OV6H19.js} +1 -1
- package/dist/core/{PolarCoordinates-XhdDAOD0.js → PolarCoordinates-vfm49iUU.js} +1 -1
- package/dist/core/{Polygon-CLohB-Ly.js → Polygon-fXyaW28S.js} +1 -1
- package/dist/core/{Posterize-BAQfnvmK.js → Posterize-B_zadptA.js} +1 -1
- package/dist/core/{Prism-DJVCVAXX.js → Prism-D3bKRs_2.js} +1 -1
- package/dist/core/{ProgressiveBlur-Dirva1on.js → ProgressiveBlur-CMV_hP7G.js} +31 -2
- package/dist/core/{RadialGradient-DuSKR8Ds.js → RadialGradient-CGGOtyw2.js} +1 -1
- package/dist/core/{RadialWipe-n8tON7x2.js → RadialWipe-Qak8GgIA.js} +1 -1
- package/dist/core/{RandomBars-BYouiIgQ.js → RandomBars-Cug34S8m.js} +1 -1
- package/dist/core/{ReactionDiffusion-CHDd3y2q.js → ReactionDiffusion-B2KSbRPy.js} +1 -1
- package/dist/core/{RectangularCoordinates-CYFfCawa.js → RectangularCoordinates-C4rRfUyf.js} +1 -1
- package/dist/core/{ReflectivePlane-DFTl5U9q.js → ReflectivePlane-CbY9iTWt.js} +1 -1
- package/dist/core/{Repeater-CnbzXuAe.js → Repeater-3YxvbkxY.js} +1 -1
- package/dist/core/{Ring-CGkHVSVd.js → Ring-Zofg3GkM.js} +1 -1
- package/dist/core/{RippleWipe-DLjPzY6u.js → RippleWipe-CpihXaME.js} +1 -1
- package/dist/core/{Ripples-C2tITU62.js → Ripples-BdyGWeeL.js} +1 -1
- package/dist/core/{RoundedRect-sfNTUaCY.js → RoundedRect-BjAUDa5D.js} +1 -1
- package/dist/core/Satin-yYWeplbY.js +372 -0
- package/dist/core/{Saturation-BRkifYWj.js → Saturation-qIjYNU3K.js} +1 -1
- package/dist/core/{Scratches-D87O5C2K.js → Scratches-C6Xr7JRO.js} +2 -2
- package/dist/core/{Sharpness-BGv613Zw.js → Sharpness-0-Tm5xJh.js} +1 -1
- package/dist/core/{Shatter-DuyCFU1f.js → Shatter-BWms5ZCO.js} +1 -1
- package/dist/core/{SimplexNoise-CQJvmqd-.js → SimplexNoise-BASO2QMY.js} +2 -2
- package/dist/core/{SineWave-BfOgSGMP.js → SineWave-DNry_0Lh.js} +1 -1
- package/dist/core/{SliceWipe-CD_D99sl.js → SliceWipe-BM170JUl.js} +1 -1
- package/dist/core/{Smoke-BDQYKRP1.js → Smoke-BHLwUBhz.js} +1 -1
- package/dist/core/{SmokeFill-CPnzQtQv.js → SmokeFill-CPPIQi-V.js} +1 -1
- package/dist/core/{SmokeFlow-BkPMjZq8.js → SmokeFlow-BvNcVjm6.js} +1 -1
- package/dist/core/{Solarize-DSiS32QS.js → Solarize-gkgg0wtw.js} +1 -1
- package/dist/core/{SolidColor-DEKpgy1c.js → SolidColor-Dd1vZDVk.js} +1 -1
- package/dist/core/{Sparkle-BZur6gPW.js → Sparkle-DrXTAu56.js} +1 -1
- package/dist/core/{Spherize-D9Yg4n6O.js → Spherize-CuSUrEgb.js} +1 -1
- package/dist/core/{Spiral-BCacfEpT.js → Spiral-CD2QDECd.js} +1 -1
- package/dist/core/{Star-Dnw1ihk7.js → Star-BumDeOUg.js} +1 -1
- package/dist/core/{Stone-Cje-_vAg.js → Stone-DEC9Bd4P.js} +1 -1
- package/dist/core/{Strands-CFRxS1G_.js → Strands-U8_IPQDU.js} +1 -1
- package/dist/core/{Stretch-DXVhfIqO.js → Stretch-RbG9gHTh.js} +1 -1
- package/dist/core/{Stripes-CCADWwyq.js → Stripes-80ILPa8Q.js} +1 -1
- package/dist/core/{StudioBackground-BlzYNAsu.js → StudioBackground-SFRLc09j.js} +1 -1
- package/dist/core/{SunBurst-CmWbI18r.js → SunBurst-DjNvFBRl.js} +1 -1
- package/dist/core/{Surface3D-Dmh98-0V.js → Surface3D-Bqk4Yeop.js} +1 -1
- package/dist/core/{Swirl-CzI1qSVc.js → Swirl-CnMHiJHz.js} +1 -1
- package/dist/core/{Teardrop-D24uulL0.js → Teardrop-EmqO3Sx3.js} +1 -1
- package/dist/core/{Text-CrZKvBw6.js → Text-BJsHmsCm.js} +1 -1
- package/dist/core/{ThinFilm-D7R2dt1O.js → ThinFilm-D3vXChVM.js} +1 -1
- package/dist/core/{TiltShift-AMMDZBvf.js → TiltShift-Domqy4zc.js} +31 -2
- package/dist/core/{TimeTrail-BCYDP2ep.js → TimeTrail-Do0hbdMs.js} +1 -1
- package/dist/core/{Tint-DHb5wBN5.js → Tint-CqpbM-1T.js} +1 -1
- package/dist/core/{Trapezoid-CL5Fxvq7.js → Trapezoid-BywMSCKO.js} +1 -1
- package/dist/core/{TriangularGrid-Bp-SJS-H.js → TriangularGrid-BB-qGVAE.js} +1 -1
- package/dist/core/{Tritone-C0nx7OdC.js → Tritone-DLT7D5QR.js} +1 -1
- package/dist/core/{Truchet-DCetyDaq.js → Truchet-CJRz81E8.js} +1 -1
- package/dist/core/{Twirl-D_mv9KEi.js → Twirl-DtcfYyaH.js} +1 -1
- package/dist/core/{VHS-Cp9aDjti.js → VHS-CpYqcXq6.js} +1 -1
- package/dist/core/{VenetianBlinds-DUyvaT5w.js → VenetianBlinds-BHtiUoTI.js} +1 -1
- package/dist/core/{Vesica-BpzrTPTA.js → Vesica-CG8204gz.js} +1 -1
- package/dist/core/{Vibrance-DW3J-pvW.js → Vibrance-DtpQpHSp.js} +1 -1
- package/dist/core/{VideoTexture-zoKsSrex.js → VideoTexture-DYm45n8L.js} +1 -1
- package/dist/core/{Vignette-KKbP3qdZ.js → Vignette-DEIm5mc4.js} +1 -1
- package/dist/core/{Voronoi-Bp2-U6lm.js → Voronoi-7nJncKbX.js} +1 -1
- package/dist/core/{Voxels-B3e3LHH5.js → Voxels-k2uzj3MD.js} +1 -1
- package/dist/core/{Water-CoYwvqKx.js → Water-CEVn9O9R.js} +1 -1
- package/dist/core/{Watercolor-DUNjSIN1.js → Watercolor-Cm-kAcSI.js} +1 -1
- package/dist/core/{WaveDistortion-Dp8ws0z1.js → WaveDistortion-DRzsmI4m.js} +1 -1
- package/dist/core/{Waveform-DDBLB6zu.js → Waveform-C8-Mb-ck.js} +1 -1
- package/dist/core/{WaveletNoise-CpBkzfRT.js → WaveletNoise-D-3fuI6R.js} +2 -2
- package/dist/core/{Weave-cWkvSEAy.js → Weave-DqVqtYkP.js} +1 -1
- package/dist/core/{WebcamTexture-D484SXSE.js → WebcamTexture-DPjuo0ZC.js} +1 -1
- package/dist/core/{Wool-C9L7O9fD.js → Wool-DgctZosq.js} +1 -1
- package/dist/core/{WorleyNoise-B5j5lDQZ.js → WorleyNoise-DH4396Rb.js} +1 -1
- package/dist/core/ZoomBlur-yWwweO4r.js +143 -0
- package/dist/core/docs-manifest.json +467 -131
- package/dist/core/gpu/frame.d.ts +14 -7
- package/dist/core/gpu/frame.d.ts.map +1 -1
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/blur.d.ts +47 -6
- package/dist/core/gpu/kit/blur.d.ts.map +1 -1
- package/dist/core/gpu/kit/motionBlur.d.ts +88 -1
- package/dist/core/gpu/kit/motionBlur.d.ts.map +1 -1
- package/dist/core/index.js +211 -209
- package/dist/core/llms.txt +26 -5
- package/dist/core/{noiseColor-D_bPhJ4m.js → noiseColor-B6kUgUln.js} +1 -1
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +203 -202
- package/dist/core/shaderRegistry-C-P5WvzF.js +447 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.d.ts +36 -0
- package/dist/core/shaders/AngularBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +2 -2
- package/dist/core/shaders/Arc/index.js +2 -2
- package/dist/core/shaders/Ascii/index.js +2 -2
- package/dist/core/shaders/Aurora/index.js +2 -2
- package/dist/core/shaders/BarShift/index.js +2 -2
- package/dist/core/shaders/BarnDoors/index.js +2 -2
- package/dist/core/shaders/Beam/index.js +2 -2
- package/dist/core/shaders/Bend/index.js +2 -2
- package/dist/core/shaders/Blob/index.js +2 -2
- package/dist/core/shaders/BlockDissolve/index.js +2 -2
- package/dist/core/shaders/BlockNoise/index.js +3 -3
- package/dist/core/shaders/BlueNoise/index.js +3 -3
- package/dist/core/shaders/Blur/index.js +2 -2
- package/dist/core/shaders/Boids/index.js +2 -2
- package/dist/core/shaders/BokehBlur/index.d.ts +7 -0
- package/dist/core/shaders/BokehBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/BokehBlur/index.js +2 -2
- package/dist/core/shaders/BrickPattern/index.js +2 -2
- package/dist/core/shaders/BrightnessContrast/index.js +2 -2
- package/dist/core/shaders/BrushedMetal/index.js +2 -2
- package/dist/core/shaders/Bulge/index.js +2 -2
- package/dist/core/shaders/CRTScreen/index.js +2 -2
- package/dist/core/shaders/CarbonFiber/index.js +2 -2
- package/dist/core/shaders/Chalkboard/index.js +2 -2
- package/dist/core/shaders/ChannelBlur/index.js +2 -2
- package/dist/core/shaders/CheckerWipe/index.js +2 -2
- package/dist/core/shaders/Checkerboard/index.js +2 -2
- package/dist/core/shaders/Chevron/index.js +2 -2
- package/dist/core/shaders/ChromaFlow/index.js +2 -2
- package/dist/core/shaders/ChromaticAberration/index.js +2 -2
- package/dist/core/shaders/Chrome/index.js +2 -2
- package/dist/core/shaders/Circle/index.js +2 -2
- package/dist/core/shaders/ColorWheel/index.js +2 -2
- package/dist/core/shaders/CompressionArtifacts/index.js +2 -2
- package/dist/core/shaders/ConcentricSpin/index.js +2 -2
- package/dist/core/shaders/ConicGradient/index.js +2 -2
- package/dist/core/shaders/ContourLines/index.js +2 -2
- package/dist/core/shaders/CornerPin/index.js +2 -2
- package/dist/core/shaders/Crescent/index.js +2 -2
- package/dist/core/shaders/Cross/index.js +2 -2
- package/dist/core/shaders/Crystal/index.js +2 -2
- package/dist/core/shaders/CurlNoise/index.js +3 -3
- package/dist/core/shaders/CursorRipples/index.js +2 -2
- package/dist/core/shaders/CursorTrail/index.js +2 -2
- package/dist/core/shaders/DataMosh/index.js +2 -2
- package/dist/core/shaders/DiamondGradient/index.js +2 -2
- package/dist/core/shaders/DiamondWipe/index.js +2 -2
- package/dist/core/shaders/DiffuseBlur/index.d.ts +6 -0
- package/dist/core/shaders/DiffuseBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/DiffuseBlur/index.js +2 -2
- package/dist/core/shaders/DisplacementMap/index.js +2 -2
- package/dist/core/shaders/Dither/index.js +2 -2
- package/dist/core/shaders/DotGrid/index.js +2 -2
- package/dist/core/shaders/DropShadow/index.js +2 -2
- package/dist/core/shaders/Duotone/index.js +2 -2
- package/dist/core/shaders/Ellipse/index.js +2 -2
- package/dist/core/shaders/Emboss/index.js +2 -2
- package/dist/core/shaders/Engraving/index.js +2 -2
- package/dist/core/shaders/ErosionNoise/index.js +3 -3
- package/dist/core/shaders/Exposure/index.js +2 -2
- package/dist/core/shaders/FallingLines/index.js +2 -2
- package/dist/core/shaders/FilmGrain/index.js +2 -2
- package/dist/core/shaders/FilmStock/index.js +2 -2
- package/dist/core/shaders/Flip/index.js +2 -2
- package/dist/core/shaders/FloatingParticles/index.js +2 -2
- package/dist/core/shaders/FlowField/index.js +2 -2
- package/dist/core/shaders/Flower/index.js +2 -2
- package/dist/core/shaders/FlowingGradient/index.js +2 -2
- package/dist/core/shaders/FlutedGlass/index.js +2 -2
- package/dist/core/shaders/Fog/index.js +2 -2
- package/dist/core/shaders/Form3D/index.js +2 -2
- package/dist/core/shaders/FractalNoise/index.js +2 -2
- package/dist/core/shaders/Frost/index.js +2 -2
- package/dist/core/shaders/GaborNoise/index.js +3 -3
- package/dist/core/shaders/Glass/index.js +2 -2
- package/dist/core/shaders/GlassTiles/index.js +2 -2
- package/dist/core/shaders/Glitch/index.js +2 -2
- package/dist/core/shaders/Glow/index.js +2 -2
- package/dist/core/shaders/Godrays/index.js +2 -2
- package/dist/core/shaders/Goo/index.js +2 -2
- package/dist/core/shaders/GradientMap/index.js +2 -2
- package/dist/core/shaders/Grayscale/index.js +2 -2
- package/dist/core/shaders/Grid/index.js +2 -2
- package/dist/core/shaders/GridDistortion/index.js +2 -2
- package/dist/core/shaders/Group/index.js +2 -2
- package/dist/core/shaders/HTMLInCanvas/index.js +2 -2
- package/dist/core/shaders/Halftone/index.js +2 -2
- package/dist/core/shaders/Heart/index.js +2 -2
- package/dist/core/shaders/Heatmap/index.js +2 -2
- package/dist/core/shaders/HexGrid/index.js +2 -2
- package/dist/core/shaders/Hologram/index.js +2 -2
- package/dist/core/shaders/Holographic/index.js +2 -2
- package/dist/core/shaders/HueShift/index.js +2 -2
- package/dist/core/shaders/ImageTexture/index.js +2 -2
- package/dist/core/shaders/InkFlow/index.js +2 -2
- package/dist/core/shaders/Invert/index.js +2 -2
- package/dist/core/shaders/IrisWipe/index.js +2 -2
- package/dist/core/shaders/Irradiance/index.js +2 -2
- package/dist/core/shaders/IsometricCubes/index.js +2 -2
- package/dist/core/shaders/Kaleidoscope/index.js +2 -2
- package/dist/core/shaders/KeyFrames/index.js +2 -2
- package/dist/core/shaders/LensDistortion/index.js +2 -2
- package/dist/core/shaders/LensFlare/index.js +2 -2
- package/dist/core/shaders/LightEdge/index.js +2 -2
- package/dist/core/shaders/LightLeak/index.js +2 -2
- package/dist/core/shaders/Line/index.js +2 -2
- package/dist/core/shaders/LinearBlur/index.d.ts +36 -0
- package/dist/core/shaders/LinearBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/LinearBlur/index.js +2 -2
- package/dist/core/shaders/LinearGradient/index.js +2 -2
- package/dist/core/shaders/LinearWipe/index.js +2 -2
- package/dist/core/shaders/LiquidMetal/index.js +2 -2
- package/dist/core/shaders/Liquify/index.js +2 -2
- package/dist/core/shaders/MagneticFilings/index.js +2 -2
- package/dist/core/shaders/Marble/index.js +2 -2
- package/dist/core/shaders/MeshGradient/index.js +2 -2
- package/dist/core/shaders/Mirror/index.js +2 -2
- package/dist/core/shaders/MultiPointGradient/index.js +2 -2
- package/dist/core/shaders/Nebula/index.js +2 -2
- package/dist/core/shaders/Neon/index.js +2 -2
- package/dist/core/shaders/NoiseDissolve/index.js +2 -2
- package/dist/core/shaders/ObjectTracker/index.js +2 -2
- package/dist/core/shaders/Obsidian/index.js +2 -2
- package/dist/core/shaders/PagePeel/index.js +2 -2
- package/dist/core/shaders/Paper/index.js +2 -2
- package/dist/core/shaders/Parallelogram/index.js +2 -2
- package/dist/core/shaders/ParticleField/index.js +2 -2
- package/dist/core/shaders/ParticleFlow/index.js +2 -2
- package/dist/core/shaders/Particles/index.js +2 -2
- package/dist/core/shaders/PerlinNoise/index.js +3 -3
- package/dist/core/shaders/Perspective/index.js +2 -2
- package/dist/core/shaders/PixelSort/index.js +2 -2
- package/dist/core/shaders/PixelThrow/index.js +2 -2
- package/dist/core/shaders/Pixelate/index.js +2 -2
- package/dist/core/shaders/Plasma/index.js +2 -2
- package/dist/core/shaders/Plastic/index.js +2 -2
- package/dist/core/shaders/PolarCoordinates/index.js +2 -2
- package/dist/core/shaders/Polygon/index.js +2 -2
- package/dist/core/shaders/Posterize/index.js +2 -2
- package/dist/core/shaders/Prism/index.js +2 -2
- package/dist/core/shaders/ProgressiveBlur/index.d.ts +14 -0
- package/dist/core/shaders/ProgressiveBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +2 -2
- package/dist/core/shaders/RadialGradient/index.js +2 -2
- package/dist/core/shaders/RadialWipe/index.js +2 -2
- package/dist/core/shaders/RandomBars/index.js +2 -2
- package/dist/core/shaders/ReactionDiffusion/index.js +2 -2
- package/dist/core/shaders/RectangularCoordinates/index.js +2 -2
- package/dist/core/shaders/ReflectivePlane/index.js +2 -2
- package/dist/core/shaders/Repeater/index.js +2 -2
- package/dist/core/shaders/Ring/index.js +2 -2
- package/dist/core/shaders/RippleWipe/index.js +2 -2
- package/dist/core/shaders/Ripples/index.js +2 -2
- package/dist/core/shaders/RoundedRect/index.js +2 -2
- package/dist/core/shaders/Satin/index.d.ts +120 -0
- package/dist/core/shaders/Satin/index.d.ts.map +1 -0
- package/dist/core/shaders/Satin/index.js +5 -0
- package/dist/core/shaders/Saturation/index.js +2 -2
- package/dist/core/shaders/Scratches/index.js +3 -3
- package/dist/core/shaders/Sharpness/index.js +2 -2
- package/dist/core/shaders/Shatter/index.js +2 -2
- package/dist/core/shaders/SimplexNoise/index.js +3 -3
- package/dist/core/shaders/SineWave/index.js +2 -2
- package/dist/core/shaders/SliceWipe/index.js +2 -2
- package/dist/core/shaders/Smoke/index.js +2 -2
- package/dist/core/shaders/SmokeFill/index.js +2 -2
- package/dist/core/shaders/SmokeFlow/index.js +2 -2
- package/dist/core/shaders/Solarize/index.js +2 -2
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Sparkle/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +2 -2
- package/dist/core/shaders/Spiral/index.js +2 -2
- package/dist/core/shaders/Star/index.js +2 -2
- package/dist/core/shaders/Stone/index.js +2 -2
- package/dist/core/shaders/Strands/index.js +2 -2
- package/dist/core/shaders/Stretch/index.js +2 -2
- package/dist/core/shaders/Stripes/index.js +2 -2
- package/dist/core/shaders/StudioBackground/index.js +2 -2
- package/dist/core/shaders/SunBurst/index.js +2 -2
- package/dist/core/shaders/Surface3D/index.js +2 -2
- package/dist/core/shaders/Swirl/index.js +2 -2
- package/dist/core/shaders/Teardrop/index.js +2 -2
- package/dist/core/shaders/Text/index.js +2 -2
- package/dist/core/shaders/ThinFilm/index.js +2 -2
- package/dist/core/shaders/TiltShift/index.d.ts +14 -0
- package/dist/core/shaders/TiltShift/index.d.ts.map +1 -1
- package/dist/core/shaders/TiltShift/index.js +2 -2
- package/dist/core/shaders/TimeTrail/index.js +2 -2
- package/dist/core/shaders/Tint/index.js +2 -2
- package/dist/core/shaders/Trapezoid/index.js +2 -2
- package/dist/core/shaders/TriangularGrid/index.js +2 -2
- package/dist/core/shaders/Tritone/index.js +2 -2
- package/dist/core/shaders/Truchet/index.js +2 -2
- package/dist/core/shaders/Twirl/index.js +2 -2
- package/dist/core/shaders/VHS/index.js +2 -2
- package/dist/core/shaders/VenetianBlinds/index.js +2 -2
- package/dist/core/shaders/Vesica/index.js +2 -2
- package/dist/core/shaders/Vibrance/index.js +2 -2
- package/dist/core/shaders/VideoTexture/index.js +2 -2
- package/dist/core/shaders/Vignette/index.js +2 -2
- package/dist/core/shaders/Voronoi/index.js +2 -2
- package/dist/core/shaders/Voxels/index.js +2 -2
- package/dist/core/shaders/Water/index.js +2 -2
- package/dist/core/shaders/Watercolor/index.js +2 -2
- package/dist/core/shaders/WaveDistortion/index.js +2 -2
- package/dist/core/shaders/Waveform/index.js +2 -2
- package/dist/core/shaders/WaveletNoise/index.js +3 -3
- package/dist/core/shaders/Weave/index.js +2 -2
- package/dist/core/shaders/WebcamTexture/index.js +2 -2
- package/dist/core/shaders/Wool/index.js +2 -2
- package/dist/core/shaders/WorleyNoise/index.js +2 -2
- package/dist/core/shaders/ZoomBlur/index.d.ts +42 -0
- package/dist/core/shaders/ZoomBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +2 -2
- package/dist/core/std/effects/blurs.d.ts +54 -6
- package/dist/core/std/effects/blurs.d.ts.map +1 -1
- package/dist/core/std/index.js +1 -1
- package/dist/core/std/paint/materials.d.ts +48 -2
- package/dist/core/std/paint/materials.d.ts.map +1 -1
- package/dist/core/std/paint/noise.d.ts +120 -0
- package/dist/core/std/paint/noise.d.ts.map +1 -1
- package/dist/core/{std-ClftfWpF.js → std-DcYKWFSQ.js} +4153 -916
- package/dist/js/bundle.js +89 -89
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +55 -7
- package/dist/react/Preview.js +1 -0
- package/dist/react/Satin.js +226 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +89 -89
- package/dist/react/components/AngularBlur.d.ts +7 -1
- package/dist/react/components/AngularBlur.d.ts.map +1 -1
- package/dist/react/components/DiffuseBlur.d.ts +2 -1
- package/dist/react/components/DiffuseBlur.d.ts.map +1 -1
- package/dist/react/components/LinearBlur.d.ts +7 -1
- package/dist/react/components/LinearBlur.d.ts.map +1 -1
- package/dist/react/components/Satin.d.ts +49 -0
- package/dist/react/components/Satin.d.ts.map +1 -0
- package/dist/react/components/ZoomBlur.d.ts +8 -1
- package/dist/react/components/ZoomBlur.d.ts.map +1 -1
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +2 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +55 -7
- package/dist/registry.js +1248 -0
- package/dist/solid/components/AngularBlur.d.ts +7 -1
- package/dist/solid/components/AngularBlur.d.ts.map +1 -1
- package/dist/solid/components/DiffuseBlur.d.ts +2 -1
- package/dist/solid/components/DiffuseBlur.d.ts.map +1 -1
- package/dist/solid/components/LinearBlur.d.ts +7 -1
- package/dist/solid/components/LinearBlur.d.ts.map +1 -1
- package/dist/solid/components/Satin.d.ts +46 -0
- package/dist/solid/components/Satin.d.ts.map +1 -0
- package/dist/solid/components/Satin.js +232 -0
- package/dist/solid/components/ZoomBlur.d.ts +8 -1
- package/dist/solid/components/ZoomBlur.d.ts.map +1 -1
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +295 -293
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +114 -112
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +55 -7
- package/dist/svelte/components/AngularBlur.svelte.d.ts +6 -0
- package/dist/svelte/components/DiffuseBlur.svelte.d.ts +1 -0
- package/dist/svelte/components/LinearBlur.svelte.d.ts +6 -0
- package/dist/svelte/components/Satin.svelte.d.ts +36 -0
- package/dist/svelte/components/ZoomBlur.svelte.d.ts +7 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +2500 -2293
- package/dist/svelte/source/components/AngularBlur.svelte +6 -0
- package/dist/svelte/source/components/DiffuseBlur.svelte +1 -0
- package/dist/svelte/source/components/LinearBlur.svelte +6 -0
- package/dist/svelte/source/components/Satin.svelte +360 -0
- package/dist/svelte/source/components/ZoomBlur.svelte +7 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +55 -7
- package/dist/vue/AngularBlur.vue_vue_type_script_setup_true_lang.js +6 -0
- package/dist/vue/BokehBlur.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/vue/DiffuseBlur.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/vue/LinearBlur.vue_vue_type_script_setup_true_lang.js +6 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/ProgressiveBlur.vue_vue_type_script_setup_true_lang.js +3 -1
- package/dist/vue/Satin.js +3 -0
- package/dist/vue/Satin.vue_vue_type_script_setup_true_lang.js +243 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/TiltShift.vue_vue_type_script_setup_true_lang.js +3 -1
- package/dist/vue/ZoomBlur.vue_vue_type_script_setup_true_lang.js +7 -0
- package/dist/vue/components/AngularBlur.vue.d.ts +6 -0
- package/dist/vue/components/AngularBlur.vue.d.ts.map +1 -1
- package/dist/vue/components/DiffuseBlur.vue.d.ts +1 -0
- package/dist/vue/components/DiffuseBlur.vue.d.ts.map +1 -1
- package/dist/vue/components/LinearBlur.vue.d.ts +6 -0
- package/dist/vue/components/LinearBlur.vue.d.ts.map +1 -1
- package/dist/vue/components/Satin.vue.d.ts +71 -0
- package/dist/vue/components/Satin.vue.d.ts.map +1 -0
- package/dist/vue/components/ZoomBlur.vue.d.ts +7 -0
- package/dist/vue/components/ZoomBlur.vue.d.ts.map +1 -1
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +55 -7
- package/package.json +9 -1
- package/dist/core/AngularBlur-BEBs-lRR.js +0 -43
- package/dist/core/LinearBlur-CiyjPTUH.js +0 -43
- package/dist/core/ZoomBlur-bPC1dBu2.js +0 -43
- package/dist/core/shaderRegistry-BaozBFyh.js +0 -445
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { Ac as sub, Fc as defineStd, Fl as uniformOf, Hr as fdSlope, Js as abs, Ki as foldSet, Ll as p, Mc as vec3, Mi as viewRay, Nc as vec4, Oi as tiltNormal, Pi as wardAlphas, Pr as anisoSpecular, Qs as div, Ui as drapedFolds, Vc as animatedTime, Vi as clothCoords, Vr as fdCurvature, Xs as clamp, Ys as add, _c as neg, _d as isMobileGpuViewport, ar as direction, ci as nudgeNormal, dc as local, dr as surfaceOf, gc as mul, hc as mix, jc as vec2, ni as lambert, or as directionFrame, qr as grainNoise, ri as lightVec3, si as neutralTone, vi as sheenLobe } from "./std-DcYKWFSQ.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
var MOBILE = isMobileGpuViewport();
|
|
4
|
+
var RIPPLE = [
|
|
5
|
+
{
|
|
6
|
+
freq: 3.1,
|
|
7
|
+
speed: .35,
|
|
8
|
+
amount: .045
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
freq: 6.7,
|
|
12
|
+
speed: -.22,
|
|
13
|
+
amount: .018
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
freq: 11.3,
|
|
17
|
+
speed: .5,
|
|
18
|
+
amount: .007
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
var RIPPLE_WAVES = MOBILE ? RIPPLE.slice(0, 2) : RIPPLE;
|
|
22
|
+
var SWELL = {
|
|
23
|
+
amount: .3,
|
|
24
|
+
freq: 2.4,
|
|
25
|
+
speed: .4
|
|
26
|
+
};
|
|
27
|
+
var BREEZE_SWAY = .08;
|
|
28
|
+
var FOLD_CREASE = .7;
|
|
29
|
+
var FOLD_SHARPNESS = 2;
|
|
30
|
+
var FOLD_JITTER = .8;
|
|
31
|
+
var FOLD_FORESHORTEN = .25;
|
|
32
|
+
var FD_EPS = .004;
|
|
33
|
+
var RELIEF_GAIN = .3;
|
|
34
|
+
var CAVITY_GAIN = .0012;
|
|
35
|
+
var THREADS = {
|
|
36
|
+
coarse: [14, 420],
|
|
37
|
+
fine: [26, 900]
|
|
38
|
+
};
|
|
39
|
+
var WEAVE_RELIEF = .1;
|
|
40
|
+
var LIGHT = {
|
|
41
|
+
ambient: .18,
|
|
42
|
+
key: .9,
|
|
43
|
+
fill: .45,
|
|
44
|
+
elevation: -.65,
|
|
45
|
+
fillElevation: -.45
|
|
46
|
+
};
|
|
47
|
+
var STREAK_GAIN = [.25, .9];
|
|
48
|
+
var BLOOM = {
|
|
49
|
+
roughness: .85,
|
|
50
|
+
anisotropy: .5,
|
|
51
|
+
gain: .35
|
|
52
|
+
};
|
|
53
|
+
var SHEEN_GAIN = .6;
|
|
54
|
+
const componentDefinition = defineStd({
|
|
55
|
+
name: "Satin",
|
|
56
|
+
role: "generator",
|
|
57
|
+
boundingBoxDeclaration: {
|
|
58
|
+
aspectRatio: null,
|
|
59
|
+
supportsResizeFit: true
|
|
60
|
+
},
|
|
61
|
+
category: "Textures",
|
|
62
|
+
description: "Flowing satin — a draped cloth of soft rippling folds lit like real fabric: a highlight streaked along the weave, a velvet sheen on the fold flanks and creases falling into shadow, swaying gently in a breeze",
|
|
63
|
+
acceptsUVContext: true,
|
|
64
|
+
animatedTime: { speed: "speed" },
|
|
65
|
+
props: {
|
|
66
|
+
color: {
|
|
67
|
+
default: "#c92c40",
|
|
68
|
+
transform: transformColor,
|
|
69
|
+
description: "The dye of the cloth — deep colors show the sheen best",
|
|
70
|
+
ui: {
|
|
71
|
+
type: "color",
|
|
72
|
+
label: "Color",
|
|
73
|
+
group: "Cloth"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
highlightColor: {
|
|
77
|
+
default: "#c4667b",
|
|
78
|
+
transform: transformColor,
|
|
79
|
+
description: "The color of the light caught by the weave — near white for silk, tinted toward the dye for a matte satin",
|
|
80
|
+
ui: {
|
|
81
|
+
type: "color",
|
|
82
|
+
label: "Highlight",
|
|
83
|
+
group: "Cloth"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
foldCount: {
|
|
87
|
+
default: 7,
|
|
88
|
+
compileTime: true,
|
|
89
|
+
description: "How many ridges run across the cloth",
|
|
90
|
+
ui: {
|
|
91
|
+
type: "range",
|
|
92
|
+
min: 1,
|
|
93
|
+
max: 12,
|
|
94
|
+
step: 1,
|
|
95
|
+
label: "Folds",
|
|
96
|
+
group: "Folds"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
foldDirection: {
|
|
100
|
+
default: 90,
|
|
101
|
+
description: "Direction the folds run, in degrees — 90 hangs them vertically like a curtain",
|
|
102
|
+
ui: {
|
|
103
|
+
type: ["range", "map"],
|
|
104
|
+
min: 0,
|
|
105
|
+
max: 360,
|
|
106
|
+
step: 1,
|
|
107
|
+
label: "Direction",
|
|
108
|
+
group: "Folds"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
foldDepth: {
|
|
112
|
+
default: .5,
|
|
113
|
+
description: "How deep the folds are — 0 is a flat sheet, 1 heavy gathered drapery",
|
|
114
|
+
ui: {
|
|
115
|
+
type: ["range", "map"],
|
|
116
|
+
min: 0,
|
|
117
|
+
max: 1,
|
|
118
|
+
step: .01,
|
|
119
|
+
label: "Depth",
|
|
120
|
+
group: "Folds"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
foldWidth: {
|
|
124
|
+
default: .14,
|
|
125
|
+
description: "Width of each ridge, relative to the canvas — narrow for fine pleats, wide for broad soft folds",
|
|
126
|
+
ui: {
|
|
127
|
+
type: ["range", "map"],
|
|
128
|
+
min: .04,
|
|
129
|
+
max: .4,
|
|
130
|
+
step: .01,
|
|
131
|
+
label: "Width",
|
|
132
|
+
group: "Folds"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
pinning: {
|
|
136
|
+
default: .6,
|
|
137
|
+
description: "How much the cloth is gathered at the top edge — 0 is a loose drape, 1 a curtain pinned at the rail with the folds opening as they fall",
|
|
138
|
+
ui: {
|
|
139
|
+
type: ["range", "map"],
|
|
140
|
+
min: 0,
|
|
141
|
+
max: 1,
|
|
142
|
+
step: .01,
|
|
143
|
+
label: "Pinning",
|
|
144
|
+
group: "Folds"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
seed: {
|
|
148
|
+
default: 0,
|
|
149
|
+
description: "Random seed — a different layout of folds",
|
|
150
|
+
ui: {
|
|
151
|
+
type: ["range", "map"],
|
|
152
|
+
min: 0,
|
|
153
|
+
max: 100,
|
|
154
|
+
step: 1,
|
|
155
|
+
label: "Seed",
|
|
156
|
+
group: "Folds"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
speed: {
|
|
160
|
+
default: 1,
|
|
161
|
+
description: "How fast the cloth moves. 0 pauses.",
|
|
162
|
+
ui: {
|
|
163
|
+
type: "range",
|
|
164
|
+
min: 0,
|
|
165
|
+
max: 4,
|
|
166
|
+
step: .01,
|
|
167
|
+
label: "Speed",
|
|
168
|
+
group: "Motion"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
breeze: {
|
|
172
|
+
default: .4,
|
|
173
|
+
description: "Strength of the breeze — how far the folds ripple and sway",
|
|
174
|
+
ui: {
|
|
175
|
+
type: ["range", "map"],
|
|
176
|
+
min: 0,
|
|
177
|
+
max: 1,
|
|
178
|
+
step: .01,
|
|
179
|
+
label: "Breeze",
|
|
180
|
+
group: "Motion"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
gloss: {
|
|
184
|
+
default: .1,
|
|
185
|
+
description: "How shiny the weave is — 0 soft matte satin, 1 glossy silk with a tight bright streak",
|
|
186
|
+
ui: {
|
|
187
|
+
type: ["range", "map"],
|
|
188
|
+
min: 0,
|
|
189
|
+
max: 1,
|
|
190
|
+
step: .01,
|
|
191
|
+
label: "Gloss",
|
|
192
|
+
group: "Finish"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
anisotropy: {
|
|
196
|
+
default: .7,
|
|
197
|
+
description: "How much the highlight stretches along the threads — the long streak real satin shows",
|
|
198
|
+
ui: {
|
|
199
|
+
type: ["range", "map"],
|
|
200
|
+
min: 0,
|
|
201
|
+
max: 1,
|
|
202
|
+
step: .01,
|
|
203
|
+
label: "Anisotropy",
|
|
204
|
+
group: "Finish"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
bloom: {
|
|
208
|
+
default: .5,
|
|
209
|
+
description: "The broad soft glow around the highlight — light the weave scatters sideways. 0 leaves the crisp streak alone, 1 a wide satin bloom",
|
|
210
|
+
ui: {
|
|
211
|
+
type: ["range", "map"],
|
|
212
|
+
min: 0,
|
|
213
|
+
max: 1,
|
|
214
|
+
step: .01,
|
|
215
|
+
label: "Bloom",
|
|
216
|
+
group: "Finish"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
sheen: {
|
|
220
|
+
default: .5,
|
|
221
|
+
description: "The velvet glow on the flanks of each fold where the fibres catch the light edge-on",
|
|
222
|
+
ui: {
|
|
223
|
+
type: ["range", "map"],
|
|
224
|
+
min: 0,
|
|
225
|
+
max: 1,
|
|
226
|
+
step: .01,
|
|
227
|
+
label: "Sheen",
|
|
228
|
+
group: "Finish"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
weave: {
|
|
232
|
+
default: .1,
|
|
233
|
+
description: "Visibility of the thread texture — the fine grain that glints inside the highlight",
|
|
234
|
+
ui: {
|
|
235
|
+
type: ["range", "map"],
|
|
236
|
+
min: 0,
|
|
237
|
+
max: 1,
|
|
238
|
+
step: .01,
|
|
239
|
+
label: "Weave",
|
|
240
|
+
group: "Finish"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
fiberAngle: {
|
|
244
|
+
default: 90,
|
|
245
|
+
description: "Direction the threads run, in degrees — the highlight streaks along this axis. Usually the fold direction.",
|
|
246
|
+
ui: {
|
|
247
|
+
type: ["range", "map"],
|
|
248
|
+
min: 0,
|
|
249
|
+
max: 360,
|
|
250
|
+
step: 1,
|
|
251
|
+
label: "Thread Angle",
|
|
252
|
+
group: "Finish"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
lightAngle: {
|
|
256
|
+
default: 215,
|
|
257
|
+
description: "Direction of the key light, in degrees",
|
|
258
|
+
ui: {
|
|
259
|
+
type: ["range", "map"],
|
|
260
|
+
min: 0,
|
|
261
|
+
max: 360,
|
|
262
|
+
step: 1,
|
|
263
|
+
label: "Light Angle",
|
|
264
|
+
group: "Light"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
fill: {
|
|
268
|
+
default: .35,
|
|
269
|
+
description: "Strength of the fill light from the opposite side — lifts the shadowed flanks",
|
|
270
|
+
ui: {
|
|
271
|
+
type: ["range", "map"],
|
|
272
|
+
min: 0,
|
|
273
|
+
max: 1,
|
|
274
|
+
step: .01,
|
|
275
|
+
label: "Fill",
|
|
276
|
+
group: "Light"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
paint: (params) => {
|
|
281
|
+
const { uv, aspect } = surfaceOf(params);
|
|
282
|
+
const u = (name) => uniformOf(p(name), params);
|
|
283
|
+
const t = local(animatedTime(params), "satinTime");
|
|
284
|
+
const q = local(vec2(mul(sub(uv.member("x"), .5), aspect), sub(uv.member("y"), .5)), "q");
|
|
285
|
+
const drape = directionFrame(u("foldDirection"), "drape");
|
|
286
|
+
const count = Math.max(1, Math.min(12, Math.round(params.propValues.foldCount ?? 7)));
|
|
287
|
+
const spread = local(mul(add(mul(abs(drape.perp.member("x")), aspect), abs(drape.perp.member("y"))), 1.1), "spread");
|
|
288
|
+
const folds = foldSet({
|
|
289
|
+
count,
|
|
290
|
+
seed: u("seed"),
|
|
291
|
+
spread,
|
|
292
|
+
width: u("foldWidth"),
|
|
293
|
+
height: u("foldDepth"),
|
|
294
|
+
jitter: FOLD_JITTER
|
|
295
|
+
});
|
|
296
|
+
const breeze = local(u("breeze"), "breeze");
|
|
297
|
+
const drapeOpts = {
|
|
298
|
+
time: t,
|
|
299
|
+
ripple: {
|
|
300
|
+
waves: RIPPLE_WAVES,
|
|
301
|
+
gain: mix(.35, 1, breeze)
|
|
302
|
+
},
|
|
303
|
+
sway: {
|
|
304
|
+
amount: mul(breeze, BREEZE_SWAY),
|
|
305
|
+
rate: .7
|
|
306
|
+
},
|
|
307
|
+
swell: SWELL,
|
|
308
|
+
pinning: local(u("pinning"), "pinning"),
|
|
309
|
+
sharpness: FOLD_SHARPNESS,
|
|
310
|
+
crease: FOLD_CREASE
|
|
311
|
+
};
|
|
312
|
+
const alongExtent = local(add(mul(abs(drape.tangent.member("x")), aspect), abs(drape.tangent.member("y"))), "alongExtent");
|
|
313
|
+
const onDrape = (at) => {
|
|
314
|
+
const c = drape.coordsOf(at);
|
|
315
|
+
return {
|
|
316
|
+
along: add(div(c.along, alongExtent), .5),
|
|
317
|
+
across: c.across
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
const cloth = (at) => drapedFolds(onDrape(at), folds, drapeOpts);
|
|
321
|
+
const curved = MOBILE ? null : fdCurvature(cloth, q, FD_EPS, "cloth");
|
|
322
|
+
const relief = curved ?? fdSlope(cloth, q, FD_EPS, "cloth");
|
|
323
|
+
const nFold = nudgeNormal(vec3(0, 0, -1), mul(relief.dx, -RELIEF_GAIN), mul(relief.dy, -RELIEF_GAIN), "nFold");
|
|
324
|
+
const material = clothCoords(onDrape(q), folds, {
|
|
325
|
+
...drapeOpts,
|
|
326
|
+
foreshorten: FOLD_FORESHORTEN
|
|
327
|
+
});
|
|
328
|
+
const onCloth = local(add(mul(drape.tangent, material.along), mul(drape.perp, material.across)), "onCloth");
|
|
329
|
+
const fibre = directionFrame(u("fiberAngle"), "fibre");
|
|
330
|
+
const fc = fibre.coordsOf(onCloth);
|
|
331
|
+
const n = tiltNormal(nFold, fibre, { across: mul(local(add(grainNoise(fc, { freq: THREADS.coarse }), mul(grainNoise(fc, {
|
|
332
|
+
freq: THREADS.fine,
|
|
333
|
+
offset: [3.1, 7.7]
|
|
334
|
+
}), .5)), "threads"), mul(u("weave"), WEAVE_RELIEF)) });
|
|
335
|
+
const view = viewRay(params, { aspect });
|
|
336
|
+
const keyDir = direction(u("lightAngle"), "key");
|
|
337
|
+
const L = lightVec3(keyDir, LIGHT.elevation, "L");
|
|
338
|
+
const Lfill = lightVec3(neg(keyDir), LIGHT.fillElevation, "Lfill");
|
|
339
|
+
const diffuse = local(add(add(LIGHT.ambient, mul(lambert(n, L, { wrap: .35 }), LIGHT.key)), mul(lambert(n, Lfill, { wrap: .6 }), mul(u("fill"), LIGHT.fill))), "diffuse");
|
|
340
|
+
const cavity = curved ? local(clamp(sub(1, mul(curved.curvature, CAVITY_GAIN)), .6, 1.1), "cavity") : 1;
|
|
341
|
+
const gloss = local(u("gloss"), "gloss");
|
|
342
|
+
const aniso = local(u("anisotropy"), "aniso");
|
|
343
|
+
const streak = anisoSpecular({
|
|
344
|
+
normal: n,
|
|
345
|
+
tangent: fibre.tangent,
|
|
346
|
+
light: L,
|
|
347
|
+
view,
|
|
348
|
+
alphas: wardAlphas(sub(1, gloss), aniso),
|
|
349
|
+
gain: mix(STREAK_GAIN[0], STREAK_GAIN[1], gloss)
|
|
350
|
+
});
|
|
351
|
+
const bloom = anisoSpecular({
|
|
352
|
+
normal: n,
|
|
353
|
+
tangent: fibre.tangent,
|
|
354
|
+
light: L,
|
|
355
|
+
view,
|
|
356
|
+
alphas: wardAlphas(BLOOM.roughness, mul(aniso, BLOOM.anisotropy)),
|
|
357
|
+
gain: mul(u("bloom"), BLOOM.gain)
|
|
358
|
+
});
|
|
359
|
+
const velvet = sheenLobe({
|
|
360
|
+
normal: n,
|
|
361
|
+
light: L,
|
|
362
|
+
view,
|
|
363
|
+
roughness: mix(.7, .3, gloss),
|
|
364
|
+
gain: mul(u("sheen"), SHEEN_GAIN)
|
|
365
|
+
});
|
|
366
|
+
const dye = u("color").member("rgb");
|
|
367
|
+
const catchlight = u("highlightColor").member("rgb");
|
|
368
|
+
return vec4(neutralTone(add(mul(dye, mul(diffuse, cavity)), mul(catchlight, mul(add(add(streak, bloom), velvet), cavity)))), 1);
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
var Satin_default = componentDefinition;
|
|
372
|
+
export { componentDefinition as n, Satin_default as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Es as isValue, Fc as defineStd, Ll as p, Rt as saturate, ws as crosses } from "./std-DcYKWFSQ.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "Saturation",
|
|
4
4
|
role: "filter",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-
|
|
1
|
+
import { Fc as defineStd, Ll as p, Wo as rampOver, Yi as linearPair, Zi as noiseTone, ia as scratchStreaks, ta as rawPlane } from "./std-DcYKWFSQ.js";
|
|
2
|
+
import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-B6kUgUln.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "Scratches",
|
|
5
5
|
role: "generator",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { An as sharpen, Ds as isZero, Fc as defineStd, Ll as p, ws as crosses } from "./std-DcYKWFSQ.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "Sharpness",
|
|
4
4
|
role: "filter",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bd as applyEdgeHandlingExpr, Fc as defineStd, Gd as ZERO, Zd as floatE, _t as crackRefractUV, gt as crackGeom, ht as cellLaneUVFor, ld as toHalfFloat, lf as unpremultiplyAlpha, qd as call, vt as crackShardCompose, yt as voronoiRegionField } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var seededRandom = (seed) => {
|
|
4
4
|
const x = Math.sin(seed) * 1e4;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { Bo as noiseField, Fc as defineStd, Gi as evolving, Ll as p, Qo as stops, Wo as rampOver, aa as seededPlane, oa as signedTone } from "./std-DcYKWFSQ.js";
|
|
2
|
+
import { t as noiseColorProps } from "./noiseColor-B6kUgUln.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "SimplexNoise",
|
|
5
5
|
role: "generator",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, Sr as sineStroke } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "SineWave",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $d as vec4, $f as textureStorage2d, Ef as typegpu_default, Fc as defineStd, Gd as ZERO, Yf as vec4f, du as colorStopsPropConfig, ep as arrayOf, f as fluidSim, h as splat, hl as buildFluidOutputKernel, ip as f32, jd as mixColorStopsRuntime, ml as buildEmitterSplatKernel, qd as call, tp as struct, uf as colorMixing_exports, vl as buildStableFluidsKernels } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var N = 256;
|
|
4
4
|
var COUNT = N * N;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $d as vec4, $f as textureStorage2d, Cl as makeShapeMaskSet, Ef as typegpu_default, Fc as defineStd, Gd as ZERO, Hu as resolveShapeType, Ru as sdf3d_exports, Uu as shapeEffectBoundingBoxDeclaration, Xs as clamp, Yf as vec4f, cd as sdf_exports, ep as arrayOf, f as fluidSim, gc as mul, h as splat, hl as buildFluidOutputKernel, ip as f32, ml as buildEmitterSplatKernel, qd as call, tp as struct, uf as colorMixing_exports, vl as buildStableFluidsKernels, wu as glass_exports } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var { sdfSpaceUV } = glass_exports;
|
|
4
4
|
var { createSvgSdfSampler, createSdfDataTexture, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $d as vec4, $f as textureStorage2d, Ef as typegpu_default, Fc as defineStd, Gd as ZERO, Yf as vec4f, d as cursorRibbon, du as colorStopsPropConfig, ep as arrayOf, f as fluidSim, fd as decayFadeSeconds, hl as buildFluidOutputKernel, ip as f32, jd as mixColorStopsRuntime, ml as buildEmitterSplatKernel, qd as call, tp as struct, uf as colorMixing_exports, vl as buildStableFluidsKernels } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var N = 256;
|
|
4
4
|
var COUNT = N * N;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ds as isZero, Fc as defineStd, Ll as p, ws as crosses, zt as solarize } from "./std-DcYKWFSQ.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "Solarize",
|
|
4
4
|
role: "filter",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, Mo as solidColor } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "SolidColor",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $s as dot, Dc as splat3, Ds as isZero, Fc as defineStd, In as flashes, Jt as brightestNear, Ka as starGlint, Mc as vec3, Nc as vec4, Oc as sqrt, Qs as div, Tc as smoothstep, Vc as animatedTime, Ys as add, _o as scatterPoints, dc as local, gc as mul, hc as mix, jc as vec2, kc as step, mc as min, pc as max, sn as gatherStack, ws as crosses } from "./std-DcYKWFSQ.js";
|
|
2
2
|
var GRID_SCALES = [1, 2 / 3];
|
|
3
3
|
var THRESHOLD_BAND = .12;
|
|
4
4
|
var GLINT = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as crispTap,
|
|
1
|
+
import { $t as crispTap, Fc as defineStd, Ll as p, Mn as sphereFrame, sn as gatherStack, wn as rimLit } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var sphere = sphereFrame({
|
|
4
4
|
center: p("center"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, Po as dist, Vo as pair, Wo as rampOver } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "Spiral",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Xi as noiseRelief, c as reliefStylizeProps, na as reliefBases } from "./std-DcYKWFSQ.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "Stone",
|
|
4
4
|
role: "filter",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $i as overRgb, Fc as defineStd, Fi as backToP3, Ll as p, du as colorStopsPropConfig, ra as ribbons, sa as tonePow } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { c as transformPosition, i as transformBoolean, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "Strands",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $n as stretch,
|
|
1
|
+
import { $n as stretch, Fc as defineStd, Ll as p, Rl as centerPropConfig, zl as edgesPropConfig } from "./std-DcYKWFSQ.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "Stretch",
|
|
4
4
|
role: "warp",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, vo as stripeBands, yo as strokeOver } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "Stripes",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ac as
|
|
1
|
+
import { Ac as sub, Dc as splat3, Fc as defineStd, Fl as uniformOf, Ll as p, Ma as glowAt, Mc as vec3, Na as glowSpot, Nc as vec4, Qs as div, Tc as smoothstep, Xs as clamp, Yf as vec4f, Ys as add, _c as neg, dc as local, dr as surfaceOf, ec as exp, gc as mul, hc as mix, ks as cpuHash01, nc as float, pc as max, qa as vignetteMask } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var TAU = Math.PI * 2;
|
|
4
4
|
const componentDefinition = defineStd({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ga as softRayLobes, Ja as withFrame, La as modulate, Ll as p, ba as coverageMix, wa as featherMask, za as radialFrame } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "SunBurst",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $c as
|
|
1
|
+
import { $c as CURSOR_WAVE_BOUND, Fc as defineStd, Gd as ZERO, Mc as vec3, Nc as vec4, Os as recompileWhen, Rd as createPingPongPair, Xs as clamp, _d as isMobileGpuViewport, al as WAVE_SETTLE_MS, cl as createWaveStateBuffers, dc as local, dl as makeWaveEquationKernel, el as HEIGHT_FIELD_STATE_FORMAT, fl as waveEquationLayout, gc as mul, il as WAVE_HALFEXTENT, lf as unpremultiplyAlpha, ll as heightFieldMarchLayout, nl as WAVE_DECAY, ol as createHeightFieldParamsUniform, qd as call, rl as WAVE_GRID, sl as createKernelPass, tl as HEIGHT_SLAB_PAD, ul as makeHeightFieldMarchKernel, yf as DEG_TO_RAD$1 } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var COMPUTE_MAX = isMobileGpuViewport() ? 960 : 1600;
|
|
4
4
|
var COMPUTE_FALLBACK_W = 1600;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $o as threshold, Fc as defineStd, Ho as pulse, Io as flowField, Ll as p, Qo as stops, Wo as rampOver, Xo as shimmered, Yo as share, du as colorStopsPropConfig } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var swirlPatternField = share(flowField({ detail: p("detail") }));
|
|
4
4
|
const componentDefinition = defineStd({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $d as vec4, Cd as createRasterInvalidator, Fc as defineStd, G as orientedBoxField, Hd as sampleCatmullRomExpr, Sd as createFontDependentRaster, bd as loadGoogleFont, ip as f32, qd as call, wd as createSwappableMediaTexture, xd as createCanvasRasterTarget, yd as isFontAvailable } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
function applyTextTransform(text, mode) {
|
|
4
4
|
switch (mode) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bf as mix, Cu as glassGradient, Ef as typegpu_default, Eu as sdfSpaceUV, Fc as defineStd, Gf as sqrt, Hf as pow, If as floor, Jf as vec3f, Lf as fract, Mf as cos, Od as cosinePalette, Of as select, Qd as mixExpr, Rf as max, Tu as offsetUV, Uf as sin, Uu as shapeEffectBoundingBoxDeclaration, Yf as vec4f, Zd as floatE, ff as mixColorsLinear, gi as shapedSurface, ip as f32, jf as clamp, pf as mixColorsVariants, qd as call, qf as vec2f, sp as __export } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var thinFilm_exports = /* @__PURE__ */ __export({
|
|
4
4
|
applyThinFilmEffect: () => applyThinFilmEffect$1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, Pn as tiltShift, ws as crosses } from "./std-DcYKWFSQ.js";
|
|
2
2
|
import { c as transformPosition, r as transformAngle } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "TiltShift",
|
|
@@ -71,6 +71,31 @@ const componentDefinition = defineStd({
|
|
|
71
71
|
label: "Center",
|
|
72
72
|
group: "Position"
|
|
73
73
|
}
|
|
74
|
+
},
|
|
75
|
+
dispersion: {
|
|
76
|
+
default: 0,
|
|
77
|
+
description: "Blurs red and blue by different amounts for a lens-like color fringe outside the focus band; negative swaps the colors",
|
|
78
|
+
recompile: crosses(0),
|
|
79
|
+
ui: {
|
|
80
|
+
type: "range",
|
|
81
|
+
min: -1,
|
|
82
|
+
max: 1,
|
|
83
|
+
step: .01,
|
|
84
|
+
label: "Dispersion",
|
|
85
|
+
group: "Lens"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
jitter: {
|
|
89
|
+
default: 0,
|
|
90
|
+
description: "Per-pixel noise on the tap spacing that hides banding at large blur radii",
|
|
91
|
+
ui: {
|
|
92
|
+
type: "range",
|
|
93
|
+
min: 0,
|
|
94
|
+
max: 1,
|
|
95
|
+
step: .01,
|
|
96
|
+
label: "Jitter",
|
|
97
|
+
group: "Lens"
|
|
98
|
+
}
|
|
74
99
|
}
|
|
75
100
|
},
|
|
76
101
|
...tiltShift({
|
|
@@ -78,7 +103,11 @@ const componentDefinition = defineStd({
|
|
|
78
103
|
width: p("width"),
|
|
79
104
|
falloff: p("falloff"),
|
|
80
105
|
angle: p("angle"),
|
|
81
|
-
center: p("center")
|
|
106
|
+
center: p("center"),
|
|
107
|
+
detail: {
|
|
108
|
+
dispersion: p("dispersion"),
|
|
109
|
+
jitter: p("jitter")
|
|
110
|
+
}
|
|
82
111
|
})
|
|
83
112
|
});
|
|
84
113
|
var TiltShift_default = componentDefinition;
|