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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, r as timeTrailKernel, t as TimeTrail_default } from "../../TimeTrail-
|
|
4
|
+
import { n as componentDefinition, r as timeTrailKernel, t as TimeTrail_default } from "../../TimeTrail-Do0hbdMs.js";
|
|
5
5
|
export { componentDefinition, TimeTrail_default as default, timeTrailKernel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Tint_default } from "../../Tint-
|
|
4
|
+
import { n as componentDefinition, t as Tint_default } from "../../Tint-CqpbM-1T.js";
|
|
5
5
|
export { componentDefinition, Tint_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Trapezoid_default } from "../../Trapezoid-
|
|
4
|
+
import { n as componentDefinition, t as Trapezoid_default } from "../../Trapezoid-BywMSCKO.js";
|
|
5
5
|
export { componentDefinition, Trapezoid_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as TriangularGrid_default } from "../../TriangularGrid-
|
|
4
|
+
import { n as componentDefinition, t as TriangularGrid_default } from "../../TriangularGrid-BB-qGVAE.js";
|
|
5
5
|
export { componentDefinition, TriangularGrid_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Tritone_default } from "../../Tritone-
|
|
4
|
+
import { n as componentDefinition, t as Tritone_default } from "../../Tritone-DLT7D5QR.js";
|
|
5
5
|
export { componentDefinition, Tritone_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Truchet_default } from "../../Truchet-
|
|
4
|
+
import { n as componentDefinition, t as Truchet_default } from "../../Truchet-CJRz81E8.js";
|
|
5
5
|
export { componentDefinition, Truchet_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Twirl_default } from "../../Twirl-
|
|
4
|
+
import { n as componentDefinition, t as Twirl_default } from "../../Twirl-DtcfYyaH.js";
|
|
5
5
|
export { componentDefinition, Twirl_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as VHS_default } from "../../VHS-
|
|
4
|
+
import { n as componentDefinition, t as VHS_default } from "../../VHS-CpYqcXq6.js";
|
|
5
5
|
export { componentDefinition, VHS_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as VenetianBlinds_default } from "../../VenetianBlinds-
|
|
4
|
+
import { n as componentDefinition, t as VenetianBlinds_default } from "../../VenetianBlinds-BHtiUoTI.js";
|
|
5
5
|
export { componentDefinition, VenetianBlinds_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Vesica_default } from "../../Vesica-
|
|
4
|
+
import { n as componentDefinition, t as Vesica_default } from "../../Vesica-CG8204gz.js";
|
|
5
5
|
export { componentDefinition, Vesica_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Vibrance_default } from "../../Vibrance-
|
|
4
|
+
import { n as componentDefinition, t as Vibrance_default } from "../../Vibrance-DtpQpHSp.js";
|
|
5
5
|
export { componentDefinition, Vibrance_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-
|
|
4
|
+
import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-DYm45n8L.js";
|
|
5
5
|
export { componentDefinition, VideoTexture_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Vignette_default } from "../../Vignette-
|
|
4
|
+
import { n as componentDefinition, t as Vignette_default } from "../../Vignette-DEIm5mc4.js";
|
|
5
5
|
export { componentDefinition, Vignette_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Voronoi_default } from "../../Voronoi-
|
|
4
|
+
import { n as componentDefinition, t as Voronoi_default } from "../../Voronoi-7nJncKbX.js";
|
|
5
5
|
export { componentDefinition, Voronoi_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Voxels_default } from "../../Voxels-
|
|
4
|
+
import { n as componentDefinition, t as Voxels_default } from "../../Voxels-k2uzj3MD.js";
|
|
5
5
|
export { componentDefinition, Voxels_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Water_default } from "../../Water-
|
|
4
|
+
import { n as componentDefinition, t as Water_default } from "../../Water-CEVn9O9R.js";
|
|
5
5
|
export { componentDefinition, Water_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Watercolor_default } from "../../Watercolor-
|
|
4
|
+
import { n as componentDefinition, t as Watercolor_default } from "../../Watercolor-Cm-kAcSI.js";
|
|
5
5
|
export { componentDefinition, Watercolor_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-
|
|
4
|
+
import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-DRzsmI4m.js";
|
|
5
5
|
export { componentDefinition, WaveDistortion_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Waveform_default } from "../../Waveform-
|
|
4
|
+
import { n as componentDefinition, t as Waveform_default } from "../../Waveform-C8-Mb-ck.js";
|
|
5
5
|
export { componentDefinition, Waveform_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import "../../noiseColor-
|
|
5
|
-
import { n as componentDefinition, t as WaveletNoise_default } from "../../WaveletNoise-
|
|
4
|
+
import "../../noiseColor-B6kUgUln.js";
|
|
5
|
+
import { n as componentDefinition, t as WaveletNoise_default } from "../../WaveletNoise-D-3fuI6R.js";
|
|
6
6
|
export { componentDefinition, WaveletNoise_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Weave_default } from "../../Weave-
|
|
4
|
+
import { n as componentDefinition, t as Weave_default } from "../../Weave-DqVqtYkP.js";
|
|
5
5
|
export { componentDefinition, Weave_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-
|
|
4
|
+
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-DPjuo0ZC.js";
|
|
5
5
|
export { componentDefinition, WebcamTexture_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as Wool_default } from "../../Wool-
|
|
4
|
+
import { n as componentDefinition, t as Wool_default } from "../../Wool-DgctZosq.js";
|
|
5
5
|
export { componentDefinition, Wool_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ma as worleyHash } from "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as WorleyNoise_default } from "../../WorleyNoise-
|
|
4
|
+
import { n as componentDefinition, t as WorleyNoise_default } from "../../WorleyNoise-DH4396Rb.js";
|
|
5
5
|
export { componentDefinition, WorleyNoise_default as default, worleyHash };
|
|
@@ -14,6 +14,48 @@ export interface ComponentProps {
|
|
|
14
14
|
* @default {"x":0.5,"y":0.5}
|
|
15
15
|
*/
|
|
16
16
|
center: Parameters<typeof transformPosition>[0];
|
|
17
|
+
/**
|
|
18
|
+
* Spectral color fringing along the streak, like light through a lens; negative flips which end is red
|
|
19
|
+
*
|
|
20
|
+
* @default 0
|
|
21
|
+
*/
|
|
22
|
+
dispersion: number;
|
|
23
|
+
/**
|
|
24
|
+
* Concentrates the dispersion away from the center; 0 fringes everywhere equally
|
|
25
|
+
*
|
|
26
|
+
* @default 0
|
|
27
|
+
*/
|
|
28
|
+
falloff: number;
|
|
29
|
+
/**
|
|
30
|
+
* Radius of a clean zone around the center that stays sharp
|
|
31
|
+
*
|
|
32
|
+
* @default 0
|
|
33
|
+
*/
|
|
34
|
+
focus: number;
|
|
35
|
+
/**
|
|
36
|
+
* Slides the streak window: 0 streaks inward from each pixel, 1 streaks evenly both ways, -1 pushes it further in
|
|
37
|
+
*
|
|
38
|
+
* @default 0
|
|
39
|
+
*/
|
|
40
|
+
bias: number;
|
|
41
|
+
/**
|
|
42
|
+
* Lets bright pixels streak further than dark ones, like light rays
|
|
43
|
+
*
|
|
44
|
+
* @default 0
|
|
45
|
+
*/
|
|
46
|
+
highlights: number;
|
|
47
|
+
/**
|
|
48
|
+
* Twists the radial streak into a vortex around the center
|
|
49
|
+
*
|
|
50
|
+
* @default 0
|
|
51
|
+
*/
|
|
52
|
+
spiral: number;
|
|
53
|
+
/**
|
|
54
|
+
* Per-pixel noise on the tap spacing that hides banding in long streaks
|
|
55
|
+
*
|
|
56
|
+
* @default 0
|
|
57
|
+
*/
|
|
58
|
+
jitter: number;
|
|
17
59
|
}
|
|
18
60
|
export declare const componentDefinition: import('../../std').ShaderDefinition<ComponentProps>;
|
|
19
61
|
export default componentDefinition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/ZoomBlur/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAA;AAErE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/ZoomBlur/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,iBAAiB,EAAC,MAAM,qCAAqC,CAAA;AAErE,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,mBAAmB,0DA+E9B,CAAA;AAEF,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../std-
|
|
1
|
+
import "../../std-DcYKWFSQ.js";
|
|
2
2
|
import "../../support-D3W86vgR.js";
|
|
3
3
|
import "../../transformations-P50Uo_Ju.js";
|
|
4
|
-
import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-
|
|
4
|
+
import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-yWwweO4r.js";
|
|
5
5
|
export { componentDefinition, ZoomBlur_default as default };
|
|
@@ -265,29 +265,60 @@ export declare const blurPath: {
|
|
|
265
265
|
*/
|
|
266
266
|
zoom: (center: PropRef) => BlurPathSpec;
|
|
267
267
|
};
|
|
268
|
+
/**
|
|
269
|
+
* The optional lens and streak dials of `motionBlur`. Each is a prop ref whose value 0 is off;
|
|
270
|
+
* give every one `recompile: crosses(0)` so the shader switches between the plain gather and
|
|
271
|
+
* the detail gather exactly when a dial leaves or returns to 0.
|
|
272
|
+
*/
|
|
273
|
+
export interface MotionBlurDetailSlots {
|
|
274
|
+
/** −1 to 1: tint the taps along the streak with a spectrum, red at one end and violet at the other; the sign swaps the ends. */
|
|
275
|
+
dispersion?: PropRef;
|
|
276
|
+
/** 0–1: concentrate the dispersion away from the centre; 0 spreads it evenly. */
|
|
277
|
+
falloff?: PropRef;
|
|
278
|
+
/** 0–1: a clean zone around the centre that the blur leaves untouched. */
|
|
279
|
+
focus?: PropRef;
|
|
280
|
+
/** −1 to 1: trail the streak off one side of each pixel instead of both. */
|
|
281
|
+
bias?: PropRef;
|
|
282
|
+
/** 0–1: let bright pixels streak further than dark ones. */
|
|
283
|
+
highlights?: PropRef;
|
|
284
|
+
/** 0–1: dither the tap comb with per-pixel noise so long streaks do not band. */
|
|
285
|
+
jitter?: PropRef;
|
|
286
|
+
/** −1 to 1, zoom paths only: corkscrew the streak around the centre. */
|
|
287
|
+
spiral?: PropRef;
|
|
288
|
+
}
|
|
268
289
|
/**
|
|
269
290
|
* Smears the child along a path: a straight streak, an arc around a point, or a zoom out of a point.
|
|
270
291
|
*
|
|
271
292
|
* `amount` is a 0–100 intensity. A linear streak spans about twice `amount` in pixels; at 100 an
|
|
272
293
|
* orbit sweeps about 29 degrees and a zoom pulls in from twice the distance to its center.
|
|
294
|
+
* `detail` adds the lens dials (`dispersion`, `falloff`, `focus`) and streak dials (`bias`,
|
|
295
|
+
* `highlights`, `jitter`, and `spiral` for a zoom); all are off at 0 and cost nothing until one
|
|
296
|
+
* is set.
|
|
273
297
|
*
|
|
274
298
|
* @example
|
|
275
299
|
* ```ts
|
|
276
300
|
* effect: motionBlur({path: blurPath.linear(p('angle')), amount: p('intensity')})
|
|
277
301
|
* ```
|
|
302
|
+
* @example
|
|
303
|
+
* ```ts
|
|
304
|
+
* effect: motionBlur({path: blurPath.zoom(p('center')), amount: p('intensity'), detail: {dispersion: p('dispersion'), falloff: p('falloff'), focus: p('focus'), bias: p('bias'), highlights: p('highlights'), jitter: p('jitter'), spiral: p('spiral')}})
|
|
305
|
+
* ```
|
|
278
306
|
* @tip Samples past the canvas edge repeat the border color. Wrap the layer in a larger group if the smear must fade out instead.
|
|
307
|
+
* @tip Give every `detail` prop `recompile: crosses(0)`; the detail gather is only compiled while one of them is non-zero.
|
|
279
308
|
* @see blurPath, gaussianBlur, scatter
|
|
280
309
|
*/
|
|
281
310
|
export declare function motionBlur(opts: {
|
|
282
311
|
path: BlurPathSpec;
|
|
283
312
|
amount: ArgSpec;
|
|
313
|
+
detail?: MotionBlurDetailSlots;
|
|
284
314
|
}): GatherEffect;
|
|
285
315
|
/**
|
|
286
316
|
* Scatters every pixel of the child by a random offset: a grainy diffusion, not a smooth blur.
|
|
287
317
|
*
|
|
288
318
|
* `amount` is the largest offset in pixels. `edges` is a prop with `transform: transformEdges`
|
|
289
319
|
* and `compileTime: true` ('stretch' | 'transparent' | 'mirror' | 'wrap') that says what to read
|
|
290
|
-
* where an offset lands outside the canvas.
|
|
320
|
+
* where an offset lands outside the canvas. `chromatic` (0–1, optional) scatters red and blue on
|
|
321
|
+
* their own, for a sparkly colour grain; it is off at 0, so give it `recompile: crosses(0)`.
|
|
291
322
|
*
|
|
292
323
|
* @example
|
|
293
324
|
* ```ts
|
|
@@ -298,6 +329,7 @@ export declare function motionBlur(opts: {
|
|
|
298
329
|
export declare function scatter(opts: {
|
|
299
330
|
amount: ArgSpec;
|
|
300
331
|
edges: PropRef;
|
|
332
|
+
chromatic?: PropRef;
|
|
301
333
|
}): GatherEffect;
|
|
302
334
|
/**
|
|
303
335
|
* Sharpens the child by boosting the contrast between each pixel and its neighbours.
|
|
@@ -497,13 +529,24 @@ export declare function channelBlur(opts: {
|
|
|
497
529
|
green: PropRef;
|
|
498
530
|
blue: PropRef;
|
|
499
531
|
}): ComputeBackedEffect;
|
|
532
|
+
/**
|
|
533
|
+
* The optional lens dials of `progressiveBlur` and `tiltShift`. `dispersion` (−1 to 1) blurs red
|
|
534
|
+
* and blue by different radii for a defocus colour fringe that grows with the blur; `jitter`
|
|
535
|
+
* (0–1) dithers the tap comb so long radii do not band. Both are off at 0 and read per frame;
|
|
536
|
+
* give `dispersion` `recompile: crosses(0)`, since its kernel is only built while it is non-zero.
|
|
537
|
+
*/
|
|
538
|
+
export interface VariableBlurDetailSlots {
|
|
539
|
+
dispersion?: PropRef;
|
|
540
|
+
jitter?: PropRef;
|
|
541
|
+
}
|
|
500
542
|
/**
|
|
501
543
|
* A blur that ramps from sharp to full strength in one direction across the child.
|
|
502
544
|
*
|
|
503
545
|
* The ramp starts at `center` (a position in uv) and runs along `angle` (degrees, 0 points
|
|
504
546
|
* right), reaching full blur `falloff` (0–1, in uv) past the center. `intensity` (0–100) is the
|
|
505
547
|
* blur at the far end; 100 is a radius of about 36 pixels. Bind `intensity` to a map to vary the
|
|
506
|
-
* ceiling per pixel. Alpha stays sharp.
|
|
548
|
+
* ceiling per pixel. Alpha stays sharp. `detail` adds the lens dials (see
|
|
549
|
+
* `VariableBlurDetailSlots`), both off at 0.
|
|
507
550
|
*
|
|
508
551
|
* @example
|
|
509
552
|
* ```ts
|
|
@@ -516,6 +559,7 @@ export declare function progressiveBlur(opts: {
|
|
|
516
559
|
angle: PropRef;
|
|
517
560
|
center: PropRef;
|
|
518
561
|
falloff: PropRef;
|
|
562
|
+
detail?: VariableBlurDetailSlots;
|
|
519
563
|
}): ComputeBackedEffect;
|
|
520
564
|
/**
|
|
521
565
|
* Keeps a band of the child in focus and blurs everything beyond it, like a tilt-shift lens.
|
|
@@ -523,6 +567,7 @@ export declare function progressiveBlur(opts: {
|
|
|
523
567
|
* The band runs through `center` (a position in uv) at `angle` (degrees, 0 is horizontal) and
|
|
524
568
|
* is `width` wide (0–1, in uv). Beyond it the blur ramps to full strength over `falloff` (0–1).
|
|
525
569
|
* `intensity` (0–100) is the blur at the far edges. Pixels inside the band stay pixel-sharp.
|
|
570
|
+
* `detail` adds the lens dials (see `VariableBlurDetailSlots`), both off at 0.
|
|
526
571
|
*
|
|
527
572
|
* @example
|
|
528
573
|
* ```ts
|
|
@@ -536,6 +581,7 @@ export declare function tiltShift(opts: {
|
|
|
536
581
|
falloff: PropRef;
|
|
537
582
|
angle: PropRef;
|
|
538
583
|
center: PropRef;
|
|
584
|
+
detail?: VariableBlurDetailSlots;
|
|
539
585
|
}): ComputeBackedEffect;
|
|
540
586
|
/**
|
|
541
587
|
* A glow: the child's bright parts spread into a soft halo that adds back on top.
|
|
@@ -938,10 +984,11 @@ export declare function frameSway(slots: {
|
|
|
938
984
|
* strongly highlights bloom and `threshold` (0–1) the brightness they must pass. `shape` is a
|
|
939
985
|
* string prop: 'blades' | 'circle' | 'star' | 'heart' | 'flower' | 'cross' | 'ring'. `blades`
|
|
940
986
|
* (0–9) counts blades or points for the blades, star and flower shapes; 0–2 is a round iris.
|
|
941
|
-
* `rotation` is in degrees and `fringe` (0–1) adds color fringing at the disc edges.
|
|
942
|
-
*
|
|
943
|
-
*
|
|
944
|
-
*
|
|
987
|
+
* `rotation` is in degrees and `fringe` (0–1) adds color fringing at the disc edges. `catEye`
|
|
988
|
+
* (0–1, optional) clips the discs into cat-eye shapes toward the frame corners, the way a lens
|
|
989
|
+
* barrel vignettes its aperture; 0 is off. Both color and coverage blur, so silhouettes soften
|
|
990
|
+
* like a real lens. Changing the aperture never recompiles. Spread it into a definition with
|
|
991
|
+
* `species: 'custom'`, `requiresRTT: true` and `requiresChild: true`.
|
|
945
992
|
*
|
|
946
993
|
* @example
|
|
947
994
|
* ```ts
|
|
@@ -957,6 +1004,7 @@ export declare function bokehDefocus(opts: {
|
|
|
957
1004
|
blades: PropRef;
|
|
958
1005
|
rotation: PropRef;
|
|
959
1006
|
fringe: PropRef;
|
|
1007
|
+
catEye?: PropRef;
|
|
960
1008
|
}): {
|
|
961
1009
|
compute: GpuComputeNode;
|
|
962
1010
|
gpu: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blurs.d.ts","sourceRoot":"","sources":["../../../src/std/effects/blurs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AASH,OAAO,KAAK,EAAC,IAAI,EAAE,cAAc,EAAE,iBAAiB,EAAa,MAAM,oBAAoB,CAAA;AAI3F,OAAO,EAAkB,UAAU,IAAI,aAAa,EAAC,MAAM,qBAAqB,CAAA;AAChF,OAAO,EAAyC,CAAC,EAAiB,MAAM,qBAAqB,CAAA;AAC7F,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAA;AAClE,OAAO,EAAwB,KAAK,OAAO,EAAC,MAAM,WAAW,CAAA;AAC7D,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AAStC;;;;;;GAMG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAA;AAE3D;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,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
|
|
|
1
|
-
import {
|
|
1
|
+
import { Al as paintFrame, Ao as gradients_exports, Bc as wgslTypeForProp, Bs as radialMask, Cs as allOf, Dr as layered, Ds as isZero, Es as isValue, Fc as defineStd, Fl as uniformOf, Fo as fields_exports, Fs as op, Gd as ZERO, Gs as paintThrough, Hl as lerpToIdentity, I as effects_exports, Ia as light_exports, Ic as WgslBody, Il as Scalar, Is as simulate, Kd as asLocal, Kf as data_exports, Ks as pointwise, Lc as isWgslBody, Ll as p, Ln as motion_exports, Ml as resolveArg, Ms as pointerSpeed, Nl as resolveArgIn, Nr as volume_exports, Ns as signal_exports, Or as layers, Os as recompileWhen, Pc as defineShader, Pl as resolveScalar, Ps as GridSim, Qi as noise_exports, Rc as scanIdentifiers, Ts as identityWhenever, Ul as selectMap, Us as displaceBy, Vc as animatedTime, Wd as WHITE0, Ws as gather, Xd as expr, a as unregisterShader, ai as materials_exports, au as listPropConfig, c as reliefStylizeProps, do as patterns_exports, du as colorStopsPropConfig, fc as math_exports, hr as radiance_exports, i as registerShader, jl as pointwiseOp, js as pointer, kl as ctx, l as sim_exports, n as getRegisteredShaders, nr as warps_exports, o as accumulate, pr as voxels_exports, qd as call, qs as tintToward, r as onShaderRegistered, s as listOf, sr as frames_exports, t as getRegisteredShader, vr as media_exports, vs as shape_exports, wr as compose_exports, ws as crosses, xr as figures_exports, zc as wgsl, zs as mask_exports } from "../std-DcYKWFSQ.js";
|
|
2
2
|
import "../support-D3W86vgR.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition, i as transformBoolean, o as transformColorSpace, r as transformAngle, s as transformEdges, t as colorSpaceOptions } from "../transformations-P50Uo_Ju.js";
|
|
4
4
|
export { GridSim, Scalar, WHITE0, WgslBody, ZERO, accumulate, allOf, animatedTime, asLocal, call, colorSpaceOptions, colorStopsPropConfig, compose_exports as compose, crosses, ctx, defineShader, defineStd, displaceBy, effects_exports as effects, expr, figures_exports as figures, frames_exports as frames, gather, getRegisteredShader, getRegisteredShaders, gradients_exports as gradients, identityWhenever, isValue, isWgslBody, isZero, layered, layers, lerpToIdentity, light_exports as light, listOf, listPropConfig, mask_exports as mask, materials_exports as materials, math_exports as math, media_exports as media, motion_exports as motion, noise_exports as noise, onShaderRegistered, op, p, fields_exports as paint, paintFrame, paintThrough, patterns_exports as patterns, pointer, pointerSpeed, pointwise, pointwiseOp, radialMask, radiance_exports as radiance, recompileWhen, registerShader, reliefStylizeProps, resolveArg, resolveArgIn, resolveScalar, scanIdentifiers, data_exports as schema, selectMap, shape_exports as shape, signal_exports as signal, sim_exports as sim, simulate, tintToward, transformAngle, transformBoolean, transformColor, transformColorSpace, transformEdges, transformPosition, uniformOf, unregisterShader, volume_exports as volume, voxels_exports as voxels, warps_exports as warps, wgsl, wgslTypeForProp };
|
|
@@ -219,7 +219,7 @@ export declare function fieldSlope(field: SurfaceField, eps?: number): Expr;
|
|
|
219
219
|
* ```
|
|
220
220
|
* @see grazingOf, reflect, studioSoftboxes
|
|
221
221
|
*/
|
|
222
|
-
export declare function viewRay(params: GpuFragmentParams, field: SurfaceField, fov?: number): Expr;
|
|
222
|
+
export declare function viewRay(params: GpuFragmentParams, field: Pick<SurfaceField, 'aspect'>, fov?: number): Expr;
|
|
223
223
|
/**
|
|
224
224
|
* How edge-on the surface is to the viewer: 0 face-on, 1 grazing.
|
|
225
225
|
*
|
|
@@ -337,7 +337,7 @@ export declare function lightVec3(dir: Expr, z: number, hint?: string): Expr;
|
|
|
337
337
|
* ```
|
|
338
338
|
* @see anisoSpecular
|
|
339
339
|
*/
|
|
340
|
-
export declare function wardAlphas(roughness: Expr, anisotropy: Expr): {
|
|
340
|
+
export declare function wardAlphas(roughness: Expr | number, anisotropy: Expr | number): {
|
|
341
341
|
along: Expr;
|
|
342
342
|
across: Expr;
|
|
343
343
|
};
|
|
@@ -645,6 +645,28 @@ export declare function fdSlope(sampleAt: (p: Expr) => Expr, p: Expr, eps: numbe
|
|
|
645
645
|
dx: Expr;
|
|
646
646
|
dy: Expr;
|
|
647
647
|
};
|
|
648
|
+
/**
|
|
649
|
+
* The value, slope and curvature of any field at a point: `value`, `dx`, `dy` and `curvature`.
|
|
650
|
+
*
|
|
651
|
+
* `fdSlope` with two more taps. The slopes are centred, so they sit on the point rather than
|
|
652
|
+
* half a step past it, and `curvature` is the field's Laplacian: negative on a crest, positive
|
|
653
|
+
* in a crease, zero on a flat or a plane. Scale it by a gain for a cavity shade that darkens
|
|
654
|
+
* creases and lifts crests. `eps` is the tap distance in the point's units.
|
|
655
|
+
*
|
|
656
|
+
* @example
|
|
657
|
+
* ```ts
|
|
658
|
+
* const relief = fdCurvature(cloth, q, 0.004)
|
|
659
|
+
* const cavity = clamp(sub(1, mul(relief.curvature, 0.005)), 0.6, 1.1)
|
|
660
|
+
* ```
|
|
661
|
+
* @tip Five taps of the field per pixel. Keep the field cheap.
|
|
662
|
+
* @see fdSlope, nudgeNormal
|
|
663
|
+
*/
|
|
664
|
+
export declare function fdCurvature(sampleAt: (p: Expr) => Expr, p: Expr, eps: number, hint?: string): {
|
|
665
|
+
value: Expr;
|
|
666
|
+
dx: Expr;
|
|
667
|
+
dy: Expr;
|
|
668
|
+
curvature: Expr;
|
|
669
|
+
};
|
|
648
670
|
/**
|
|
649
671
|
* Random 0–1 per point, with no smoothness between neighbours.
|
|
650
672
|
*
|
|
@@ -933,4 +955,28 @@ export declare function dualLobeGlint(ndh: Expr, opts: {
|
|
|
933
955
|
softness?: Expr;
|
|
934
956
|
gain: Expr;
|
|
935
957
|
}): Expr;
|
|
958
|
+
/**
|
|
959
|
+
* The soft glow of light scattered off fibres where a surface turns edge-on to the viewer:
|
|
960
|
+
* the velvet sheen on the flanks of satin, velour and wool.
|
|
961
|
+
*
|
|
962
|
+
* `normal` and `light` are unit 3D vectors and `view` the view ray (`viewRay`, or a constant
|
|
963
|
+
* `vec3(0, 0, 1)`). It is zero on a face-on surface and rises along each fold's flank, so it
|
|
964
|
+
* never washes a flat sheet. `roughness` (0–1) widens it: low is a thin bright rim, high a
|
|
965
|
+
* broad soft bloom. The lobe peaks at 1 and is held back by a wrapped lambert so unlit flanks
|
|
966
|
+
* stay dark; pass `gain` or scale the result yourself. Pair it with `anisoSpecular` for a
|
|
967
|
+
* satin finish: the streak is the shine, the sheen is the body.
|
|
968
|
+
*
|
|
969
|
+
* @example
|
|
970
|
+
* ```ts
|
|
971
|
+
* const velvet = sheenLobe({normal: n, light: L, view, roughness: 0.5, gain: u.sheen})
|
|
972
|
+
* ```
|
|
973
|
+
* @see anisoSpecular, lambert, grazingOf
|
|
974
|
+
*/
|
|
975
|
+
export declare function sheenLobe(opts: {
|
|
976
|
+
normal: Expr;
|
|
977
|
+
light: Expr;
|
|
978
|
+
view: Expr;
|
|
979
|
+
roughness: Expr | number;
|
|
980
|
+
gain?: Expr | number;
|
|
981
|
+
}): Expr;
|
|
936
982
|
//# sourceMappingURL=materials.d.ts.map
|