shaders 4.0.2 → 4.0.3
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-BEBs-lRR.js → AngularBlur-CadOY7zB.js} +1 -1
- package/dist/core/{Arc-D-WnjM7T.js → Arc-B5grj-p3.js} +1 -1
- package/dist/core/{Ascii-BGPIwMc3.js → Ascii-Chul_q9B.js} +1 -1
- package/dist/core/{Aurora-DqJBPdMQ.js → Aurora-COjCTZzM.js} +1 -1
- package/dist/core/{BarShift-BcCOweUh.js → BarShift-CmMkOiz1.js} +1 -1
- package/dist/core/{BarnDoors-B9B-AmCV.js → BarnDoors-B_Tfvd5_.js} +1 -1
- package/dist/core/{Beam-QG_9OS8I.js → Beam-DqUZIoO-.js} +1 -1
- package/dist/core/{Bend-Cy9VAowL.js → Bend-CzoMkg0C.js} +1 -1
- package/dist/core/{Blob-C3txJeW0.js → Blob-D-FcfCk_.js} +1 -1
- package/dist/core/{BlockDissolve-C1SFUys7.js → BlockDissolve-Cfg38mph.js} +1 -1
- package/dist/core/{BlockNoise-Cm3y8hce.js → BlockNoise-AOm3USwt.js} +2 -2
- package/dist/core/{BlueNoise-BCLObOMm.js → BlueNoise-B1goUO9x.js} +2 -2
- package/dist/core/{Blur-Dg29SnXd.js → Blur-orV6Zo0Q.js} +1 -1
- package/dist/core/{Boids-rsGsPN5h.js → Boids-CaGoO9l6.js} +1 -1
- package/dist/core/{BokehBlur-rFSFEnb0.js → BokehBlur-Bak9qlJC.js} +1 -1
- package/dist/core/{BrickPattern-DqN6JKEN.js → BrickPattern-57nSncIU.js} +1 -1
- package/dist/core/{BrightnessContrast-J9fCSBiC.js → BrightnessContrast-CT-FMH50.js} +1 -1
- package/dist/core/{BrushedMetal-74wSZKjG.js → BrushedMetal-CsOf111o.js} +1 -1
- package/dist/core/{Bulge-BIk0oq8j.js → Bulge-BENQmcJz.js} +1 -1
- package/dist/core/{CRTScreen-hEH-JNRd.js → CRTScreen-DRg0NNys.js} +1 -1
- package/dist/core/{CarbonFiber-CZdUDvRU.js → CarbonFiber-CP8sfZpO.js} +1 -1
- package/dist/core/{Chalkboard-CClJHqvs.js → Chalkboard-DIKb88fc.js} +1 -1
- package/dist/core/{ChannelBlur-BEuEwQOC.js → ChannelBlur-hR8wijV7.js} +1 -1
- package/dist/core/{CheckerWipe-KuAWj2qg.js → CheckerWipe-BiWuSCaB.js} +1 -1
- package/dist/core/{Checkerboard-Rq9ze1W3.js → Checkerboard-CI7mErmL.js} +1 -1
- package/dist/core/{Chevron-C1j6X2Ye.js → Chevron-B8Vhf4mu.js} +1 -1
- package/dist/core/{ChromaFlow-BgsCUYIl.js → ChromaFlow-BA40CkCT.js} +1 -1
- package/dist/core/{ChromaticAberration-2_4tjQ0u.js → ChromaticAberration-Co8JMSWY.js} +1 -1
- package/dist/core/{Chrome-Be3z6C5i.js → Chrome-1t9oTBIF.js} +1 -1
- package/dist/core/{Circle-e_qQI3tU.js → Circle-BQq87Fzk.js} +1 -1
- package/dist/core/{ColorWheel-s5ep1H7d.js → ColorWheel-X5JCwd6p.js} +1 -1
- package/dist/core/{CompressionArtifacts-OE9U9Qrq.js → CompressionArtifacts-CfZMsMVi.js} +1 -1
- package/dist/core/{ConcentricSpin-CLE_5yCJ.js → ConcentricSpin-D8srFQgv.js} +1 -1
- package/dist/core/{ConicGradient-Cji2SgVO.js → ConicGradient-zgpOve2I.js} +1 -1
- package/dist/core/{ContourLines-wpPK00cF.js → ContourLines-CIPNR5U6.js} +1 -1
- package/dist/core/{CornerPin-gYU0Uf2m.js → CornerPin-DDatnonj.js} +1 -1
- package/dist/core/{Crescent-viNc7Unp.js → Crescent-2VNndYEF.js} +1 -1
- package/dist/core/{Cross-DyQSsw_k.js → Cross--RtTa2r5.js} +1 -1
- package/dist/core/{Crystal-Vjj8azWg.js → Crystal-RuFWVxDw.js} +1 -1
- package/dist/core/{CurlNoise-C7PHjDht.js → CurlNoise-Dz7E3WIq.js} +2 -2
- package/dist/core/{CursorRipples-BzPPNkA3.js → CursorRipples-DWwT4wnN.js} +1 -1
- package/dist/core/{CursorTrail-cBj0AuQA.js → CursorTrail-DtEejGeY.js} +1 -1
- package/dist/core/{DataMosh-5Yr9TyVx.js → DataMosh-DHklBXQy.js} +1 -1
- package/dist/core/{DiamondGradient-DZM7HwF5.js → DiamondGradient-j3Af00XM.js} +1 -1
- package/dist/core/{DiamondWipe-CqeT7lCt.js → DiamondWipe-BwzZIEYX.js} +1 -1
- package/dist/core/{DiffuseBlur-Y5hSDTZF.js → DiffuseBlur-CztumKI8.js} +1 -1
- package/dist/core/{DisplacementMap-FobRx5Ie.js → DisplacementMap-_R0XWmDv.js} +1 -1
- package/dist/core/{Dither-50rqHpt9.js → Dither-BMtSn0ET.js} +1 -1
- package/dist/core/{DotGrid-B6AGLUbR.js → DotGrid-5pz59elN.js} +1 -1
- package/dist/core/{DropShadow-CEPpgatB.js → DropShadow-Afbu-AM5.js} +1 -1
- package/dist/core/{Duotone-D76Kp7Pb.js → Duotone-CPNAyquB.js} +1 -1
- package/dist/core/{Ellipse-BGod1LeG.js → Ellipse-CIdAfmRX.js} +1 -1
- package/dist/core/{Emboss-DMNFb_ww.js → Emboss-B0ZaXWSG.js} +1 -1
- package/dist/core/{Engraving-Dj7bCATQ.js → Engraving-C6DmtOdA.js} +1 -1
- package/dist/core/{ErosionNoise-4O68wJQZ.js → ErosionNoise-3QrqYZy6.js} +2 -2
- package/dist/core/{Exposure-h-vapOpj.js → Exposure-CQ6luJ-4.js} +1 -1
- package/dist/core/{FallingLines-Dzop_89k.js → FallingLines-y-XE0joI.js} +1 -1
- package/dist/core/{FilmGrain-Bs8PCfdf.js → FilmGrain-Bxz_2Za0.js} +1 -1
- package/dist/core/{FilmStock-DBjVo6rL.js → FilmStock-BsPw-b6W.js} +1 -1
- package/dist/core/{Flip-CfrS4KfZ.js → Flip-CML4rm2V.js} +1 -1
- package/dist/core/{FloatingParticles-D1R2tD2J.js → FloatingParticles-CDQaOt3i.js} +1 -1
- package/dist/core/{FlowField-Slirm5AI.js → FlowField-CEhUrnv4.js} +1 -1
- package/dist/core/{Flower-Ddlut7QZ.js → Flower-Bp75dXJa.js} +1 -1
- package/dist/core/{FlowingGradient-CwIgTtbj.js → FlowingGradient-CGBB_tvE.js} +1 -1
- package/dist/core/{FlutedGlass-CMMy2GJ5.js → FlutedGlass-CkwFDUxi.js} +1 -1
- package/dist/core/{Fog-DjjUkcTZ.js → Fog-Dhy6FKme.js} +1 -1
- package/dist/core/{Form3D-DQDOHWpC.js → Form3D-CFaxdFCN.js} +1 -1
- package/dist/core/{FractalNoise-BjI3IOIj.js → FractalNoise-DMLBHVU1.js} +1 -1
- package/dist/core/{Frost-CK12HnL1.js → Frost-CvCAXumf.js} +1 -1
- package/dist/core/{GaborNoise-DKEIvvRJ.js → GaborNoise-pBwEWsvq.js} +2 -2
- package/dist/core/{Glass-CzcOVD5Y.js → Glass--gVUc74k.js} +1 -1
- package/dist/core/{GlassTiles-gjhc563g.js → GlassTiles-C7iGBDOu.js} +1 -1
- package/dist/core/{Glitch-C_XAWltC.js → Glitch-DdIqzf1U.js} +1 -1
- package/dist/core/{Glow-CrYCanBI.js → Glow-Be0YEdsy.js} +1 -1
- package/dist/core/{Godrays-BBTMOVLP.js → Godrays-BkR81S_6.js} +1 -1
- package/dist/core/{Goo-Brhjk8aS.js → Goo-BuQBpLC1.js} +1 -1
- package/dist/core/{GradientMap-C5325QWw.js → GradientMap-BhzXbIUo.js} +1 -1
- package/dist/core/{Grayscale-dPjs-wvf.js → Grayscale-CgPfjxpC.js} +1 -1
- package/dist/core/{Grid-UjEd3O76.js → Grid-Bf4drnEK.js} +1 -1
- package/dist/core/{GridDistortion-vVgYya1U.js → GridDistortion-OKWF9BkP.js} +1 -1
- package/dist/core/{Group-KVdmAi5g.js → Group-CmvLWhtc.js} +1 -1
- package/dist/core/{HTMLInCanvas-CKr2u76R.js → HTMLInCanvas-t9ohcHFo.js} +1 -1
- package/dist/core/{Halftone-pRV3TRUW.js → Halftone-CL2X2QB3.js} +1 -1
- package/dist/core/{Heart-CX7MvvHZ.js → Heart-B0VJdilk.js} +1 -1
- package/dist/core/{Heatmap-Dn6qyd2e.js → Heatmap-CmoQKw_9.js} +1 -1
- package/dist/core/{HexGrid-BIfYhkfV.js → HexGrid-qzOUXxGp.js} +1 -1
- package/dist/core/{Hologram-ou27baPQ.js → Hologram-DoxZwBsb.js} +1 -1
- package/dist/core/{Holographic-CiHdBSMg.js → Holographic-DOx95C7o.js} +1 -1
- package/dist/core/{HueShift-CG7pcXfg.js → HueShift-DJsP1low.js} +1 -1
- package/dist/core/{ImageTexture-BiZuU58C.js → ImageTexture-GyknRQS4.js} +1 -1
- package/dist/core/{InkFlow-D9_L7opB.js → InkFlow-zlXRbwHy.js} +1 -1
- package/dist/core/{Invert-CHEaiQZO.js → Invert-3ZoLoQJH.js} +1 -1
- package/dist/core/{IrisWipe-x22vOQHm.js → IrisWipe-BuX7mBHl.js} +1 -1
- package/dist/core/{Irradiance-7yq2K87_.js → Irradiance-DAx-vIdy.js} +1 -1
- package/dist/core/{IsometricCubes-CkPGWr7M.js → IsometricCubes-7sbQ2VJA.js} +1 -1
- package/dist/core/{Kaleidoscope-CEC5m1Ww.js → Kaleidoscope-CsLdv8Az.js} +1 -1
- package/dist/core/{KeyFrames-BMGEZsAZ.js → KeyFrames-BzO618Dz.js} +1 -1
- package/dist/core/{LensDistortion-DKo8PiO5.js → LensDistortion-BLR3_sbS.js} +1 -1
- package/dist/core/{LensFlare-DMS-NUtK.js → LensFlare-DTM_QH_n.js} +1 -1
- package/dist/core/{LightEdge-DxmnCRls.js → LightEdge-D9XK4MVu.js} +1 -1
- package/dist/core/{LightLeak-yoEsZtYg.js → LightLeak-Cle2_fM9.js} +1 -1
- package/dist/core/{Line-D17XDUjO.js → Line-DHya7Oc3.js} +1 -1
- package/dist/core/{LinearBlur-CiyjPTUH.js → LinearBlur-DgJP8TuW.js} +1 -1
- package/dist/core/{LinearGradient-DfjKG70q.js → LinearGradient-DQmjBptA.js} +1 -1
- package/dist/core/{LinearWipe-D9CtBg6S.js → LinearWipe-CQlYqf9e.js} +1 -1
- package/dist/core/{LiquidMetal-8EG6DwV6.js → LiquidMetal-BYDcC5TU.js} +1 -1
- package/dist/core/{Liquify-BySXF1OB.js → Liquify-zEXo6xUV.js} +1 -1
- package/dist/core/{MagneticFilings-DNESH3Zs.js → MagneticFilings-D7kyi6PI.js} +1 -1
- package/dist/core/{Marble-C9WvdxrP.js → Marble-DMBDSQC1.js} +1 -1
- package/dist/core/{MeshGradient-d9--RXOU.js → MeshGradient-ByUJxHX0.js} +1 -1
- package/dist/core/{Mirror-1V2FF2kD.js → Mirror-Bjfbugbi.js} +1 -1
- package/dist/core/{MultiPointGradient-cRA9ytgL.js → MultiPointGradient-BJMQ5JbT.js} +1 -1
- package/dist/core/{Nebula-BRV-q74y.js → Nebula-c7wMpb9v.js} +1 -1
- package/dist/core/{Neon-4PemK9Rj.js → Neon-xm7nkRIp.js} +1 -1
- package/dist/core/{NoiseDissolve-B7LgD46G.js → NoiseDissolve-DTSS-5J7.js} +1 -1
- package/dist/core/{ObjectTracker-CdzDxhpy.js → ObjectTracker-CeiMs5_g.js} +1 -1
- package/dist/core/{Obsidian-2J1eX9kT.js → Obsidian-CEzCs0lZ.js} +1 -1
- package/dist/core/{PagePeel-D-ziraOm.js → PagePeel-D8-jVFVt.js} +1 -1
- package/dist/core/{Paper-BxzCLyzB.js → Paper-o3JcSJga.js} +1 -1
- package/dist/core/{Parallelogram-D4OflTwn.js → Parallelogram-DZdZTiv_.js} +1 -1
- package/dist/core/{ParticleField-tWNicEDO.js → ParticleField-mb50mtLl.js} +1 -1
- package/dist/core/{ParticleFlow-BiEYFyWR.js → ParticleFlow-NxmRBFxq.js} +1 -1
- package/dist/core/{Particles-B7W4yWgo.js → Particles-ynCeKlnk.js} +1 -1
- package/dist/core/{PerlinNoise-C-irUxp9.js → PerlinNoise-B43AbgNy.js} +2 -2
- package/dist/core/{Perspective-DlnAW-pe.js → Perspective-Bdr4mrFK.js} +1 -1
- package/dist/core/{PixelSort-BBOTYuOE.js → PixelSort-y1sMZn8T.js} +1 -1
- package/dist/core/{PixelThrow-DCJb9Lxd.js → PixelThrow-MoKF4eJQ.js} +1 -1
- package/dist/core/{Pixelate-CZdwB--K.js → Pixelate-Dt3Dvyye.js} +1 -1
- package/dist/core/{Plasma-CTOQJeqy.js → Plasma-BHPsAkrx.js} +1 -1
- package/dist/core/{Plastic-DvyH9x-4.js → Plastic-8Al38_Uo.js} +1 -1
- package/dist/core/{PolarCoordinates-XhdDAOD0.js → PolarCoordinates-BuiRt8Ae.js} +1 -1
- package/dist/core/{Polygon-CLohB-Ly.js → Polygon-CElChfL_.js} +1 -1
- package/dist/core/{Posterize-BAQfnvmK.js → Posterize-CkX1ySem.js} +1 -1
- package/dist/core/{Prism-DJVCVAXX.js → Prism-B_8r_ACa.js} +1 -1
- package/dist/core/{ProgressiveBlur-Dirva1on.js → ProgressiveBlur-BY9XCK4l.js} +1 -1
- package/dist/core/{RadialGradient-DuSKR8Ds.js → RadialGradient-D4ELylxQ.js} +1 -1
- package/dist/core/{RadialWipe-n8tON7x2.js → RadialWipe-DNvkJb42.js} +1 -1
- package/dist/core/{RandomBars-BYouiIgQ.js → RandomBars-5D9oIVCD.js} +1 -1
- package/dist/core/{ReactionDiffusion-CHDd3y2q.js → ReactionDiffusion-BGmksqeC.js} +1 -1
- package/dist/core/{RectangularCoordinates-CYFfCawa.js → RectangularCoordinates-0l5t-2No.js} +1 -1
- package/dist/core/{ReflectivePlane-DFTl5U9q.js → ReflectivePlane-BqefdbHK.js} +1 -1
- package/dist/core/{Repeater-CnbzXuAe.js → Repeater-CJj0PHTv.js} +1 -1
- package/dist/core/{Ring-CGkHVSVd.js → Ring-Czf6zylA.js} +1 -1
- package/dist/core/{RippleWipe-DLjPzY6u.js → RippleWipe-gk_KAy9N.js} +1 -1
- package/dist/core/{Ripples-C2tITU62.js → Ripples-DSmJplDh.js} +1 -1
- package/dist/core/{RoundedRect-sfNTUaCY.js → RoundedRect-DCFq3bhP.js} +1 -1
- package/dist/core/Satin-BEbTbcTD.js +372 -0
- package/dist/core/{Saturation-BRkifYWj.js → Saturation-D0hjM6vJ.js} +1 -1
- package/dist/core/{Scratches-D87O5C2K.js → Scratches-CBbSvaL9.js} +2 -2
- package/dist/core/{Sharpness-BGv613Zw.js → Sharpness-CxNkUCd4.js} +1 -1
- package/dist/core/{Shatter-DuyCFU1f.js → Shatter-OGsXkOO8.js} +1 -1
- package/dist/core/{SimplexNoise-CQJvmqd-.js → SimplexNoise-EZ9qyUZl.js} +2 -2
- package/dist/core/{SineWave-BfOgSGMP.js → SineWave-jv-D2nek.js} +1 -1
- package/dist/core/{SliceWipe-CD_D99sl.js → SliceWipe-CyQ8KwJe.js} +1 -1
- package/dist/core/{Smoke-BDQYKRP1.js → Smoke-D5t3guA6.js} +1 -1
- package/dist/core/{SmokeFill-CPnzQtQv.js → SmokeFill-DDqH7q9k.js} +1 -1
- package/dist/core/{SmokeFlow-BkPMjZq8.js → SmokeFlow-dqFWC3nR.js} +1 -1
- package/dist/core/{Solarize-DSiS32QS.js → Solarize-DQKm8tad.js} +1 -1
- package/dist/core/{SolidColor-DEKpgy1c.js → SolidColor-AuMQ8wsV.js} +1 -1
- package/dist/core/{Sparkle-BZur6gPW.js → Sparkle-DB3i_Vm0.js} +1 -1
- package/dist/core/{Spherize-D9Yg4n6O.js → Spherize-BvO_quYf.js} +1 -1
- package/dist/core/{Spiral-BCacfEpT.js → Spiral-A7K8dyqa.js} +1 -1
- package/dist/core/{Star-Dnw1ihk7.js → Star-Bhjof1Aq.js} +1 -1
- package/dist/core/{Stone-Cje-_vAg.js → Stone-BqVeG7vJ.js} +1 -1
- package/dist/core/{Strands-CFRxS1G_.js → Strands-B_yNFviv.js} +1 -1
- package/dist/core/{Stretch-DXVhfIqO.js → Stretch-CoJ0ZxXU.js} +1 -1
- package/dist/core/{Stripes-CCADWwyq.js → Stripes-DnVSZwzX.js} +1 -1
- package/dist/core/{StudioBackground-BlzYNAsu.js → StudioBackground-WLPZVlBE.js} +1 -1
- package/dist/core/{SunBurst-CmWbI18r.js → SunBurst-V0H9L8IC.js} +1 -1
- package/dist/core/{Surface3D-Dmh98-0V.js → Surface3D-CYrJo3xx.js} +1 -1
- package/dist/core/{Swirl-CzI1qSVc.js → Swirl-C5du-FPv.js} +1 -1
- package/dist/core/{Teardrop-D24uulL0.js → Teardrop-BmMSpSnv.js} +1 -1
- package/dist/core/{Text-CrZKvBw6.js → Text-BI5tmkPX.js} +1 -1
- package/dist/core/{ThinFilm-D7R2dt1O.js → ThinFilm-Ce-bUUyq.js} +1 -1
- package/dist/core/{TiltShift-AMMDZBvf.js → TiltShift-DnjqzNPb.js} +1 -1
- package/dist/core/{TimeTrail-BCYDP2ep.js → TimeTrail-CZBKfdhv.js} +1 -1
- package/dist/core/{Tint-DHb5wBN5.js → Tint-CiaVTPnf.js} +1 -1
- package/dist/core/{Trapezoid-CL5Fxvq7.js → Trapezoid-C5uh_TK4.js} +1 -1
- package/dist/core/{TriangularGrid-Bp-SJS-H.js → TriangularGrid-B1E1yy5Y.js} +1 -1
- package/dist/core/{Tritone-C0nx7OdC.js → Tritone-VDEMnDwQ.js} +1 -1
- package/dist/core/{Truchet-DCetyDaq.js → Truchet-Bl6ASWtj.js} +1 -1
- package/dist/core/{Twirl-D_mv9KEi.js → Twirl-BzLRq2-1.js} +1 -1
- package/dist/core/{VHS-Cp9aDjti.js → VHS-BjOXkojN.js} +1 -1
- package/dist/core/{VenetianBlinds-DUyvaT5w.js → VenetianBlinds-D6S_TOHF.js} +1 -1
- package/dist/core/{Vesica-BpzrTPTA.js → Vesica-Br6UVZt3.js} +1 -1
- package/dist/core/{Vibrance-DW3J-pvW.js → Vibrance-D5x8kNPO.js} +1 -1
- package/dist/core/{VideoTexture-zoKsSrex.js → VideoTexture-CJIi00YZ.js} +1 -1
- package/dist/core/{Vignette-KKbP3qdZ.js → Vignette-BgPDqyZY.js} +1 -1
- package/dist/core/{Voronoi-Bp2-U6lm.js → Voronoi-C_0qmF5M.js} +1 -1
- package/dist/core/{Voxels-B3e3LHH5.js → Voxels-Cr2nX-J2.js} +1 -1
- package/dist/core/{Water-CoYwvqKx.js → Water-C1hpWaDG.js} +1 -1
- package/dist/core/{Watercolor-DUNjSIN1.js → Watercolor-DcHvJiR0.js} +1 -1
- package/dist/core/{WaveDistortion-Dp8ws0z1.js → WaveDistortion-Dh79dGBr.js} +1 -1
- package/dist/core/{Waveform-DDBLB6zu.js → Waveform-WaNoseGL.js} +1 -1
- package/dist/core/{WaveletNoise-CpBkzfRT.js → WaveletNoise-B7BbHyRe.js} +2 -2
- package/dist/core/{Weave-cWkvSEAy.js → Weave-ltmDeQ91.js} +1 -1
- package/dist/core/{WebcamTexture-D484SXSE.js → WebcamTexture-CxehSVcP.js} +1 -1
- package/dist/core/{Wool-C9L7O9fD.js → Wool-BGpl5MnC.js} +1 -1
- package/dist/core/{WorleyNoise-B5j5lDQZ.js → WorleyNoise-COzM7yGf.js} +1 -1
- package/dist/core/{ZoomBlur-bPC1dBu2.js → ZoomBlur-jsmAeX03.js} +1 -1
- package/dist/core/docs-manifest.json +373 -75
- 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/index.js +211 -209
- package/dist/core/llms.txt +21 -3
- package/dist/core/{noiseColor-D_bPhJ4m.js → noiseColor-oUufQir9.js} +1 -1
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +203 -202
- package/dist/core/shaderRegistry-jxUBiD5N.js +447 -0
- package/dist/core/shaderRegistry.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.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.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.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.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.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.js +2 -2
- 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-ebybEx3c.js} +114 -19
- package/dist/js/bundle.js +101 -101
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +23 -0
- 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 +90 -90
- package/dist/react/components/Satin.d.ts +49 -0
- package/dist/react/components/Satin.d.ts.map +1 -0
- 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 +23 -0
- package/dist/registry.js +528 -0
- 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/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 +23 -0
- package/dist/svelte/components/Satin.svelte.d.ts +36 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +2500 -2293
- package/dist/svelte/source/components/Satin.svelte +360 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +23 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
- 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/components/Satin.vue.d.ts +71 -0
- package/dist/vue/components/Satin.vue.d.ts.map +1 -0
- 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 +23 -0
- package/package.json +9 -1
- package/dist/core/shaderRegistry-BaozBFyh.js +0 -445
package/dist/registry.js
CHANGED
|
@@ -43965,6 +43965,534 @@ export const shaderRegistry = [
|
|
|
43965
43965
|
}
|
|
43966
43966
|
}
|
|
43967
43967
|
},
|
|
43968
|
+
{
|
|
43969
|
+
"name": "Satin",
|
|
43970
|
+
"category": "Textures",
|
|
43971
|
+
"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",
|
|
43972
|
+
"fileName": "Satin",
|
|
43973
|
+
"definition": {
|
|
43974
|
+
"name": "Satin",
|
|
43975
|
+
"boundingBoxDeclaration": {
|
|
43976
|
+
"aspectRatio": null,
|
|
43977
|
+
"supportsResizeFit": true
|
|
43978
|
+
},
|
|
43979
|
+
"category": "Textures",
|
|
43980
|
+
"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",
|
|
43981
|
+
"acceptsUVContext": true,
|
|
43982
|
+
"animatedTime": {
|
|
43983
|
+
"speed": "speed"
|
|
43984
|
+
},
|
|
43985
|
+
"props": {
|
|
43986
|
+
"color": {
|
|
43987
|
+
"default": "#c92c40",
|
|
43988
|
+
"description": "The dye of the cloth — deep colors show the sheen best",
|
|
43989
|
+
"ui": {
|
|
43990
|
+
"type": "color",
|
|
43991
|
+
"label": "Color",
|
|
43992
|
+
"group": "Cloth"
|
|
43993
|
+
}
|
|
43994
|
+
},
|
|
43995
|
+
"highlightColor": {
|
|
43996
|
+
"default": "#c4667b",
|
|
43997
|
+
"description": "The color of the light caught by the weave — near white for silk, tinted toward the dye for a matte satin",
|
|
43998
|
+
"ui": {
|
|
43999
|
+
"type": "color",
|
|
44000
|
+
"label": "Highlight",
|
|
44001
|
+
"group": "Cloth"
|
|
44002
|
+
}
|
|
44003
|
+
},
|
|
44004
|
+
"foldCount": {
|
|
44005
|
+
"default": 7,
|
|
44006
|
+
"compileTime": true,
|
|
44007
|
+
"description": "How many ridges run across the cloth",
|
|
44008
|
+
"ui": {
|
|
44009
|
+
"type": "range",
|
|
44010
|
+
"min": 1,
|
|
44011
|
+
"max": 12,
|
|
44012
|
+
"step": 1,
|
|
44013
|
+
"label": "Folds",
|
|
44014
|
+
"group": "Folds"
|
|
44015
|
+
}
|
|
44016
|
+
},
|
|
44017
|
+
"foldDirection": {
|
|
44018
|
+
"default": 90,
|
|
44019
|
+
"description": "Direction the folds run, in degrees — 90 hangs them vertically like a curtain",
|
|
44020
|
+
"ui": {
|
|
44021
|
+
"type": [
|
|
44022
|
+
"range",
|
|
44023
|
+
"map"
|
|
44024
|
+
],
|
|
44025
|
+
"min": 0,
|
|
44026
|
+
"max": 360,
|
|
44027
|
+
"step": 1,
|
|
44028
|
+
"label": "Direction",
|
|
44029
|
+
"group": "Folds"
|
|
44030
|
+
}
|
|
44031
|
+
},
|
|
44032
|
+
"foldDepth": {
|
|
44033
|
+
"default": 0.5,
|
|
44034
|
+
"description": "How deep the folds are — 0 is a flat sheet, 1 heavy gathered drapery",
|
|
44035
|
+
"ui": {
|
|
44036
|
+
"type": [
|
|
44037
|
+
"range",
|
|
44038
|
+
"map"
|
|
44039
|
+
],
|
|
44040
|
+
"min": 0,
|
|
44041
|
+
"max": 1,
|
|
44042
|
+
"step": 0.01,
|
|
44043
|
+
"label": "Depth",
|
|
44044
|
+
"group": "Folds"
|
|
44045
|
+
}
|
|
44046
|
+
},
|
|
44047
|
+
"foldWidth": {
|
|
44048
|
+
"default": 0.14,
|
|
44049
|
+
"description": "Width of each ridge, relative to the canvas — narrow for fine pleats, wide for broad soft folds",
|
|
44050
|
+
"ui": {
|
|
44051
|
+
"type": [
|
|
44052
|
+
"range",
|
|
44053
|
+
"map"
|
|
44054
|
+
],
|
|
44055
|
+
"min": 0.04,
|
|
44056
|
+
"max": 0.4,
|
|
44057
|
+
"step": 0.01,
|
|
44058
|
+
"label": "Width",
|
|
44059
|
+
"group": "Folds"
|
|
44060
|
+
}
|
|
44061
|
+
},
|
|
44062
|
+
"pinning": {
|
|
44063
|
+
"default": 0.6,
|
|
44064
|
+
"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",
|
|
44065
|
+
"ui": {
|
|
44066
|
+
"type": [
|
|
44067
|
+
"range",
|
|
44068
|
+
"map"
|
|
44069
|
+
],
|
|
44070
|
+
"min": 0,
|
|
44071
|
+
"max": 1,
|
|
44072
|
+
"step": 0.01,
|
|
44073
|
+
"label": "Pinning",
|
|
44074
|
+
"group": "Folds"
|
|
44075
|
+
}
|
|
44076
|
+
},
|
|
44077
|
+
"seed": {
|
|
44078
|
+
"default": 0,
|
|
44079
|
+
"description": "Random seed — a different layout of folds",
|
|
44080
|
+
"ui": {
|
|
44081
|
+
"type": [
|
|
44082
|
+
"range",
|
|
44083
|
+
"map"
|
|
44084
|
+
],
|
|
44085
|
+
"min": 0,
|
|
44086
|
+
"max": 100,
|
|
44087
|
+
"step": 1,
|
|
44088
|
+
"label": "Seed",
|
|
44089
|
+
"group": "Folds"
|
|
44090
|
+
}
|
|
44091
|
+
},
|
|
44092
|
+
"speed": {
|
|
44093
|
+
"default": 1,
|
|
44094
|
+
"description": "How fast the cloth moves. 0 pauses.",
|
|
44095
|
+
"ui": {
|
|
44096
|
+
"type": "range",
|
|
44097
|
+
"min": 0,
|
|
44098
|
+
"max": 4,
|
|
44099
|
+
"step": 0.01,
|
|
44100
|
+
"label": "Speed",
|
|
44101
|
+
"group": "Motion"
|
|
44102
|
+
}
|
|
44103
|
+
},
|
|
44104
|
+
"breeze": {
|
|
44105
|
+
"default": 0.4,
|
|
44106
|
+
"description": "Strength of the breeze — how far the folds ripple and sway",
|
|
44107
|
+
"ui": {
|
|
44108
|
+
"type": [
|
|
44109
|
+
"range",
|
|
44110
|
+
"map"
|
|
44111
|
+
],
|
|
44112
|
+
"min": 0,
|
|
44113
|
+
"max": 1,
|
|
44114
|
+
"step": 0.01,
|
|
44115
|
+
"label": "Breeze",
|
|
44116
|
+
"group": "Motion"
|
|
44117
|
+
}
|
|
44118
|
+
},
|
|
44119
|
+
"gloss": {
|
|
44120
|
+
"default": 0.1,
|
|
44121
|
+
"description": "How shiny the weave is — 0 soft matte satin, 1 glossy silk with a tight bright streak",
|
|
44122
|
+
"ui": {
|
|
44123
|
+
"type": [
|
|
44124
|
+
"range",
|
|
44125
|
+
"map"
|
|
44126
|
+
],
|
|
44127
|
+
"min": 0,
|
|
44128
|
+
"max": 1,
|
|
44129
|
+
"step": 0.01,
|
|
44130
|
+
"label": "Gloss",
|
|
44131
|
+
"group": "Finish"
|
|
44132
|
+
}
|
|
44133
|
+
},
|
|
44134
|
+
"anisotropy": {
|
|
44135
|
+
"default": 0.7,
|
|
44136
|
+
"description": "How much the highlight stretches along the threads — the long streak real satin shows",
|
|
44137
|
+
"ui": {
|
|
44138
|
+
"type": [
|
|
44139
|
+
"range",
|
|
44140
|
+
"map"
|
|
44141
|
+
],
|
|
44142
|
+
"min": 0,
|
|
44143
|
+
"max": 1,
|
|
44144
|
+
"step": 0.01,
|
|
44145
|
+
"label": "Anisotropy",
|
|
44146
|
+
"group": "Finish"
|
|
44147
|
+
}
|
|
44148
|
+
},
|
|
44149
|
+
"bloom": {
|
|
44150
|
+
"default": 0.5,
|
|
44151
|
+
"description": "The broad soft glow around the highlight — light the weave scatters sideways. 0 leaves the crisp streak alone, 1 a wide satin bloom",
|
|
44152
|
+
"ui": {
|
|
44153
|
+
"type": [
|
|
44154
|
+
"range",
|
|
44155
|
+
"map"
|
|
44156
|
+
],
|
|
44157
|
+
"min": 0,
|
|
44158
|
+
"max": 1,
|
|
44159
|
+
"step": 0.01,
|
|
44160
|
+
"label": "Bloom",
|
|
44161
|
+
"group": "Finish"
|
|
44162
|
+
}
|
|
44163
|
+
},
|
|
44164
|
+
"sheen": {
|
|
44165
|
+
"default": 0.5,
|
|
44166
|
+
"description": "The velvet glow on the flanks of each fold where the fibres catch the light edge-on",
|
|
44167
|
+
"ui": {
|
|
44168
|
+
"type": [
|
|
44169
|
+
"range",
|
|
44170
|
+
"map"
|
|
44171
|
+
],
|
|
44172
|
+
"min": 0,
|
|
44173
|
+
"max": 1,
|
|
44174
|
+
"step": 0.01,
|
|
44175
|
+
"label": "Sheen",
|
|
44176
|
+
"group": "Finish"
|
|
44177
|
+
}
|
|
44178
|
+
},
|
|
44179
|
+
"weave": {
|
|
44180
|
+
"default": 0.1,
|
|
44181
|
+
"description": "Visibility of the thread texture — the fine grain that glints inside the highlight",
|
|
44182
|
+
"ui": {
|
|
44183
|
+
"type": [
|
|
44184
|
+
"range",
|
|
44185
|
+
"map"
|
|
44186
|
+
],
|
|
44187
|
+
"min": 0,
|
|
44188
|
+
"max": 1,
|
|
44189
|
+
"step": 0.01,
|
|
44190
|
+
"label": "Weave",
|
|
44191
|
+
"group": "Finish"
|
|
44192
|
+
}
|
|
44193
|
+
},
|
|
44194
|
+
"fiberAngle": {
|
|
44195
|
+
"default": 90,
|
|
44196
|
+
"description": "Direction the threads run, in degrees — the highlight streaks along this axis. Usually the fold direction.",
|
|
44197
|
+
"ui": {
|
|
44198
|
+
"type": [
|
|
44199
|
+
"range",
|
|
44200
|
+
"map"
|
|
44201
|
+
],
|
|
44202
|
+
"min": 0,
|
|
44203
|
+
"max": 360,
|
|
44204
|
+
"step": 1,
|
|
44205
|
+
"label": "Thread Angle",
|
|
44206
|
+
"group": "Finish"
|
|
44207
|
+
}
|
|
44208
|
+
},
|
|
44209
|
+
"lightAngle": {
|
|
44210
|
+
"default": 215,
|
|
44211
|
+
"description": "Direction of the key light, in degrees",
|
|
44212
|
+
"ui": {
|
|
44213
|
+
"type": [
|
|
44214
|
+
"range",
|
|
44215
|
+
"map"
|
|
44216
|
+
],
|
|
44217
|
+
"min": 0,
|
|
44218
|
+
"max": 360,
|
|
44219
|
+
"step": 1,
|
|
44220
|
+
"label": "Light Angle",
|
|
44221
|
+
"group": "Light"
|
|
44222
|
+
}
|
|
44223
|
+
},
|
|
44224
|
+
"fill": {
|
|
44225
|
+
"default": 0.35,
|
|
44226
|
+
"description": "Strength of the fill light from the opposite side — lifts the shadowed flanks",
|
|
44227
|
+
"ui": {
|
|
44228
|
+
"type": [
|
|
44229
|
+
"range",
|
|
44230
|
+
"map"
|
|
44231
|
+
],
|
|
44232
|
+
"min": 0,
|
|
44233
|
+
"max": 1,
|
|
44234
|
+
"step": 0.01,
|
|
44235
|
+
"label": "Fill",
|
|
44236
|
+
"group": "Light"
|
|
44237
|
+
}
|
|
44238
|
+
}
|
|
44239
|
+
}
|
|
44240
|
+
},
|
|
44241
|
+
"propsMetadata": {
|
|
44242
|
+
"color": {
|
|
44243
|
+
"ui": {
|
|
44244
|
+
"type": "color",
|
|
44245
|
+
"label": "Color",
|
|
44246
|
+
"group": "Cloth"
|
|
44247
|
+
},
|
|
44248
|
+
"default": "#c92c40",
|
|
44249
|
+
"description": "The dye of the cloth — deep colors show the sheen best"
|
|
44250
|
+
},
|
|
44251
|
+
"highlightColor": {
|
|
44252
|
+
"ui": {
|
|
44253
|
+
"type": "color",
|
|
44254
|
+
"label": "Highlight",
|
|
44255
|
+
"group": "Cloth"
|
|
44256
|
+
},
|
|
44257
|
+
"default": "#c4667b",
|
|
44258
|
+
"description": "The color of the light caught by the weave — near white for silk, tinted toward the dye for a matte satin"
|
|
44259
|
+
},
|
|
44260
|
+
"foldCount": {
|
|
44261
|
+
"ui": {
|
|
44262
|
+
"type": "range",
|
|
44263
|
+
"min": 1,
|
|
44264
|
+
"max": 12,
|
|
44265
|
+
"step": 1,
|
|
44266
|
+
"label": "Folds",
|
|
44267
|
+
"group": "Folds"
|
|
44268
|
+
},
|
|
44269
|
+
"default": 7,
|
|
44270
|
+
"description": "How many ridges run across the cloth"
|
|
44271
|
+
},
|
|
44272
|
+
"foldDirection": {
|
|
44273
|
+
"ui": {
|
|
44274
|
+
"type": [
|
|
44275
|
+
"range",
|
|
44276
|
+
"map"
|
|
44277
|
+
],
|
|
44278
|
+
"min": 0,
|
|
44279
|
+
"max": 360,
|
|
44280
|
+
"step": 1,
|
|
44281
|
+
"label": "Direction",
|
|
44282
|
+
"group": "Folds"
|
|
44283
|
+
},
|
|
44284
|
+
"default": 90,
|
|
44285
|
+
"description": "Direction the folds run, in degrees — 90 hangs them vertically like a curtain"
|
|
44286
|
+
},
|
|
44287
|
+
"foldDepth": {
|
|
44288
|
+
"ui": {
|
|
44289
|
+
"type": [
|
|
44290
|
+
"range",
|
|
44291
|
+
"map"
|
|
44292
|
+
],
|
|
44293
|
+
"min": 0,
|
|
44294
|
+
"max": 1,
|
|
44295
|
+
"step": 0.01,
|
|
44296
|
+
"label": "Depth",
|
|
44297
|
+
"group": "Folds"
|
|
44298
|
+
},
|
|
44299
|
+
"default": 0.5,
|
|
44300
|
+
"description": "How deep the folds are — 0 is a flat sheet, 1 heavy gathered drapery"
|
|
44301
|
+
},
|
|
44302
|
+
"foldWidth": {
|
|
44303
|
+
"ui": {
|
|
44304
|
+
"type": [
|
|
44305
|
+
"range",
|
|
44306
|
+
"map"
|
|
44307
|
+
],
|
|
44308
|
+
"min": 0.04,
|
|
44309
|
+
"max": 0.4,
|
|
44310
|
+
"step": 0.01,
|
|
44311
|
+
"label": "Width",
|
|
44312
|
+
"group": "Folds"
|
|
44313
|
+
},
|
|
44314
|
+
"default": 0.14,
|
|
44315
|
+
"description": "Width of each ridge, relative to the canvas — narrow for fine pleats, wide for broad soft folds"
|
|
44316
|
+
},
|
|
44317
|
+
"pinning": {
|
|
44318
|
+
"ui": {
|
|
44319
|
+
"type": [
|
|
44320
|
+
"range",
|
|
44321
|
+
"map"
|
|
44322
|
+
],
|
|
44323
|
+
"min": 0,
|
|
44324
|
+
"max": 1,
|
|
44325
|
+
"step": 0.01,
|
|
44326
|
+
"label": "Pinning",
|
|
44327
|
+
"group": "Folds"
|
|
44328
|
+
},
|
|
44329
|
+
"default": 0.6,
|
|
44330
|
+
"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"
|
|
44331
|
+
},
|
|
44332
|
+
"seed": {
|
|
44333
|
+
"ui": {
|
|
44334
|
+
"type": [
|
|
44335
|
+
"range",
|
|
44336
|
+
"map"
|
|
44337
|
+
],
|
|
44338
|
+
"min": 0,
|
|
44339
|
+
"max": 100,
|
|
44340
|
+
"step": 1,
|
|
44341
|
+
"label": "Seed",
|
|
44342
|
+
"group": "Folds"
|
|
44343
|
+
},
|
|
44344
|
+
"default": 0,
|
|
44345
|
+
"description": "Random seed — a different layout of folds"
|
|
44346
|
+
},
|
|
44347
|
+
"speed": {
|
|
44348
|
+
"ui": {
|
|
44349
|
+
"type": "range",
|
|
44350
|
+
"min": 0,
|
|
44351
|
+
"max": 4,
|
|
44352
|
+
"step": 0.01,
|
|
44353
|
+
"label": "Speed",
|
|
44354
|
+
"group": "Motion"
|
|
44355
|
+
},
|
|
44356
|
+
"default": 1,
|
|
44357
|
+
"description": "How fast the cloth moves. 0 pauses."
|
|
44358
|
+
},
|
|
44359
|
+
"breeze": {
|
|
44360
|
+
"ui": {
|
|
44361
|
+
"type": [
|
|
44362
|
+
"range",
|
|
44363
|
+
"map"
|
|
44364
|
+
],
|
|
44365
|
+
"min": 0,
|
|
44366
|
+
"max": 1,
|
|
44367
|
+
"step": 0.01,
|
|
44368
|
+
"label": "Breeze",
|
|
44369
|
+
"group": "Motion"
|
|
44370
|
+
},
|
|
44371
|
+
"default": 0.4,
|
|
44372
|
+
"description": "Strength of the breeze — how far the folds ripple and sway"
|
|
44373
|
+
},
|
|
44374
|
+
"gloss": {
|
|
44375
|
+
"ui": {
|
|
44376
|
+
"type": [
|
|
44377
|
+
"range",
|
|
44378
|
+
"map"
|
|
44379
|
+
],
|
|
44380
|
+
"min": 0,
|
|
44381
|
+
"max": 1,
|
|
44382
|
+
"step": 0.01,
|
|
44383
|
+
"label": "Gloss",
|
|
44384
|
+
"group": "Finish"
|
|
44385
|
+
},
|
|
44386
|
+
"default": 0.1,
|
|
44387
|
+
"description": "How shiny the weave is — 0 soft matte satin, 1 glossy silk with a tight bright streak"
|
|
44388
|
+
},
|
|
44389
|
+
"anisotropy": {
|
|
44390
|
+
"ui": {
|
|
44391
|
+
"type": [
|
|
44392
|
+
"range",
|
|
44393
|
+
"map"
|
|
44394
|
+
],
|
|
44395
|
+
"min": 0,
|
|
44396
|
+
"max": 1,
|
|
44397
|
+
"step": 0.01,
|
|
44398
|
+
"label": "Anisotropy",
|
|
44399
|
+
"group": "Finish"
|
|
44400
|
+
},
|
|
44401
|
+
"default": 0.7,
|
|
44402
|
+
"description": "How much the highlight stretches along the threads — the long streak real satin shows"
|
|
44403
|
+
},
|
|
44404
|
+
"bloom": {
|
|
44405
|
+
"ui": {
|
|
44406
|
+
"type": [
|
|
44407
|
+
"range",
|
|
44408
|
+
"map"
|
|
44409
|
+
],
|
|
44410
|
+
"min": 0,
|
|
44411
|
+
"max": 1,
|
|
44412
|
+
"step": 0.01,
|
|
44413
|
+
"label": "Bloom",
|
|
44414
|
+
"group": "Finish"
|
|
44415
|
+
},
|
|
44416
|
+
"default": 0.5,
|
|
44417
|
+
"description": "The broad soft glow around the highlight — light the weave scatters sideways. 0 leaves the crisp streak alone, 1 a wide satin bloom"
|
|
44418
|
+
},
|
|
44419
|
+
"sheen": {
|
|
44420
|
+
"ui": {
|
|
44421
|
+
"type": [
|
|
44422
|
+
"range",
|
|
44423
|
+
"map"
|
|
44424
|
+
],
|
|
44425
|
+
"min": 0,
|
|
44426
|
+
"max": 1,
|
|
44427
|
+
"step": 0.01,
|
|
44428
|
+
"label": "Sheen",
|
|
44429
|
+
"group": "Finish"
|
|
44430
|
+
},
|
|
44431
|
+
"default": 0.5,
|
|
44432
|
+
"description": "The velvet glow on the flanks of each fold where the fibres catch the light edge-on"
|
|
44433
|
+
},
|
|
44434
|
+
"weave": {
|
|
44435
|
+
"ui": {
|
|
44436
|
+
"type": [
|
|
44437
|
+
"range",
|
|
44438
|
+
"map"
|
|
44439
|
+
],
|
|
44440
|
+
"min": 0,
|
|
44441
|
+
"max": 1,
|
|
44442
|
+
"step": 0.01,
|
|
44443
|
+
"label": "Weave",
|
|
44444
|
+
"group": "Finish"
|
|
44445
|
+
},
|
|
44446
|
+
"default": 0.1,
|
|
44447
|
+
"description": "Visibility of the thread texture — the fine grain that glints inside the highlight"
|
|
44448
|
+
},
|
|
44449
|
+
"fiberAngle": {
|
|
44450
|
+
"ui": {
|
|
44451
|
+
"type": [
|
|
44452
|
+
"range",
|
|
44453
|
+
"map"
|
|
44454
|
+
],
|
|
44455
|
+
"min": 0,
|
|
44456
|
+
"max": 360,
|
|
44457
|
+
"step": 1,
|
|
44458
|
+
"label": "Thread Angle",
|
|
44459
|
+
"group": "Finish"
|
|
44460
|
+
},
|
|
44461
|
+
"default": 90,
|
|
44462
|
+
"description": "Direction the threads run, in degrees — the highlight streaks along this axis. Usually the fold direction."
|
|
44463
|
+
},
|
|
44464
|
+
"lightAngle": {
|
|
44465
|
+
"ui": {
|
|
44466
|
+
"type": [
|
|
44467
|
+
"range",
|
|
44468
|
+
"map"
|
|
44469
|
+
],
|
|
44470
|
+
"min": 0,
|
|
44471
|
+
"max": 360,
|
|
44472
|
+
"step": 1,
|
|
44473
|
+
"label": "Light Angle",
|
|
44474
|
+
"group": "Light"
|
|
44475
|
+
},
|
|
44476
|
+
"default": 215,
|
|
44477
|
+
"description": "Direction of the key light, in degrees"
|
|
44478
|
+
},
|
|
44479
|
+
"fill": {
|
|
44480
|
+
"ui": {
|
|
44481
|
+
"type": [
|
|
44482
|
+
"range",
|
|
44483
|
+
"map"
|
|
44484
|
+
],
|
|
44485
|
+
"min": 0,
|
|
44486
|
+
"max": 1,
|
|
44487
|
+
"step": 0.01,
|
|
44488
|
+
"label": "Fill",
|
|
44489
|
+
"group": "Light"
|
|
44490
|
+
},
|
|
44491
|
+
"default": 0.35,
|
|
44492
|
+
"description": "Strength of the fill light from the opposite side — lifts the shadowed flanks"
|
|
44493
|
+
}
|
|
44494
|
+
}
|
|
44495
|
+
},
|
|
43968
44496
|
{
|
|
43969
44497
|
"name": "Saturation",
|
|
43970
44498
|
"category": "Adjustments",
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
import { BlendMode, PropDriver, TransformConfig, BoundingBoxConfig, LayoutConfig } from '../../core';
|
|
3
|
+
import { ComponentProps } from '../../core/shaders/Satin';
|
|
4
|
+
export type { ComponentProps };
|
|
5
|
+
/**
|
|
6
|
+
* Base props that all shader components have
|
|
7
|
+
*/
|
|
8
|
+
interface BaseShaderProps {
|
|
9
|
+
children?: JSX.Element;
|
|
10
|
+
blendMode?: BlendMode;
|
|
11
|
+
opacity?: number;
|
|
12
|
+
visible?: boolean;
|
|
13
|
+
id?: string;
|
|
14
|
+
maskSource?: string;
|
|
15
|
+
maskType?: string;
|
|
16
|
+
renderOrder?: number;
|
|
17
|
+
transform?: Partial<TransformConfig>;
|
|
18
|
+
boundingBox?: Partial<BoundingBoxConfig>;
|
|
19
|
+
flow?: LayoutConfig;
|
|
20
|
+
absolute?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Component-specific props that merge base props with shader-specific props
|
|
24
|
+
* Note: ComponentProps are made optional since they have defaults from the shader definition
|
|
25
|
+
*/
|
|
26
|
+
type ShaderComponentProps = BaseShaderProps & Partial<Omit<ComponentProps, 'foldDirection' | 'foldDepth' | 'foldWidth' | 'pinning' | 'seed' | 'breeze' | 'gloss' | 'anisotropy' | 'bloom' | 'sheen' | 'weave' | 'fiberAngle' | 'lightAngle' | 'fill'>> & {
|
|
27
|
+
foldDirection?: ComponentProps['foldDirection'] | PropDriver;
|
|
28
|
+
foldDepth?: ComponentProps['foldDepth'] | PropDriver;
|
|
29
|
+
foldWidth?: ComponentProps['foldWidth'] | PropDriver;
|
|
30
|
+
pinning?: ComponentProps['pinning'] | PropDriver;
|
|
31
|
+
seed?: ComponentProps['seed'] | PropDriver;
|
|
32
|
+
breeze?: ComponentProps['breeze'] | PropDriver;
|
|
33
|
+
gloss?: ComponentProps['gloss'] | PropDriver;
|
|
34
|
+
anisotropy?: ComponentProps['anisotropy'] | PropDriver;
|
|
35
|
+
bloom?: ComponentProps['bloom'] | PropDriver;
|
|
36
|
+
sheen?: ComponentProps['sheen'] | PropDriver;
|
|
37
|
+
weave?: ComponentProps['weave'] | PropDriver;
|
|
38
|
+
fiberAngle?: ComponentProps['fiberAngle'] | PropDriver;
|
|
39
|
+
lightAngle?: ComponentProps['lightAngle'] | PropDriver;
|
|
40
|
+
fill?: ComponentProps['fill'] | PropDriver;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* The main Solid wrapper component for Shader shader nodes
|
|
44
|
+
*/
|
|
45
|
+
export default function ShaderComponent(props: ShaderComponentProps): JSX.Element;
|
|
46
|
+
//# sourceMappingURL=Satin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Satin.d.ts","sourceRoot":"","sources":["../../src/components/Satin.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0F,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAE5H,OAAO,EAIH,KAAK,SAAS,EAId,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACpB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAG9E,YAAY,EAAE,cAAc,EAAE,CAAC;AAY/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACzC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAOD;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,eAAe,GAAG,WAAW,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,YAAY,GAAG,MAAM,CAAC,CAAC,GAAG;IACvP,aAAa,CAAC,EAAE,cAAc,CAAC,eAAe,CAAC,GAAG,UAAU,CAAC;IAC7D,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG,UAAU,CAAC;IACrD,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,GAAG,UAAU,CAAC;IACrD,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,UAAU,CAAC;IACjD,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;IAC3C,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,GAAG,UAAU,CAAC;IAC/C,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,UAAU,CAAC;IAC7C,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;IACvD,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,UAAU,CAAC;IAC7C,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,UAAU,CAAC;IAC7C,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,UAAU,CAAC;IAC7C,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;IACvD,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;IACvD,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC;CAC5C,CAAC;AAmCF;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,oBAAoB,eAyOlE"}
|