shaders 4.0.1 → 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 +9 -0
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +255 -214
- 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 +17 -3
- 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 +168 -168
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $s as dot, Ac as sub, Bd as applyEdgeHandlingExpr, Fc as defineStd, Gd as ZERO, Mc as vec3, Vd as bSplineTapSetup, Xs as clamp, dc as local, gc as mul, hc as mix, ld as toHalfFloat, lf as unpremultiplyAlpha, nt as hostGridProgram, qd as call, rt as hostStep, tt as hostFieldTexture } from "./std-ebybEx3c.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var transformThrowKey = (value) => {
|
|
4
4
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bo as noiseField, Fc as defineStd, Ko as scaledVolume, Ll as p, Qo as stops, Wo as rampOver, du as colorStopsPropConfig, rs as warped, ts as tone } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "Plasma",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $s as dot, Ac as sub, Ci as surfaceField, Dc as splat3, Ei as surfacePattern, Fc as defineStd, Gd as ZERO, Jr as grazingFlat, Js as abs, Mc as vec3, Nc as vec4, Oc as sqrt, Qr as insideShape, Qs as div, Tc as smoothstep, Ti as surfaceNoiseAt, Ur as fieldSlope, Uu as shapeEffectBoundingBoxDeclaration, Vc as animatedTime, Xr as guarded, Xs as clamp, Ys as add, ar as direction, bc as reflect, bi as silhouette, ci as nudgeNormal, dc as local, du as colorStopsPropConfig, ei as keyLightAt, ff as mixColorsLinear, gc as mul, gi as shapedSurface, hc as mix, ii as marchedNormal, jc as vec2, jd as mixColorStopsRuntime, pc as max, pf as mixColorsVariants, qd as call, tc as exp2, vc as normalize, wi as surfaceNoise, yc as pow } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var DEFAULT_SHAPE_CONFIG = JSON.stringify({
|
|
4
4
|
type: "sphere3D",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, Rl as centerPropConfig, er as toPolar, zl as edgesPropConfig } from "./std-ebybEx3c.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "PolarCoordinates",
|
|
4
4
|
role: "warp",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ac as
|
|
1
|
+
import { Ac as sub, Dc as splat3, Ec as softPlus, Fc as defineStd, Fl as uniformOf, Ll as p, Nc as vec4, Qs as div, Ro as hueWheel, Tc as smoothstep, Vc as animatedTime, Xs as clamp, Ys as add, _c as neg, ac as gaussBell, dc as local, dr as surfaceOf, ec as exp, gc as mul, hc as mix, pc as max, ur as segmentFrame } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "Prism",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, bn as progressiveBlur } from "./std-ebybEx3c.js";
|
|
2
2
|
import { c as transformPosition, r as transformAngle } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "ProgressiveBlur",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Go as rings, Ll as p, Po as dist, Qo as stops, Wo as rampOver, du as colorStopsPropConfig } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "RadialGradient",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, X as reveal, Y as coverage } from "./std-ebybEx3c.js";
|
|
2
2
|
import { c as transformPosition, i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "RadialWipe",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, X as reveal, Y as coverage } from "./std-ebybEx3c.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "RandomBars",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $s as dot, Ac as sub, Cc as select, Dc as splat3, Fc as defineStd, Gc as buildGrayScottStep, Gd as ZERO, Jc as buildPairPublishKernel, Mc as vec3, Nc as vec4, Qs as div, Rd as createPingPongPair, Tc as smoothstep, Xc as createGridKernelPass, Xs as clamp, Yc as buildScatterSeedKernel, Ys as add, Zs as cos, _c as neg, dc as local, dd as createPointerVelocityTracker, et as gridSim, gc as mul, hc as mix, hd as createLateBoundChildInput, it as op, jc as vec2, mc as min, pc as max, qd as call, qf as vec2f, sc as gt, uf as colorMixing_exports, vc as normalize, wc as sin, yc as pow, yf as DEG_TO_RAD, zd as createStateBuffer } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, i as transformBoolean, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var cm = colorMixing_exports;
|
|
4
4
|
var N = 512;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Kn as fromPolar, Ll as p, Rl as centerPropConfig, zl as edgesPropConfig } from "./std-ebybEx3c.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "RectangularCoordinates",
|
|
4
4
|
role: "warp",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Gd as ZERO, Ll as p, dn as mirrorAcrossRow, lf as unpremultiplyAlpha, nn as depthRampBlur, qd as call, yn as planarReflection } from "./std-ebybEx3c.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "ReflectivePlane",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, dt as grid, ft as line, mt as repeatInstances, pt as radial, ut as byMode, ws as crosses } from "./std-ebybEx3c.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "Repeater",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, X as reveal, Y as coverage } from "./std-ebybEx3c.js";
|
|
2
2
|
import { c as transformPosition, i as transformBoolean } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "RippleWipe",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, ho as ringWaves, yo as strokeOver } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "Ripples",
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { Ac as sub, Fc as defineStd, Fl as uniformOf, Hr as fdSlope, Js as abs, Ki as foldSet, Ll as p, Mc as vec3, Mi as viewRay, Nc as vec4, Oi as tiltNormal, Pi as wardAlphas, Pr as anisoSpecular, Qs as div, Ui as drapedFolds, Vc as animatedTime, Vi as clothCoords, Vr as fdCurvature, Xs as clamp, Ys as add, _c as neg, _d as isMobileGpuViewport, ar as direction, ci as nudgeNormal, dc as local, dr as surfaceOf, gc as mul, hc as mix, jc as vec2, ni as lambert, or as directionFrame, qr as grainNoise, ri as lightVec3, si as neutralTone, vi as sheenLobe } from "./std-ebybEx3c.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
|
+
var MOBILE = isMobileGpuViewport();
|
|
4
|
+
var RIPPLE = [
|
|
5
|
+
{
|
|
6
|
+
freq: 3.1,
|
|
7
|
+
speed: .35,
|
|
8
|
+
amount: .045
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
freq: 6.7,
|
|
12
|
+
speed: -.22,
|
|
13
|
+
amount: .018
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
freq: 11.3,
|
|
17
|
+
speed: .5,
|
|
18
|
+
amount: .007
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
var RIPPLE_WAVES = MOBILE ? RIPPLE.slice(0, 2) : RIPPLE;
|
|
22
|
+
var SWELL = {
|
|
23
|
+
amount: .3,
|
|
24
|
+
freq: 2.4,
|
|
25
|
+
speed: .4
|
|
26
|
+
};
|
|
27
|
+
var BREEZE_SWAY = .08;
|
|
28
|
+
var FOLD_CREASE = .7;
|
|
29
|
+
var FOLD_SHARPNESS = 2;
|
|
30
|
+
var FOLD_JITTER = .8;
|
|
31
|
+
var FOLD_FORESHORTEN = .25;
|
|
32
|
+
var FD_EPS = .004;
|
|
33
|
+
var RELIEF_GAIN = .3;
|
|
34
|
+
var CAVITY_GAIN = .0012;
|
|
35
|
+
var THREADS = {
|
|
36
|
+
coarse: [14, 420],
|
|
37
|
+
fine: [26, 900]
|
|
38
|
+
};
|
|
39
|
+
var WEAVE_RELIEF = .1;
|
|
40
|
+
var LIGHT = {
|
|
41
|
+
ambient: .18,
|
|
42
|
+
key: .9,
|
|
43
|
+
fill: .45,
|
|
44
|
+
elevation: -.65,
|
|
45
|
+
fillElevation: -.45
|
|
46
|
+
};
|
|
47
|
+
var STREAK_GAIN = [.25, .9];
|
|
48
|
+
var BLOOM = {
|
|
49
|
+
roughness: .85,
|
|
50
|
+
anisotropy: .5,
|
|
51
|
+
gain: .35
|
|
52
|
+
};
|
|
53
|
+
var SHEEN_GAIN = .6;
|
|
54
|
+
const componentDefinition = defineStd({
|
|
55
|
+
name: "Satin",
|
|
56
|
+
role: "generator",
|
|
57
|
+
boundingBoxDeclaration: {
|
|
58
|
+
aspectRatio: null,
|
|
59
|
+
supportsResizeFit: true
|
|
60
|
+
},
|
|
61
|
+
category: "Textures",
|
|
62
|
+
description: "Flowing satin — a draped cloth of soft rippling folds lit like real fabric: a highlight streaked along the weave, a velvet sheen on the fold flanks and creases falling into shadow, swaying gently in a breeze",
|
|
63
|
+
acceptsUVContext: true,
|
|
64
|
+
animatedTime: { speed: "speed" },
|
|
65
|
+
props: {
|
|
66
|
+
color: {
|
|
67
|
+
default: "#c92c40",
|
|
68
|
+
transform: transformColor,
|
|
69
|
+
description: "The dye of the cloth — deep colors show the sheen best",
|
|
70
|
+
ui: {
|
|
71
|
+
type: "color",
|
|
72
|
+
label: "Color",
|
|
73
|
+
group: "Cloth"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
highlightColor: {
|
|
77
|
+
default: "#c4667b",
|
|
78
|
+
transform: transformColor,
|
|
79
|
+
description: "The color of the light caught by the weave — near white for silk, tinted toward the dye for a matte satin",
|
|
80
|
+
ui: {
|
|
81
|
+
type: "color",
|
|
82
|
+
label: "Highlight",
|
|
83
|
+
group: "Cloth"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
foldCount: {
|
|
87
|
+
default: 7,
|
|
88
|
+
compileTime: true,
|
|
89
|
+
description: "How many ridges run across the cloth",
|
|
90
|
+
ui: {
|
|
91
|
+
type: "range",
|
|
92
|
+
min: 1,
|
|
93
|
+
max: 12,
|
|
94
|
+
step: 1,
|
|
95
|
+
label: "Folds",
|
|
96
|
+
group: "Folds"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
foldDirection: {
|
|
100
|
+
default: 90,
|
|
101
|
+
description: "Direction the folds run, in degrees — 90 hangs them vertically like a curtain",
|
|
102
|
+
ui: {
|
|
103
|
+
type: ["range", "map"],
|
|
104
|
+
min: 0,
|
|
105
|
+
max: 360,
|
|
106
|
+
step: 1,
|
|
107
|
+
label: "Direction",
|
|
108
|
+
group: "Folds"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
foldDepth: {
|
|
112
|
+
default: .5,
|
|
113
|
+
description: "How deep the folds are — 0 is a flat sheet, 1 heavy gathered drapery",
|
|
114
|
+
ui: {
|
|
115
|
+
type: ["range", "map"],
|
|
116
|
+
min: 0,
|
|
117
|
+
max: 1,
|
|
118
|
+
step: .01,
|
|
119
|
+
label: "Depth",
|
|
120
|
+
group: "Folds"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
foldWidth: {
|
|
124
|
+
default: .14,
|
|
125
|
+
description: "Width of each ridge, relative to the canvas — narrow for fine pleats, wide for broad soft folds",
|
|
126
|
+
ui: {
|
|
127
|
+
type: ["range", "map"],
|
|
128
|
+
min: .04,
|
|
129
|
+
max: .4,
|
|
130
|
+
step: .01,
|
|
131
|
+
label: "Width",
|
|
132
|
+
group: "Folds"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
pinning: {
|
|
136
|
+
default: .6,
|
|
137
|
+
description: "How much the cloth is gathered at the top edge — 0 is a loose drape, 1 a curtain pinned at the rail with the folds opening as they fall",
|
|
138
|
+
ui: {
|
|
139
|
+
type: ["range", "map"],
|
|
140
|
+
min: 0,
|
|
141
|
+
max: 1,
|
|
142
|
+
step: .01,
|
|
143
|
+
label: "Pinning",
|
|
144
|
+
group: "Folds"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
seed: {
|
|
148
|
+
default: 0,
|
|
149
|
+
description: "Random seed — a different layout of folds",
|
|
150
|
+
ui: {
|
|
151
|
+
type: ["range", "map"],
|
|
152
|
+
min: 0,
|
|
153
|
+
max: 100,
|
|
154
|
+
step: 1,
|
|
155
|
+
label: "Seed",
|
|
156
|
+
group: "Folds"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
speed: {
|
|
160
|
+
default: 1,
|
|
161
|
+
description: "How fast the cloth moves. 0 pauses.",
|
|
162
|
+
ui: {
|
|
163
|
+
type: "range",
|
|
164
|
+
min: 0,
|
|
165
|
+
max: 4,
|
|
166
|
+
step: .01,
|
|
167
|
+
label: "Speed",
|
|
168
|
+
group: "Motion"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
breeze: {
|
|
172
|
+
default: .4,
|
|
173
|
+
description: "Strength of the breeze — how far the folds ripple and sway",
|
|
174
|
+
ui: {
|
|
175
|
+
type: ["range", "map"],
|
|
176
|
+
min: 0,
|
|
177
|
+
max: 1,
|
|
178
|
+
step: .01,
|
|
179
|
+
label: "Breeze",
|
|
180
|
+
group: "Motion"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
gloss: {
|
|
184
|
+
default: .1,
|
|
185
|
+
description: "How shiny the weave is — 0 soft matte satin, 1 glossy silk with a tight bright streak",
|
|
186
|
+
ui: {
|
|
187
|
+
type: ["range", "map"],
|
|
188
|
+
min: 0,
|
|
189
|
+
max: 1,
|
|
190
|
+
step: .01,
|
|
191
|
+
label: "Gloss",
|
|
192
|
+
group: "Finish"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
anisotropy: {
|
|
196
|
+
default: .7,
|
|
197
|
+
description: "How much the highlight stretches along the threads — the long streak real satin shows",
|
|
198
|
+
ui: {
|
|
199
|
+
type: ["range", "map"],
|
|
200
|
+
min: 0,
|
|
201
|
+
max: 1,
|
|
202
|
+
step: .01,
|
|
203
|
+
label: "Anisotropy",
|
|
204
|
+
group: "Finish"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
bloom: {
|
|
208
|
+
default: .5,
|
|
209
|
+
description: "The broad soft glow around the highlight — light the weave scatters sideways. 0 leaves the crisp streak alone, 1 a wide satin bloom",
|
|
210
|
+
ui: {
|
|
211
|
+
type: ["range", "map"],
|
|
212
|
+
min: 0,
|
|
213
|
+
max: 1,
|
|
214
|
+
step: .01,
|
|
215
|
+
label: "Bloom",
|
|
216
|
+
group: "Finish"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
sheen: {
|
|
220
|
+
default: .5,
|
|
221
|
+
description: "The velvet glow on the flanks of each fold where the fibres catch the light edge-on",
|
|
222
|
+
ui: {
|
|
223
|
+
type: ["range", "map"],
|
|
224
|
+
min: 0,
|
|
225
|
+
max: 1,
|
|
226
|
+
step: .01,
|
|
227
|
+
label: "Sheen",
|
|
228
|
+
group: "Finish"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
weave: {
|
|
232
|
+
default: .1,
|
|
233
|
+
description: "Visibility of the thread texture — the fine grain that glints inside the highlight",
|
|
234
|
+
ui: {
|
|
235
|
+
type: ["range", "map"],
|
|
236
|
+
min: 0,
|
|
237
|
+
max: 1,
|
|
238
|
+
step: .01,
|
|
239
|
+
label: "Weave",
|
|
240
|
+
group: "Finish"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
fiberAngle: {
|
|
244
|
+
default: 90,
|
|
245
|
+
description: "Direction the threads run, in degrees — the highlight streaks along this axis. Usually the fold direction.",
|
|
246
|
+
ui: {
|
|
247
|
+
type: ["range", "map"],
|
|
248
|
+
min: 0,
|
|
249
|
+
max: 360,
|
|
250
|
+
step: 1,
|
|
251
|
+
label: "Thread Angle",
|
|
252
|
+
group: "Finish"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
lightAngle: {
|
|
256
|
+
default: 215,
|
|
257
|
+
description: "Direction of the key light, in degrees",
|
|
258
|
+
ui: {
|
|
259
|
+
type: ["range", "map"],
|
|
260
|
+
min: 0,
|
|
261
|
+
max: 360,
|
|
262
|
+
step: 1,
|
|
263
|
+
label: "Light Angle",
|
|
264
|
+
group: "Light"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
fill: {
|
|
268
|
+
default: .35,
|
|
269
|
+
description: "Strength of the fill light from the opposite side — lifts the shadowed flanks",
|
|
270
|
+
ui: {
|
|
271
|
+
type: ["range", "map"],
|
|
272
|
+
min: 0,
|
|
273
|
+
max: 1,
|
|
274
|
+
step: .01,
|
|
275
|
+
label: "Fill",
|
|
276
|
+
group: "Light"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
paint: (params) => {
|
|
281
|
+
const { uv, aspect } = surfaceOf(params);
|
|
282
|
+
const u = (name) => uniformOf(p(name), params);
|
|
283
|
+
const t = local(animatedTime(params), "satinTime");
|
|
284
|
+
const q = local(vec2(mul(sub(uv.member("x"), .5), aspect), sub(uv.member("y"), .5)), "q");
|
|
285
|
+
const drape = directionFrame(u("foldDirection"), "drape");
|
|
286
|
+
const count = Math.max(1, Math.min(12, Math.round(params.propValues.foldCount ?? 7)));
|
|
287
|
+
const spread = local(mul(add(mul(abs(drape.perp.member("x")), aspect), abs(drape.perp.member("y"))), 1.1), "spread");
|
|
288
|
+
const folds = foldSet({
|
|
289
|
+
count,
|
|
290
|
+
seed: u("seed"),
|
|
291
|
+
spread,
|
|
292
|
+
width: u("foldWidth"),
|
|
293
|
+
height: u("foldDepth"),
|
|
294
|
+
jitter: FOLD_JITTER
|
|
295
|
+
});
|
|
296
|
+
const breeze = local(u("breeze"), "breeze");
|
|
297
|
+
const drapeOpts = {
|
|
298
|
+
time: t,
|
|
299
|
+
ripple: {
|
|
300
|
+
waves: RIPPLE_WAVES,
|
|
301
|
+
gain: mix(.35, 1, breeze)
|
|
302
|
+
},
|
|
303
|
+
sway: {
|
|
304
|
+
amount: mul(breeze, BREEZE_SWAY),
|
|
305
|
+
rate: .7
|
|
306
|
+
},
|
|
307
|
+
swell: SWELL,
|
|
308
|
+
pinning: local(u("pinning"), "pinning"),
|
|
309
|
+
sharpness: FOLD_SHARPNESS,
|
|
310
|
+
crease: FOLD_CREASE
|
|
311
|
+
};
|
|
312
|
+
const alongExtent = local(add(mul(abs(drape.tangent.member("x")), aspect), abs(drape.tangent.member("y"))), "alongExtent");
|
|
313
|
+
const onDrape = (at) => {
|
|
314
|
+
const c = drape.coordsOf(at);
|
|
315
|
+
return {
|
|
316
|
+
along: add(div(c.along, alongExtent), .5),
|
|
317
|
+
across: c.across
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
const cloth = (at) => drapedFolds(onDrape(at), folds, drapeOpts);
|
|
321
|
+
const curved = MOBILE ? null : fdCurvature(cloth, q, FD_EPS, "cloth");
|
|
322
|
+
const relief = curved ?? fdSlope(cloth, q, FD_EPS, "cloth");
|
|
323
|
+
const nFold = nudgeNormal(vec3(0, 0, -1), mul(relief.dx, -RELIEF_GAIN), mul(relief.dy, -RELIEF_GAIN), "nFold");
|
|
324
|
+
const material = clothCoords(onDrape(q), folds, {
|
|
325
|
+
...drapeOpts,
|
|
326
|
+
foreshorten: FOLD_FORESHORTEN
|
|
327
|
+
});
|
|
328
|
+
const onCloth = local(add(mul(drape.tangent, material.along), mul(drape.perp, material.across)), "onCloth");
|
|
329
|
+
const fibre = directionFrame(u("fiberAngle"), "fibre");
|
|
330
|
+
const fc = fibre.coordsOf(onCloth);
|
|
331
|
+
const n = tiltNormal(nFold, fibre, { across: mul(local(add(grainNoise(fc, { freq: THREADS.coarse }), mul(grainNoise(fc, {
|
|
332
|
+
freq: THREADS.fine,
|
|
333
|
+
offset: [3.1, 7.7]
|
|
334
|
+
}), .5)), "threads"), mul(u("weave"), WEAVE_RELIEF)) });
|
|
335
|
+
const view = viewRay(params, { aspect });
|
|
336
|
+
const keyDir = direction(u("lightAngle"), "key");
|
|
337
|
+
const L = lightVec3(keyDir, LIGHT.elevation, "L");
|
|
338
|
+
const Lfill = lightVec3(neg(keyDir), LIGHT.fillElevation, "Lfill");
|
|
339
|
+
const diffuse = local(add(add(LIGHT.ambient, mul(lambert(n, L, { wrap: .35 }), LIGHT.key)), mul(lambert(n, Lfill, { wrap: .6 }), mul(u("fill"), LIGHT.fill))), "diffuse");
|
|
340
|
+
const cavity = curved ? local(clamp(sub(1, mul(curved.curvature, CAVITY_GAIN)), .6, 1.1), "cavity") : 1;
|
|
341
|
+
const gloss = local(u("gloss"), "gloss");
|
|
342
|
+
const aniso = local(u("anisotropy"), "aniso");
|
|
343
|
+
const streak = anisoSpecular({
|
|
344
|
+
normal: n,
|
|
345
|
+
tangent: fibre.tangent,
|
|
346
|
+
light: L,
|
|
347
|
+
view,
|
|
348
|
+
alphas: wardAlphas(sub(1, gloss), aniso),
|
|
349
|
+
gain: mix(STREAK_GAIN[0], STREAK_GAIN[1], gloss)
|
|
350
|
+
});
|
|
351
|
+
const bloom = anisoSpecular({
|
|
352
|
+
normal: n,
|
|
353
|
+
tangent: fibre.tangent,
|
|
354
|
+
light: L,
|
|
355
|
+
view,
|
|
356
|
+
alphas: wardAlphas(BLOOM.roughness, mul(aniso, BLOOM.anisotropy)),
|
|
357
|
+
gain: mul(u("bloom"), BLOOM.gain)
|
|
358
|
+
});
|
|
359
|
+
const velvet = sheenLobe({
|
|
360
|
+
normal: n,
|
|
361
|
+
light: L,
|
|
362
|
+
view,
|
|
363
|
+
roughness: mix(.7, .3, gloss),
|
|
364
|
+
gain: mul(u("sheen"), SHEEN_GAIN)
|
|
365
|
+
});
|
|
366
|
+
const dye = u("color").member("rgb");
|
|
367
|
+
const catchlight = u("highlightColor").member("rgb");
|
|
368
|
+
return vec4(neutralTone(add(mul(dye, mul(diffuse, cavity)), mul(catchlight, mul(add(add(streak, bloom), velvet), cavity)))), 1);
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
var Satin_default = componentDefinition;
|
|
372
|
+
export { componentDefinition as n, Satin_default as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Es as isValue, Fc as defineStd, Ll as p, Rt as saturate, ws as crosses } from "./std-ebybEx3c.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "Saturation",
|
|
4
4
|
role: "filter",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-
|
|
1
|
+
import { Fc as defineStd, Ll as p, Wo as rampOver, Yi as linearPair, Zi as noiseTone, ia as scratchStreaks, ta as rawPlane } from "./std-ebybEx3c.js";
|
|
2
|
+
import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-oUufQir9.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "Scratches",
|
|
5
5
|
role: "generator",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { An as sharpen, Ds as isZero, Fc as defineStd, Ll as p, ws as crosses } from "./std-ebybEx3c.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "Sharpness",
|
|
4
4
|
role: "filter",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bd as applyEdgeHandlingExpr, Fc as defineStd, Gd as ZERO, Zd as floatE, _t as crackRefractUV, gt as crackGeom, ht as cellLaneUVFor, ld as toHalfFloat, lf as unpremultiplyAlpha, qd as call, vt as crackShardCompose, yt as voronoiRegionField } from "./std-ebybEx3c.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var seededRandom = (seed) => {
|
|
4
4
|
const x = Math.sin(seed) * 1e4;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { Bo as noiseField, Fc as defineStd, Gi as evolving, Ll as p, Qo as stops, Wo as rampOver, aa as seededPlane, oa as signedTone } from "./std-ebybEx3c.js";
|
|
2
|
+
import { t as noiseColorProps } from "./noiseColor-oUufQir9.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "SimplexNoise",
|
|
5
5
|
role: "generator",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, Sr as sineStroke } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "SineWave",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $d as vec4, $f as textureStorage2d, Ef as typegpu_default, Fc as defineStd, Gd as ZERO, Yf as vec4f, du as colorStopsPropConfig, ep as arrayOf, f as fluidSim, h as splat, hl as buildFluidOutputKernel, ip as f32, jd as mixColorStopsRuntime, ml as buildEmitterSplatKernel, qd as call, tp as struct, uf as colorMixing_exports, vl as buildStableFluidsKernels } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var N = 256;
|
|
4
4
|
var COUNT = N * N;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $d as vec4, $f as textureStorage2d, Cl as makeShapeMaskSet, Ef as typegpu_default, Fc as defineStd, Gd as ZERO, Hu as resolveShapeType, Ru as sdf3d_exports, Uu as shapeEffectBoundingBoxDeclaration, Xs as clamp, Yf as vec4f, cd as sdf_exports, ep as arrayOf, f as fluidSim, gc as mul, h as splat, hl as buildFluidOutputKernel, ip as f32, ml as buildEmitterSplatKernel, qd as call, tp as struct, uf as colorMixing_exports, vl as buildStableFluidsKernels, wu as glass_exports } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var { sdfSpaceUV } = glass_exports;
|
|
4
4
|
var { createSvgSdfSampler, createSdfDataTexture, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $d as vec4, $f as textureStorage2d, Ef as typegpu_default, Fc as defineStd, Gd as ZERO, Yf as vec4f, d as cursorRibbon, du as colorStopsPropConfig, ep as arrayOf, f as fluidSim, fd as decayFadeSeconds, hl as buildFluidOutputKernel, ip as f32, jd as mixColorStopsRuntime, ml as buildEmitterSplatKernel, qd as call, tp as struct, uf as colorMixing_exports, vl as buildStableFluidsKernels } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
var N = 256;
|
|
4
4
|
var COUNT = N * N;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ds as isZero, Fc as defineStd, Ll as p, ws as crosses, zt as solarize } from "./std-ebybEx3c.js";
|
|
2
2
|
const componentDefinition = defineStd({
|
|
3
3
|
name: "Solarize",
|
|
4
4
|
role: "filter",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fc as defineStd, Ll as p, Mo as solidColor } from "./std-ebybEx3c.js";
|
|
2
2
|
import { a as transformColor } from "./transformations-P50Uo_Ju.js";
|
|
3
3
|
const componentDefinition = defineStd({
|
|
4
4
|
name: "SolidColor",
|