shaders 3.0.443 → 3.0.444
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-CJsRS1Ri.js → AngularBlur-D-tt4pvi.js} +2 -2
- package/dist/core/{Arc-CNesL3S9.js → Arc-DrBTn2ft.js} +2 -2
- package/dist/core/{Ascii-z7til0PQ.js → Ascii-cHzx_Cgc.js} +2 -2
- package/dist/core/{Aurora-BAuYUYGc.js → Aurora-15z76vsc.js} +3 -3
- package/dist/core/{BarShift-qVwbTMcq.js → BarShift-s7HgQwz5.js} +3 -3
- package/dist/core/{BarnDoors-DrOAeSqj.js → BarnDoors-CBzse00V.js} +2 -2
- package/dist/core/{Beam-BW6yblZw.js → Beam-DZgWUuTC.js} +2 -2
- package/dist/core/{Bend-B7PMQ3T5.js → Bend-CHTYK8SA.js} +2 -2
- package/dist/core/{Blob-CRJ5N0hK.js → Blob-A8bKkEG1.js} +3 -3
- package/dist/core/{BlockDissolve-D-6Wy66g.js → BlockDissolve-Bb4aDV5s.js} +2 -2
- package/dist/core/{BlockNoise-Ct9Fae_7.js → BlockNoise-BnnsS95j.js} +3 -3
- package/dist/core/{BlueNoise-Cu7rJuP0.js → BlueNoise-DTOarEL0.js} +2 -2
- package/dist/core/{Blur-BrdVVSPq.js → Blur-DEwHcGOu.js} +1 -1
- package/dist/core/{Boids-DIzUaLGM.js → Boids-BWJXVflR.js} +2 -2
- package/dist/core/{BokehBlur-yYb03spN.js → BokehBlur-pQJN6FFd.js} +2 -2
- package/dist/core/{BrickPattern-BL_MOS_A.js → BrickPattern-Kwmx3pdx.js} +3 -3
- package/dist/core/{BrightnessContrast-CiKimIcA.js → BrightnessContrast-CAkwN3s1.js} +1 -1
- package/dist/core/{BrushedMetal-dvYjizvg.js → BrushedMetal-B4qfaTCf.js} +5 -5
- package/dist/core/{Bulge-CogpoPKe.js → Bulge-CLBhicOs.js} +2 -2
- package/dist/core/{CRTScreen-X64EnHMB.js → CRTScreen-Cj2H2mXK.js} +1 -1
- package/dist/core/{CarbonFiber-CTy3P-Qk.js → CarbonFiber-zA6_ZDg8.js} +4 -4
- package/dist/core/{Chalkboard-CnHUOHtc.js → Chalkboard-DwkX3ZL3.js} +2 -2
- package/dist/core/{ChannelBlur-MwnpNLSZ.js → ChannelBlur-KHDU8WCn.js} +1 -1
- package/dist/core/{CheckerWipe-CCNc70ye.js → CheckerWipe-CNlqWp0y.js} +2 -2
- package/dist/core/{Checkerboard-C97ZiLyQ.js → Checkerboard-CvP8BKcu.js} +2 -2
- package/dist/core/{Chevron-ABT6D1wM.js → Chevron-BFmKhIws.js} +3 -3
- package/dist/core/{ChromaFlow-7tJQEFm9.js → ChromaFlow-C8I4PtcP.js} +2 -2
- package/dist/core/{ChromaticAberration-D7-fxyEd.js → ChromaticAberration-CGPfHEFI.js} +2 -2
- package/dist/core/{Circle-I0DIAypS.js → Circle-ChmepdP_.js} +2 -2
- package/dist/core/{ColorWheel-CEqzzrN-.js → ColorWheel-D5V4ozig.js} +3 -3
- package/dist/core/{CompressionArtifacts-C24nRoC3.js → CompressionArtifacts--GdHELg8.js} +1 -1
- package/dist/core/{ConcentricSpin-CAu-PGNH.js → ConcentricSpin-DIWQ80K5.js} +3 -3
- package/dist/core/{ConicGradient-n12K5TLj.js → ConicGradient-DjMQDAT6.js} +3 -3
- package/dist/core/{ContourLines-FOStIWDr.js → ContourLines-Pq1zDmlf.js} +2 -2
- package/dist/core/{CornerPin-DsUVMFcX.js → CornerPin-C-x2z8H5.js} +2 -2
- package/dist/core/{Crescent-9i_5WPA-.js → Crescent-C6COUHa5.js} +2 -2
- package/dist/core/{Cross-HiA69xGL.js → Cross-Cgw13Sga.js} +2 -2
- package/dist/core/{Crystal-BBjEm9m4.js → Crystal-RnN4Y5Tf.js} +4 -4
- package/dist/core/{CurlNoise-1jifziI0.js → CurlNoise-jaIscgOF.js} +3 -3
- package/dist/core/{CursorRipples-D4agAYHK.js → CursorRipples-Gv0B1S-h.js} +2 -2
- package/dist/core/{CursorTrail-C-FrY0e2.js → CursorTrail-BMHsUYwx.js} +3 -3
- package/dist/core/{DataMosh-DXcM1I4Y.js → DataMosh-CaqYFxYA.js} +1 -1
- package/dist/core/{DiamondGradient-CQ5jeKEc.js → DiamondGradient-D388xLbc.js} +3 -3
- package/dist/core/{DiamondWipe-B1EXgweH.js → DiamondWipe-BRXj3gon.js} +2 -2
- package/dist/core/{DiffuseBlur-CmD97dHb.js → DiffuseBlur-CM5Qy5JM.js} +2 -2
- package/dist/core/{DisplacementMap-JV_CNJfU.js → DisplacementMap-Cr1fauBv.js} +2 -2
- package/dist/core/{Dither-NJDWpGb3.js → Dither-CubXhMES.js} +2 -2
- package/dist/core/{DotGrid-B2w7RFcv.js → DotGrid-D6We1dqv.js} +3 -3
- package/dist/core/{DropShadow-CLWp-bon.js → DropShadow-C8v9KJgy.js} +2 -2
- package/dist/core/{Duotone-Be2jx-jZ.js → Duotone-BfVi04d4.js} +2 -2
- package/dist/core/{Ellipse-BR6qXidK.js → Ellipse-fTV0CAVg.js} +2 -2
- package/dist/core/{Emboss-C8ElxLo3.js → Emboss-BNhsz2v0.js} +4 -4
- package/dist/core/{Engraving-D67DM--1.js → Engraving-DYTr1YbV.js} +2 -2
- package/dist/core/{ErosionNoise-FeEMQOkR.js → ErosionNoise-CxsXwPPE.js} +2 -2
- package/dist/core/{Exposure-CZ1gfqpf.js → Exposure-DISAOzQ5.js} +1 -1
- package/dist/core/{FallingLines-ifuQ01oA.js → FallingLines-DBGk9U7l.js} +3 -3
- package/dist/core/{FilmGrain-p5sawa_f.js → FilmGrain-Ban-r5as.js} +1 -1
- package/dist/core/{FilmStock-BD5wv1TV.js → FilmStock-BlOwC5zb.js} +1 -1
- package/dist/core/{Flip-MKiLH9jJ.js → Flip-CAt9CFWn.js} +2 -2
- package/dist/core/{FloatingParticles-Bn8CmtwG.js → FloatingParticles-Cppgg6I0.js} +2 -2
- package/dist/core/{FlowField-BdFeRmif.js → FlowField-b0PcB7MV.js} +3 -3
- package/dist/core/{Flower-BwDBwcSk.js → Flower-iLK4UwZa.js} +2 -2
- package/dist/core/{FlowingGradient-RYOS36eB.js → FlowingGradient-CZc_z9cL.js} +3 -3
- package/dist/core/{FlutedGlass-Ong8W4Ih.js → FlutedGlass-DMl2A42x.js} +3 -3
- package/dist/core/{Fog-C-X8msRb.js → Fog-BBc52yrL.js} +2 -2
- package/dist/core/{Form3D-BZ_vaLWe.js → Form3D-BqMINp_g.js} +3 -3
- package/dist/core/{FractalNoise-BPj8RPkE.js → FractalNoise-BjGa9I7_.js} +3 -3
- package/dist/core/{Frost-DmxlFu63.js → Frost-ttMO1uGc.js} +5 -5
- package/dist/core/{GaborNoise-Boc8ieHd.js → GaborNoise-CSC24alr.js} +3 -3
- package/dist/core/{Glass-D5p21MIw.js → Glass-DHkb-2UB.js} +4 -4
- package/dist/core/{GlassTiles-BP4CzdI3.js → GlassTiles-CTSmg7gD.js} +1 -1
- package/dist/core/{Glitch-cJguD7jS.js → Glitch-O5FZxlBV.js} +1 -1
- package/dist/core/{Glow-BabfcnwS.js → Glow-Cj9SzOqq.js} +1 -1
- package/dist/core/{Godrays-BpiKSlNR.js → Godrays-XW1fNiSU.js} +3 -3
- package/dist/core/{Goo-BaQEtOyr.js → Goo-Bc43zAec.js} +5 -5
- package/dist/core/{GradientMap-BtKtW-4M.js → GradientMap-BxSv1OOf.js} +2 -2
- package/dist/core/{Grayscale-Bgwugyvv.js → Grayscale-CNM0GlQN.js} +1 -1
- package/dist/core/{Grid-5cEDkyWX.js → Grid-reIQAyFU.js} +2 -2
- package/dist/core/{GridDistortion-Byf4G720.js → GridDistortion-tJym6OIr.js} +2 -2
- package/dist/core/{Group-DUEQSUir.js → Group-8iAuPA0-.js} +1 -1
- package/dist/core/{HTMLInCanvas-uW1O3Z-R.js → HTMLInCanvas-CAHfLRAz.js} +1 -1
- package/dist/core/{Halftone-BiSLVvGF.js → Halftone-Dlk16PsH.js} +2 -2
- package/dist/core/{Heart-RAGeVEVH.js → Heart-C3Uas8c_.js} +2 -2
- package/dist/core/{Heatmap-Ds65scO7.js → Heatmap-CE7IB_4g.js} +5 -5
- package/dist/core/{HexGrid-H1N5Y1XD.js → HexGrid-BiXYpVNp.js} +2 -2
- package/dist/core/{Hologram-DpDfyeSz.js → Hologram-BjKBncw8.js} +5 -5
- package/dist/core/{Holographic-Ckubuqn8.js → Holographic-CCTmTYXb.js} +5 -5
- package/dist/core/{HueShift-C_a5UVHy.js → HueShift-CE5RgaBc.js} +1 -1
- package/dist/core/{ImageTexture-CM-dPJQ4.js → ImageTexture-BrjlwuWY.js} +1 -1
- package/dist/core/{InkFlow-CY7sCKpI.js → InkFlow-DS92HgM9.js} +2 -2
- package/dist/core/{Invert-DhHrtwHQ.js → Invert-e1Z9IfPo.js} +1 -1
- package/dist/core/{IrisWipe-BnOMUdEV.js → IrisWipe-CCK_EamC.js} +2 -2
- package/dist/core/{IsometricCubes-CXPz62PB.js → IsometricCubes-BA-cN4bC.js} +2 -2
- package/dist/core/{Kaleidoscope-CSgi0E5B.js → Kaleidoscope-Cin7yxd7.js} +2 -2
- package/dist/core/{KeyFrames-C3I4poq8.js → KeyFrames-D4-678xR.js} +2 -2
- package/dist/core/{LensFlare-DxvbKXgt.js → LensFlare-UNNiSfiz.js} +3 -3
- package/dist/core/{LightEdge-niXz_FAk.js → LightEdge-GUFdnqjh.js} +5 -5
- package/dist/core/{LightLeak-B7Pt1tt4.js → LightLeak-DWv0ec7B.js} +3 -3
- package/dist/core/{LinearBlur-CXNcduWQ.js → LinearBlur-DBKjOKVV.js} +2 -2
- package/dist/core/{LinearGradient-CYiaWIXd.js → LinearGradient--Vy79Fs_.js} +3 -3
- package/dist/core/{LinearWipe-gwLhEveK.js → LinearWipe-PZcYib77.js} +2 -2
- package/dist/core/{LiquidMetal-D0sgLjcd.js → LiquidMetal-cUxfJdju.js} +5 -5
- package/dist/core/{Liquify-h08a8S-C.js → Liquify-B1o-_MJZ.js} +2 -2
- package/dist/core/{MagneticFilings-BlNWPVwS.js → MagneticFilings-B1Qvnw6t.js} +2 -2
- package/dist/core/{Marble-bps2lOWc.js → Marble-CD5fqEce.js} +3 -3
- package/dist/core/{Mirror-8miSUAyZ.js → Mirror-QJoYnzu6.js} +2 -2
- package/dist/core/{MultiPointGradient-C-9_Q6CM.js → MultiPointGradient-CLRPS8u7.js} +2 -2
- package/dist/core/{Neon-RDh1tAjH.js → Neon-DAPbLlBN.js} +4 -4
- package/dist/core/{NoiseDissolve-DjlWGdUc.js → NoiseDissolve-jdMIvdYS.js} +2 -2
- package/dist/core/{ObjectTracker-DW4aEBRv.js → ObjectTracker-BD_l_g6R.js} +3 -3
- package/dist/core/{PagePeel-JsbScYi4.js → PagePeel-YyWAE0am.js} +1 -1
- package/dist/core/{Paper-BGTU0GOF.js → Paper-DOFhG3gq.js} +1 -1
- package/dist/core/{Parallelogram-RC3MxzlN.js → Parallelogram-CKlvs9a_.js} +2 -2
- package/dist/core/{ParticleField-XypD7Eru.js → ParticleField-R--x794f.js} +1 -1
- package/dist/core/{ParticleFlow-DBw7m9C6.js → ParticleFlow-DY8g2n2d.js} +2 -2
- package/dist/core/{Particles-CvpZvfe3.js → Particles-D6-MCj-7.js} +3 -3
- package/dist/core/{PerlinNoise-CHVaarmz.js → PerlinNoise-DKBJst5k.js} +3 -3
- package/dist/core/{Perspective-zyCZAb3_.js → Perspective-DH5aV7fh.js} +2 -2
- package/dist/core/{PixelSort-B-zefB9S.js → PixelSort-DRd4GE4_.js} +1 -1
- package/dist/core/{PixelThrow-BZ6erf3G.js → PixelThrow-CRizzpOr.js} +2 -2
- package/dist/core/{Pixelate-D1e7buDQ.js → Pixelate-DgPtCErp.js} +1 -1
- package/dist/core/{Plasma-CBrx8Xu-.js → Plasma-8zXLjhIr.js} +3 -3
- package/dist/core/{Plastic-CcS4iAJM.js → Plastic-Dv-N6_Nv.js} +5 -5
- package/dist/core/{PolarCoordinates-B9SuYLgF.js → PolarCoordinates-lw0yBeJq.js} +2 -2
- package/dist/core/{Polygon-N0l1KfIO.js → Polygon-DQxmxfqr.js} +2 -2
- package/dist/core/{Posterize-u2et79Pv.js → Posterize-C4qpmou-.js} +1 -1
- package/dist/core/{Prism-BnDsPBcD.js → Prism-C0qW3WgL.js} +3 -3
- package/dist/core/{ProgressiveBlur-D9FiTJQy.js → ProgressiveBlur-C_xtFzmP.js} +2 -2
- package/dist/core/{RadialGradient-C4oB78ya.js → RadialGradient-DetBcKps.js} +3 -3
- package/dist/core/{RadialWipe-Dzb7i6wy.js → RadialWipe-Cmv05uxE.js} +2 -2
- package/dist/core/{RandomBars-DO9j43mN.js → RandomBars-CrPfWF8l.js} +2 -2
- package/dist/core/{ReactionDiffusion-DG1NSPhM.js → ReactionDiffusion-Dc_uVKMg.js} +2 -2
- package/dist/core/{RectangularCoordinates-Ck1gXdGx.js → RectangularCoordinates-C1sbpWlI.js} +2 -2
- package/dist/core/{ReflectivePlane-DFQDgLYC.js → ReflectivePlane-DyTDDfvN.js} +2 -2
- package/dist/core/{Repeater-CT35_BhW.js → Repeater-CzvIt5Gw.js} +2 -2
- package/dist/core/{Ring-DywDgKDv.js → Ring-6gd4orX0.js} +2 -2
- package/dist/core/{RippleWipe-ePWlg-DT.js → RippleWipe-BU-dDvBK.js} +2 -2
- package/dist/core/{Ripples-fTSMeqiE.js → Ripples-D7Y__Ls8.js} +3 -3
- package/dist/core/{RoundedRect-B0lxuFfM.js → RoundedRect-DMzr6z4F.js} +2 -2
- package/dist/core/{Saturation-ClaD54dk.js → Saturation-BZ5ZmmKo.js} +1 -1
- package/dist/core/{Scratches-D8ZIBZ50.js → Scratches-wRRWI1-5.js} +3 -3
- package/dist/core/{Sharpness-CsnT4s1o.js → Sharpness-BQu_GeV6.js} +1 -1
- package/dist/core/{Shatter-D_V7GBel.js → Shatter-HTHPxq07.js} +2 -2
- package/dist/core/{SimplexNoise-tI2G3Wzn.js → SimplexNoise-arMv2IxX.js} +3 -3
- package/dist/core/{SineWave-BGsYyEFg.js → SineWave-crFYxXPS.js} +3 -3
- package/dist/core/{SliceWipe-s4pWdINK.js → SliceWipe-D-Rnm4ce.js} +1 -1
- package/dist/core/{Smoke-C3SLe_rD.js → Smoke-Cyjm_hFb.js} +3 -3
- package/dist/core/{SmokeFill-BuKZtbX8.js → SmokeFill-CMBAFeM8.js} +4 -4
- package/dist/core/{SmokeFlow-5fnVH2a9.js → SmokeFlow-DfytXLC4.js} +3 -3
- package/dist/core/{Solarize-TP85IPV7.js → Solarize-BNuZoWV5.js} +1 -1
- package/dist/core/{SolidColor-16e4q89i.js → SolidColor-DB8l6xRl.js} +1 -1
- package/dist/core/{Spherize-C4qsnql6.js → Spherize-LIfupaEj.js} +2 -2
- package/dist/core/{Spiral-rPHDFACm.js → Spiral-B-Kz6zOG.js} +3 -3
- package/dist/core/{Star-BDFhZWLo.js → Star-Bxi6VOuZ.js} +2 -2
- package/dist/core/{Stone-CCXo9IgA.js → Stone-CrdhdOWf.js} +2 -2
- package/dist/core/{Strands-DCzYUsCX.js → Strands-CgOVvjKk.js} +3 -3
- package/dist/core/{Stretch-CjhYXAth.js → Stretch-CWpqkWdT.js} +2 -2
- package/dist/core/{Stripes-CN2TFWGw.js → Stripes-DnmkVdJi.js} +3 -3
- package/dist/core/{StudioBackground-I_XxtKjr.js → StudioBackground-BR7HA0ot.js} +3 -3
- package/dist/core/{SunBurst-CGQkdsXl.js → SunBurst-2tbvTvoR.js} +3 -3
- package/dist/core/{Surface3D-CpCPTs0u.js → Surface3D-BDN9t6UU.js} +2 -2
- package/dist/core/{Swirl-BCnlG3G8.js → Swirl-BO63keY-.js} +3 -3
- package/dist/core/{Teardrop-DX-YZkNC.js → Teardrop-Cj9wbWNj.js} +2 -2
- package/dist/core/{Text-oI5d7_UD.js → Text-DDpqrXsw.js} +3 -3
- package/dist/core/{ThinFilm-CEYaV4nn.js → ThinFilm-Cfx6eANY.js} +4 -4
- package/dist/core/{TiltShift-C8GluqAm.js → TiltShift-DtDGS05n.js} +2 -2
- package/dist/core/{TimeTrail-CPiSo5Of.js → TimeTrail-CH7CMyxo.js} +2 -2
- package/dist/core/{Tint-NA7BO-Qk.js → Tint-RTSV6Aiu.js} +2 -2
- package/dist/core/{Trapezoid-BOGSQvW5.js → Trapezoid-B8YUl-8U.js} +2 -2
- package/dist/core/{TriangularGrid-Zx3I4CqA.js → TriangularGrid-B_P_Bn6J.js} +3 -3
- package/dist/core/{Tritone-Bl69W4Y4.js → Tritone-zbDA_LBO.js} +2 -2
- package/dist/core/{Truchet-RJI0-v6x.js → Truchet-QdRvWfkQ.js} +2 -2
- package/dist/core/{Twirl-CrIawDs2.js → Twirl-M1ylLxnB.js} +2 -2
- package/dist/core/{VHS-B12KbScc.js → VHS-BbpH5MH8.js} +1 -1
- package/dist/core/{VenetianBlinds-CGfPlhGd.js → VenetianBlinds-DyBouRcb.js} +2 -2
- package/dist/core/{Vesica-DekjxkHL.js → Vesica-DYkOtRW9.js} +2 -2
- package/dist/core/{Vibrance-DKKduAD8.js → Vibrance-DYCb_3Vb.js} +1 -1
- package/dist/core/{VideoTexture-1xg_a680.js → VideoTexture-B5QB_7wK.js} +1 -1
- package/dist/core/{Vignette-CDRCMNb2.js → Vignette-CWNEqMe7.js} +2 -2
- package/dist/core/{Voronoi-EWj3WFqv.js → Voronoi-DJIf5qyN.js} +3 -3
- package/dist/core/{Water-BdGrOEuE.js → Water-D7FpFPfD.js} +5 -5
- package/dist/core/{Watercolor-BGIcnGZu.js → Watercolor-B4bOV2pY.js} +2 -2
- package/dist/core/{WaveDistortion-BNlrOaur.js → WaveDistortion-C9K0iLOy.js} +3 -3
- package/dist/core/{WaveletNoise-Jv-694xX.js → WaveletNoise-MxVl5SGH.js} +3 -3
- package/dist/core/{Weave-HNS6xvOs.js → Weave-DMvmkoDF.js} +2 -2
- package/dist/core/{WebcamTexture-DVKxGpWI.js → WebcamTexture-ylP8AAV1.js} +3 -2
- package/dist/core/{Wool-D7uM0JRs.js → Wool-DKuYNXvU.js} +2 -2
- package/dist/core/{WorleyNoise-DsDWmRCp.js → WorleyNoise-C-8TphM9.js} +3 -3
- package/dist/core/{ZoomBlur-S2GfQojf.js → ZoomBlur-BxPekTQP.js} +2 -2
- package/dist/core/{coords-0A7CojvN.js → coords-CLqRuQwC.js} +8 -3
- package/dist/core/{glass-BjUqcmHP.js → glass-BLc74dQi.js} +1 -1
- package/dist/core/gpu/composer.d.ts.map +1 -1
- package/dist/core/gpu/index.d.ts +22 -3
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/sdf.d.ts.map +1 -1
- package/dist/core/gpu/passManager.d.ts +5 -1
- package/dist/core/gpu/passManager.d.ts.map +1 -1
- package/dist/core/gpu/porters.d.ts +1 -0
- package/dist/core/gpu/porters.d.ts.map +1 -1
- package/dist/core/gpu/root.d.ts +26 -4
- package/dist/core/gpu/root.d.ts.map +1 -1
- package/dist/core/gpu/support.d.ts +119 -0
- package/dist/core/gpu/support.d.ts.map +1 -0
- package/dist/core/gpu/uniformStore.d.ts.map +1 -1
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +450 -316
- package/dist/core/{noiseColor-w3B94vmT.js → noiseColor-CFYtKwDd.js} +2 -2
- package/dist/core/{porters-B1jqpcE3.js → porters-u50QU6Yv.js} +2 -2
- package/dist/core/presetRenderer.d.ts +13 -1
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +199 -198
- package/dist/core/shaderRegistry-QNzuz_fH.js +425 -0
- package/dist/core/shaders/AngularBlur/index.js +5 -4
- package/dist/core/shaders/Arc/index.js +5 -4
- package/dist/core/shaders/Ascii/index.js +5 -4
- package/dist/core/shaders/Aurora/index.js +5 -4
- package/dist/core/shaders/BarShift/index.js +5 -4
- package/dist/core/shaders/BarnDoors/index.js +5 -4
- package/dist/core/shaders/Beam/index.js +5 -4
- package/dist/core/shaders/Bend/index.js +5 -4
- package/dist/core/shaders/Blob/index.js +5 -4
- package/dist/core/shaders/BlockDissolve/index.js +5 -4
- package/dist/core/shaders/BlockNoise/index.js +6 -5
- package/dist/core/shaders/BlueNoise/index.js +6 -5
- package/dist/core/shaders/Blur/index.js +5 -4
- package/dist/core/shaders/Boids/index.js +5 -4
- package/dist/core/shaders/BokehBlur/index.js +5 -4
- package/dist/core/shaders/BrickPattern/index.js +5 -4
- package/dist/core/shaders/BrightnessContrast/index.js +5 -4
- package/dist/core/shaders/BrushedMetal/index.js +7 -6
- package/dist/core/shaders/Bulge/index.js +5 -4
- package/dist/core/shaders/CRTScreen/index.js +5 -4
- package/dist/core/shaders/CarbonFiber/index.js +7 -6
- package/dist/core/shaders/Chalkboard/index.js +5 -4
- package/dist/core/shaders/ChannelBlur/index.js +5 -4
- package/dist/core/shaders/CheckerWipe/index.js +5 -4
- package/dist/core/shaders/Checkerboard/index.js +5 -4
- package/dist/core/shaders/Chevron/index.js +5 -4
- package/dist/core/shaders/ChromaFlow/index.js +5 -4
- package/dist/core/shaders/ChromaticAberration/index.js +5 -4
- package/dist/core/shaders/Circle/index.js +5 -4
- package/dist/core/shaders/ColorWheel/index.js +5 -4
- package/dist/core/shaders/CompressionArtifacts/index.js +5 -4
- package/dist/core/shaders/ConcentricSpin/index.js +5 -4
- package/dist/core/shaders/ConicGradient/index.js +5 -4
- package/dist/core/shaders/ContourLines/index.js +5 -4
- package/dist/core/shaders/CornerPin/index.js +5 -4
- package/dist/core/shaders/Crescent/index.js +5 -4
- package/dist/core/shaders/Cross/index.js +5 -4
- package/dist/core/shaders/Crystal/index.js +7 -6
- package/dist/core/shaders/CurlNoise/index.js +6 -5
- package/dist/core/shaders/CursorRipples/index.js +5 -4
- package/dist/core/shaders/CursorTrail/index.js +5 -4
- package/dist/core/shaders/DataMosh/index.js +5 -4
- package/dist/core/shaders/DiamondGradient/index.js +5 -4
- package/dist/core/shaders/DiamondWipe/index.js +5 -4
- package/dist/core/shaders/DiffuseBlur/index.js +5 -4
- package/dist/core/shaders/DisplacementMap/index.js +5 -4
- package/dist/core/shaders/Dither/index.js +5 -4
- package/dist/core/shaders/DotGrid/index.js +5 -4
- package/dist/core/shaders/DropShadow/index.js +5 -4
- package/dist/core/shaders/Duotone/index.js +5 -4
- package/dist/core/shaders/Ellipse/index.js +5 -4
- package/dist/core/shaders/Emboss/index.js +7 -6
- package/dist/core/shaders/Engraving/index.js +5 -4
- package/dist/core/shaders/ErosionNoise/index.js +6 -5
- package/dist/core/shaders/Exposure/index.js +5 -4
- package/dist/core/shaders/FallingLines/index.js +5 -4
- package/dist/core/shaders/FilmGrain/index.js +5 -4
- package/dist/core/shaders/FilmStock/index.js +5 -4
- package/dist/core/shaders/Flip/index.js +5 -4
- package/dist/core/shaders/FloatingParticles/index.js +5 -4
- package/dist/core/shaders/FlowField/index.js +5 -4
- package/dist/core/shaders/Flower/index.js +5 -4
- package/dist/core/shaders/FlowingGradient/index.js +5 -4
- package/dist/core/shaders/FlutedGlass/index.js +5 -4
- package/dist/core/shaders/Fog/index.js +5 -4
- package/dist/core/shaders/Form3D/index.js +5 -4
- package/dist/core/shaders/FractalNoise/index.js +5 -4
- package/dist/core/shaders/Frost/index.js +7 -6
- package/dist/core/shaders/GaborNoise/index.js +6 -5
- package/dist/core/shaders/Glass/index.js +7 -6
- package/dist/core/shaders/GlassTiles/index.js +5 -4
- package/dist/core/shaders/Glitch/index.js +5 -4
- package/dist/core/shaders/Glow/index.js +5 -4
- package/dist/core/shaders/Godrays/index.js +5 -4
- package/dist/core/shaders/Goo/index.js +7 -6
- package/dist/core/shaders/GradientMap/index.js +5 -4
- package/dist/core/shaders/Grayscale/index.js +5 -4
- package/dist/core/shaders/Grid/index.js +5 -4
- package/dist/core/shaders/GridDistortion/index.js +5 -4
- package/dist/core/shaders/Group/index.js +5 -4
- package/dist/core/shaders/HTMLInCanvas/index.js +5 -4
- package/dist/core/shaders/Halftone/index.js +5 -4
- package/dist/core/shaders/Heart/index.js +5 -4
- package/dist/core/shaders/Heatmap/index.js +7 -6
- package/dist/core/shaders/HexGrid/index.js +5 -4
- package/dist/core/shaders/Hologram/index.js +7 -6
- package/dist/core/shaders/Holographic/index.js +7 -6
- package/dist/core/shaders/HueShift/index.js +5 -4
- package/dist/core/shaders/ImageTexture/index.js +5 -4
- package/dist/core/shaders/InkFlow/index.js +5 -4
- package/dist/core/shaders/Invert/index.js +5 -4
- package/dist/core/shaders/IrisWipe/index.js +5 -4
- package/dist/core/shaders/IsometricCubes/index.js +5 -4
- package/dist/core/shaders/Kaleidoscope/index.js +5 -4
- package/dist/core/shaders/KeyFrames/index.js +5 -4
- package/dist/core/shaders/LensFlare/index.js +5 -4
- package/dist/core/shaders/LightEdge/index.js +7 -6
- package/dist/core/shaders/LightLeak/index.js +5 -4
- package/dist/core/shaders/LinearBlur/index.js +5 -4
- package/dist/core/shaders/LinearGradient/index.js +5 -4
- package/dist/core/shaders/LinearWipe/index.js +5 -4
- package/dist/core/shaders/LiquidMetal/index.js +7 -6
- package/dist/core/shaders/Liquify/index.js +5 -4
- package/dist/core/shaders/MagneticFilings/index.js +5 -4
- package/dist/core/shaders/Marble/index.js +5 -4
- package/dist/core/shaders/Mirror/index.js +5 -4
- package/dist/core/shaders/MultiPointGradient/index.js +5 -4
- package/dist/core/shaders/Neon/index.js +6 -5
- package/dist/core/shaders/NoiseDissolve/index.js +5 -4
- package/dist/core/shaders/ObjectTracker/index.js +6 -5
- package/dist/core/shaders/PagePeel/index.js +5 -4
- package/dist/core/shaders/Paper/index.js +5 -4
- package/dist/core/shaders/Parallelogram/index.js +5 -4
- package/dist/core/shaders/ParticleField/index.js +5 -4
- package/dist/core/shaders/ParticleFlow/index.js +5 -4
- package/dist/core/shaders/Particles/index.js +6 -5
- package/dist/core/shaders/PerlinNoise/index.js +6 -5
- package/dist/core/shaders/Perspective/index.js +5 -4
- package/dist/core/shaders/PixelSort/index.js +5 -4
- package/dist/core/shaders/PixelThrow/index.js +5 -4
- package/dist/core/shaders/Pixelate/index.js +5 -4
- package/dist/core/shaders/Plasma/index.js +5 -4
- package/dist/core/shaders/Plastic/index.js +7 -6
- package/dist/core/shaders/PolarCoordinates/index.js +5 -4
- package/dist/core/shaders/Polygon/index.js +5 -4
- package/dist/core/shaders/Posterize/index.js +5 -4
- package/dist/core/shaders/Prism/index.js +5 -4
- package/dist/core/shaders/ProgressiveBlur/index.js +5 -4
- package/dist/core/shaders/RadialGradient/index.js +5 -4
- package/dist/core/shaders/RadialWipe/index.js +5 -4
- package/dist/core/shaders/RandomBars/index.js +5 -4
- package/dist/core/shaders/ReactionDiffusion/index.js +5 -4
- package/dist/core/shaders/RectangularCoordinates/index.js +5 -4
- package/dist/core/shaders/ReflectivePlane/index.js +5 -4
- package/dist/core/shaders/Repeater/index.js +5 -4
- package/dist/core/shaders/Ring/index.js +5 -4
- package/dist/core/shaders/RippleWipe/index.js +5 -4
- package/dist/core/shaders/Ripples/index.js +5 -4
- package/dist/core/shaders/RoundedRect/index.js +5 -4
- package/dist/core/shaders/Saturation/index.js +5 -4
- package/dist/core/shaders/Scratches/index.js +6 -5
- package/dist/core/shaders/Sharpness/index.js +5 -4
- package/dist/core/shaders/Shatter/index.js +5 -4
- package/dist/core/shaders/SimplexNoise/index.js +5 -4
- package/dist/core/shaders/SineWave/index.js +5 -4
- package/dist/core/shaders/SliceWipe/index.js +5 -4
- package/dist/core/shaders/Smoke/index.js +5 -4
- package/dist/core/shaders/SmokeFill/index.js +7 -6
- package/dist/core/shaders/SmokeFlow/index.js +5 -4
- package/dist/core/shaders/Solarize/index.js +5 -4
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +5 -4
- package/dist/core/shaders/Spiral/index.js +5 -4
- package/dist/core/shaders/Star/index.js +5 -4
- package/dist/core/shaders/Stone/index.js +4 -3
- package/dist/core/shaders/Strands/index.js +5 -4
- package/dist/core/shaders/Stretch/index.js +5 -4
- package/dist/core/shaders/Stripes/index.js +5 -4
- package/dist/core/shaders/StudioBackground/index.js +5 -4
- package/dist/core/shaders/SunBurst/index.js +5 -4
- package/dist/core/shaders/Surface3D/index.js +5 -4
- package/dist/core/shaders/Swirl/index.js +5 -4
- package/dist/core/shaders/Teardrop/index.js +5 -4
- package/dist/core/shaders/Text/index.js +6 -5
- package/dist/core/shaders/ThinFilm/index.js +6 -5
- package/dist/core/shaders/TiltShift/index.js +5 -4
- package/dist/core/shaders/TimeTrail/index.js +5 -4
- package/dist/core/shaders/Tint/index.js +5 -4
- package/dist/core/shaders/Trapezoid/index.js +5 -4
- package/dist/core/shaders/TriangularGrid/index.js +5 -4
- package/dist/core/shaders/Tritone/index.js +5 -4
- package/dist/core/shaders/Truchet/index.js +5 -4
- package/dist/core/shaders/Twirl/index.js +5 -4
- package/dist/core/shaders/VHS/index.js +5 -4
- package/dist/core/shaders/VenetianBlinds/index.js +5 -4
- package/dist/core/shaders/Vesica/index.js +5 -4
- package/dist/core/shaders/Vibrance/index.js +5 -4
- package/dist/core/shaders/VideoTexture/index.js +5 -4
- package/dist/core/shaders/Vignette/index.js +5 -4
- package/dist/core/shaders/Voronoi/index.js +5 -4
- package/dist/core/shaders/Water/index.js +7 -6
- package/dist/core/shaders/Watercolor/index.js +5 -4
- package/dist/core/shaders/WaveDistortion/index.js +5 -4
- package/dist/core/shaders/WaveletNoise/index.js +6 -5
- package/dist/core/shaders/Weave/index.js +5 -4
- package/dist/core/shaders/WebcamTexture/index.js +5 -4
- package/dist/core/shaders/Wool/index.js +4 -3
- package/dist/core/shaders/WorleyNoise/index.js +5 -4
- package/dist/core/shaders/ZoomBlur/index.js +5 -4
- package/dist/core/{shapeEffectBounds-DRyn6AvG.js → shapeEffectBounds-DIjA_-15.js} +1 -1
- package/dist/core/support-6QRFK3xB.js +74 -0
- package/dist/core/telemetry/collector.d.ts.map +1 -1
- package/dist/core/telemetry/index.js +6 -5
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/js/bundle.js +84 -84
- package/dist/js/createShader.d.ts.map +1 -1
- package/dist/js/createShader.js +43 -13
- package/dist/js/createSharedDevice.d.ts +11 -9
- package/dist/js/createSharedDevice.d.ts.map +1 -1
- package/dist/js/createSharedDevice.js +2 -1
- package/dist/js/index.d.ts +2 -0
- package/dist/js/index.d.ts.map +1 -1
- package/dist/js/index.js +2 -1
- package/dist/js/types.d.ts +40 -10
- package/dist/js/types.d.ts.map +1 -1
- package/dist/react/Shader.js +27 -11
- package/dist/react/bundle.js +79 -79
- package/dist/react/engine/Shader.d.ts +7 -0
- package/dist/react/engine/Shader.d.ts.map +1 -1
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +2 -1
- package/dist/solid/engine/Preview.js +1 -0
- package/dist/solid/engine/Shader.d.ts +7 -0
- package/dist/solid/engine/Shader.d.ts.map +1 -1
- package/dist/solid/engine/Shader.js +29 -10
- package/dist/solid/index.d.ts +2 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +6 -1
- package/dist/svelte/engine/Shader.svelte.d.ts +7 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +27 -11
- package/dist/svelte/source/engine/Shader.svelte +49 -13
- package/dist/svelte/source/index.js +2 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +41 -24
- package/dist/vue/engine/Shader.vue.d.ts +9 -1
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/package.json +1 -13
- package/dist/core/shaderRegistry-BrbiIqjD.js +0 -425
- package/dist/pixi/createShaderSprite.d.ts +0 -54
- package/dist/pixi/createShaderSprite.d.ts.map +0 -1
- package/dist/pixi/index.d.ts +0 -20
- package/dist/pixi/index.d.ts.map +0 -1
- package/dist/pixi/index.js +0 -153
- /package/dist/core/{fonts-BLmvxkGd.js → fonts-BtGjHq1w.js} +0 -0
- /package/dist/core/{noiseStylize-4za6Obes.js → noiseStylize-BsZQT7ig.js} +0 -0
- /package/dist/core/{transformations-P50Uo_Ju.js → transformations-t0d2-uSX.js} +0 -0
|
@@ -1,425 +0,0 @@
|
|
|
1
|
-
import { n as componentDefinition$107 } from "./Neon-RDh1tAjH.js";
|
|
2
|
-
import { n as componentDefinition$51 } from "./Emboss-C8ElxLo3.js";
|
|
3
|
-
import { n as componentDefinition$65 } from "./Form3D-BZ_vaLWe.js";
|
|
4
|
-
import { n as componentDefinition$164 } from "./ThinFilm-CEYaV4nn.js";
|
|
5
|
-
import { a as componentDefinition } from "./AngularBlur-CJsRS1Ri.js";
|
|
6
|
-
import { r as componentDefinition$1 } from "./Arc-CNesL3S9.js";
|
|
7
|
-
import { a as componentDefinition$2 } from "./Ascii-z7til0PQ.js";
|
|
8
|
-
import { a as componentDefinition$3 } from "./Aurora-BAuYUYGc.js";
|
|
9
|
-
import { r as componentDefinition$4 } from "./BarnDoors-DrOAeSqj.js";
|
|
10
|
-
import { a as componentDefinition$5 } from "./BarShift-qVwbTMcq.js";
|
|
11
|
-
import { r as componentDefinition$6 } from "./Beam-BW6yblZw.js";
|
|
12
|
-
import { r as componentDefinition$7 } from "./Bend-B7PMQ3T5.js";
|
|
13
|
-
import { a as componentDefinition$8 } from "./Blob-CRJ5N0hK.js";
|
|
14
|
-
import { r as componentDefinition$9 } from "./BlockDissolve-D-6Wy66g.js";
|
|
15
|
-
import { r as componentDefinition$10 } from "./BlockNoise-Ct9Fae_7.js";
|
|
16
|
-
import { r as componentDefinition$11 } from "./BlueNoise-Cu7rJuP0.js";
|
|
17
|
-
import { i as componentDefinition$12 } from "./Blur-BrdVVSPq.js";
|
|
18
|
-
import { s as componentDefinition$13 } from "./Boids-DIzUaLGM.js";
|
|
19
|
-
import { c as componentDefinition$14 } from "./BokehBlur-yYb03spN.js";
|
|
20
|
-
import { r as componentDefinition$15 } from "./BrickPattern-BL_MOS_A.js";
|
|
21
|
-
import { r as componentDefinition$16 } from "./BrightnessContrast-CiKimIcA.js";
|
|
22
|
-
import { i as componentDefinition$17 } from "./BrushedMetal-dvYjizvg.js";
|
|
23
|
-
import { r as componentDefinition$18 } from "./Bulge-CogpoPKe.js";
|
|
24
|
-
import { r as componentDefinition$19 } from "./CarbonFiber-CTy3P-Qk.js";
|
|
25
|
-
import { i as componentDefinition$20 } from "./Chalkboard-CnHUOHtc.js";
|
|
26
|
-
import { a as componentDefinition$21 } from "./ChannelBlur-MwnpNLSZ.js";
|
|
27
|
-
import { a as componentDefinition$22 } from "./Checkerboard-C97ZiLyQ.js";
|
|
28
|
-
import { r as componentDefinition$23 } from "./CheckerWipe-CCNc70ye.js";
|
|
29
|
-
import { r as componentDefinition$24 } from "./Chevron-ABT6D1wM.js";
|
|
30
|
-
import { i as componentDefinition$25 } from "./ChromaFlow-7tJQEFm9.js";
|
|
31
|
-
import { r as componentDefinition$26 } from "./ChromaticAberration-D7-fxyEd.js";
|
|
32
|
-
import { r as componentDefinition$27 } from "./Circle-I0DIAypS.js";
|
|
33
|
-
import { o as componentDefinition$28 } from "./ColorWheel-CEqzzrN-.js";
|
|
34
|
-
import { r as componentDefinition$29 } from "./CompressionArtifacts-C24nRoC3.js";
|
|
35
|
-
import { n as componentDefinition$30 } from "./ConcentricSpin-CAu-PGNH.js";
|
|
36
|
-
import { n as componentDefinition$31 } from "./ConicGradient-n12K5TLj.js";
|
|
37
|
-
import { n as componentDefinition$32 } from "./ContourLines-FOStIWDr.js";
|
|
38
|
-
import { n as componentDefinition$33 } from "./CornerPin-DsUVMFcX.js";
|
|
39
|
-
import { n as componentDefinition$34 } from "./Crescent-9i_5WPA-.js";
|
|
40
|
-
import { n as componentDefinition$35 } from "./Cross-HiA69xGL.js";
|
|
41
|
-
import { n as componentDefinition$36 } from "./CRTScreen-X64EnHMB.js";
|
|
42
|
-
import { r as componentDefinition$37 } from "./Crystal-BBjEm9m4.js";
|
|
43
|
-
import { n as componentDefinition$38 } from "./CurlNoise-1jifziI0.js";
|
|
44
|
-
import { n as componentDefinition$39 } from "./CursorRipples-D4agAYHK.js";
|
|
45
|
-
import { n as componentDefinition$40 } from "./CursorTrail-C-FrY0e2.js";
|
|
46
|
-
import { n as componentDefinition$41 } from "./DataMosh-DXcM1I4Y.js";
|
|
47
|
-
import { n as componentDefinition$42 } from "./DiamondGradient-CQ5jeKEc.js";
|
|
48
|
-
import { n as componentDefinition$43 } from "./DiamondWipe-B1EXgweH.js";
|
|
49
|
-
import { n as componentDefinition$44 } from "./DiffuseBlur-CmD97dHb.js";
|
|
50
|
-
import { n as componentDefinition$45 } from "./DisplacementMap-JV_CNJfU.js";
|
|
51
|
-
import { n as componentDefinition$46 } from "./Dither-NJDWpGb3.js";
|
|
52
|
-
import { n as componentDefinition$47 } from "./DotGrid-B2w7RFcv.js";
|
|
53
|
-
import { n as componentDefinition$48 } from "./DropShadow-CLWp-bon.js";
|
|
54
|
-
import { n as componentDefinition$49 } from "./Duotone-Be2jx-jZ.js";
|
|
55
|
-
import { n as componentDefinition$50 } from "./Ellipse-BR6qXidK.js";
|
|
56
|
-
import { n as componentDefinition$52 } from "./Engraving-D67DM--1.js";
|
|
57
|
-
import { n as componentDefinition$53 } from "./ErosionNoise-FeEMQOkR.js";
|
|
58
|
-
import { n as componentDefinition$54 } from "./Exposure-CZ1gfqpf.js";
|
|
59
|
-
import { n as componentDefinition$55 } from "./FallingLines-ifuQ01oA.js";
|
|
60
|
-
import { n as componentDefinition$56 } from "./FilmGrain-p5sawa_f.js";
|
|
61
|
-
import { r as componentDefinition$57 } from "./FilmStock-BD5wv1TV.js";
|
|
62
|
-
import { n as componentDefinition$58 } from "./Flip-MKiLH9jJ.js";
|
|
63
|
-
import { n as componentDefinition$59 } from "./FloatingParticles-Bn8CmtwG.js";
|
|
64
|
-
import { n as componentDefinition$60 } from "./Flower-BwDBwcSk.js";
|
|
65
|
-
import { n as componentDefinition$61 } from "./FlowField-BdFeRmif.js";
|
|
66
|
-
import { n as componentDefinition$62 } from "./FlowingGradient-RYOS36eB.js";
|
|
67
|
-
import { r as componentDefinition$63 } from "./FlutedGlass-Ong8W4Ih.js";
|
|
68
|
-
import { a as componentDefinition$64 } from "./Fog-C-X8msRb.js";
|
|
69
|
-
import { n as componentDefinition$66 } from "./FractalNoise-BPj8RPkE.js";
|
|
70
|
-
import { n as componentDefinition$67 } from "./Frost-DmxlFu63.js";
|
|
71
|
-
import { n as componentDefinition$68 } from "./GaborNoise-Boc8ieHd.js";
|
|
72
|
-
import { n as componentDefinition$69 } from "./Glass-D5p21MIw.js";
|
|
73
|
-
import { n as componentDefinition$70 } from "./GlassTiles-BP4CzdI3.js";
|
|
74
|
-
import { r as componentDefinition$71 } from "./Glitch-cJguD7jS.js";
|
|
75
|
-
import { i as componentDefinition$72 } from "./Glow-BabfcnwS.js";
|
|
76
|
-
import { n as componentDefinition$73 } from "./Godrays-BpiKSlNR.js";
|
|
77
|
-
import { n as componentDefinition$74 } from "./Goo-BaQEtOyr.js";
|
|
78
|
-
import { n as componentDefinition$75 } from "./GradientMap-BtKtW-4M.js";
|
|
79
|
-
import { n as componentDefinition$76 } from "./Grayscale-Bgwugyvv.js";
|
|
80
|
-
import { n as componentDefinition$77 } from "./Grid-5cEDkyWX.js";
|
|
81
|
-
import { n as componentDefinition$78 } from "./GridDistortion-Byf4G720.js";
|
|
82
|
-
import { n as componentDefinition$79 } from "./Group-DUEQSUir.js";
|
|
83
|
-
import { n as componentDefinition$80 } from "./Halftone-BiSLVvGF.js";
|
|
84
|
-
import { n as componentDefinition$81 } from "./Heart-RAGeVEVH.js";
|
|
85
|
-
import { n as componentDefinition$82 } from "./Heatmap-Ds65scO7.js";
|
|
86
|
-
import { n as componentDefinition$83 } from "./HexGrid-H1N5Y1XD.js";
|
|
87
|
-
import { n as componentDefinition$84 } from "./Hologram-DpDfyeSz.js";
|
|
88
|
-
import { n as componentDefinition$85 } from "./Holographic-Ckubuqn8.js";
|
|
89
|
-
import { n as componentDefinition$86 } from "./HTMLInCanvas-uW1O3Z-R.js";
|
|
90
|
-
import { n as componentDefinition$87 } from "./HueShift-C_a5UVHy.js";
|
|
91
|
-
import { n as componentDefinition$88 } from "./ImageTexture-CM-dPJQ4.js";
|
|
92
|
-
import { i as componentDefinition$89 } from "./InkFlow-CY7sCKpI.js";
|
|
93
|
-
import { n as componentDefinition$90 } from "./Invert-DhHrtwHQ.js";
|
|
94
|
-
import { n as componentDefinition$91 } from "./IrisWipe-BnOMUdEV.js";
|
|
95
|
-
import { n as componentDefinition$92 } from "./IsometricCubes-CXPz62PB.js";
|
|
96
|
-
import { n as componentDefinition$93 } from "./Kaleidoscope-CSgi0E5B.js";
|
|
97
|
-
import { r as componentDefinition$94 } from "./KeyFrames-C3I4poq8.js";
|
|
98
|
-
import { n as componentDefinition$95 } from "./LensFlare-DxvbKXgt.js";
|
|
99
|
-
import { r as componentDefinition$96 } from "./LightEdge-niXz_FAk.js";
|
|
100
|
-
import { n as componentDefinition$97 } from "./LightLeak-B7Pt1tt4.js";
|
|
101
|
-
import { i as componentDefinition$98 } from "./LinearBlur-CXNcduWQ.js";
|
|
102
|
-
import { n as componentDefinition$99 } from "./LinearGradient-CYiaWIXd.js";
|
|
103
|
-
import { n as componentDefinition$100 } from "./LinearWipe-gwLhEveK.js";
|
|
104
|
-
import { n as componentDefinition$101 } from "./LiquidMetal-D0sgLjcd.js";
|
|
105
|
-
import { n as componentDefinition$102 } from "./Liquify-h08a8S-C.js";
|
|
106
|
-
import { n as componentDefinition$103 } from "./MagneticFilings-BlNWPVwS.js";
|
|
107
|
-
import { n as componentDefinition$104 } from "./Marble-bps2lOWc.js";
|
|
108
|
-
import { n as componentDefinition$105 } from "./Mirror-8miSUAyZ.js";
|
|
109
|
-
import { n as componentDefinition$106 } from "./MultiPointGradient-C-9_Q6CM.js";
|
|
110
|
-
import { n as componentDefinition$108 } from "./NoiseDissolve-DjlWGdUc.js";
|
|
111
|
-
import { n as componentDefinition$109 } from "./ObjectTracker-DW4aEBRv.js";
|
|
112
|
-
import { r as componentDefinition$110 } from "./PagePeel-JsbScYi4.js";
|
|
113
|
-
import { n as componentDefinition$111 } from "./Paper-BGTU0GOF.js";
|
|
114
|
-
import { n as componentDefinition$112 } from "./Parallelogram-RC3MxzlN.js";
|
|
115
|
-
import { n as componentDefinition$113 } from "./ParticleField-XypD7Eru.js";
|
|
116
|
-
import { n as componentDefinition$114 } from "./ParticleFlow-DBw7m9C6.js";
|
|
117
|
-
import { n as componentDefinition$115 } from "./Particles-CvpZvfe3.js";
|
|
118
|
-
import { n as componentDefinition$116 } from "./PerlinNoise-CHVaarmz.js";
|
|
119
|
-
import { n as componentDefinition$117 } from "./Perspective-zyCZAb3_.js";
|
|
120
|
-
import { n as componentDefinition$118 } from "./Pixelate-D1e7buDQ.js";
|
|
121
|
-
import { i as componentDefinition$119 } from "./PixelSort-B-zefB9S.js";
|
|
122
|
-
import { i as componentDefinition$120 } from "./PixelThrow-BZ6erf3G.js";
|
|
123
|
-
import { n as componentDefinition$121 } from "./Plasma-CBrx8Xu-.js";
|
|
124
|
-
import { n as componentDefinition$122 } from "./Plastic-CcS4iAJM.js";
|
|
125
|
-
import { n as componentDefinition$123 } from "./PolarCoordinates-B9SuYLgF.js";
|
|
126
|
-
import { n as componentDefinition$124 } from "./Polygon-N0l1KfIO.js";
|
|
127
|
-
import { n as componentDefinition$125 } from "./Posterize-u2et79Pv.js";
|
|
128
|
-
import { n as componentDefinition$126 } from "./Prism-BnDsPBcD.js";
|
|
129
|
-
import { a as componentDefinition$127 } from "./ProgressiveBlur-D9FiTJQy.js";
|
|
130
|
-
import { n as componentDefinition$128 } from "./RadialGradient-C4oB78ya.js";
|
|
131
|
-
import { n as componentDefinition$129 } from "./RadialWipe-Dzb7i6wy.js";
|
|
132
|
-
import { n as componentDefinition$130 } from "./RandomBars-DO9j43mN.js";
|
|
133
|
-
import { n as componentDefinition$131 } from "./ReactionDiffusion-DG1NSPhM.js";
|
|
134
|
-
import { n as componentDefinition$132 } from "./RectangularCoordinates-Ck1gXdGx.js";
|
|
135
|
-
import { r as componentDefinition$133 } from "./ReflectivePlane-DFQDgLYC.js";
|
|
136
|
-
import { n as componentDefinition$134 } from "./Repeater-CT35_BhW.js";
|
|
137
|
-
import { n as componentDefinition$135 } from "./Ring-DywDgKDv.js";
|
|
138
|
-
import { n as componentDefinition$136 } from "./Ripples-fTSMeqiE.js";
|
|
139
|
-
import { n as componentDefinition$137 } from "./RippleWipe-ePWlg-DT.js";
|
|
140
|
-
import { n as componentDefinition$138 } from "./RoundedRect-B0lxuFfM.js";
|
|
141
|
-
import { n as componentDefinition$139 } from "./Saturation-ClaD54dk.js";
|
|
142
|
-
import { n as componentDefinition$140 } from "./Scratches-D8ZIBZ50.js";
|
|
143
|
-
import { n as componentDefinition$141 } from "./Sharpness-CsnT4s1o.js";
|
|
144
|
-
import { i as componentDefinition$142 } from "./Shatter-D_V7GBel.js";
|
|
145
|
-
import { n as componentDefinition$143 } from "./SimplexNoise-tI2G3Wzn.js";
|
|
146
|
-
import { n as componentDefinition$144 } from "./SineWave-BGsYyEFg.js";
|
|
147
|
-
import { n as componentDefinition$145 } from "./SliceWipe-s4pWdINK.js";
|
|
148
|
-
import { i as componentDefinition$146 } from "./Smoke-C3SLe_rD.js";
|
|
149
|
-
import { i as componentDefinition$147 } from "./SmokeFill-BuKZtbX8.js";
|
|
150
|
-
import { i as componentDefinition$148 } from "./SmokeFlow-5fnVH2a9.js";
|
|
151
|
-
import { n as componentDefinition$149 } from "./Solarize-TP85IPV7.js";
|
|
152
|
-
import { n as componentDefinition$150 } from "./SolidColor-16e4q89i.js";
|
|
153
|
-
import { n as componentDefinition$151 } from "./Spherize-C4qsnql6.js";
|
|
154
|
-
import { n as componentDefinition$152 } from "./Spiral-rPHDFACm.js";
|
|
155
|
-
import { n as componentDefinition$153 } from "./Star-BDFhZWLo.js";
|
|
156
|
-
import { n as componentDefinition$154 } from "./Stone-CCXo9IgA.js";
|
|
157
|
-
import { n as componentDefinition$155 } from "./Strands-DCzYUsCX.js";
|
|
158
|
-
import { n as componentDefinition$156 } from "./Stretch-CjhYXAth.js";
|
|
159
|
-
import { n as componentDefinition$157 } from "./Stripes-CN2TFWGw.js";
|
|
160
|
-
import { n as componentDefinition$158 } from "./StudioBackground-I_XxtKjr.js";
|
|
161
|
-
import { n as componentDefinition$159 } from "./SunBurst-CGQkdsXl.js";
|
|
162
|
-
import { n as componentDefinition$160 } from "./Surface3D-CpCPTs0u.js";
|
|
163
|
-
import { n as componentDefinition$161 } from "./Swirl-BCnlG3G8.js";
|
|
164
|
-
import { n as componentDefinition$162 } from "./Teardrop-DX-YZkNC.js";
|
|
165
|
-
import { r as componentDefinition$163 } from "./Text-oI5d7_UD.js";
|
|
166
|
-
import { a as componentDefinition$165 } from "./TiltShift-C8GluqAm.js";
|
|
167
|
-
import { n as componentDefinition$166 } from "./TimeTrail-CPiSo5Of.js";
|
|
168
|
-
import { n as componentDefinition$167 } from "./Tint-NA7BO-Qk.js";
|
|
169
|
-
import { n as componentDefinition$168 } from "./Trapezoid-BOGSQvW5.js";
|
|
170
|
-
import { n as componentDefinition$169 } from "./TriangularGrid-Zx3I4CqA.js";
|
|
171
|
-
import { n as componentDefinition$170 } from "./Tritone-Bl69W4Y4.js";
|
|
172
|
-
import { n as componentDefinition$171 } from "./Truchet-RJI0-v6x.js";
|
|
173
|
-
import { n as componentDefinition$172 } from "./Twirl-CrIawDs2.js";
|
|
174
|
-
import { n as componentDefinition$173 } from "./VenetianBlinds-CGfPlhGd.js";
|
|
175
|
-
import { n as componentDefinition$174 } from "./Vesica-DekjxkHL.js";
|
|
176
|
-
import { n as componentDefinition$175 } from "./VHS-B12KbScc.js";
|
|
177
|
-
import { n as componentDefinition$176 } from "./Vibrance-DKKduAD8.js";
|
|
178
|
-
import { n as componentDefinition$177 } from "./VideoTexture-1xg_a680.js";
|
|
179
|
-
import { n as componentDefinition$178 } from "./Vignette-CDRCMNb2.js";
|
|
180
|
-
import { n as componentDefinition$179 } from "./Voronoi-EWj3WFqv.js";
|
|
181
|
-
import { n as componentDefinition$180 } from "./Water-BdGrOEuE.js";
|
|
182
|
-
import { n as componentDefinition$181 } from "./Watercolor-BGIcnGZu.js";
|
|
183
|
-
import { n as componentDefinition$182 } from "./WaveDistortion-BNlrOaur.js";
|
|
184
|
-
import { n as componentDefinition$183 } from "./WaveletNoise-Jv-694xX.js";
|
|
185
|
-
import { n as componentDefinition$184 } from "./Weave-HNS6xvOs.js";
|
|
186
|
-
import { r as componentDefinition$185 } from "./WebcamTexture-DVKxGpWI.js";
|
|
187
|
-
import { n as componentDefinition$186 } from "./Wool-D7uM0JRs.js";
|
|
188
|
-
import { n as componentDefinition$187 } from "./WorleyNoise-DsDWmRCp.js";
|
|
189
|
-
import { i as componentDefinition$188 } from "./ZoomBlur-S2GfQojf.js";
|
|
190
|
-
var createShaderRegistry = () => {
|
|
191
|
-
const registry = {};
|
|
192
|
-
const shaderDefinitions = {
|
|
193
|
-
AngularBlur: componentDefinition,
|
|
194
|
-
Arc: componentDefinition$1,
|
|
195
|
-
Ascii: componentDefinition$2,
|
|
196
|
-
Aurora: componentDefinition$3,
|
|
197
|
-
BarnDoors: componentDefinition$4,
|
|
198
|
-
BarShift: componentDefinition$5,
|
|
199
|
-
Beam: componentDefinition$6,
|
|
200
|
-
Bend: componentDefinition$7,
|
|
201
|
-
Blob: componentDefinition$8,
|
|
202
|
-
BlockDissolve: componentDefinition$9,
|
|
203
|
-
BlockNoise: componentDefinition$10,
|
|
204
|
-
BlueNoise: componentDefinition$11,
|
|
205
|
-
Blur: componentDefinition$12,
|
|
206
|
-
Boids: componentDefinition$13,
|
|
207
|
-
BokehBlur: componentDefinition$14,
|
|
208
|
-
BrickPattern: componentDefinition$15,
|
|
209
|
-
BrightnessContrast: componentDefinition$16,
|
|
210
|
-
BrushedMetal: componentDefinition$17,
|
|
211
|
-
Bulge: componentDefinition$18,
|
|
212
|
-
CarbonFiber: componentDefinition$19,
|
|
213
|
-
Chalkboard: componentDefinition$20,
|
|
214
|
-
ChannelBlur: componentDefinition$21,
|
|
215
|
-
Checkerboard: componentDefinition$22,
|
|
216
|
-
CheckerWipe: componentDefinition$23,
|
|
217
|
-
Chevron: componentDefinition$24,
|
|
218
|
-
ChromaFlow: componentDefinition$25,
|
|
219
|
-
ChromaticAberration: componentDefinition$26,
|
|
220
|
-
Circle: componentDefinition$27,
|
|
221
|
-
ColorWheel: componentDefinition$28,
|
|
222
|
-
CompressionArtifacts: componentDefinition$29,
|
|
223
|
-
ConcentricSpin: componentDefinition$30,
|
|
224
|
-
ConicGradient: componentDefinition$31,
|
|
225
|
-
ContourLines: componentDefinition$32,
|
|
226
|
-
CornerPin: componentDefinition$33,
|
|
227
|
-
Crescent: componentDefinition$34,
|
|
228
|
-
Cross: componentDefinition$35,
|
|
229
|
-
CRTScreen: componentDefinition$36,
|
|
230
|
-
Crystal: componentDefinition$37,
|
|
231
|
-
CurlNoise: componentDefinition$38,
|
|
232
|
-
CursorRipples: componentDefinition$39,
|
|
233
|
-
CursorTrail: componentDefinition$40,
|
|
234
|
-
DataMosh: componentDefinition$41,
|
|
235
|
-
DiamondGradient: componentDefinition$42,
|
|
236
|
-
DiamondWipe: componentDefinition$43,
|
|
237
|
-
DiffuseBlur: componentDefinition$44,
|
|
238
|
-
DisplacementMap: componentDefinition$45,
|
|
239
|
-
Dither: componentDefinition$46,
|
|
240
|
-
DotGrid: componentDefinition$47,
|
|
241
|
-
DropShadow: componentDefinition$48,
|
|
242
|
-
Duotone: componentDefinition$49,
|
|
243
|
-
Ellipse: componentDefinition$50,
|
|
244
|
-
Emboss: componentDefinition$51,
|
|
245
|
-
Engraving: componentDefinition$52,
|
|
246
|
-
ErosionNoise: componentDefinition$53,
|
|
247
|
-
Exposure: componentDefinition$54,
|
|
248
|
-
FallingLines: componentDefinition$55,
|
|
249
|
-
FilmGrain: componentDefinition$56,
|
|
250
|
-
FilmStock: componentDefinition$57,
|
|
251
|
-
Flip: componentDefinition$58,
|
|
252
|
-
FloatingParticles: componentDefinition$59,
|
|
253
|
-
Flower: componentDefinition$60,
|
|
254
|
-
FlowField: componentDefinition$61,
|
|
255
|
-
FlowingGradient: componentDefinition$62,
|
|
256
|
-
FlutedGlass: componentDefinition$63,
|
|
257
|
-
Fog: componentDefinition$64,
|
|
258
|
-
Form3D: componentDefinition$65,
|
|
259
|
-
FractalNoise: componentDefinition$66,
|
|
260
|
-
Frost: componentDefinition$67,
|
|
261
|
-
GaborNoise: componentDefinition$68,
|
|
262
|
-
Glass: componentDefinition$69,
|
|
263
|
-
GlassTiles: componentDefinition$70,
|
|
264
|
-
Glitch: componentDefinition$71,
|
|
265
|
-
Glow: componentDefinition$72,
|
|
266
|
-
Godrays: componentDefinition$73,
|
|
267
|
-
Goo: componentDefinition$74,
|
|
268
|
-
GradientMap: componentDefinition$75,
|
|
269
|
-
Grayscale: componentDefinition$76,
|
|
270
|
-
Grid: componentDefinition$77,
|
|
271
|
-
GridDistortion: componentDefinition$78,
|
|
272
|
-
Group: componentDefinition$79,
|
|
273
|
-
Halftone: componentDefinition$80,
|
|
274
|
-
Heart: componentDefinition$81,
|
|
275
|
-
Heatmap: componentDefinition$82,
|
|
276
|
-
HexGrid: componentDefinition$83,
|
|
277
|
-
Hologram: componentDefinition$84,
|
|
278
|
-
Holographic: componentDefinition$85,
|
|
279
|
-
HTMLInCanvas: componentDefinition$86,
|
|
280
|
-
HueShift: componentDefinition$87,
|
|
281
|
-
ImageTexture: componentDefinition$88,
|
|
282
|
-
InkFlow: componentDefinition$89,
|
|
283
|
-
Invert: componentDefinition$90,
|
|
284
|
-
IrisWipe: componentDefinition$91,
|
|
285
|
-
IsometricCubes: componentDefinition$92,
|
|
286
|
-
Kaleidoscope: componentDefinition$93,
|
|
287
|
-
KeyFrames: componentDefinition$94,
|
|
288
|
-
LensFlare: componentDefinition$95,
|
|
289
|
-
LightEdge: componentDefinition$96,
|
|
290
|
-
LightLeak: componentDefinition$97,
|
|
291
|
-
LinearBlur: componentDefinition$98,
|
|
292
|
-
LinearGradient: componentDefinition$99,
|
|
293
|
-
LinearWipe: componentDefinition$100,
|
|
294
|
-
LiquidMetal: componentDefinition$101,
|
|
295
|
-
Liquify: componentDefinition$102,
|
|
296
|
-
MagneticFilings: componentDefinition$103,
|
|
297
|
-
Marble: componentDefinition$104,
|
|
298
|
-
Mirror: componentDefinition$105,
|
|
299
|
-
MultiPointGradient: componentDefinition$106,
|
|
300
|
-
Neon: componentDefinition$107,
|
|
301
|
-
NoiseDissolve: componentDefinition$108,
|
|
302
|
-
ObjectTracker: componentDefinition$109,
|
|
303
|
-
PagePeel: componentDefinition$110,
|
|
304
|
-
Paper: componentDefinition$111,
|
|
305
|
-
Parallelogram: componentDefinition$112,
|
|
306
|
-
ParticleField: componentDefinition$113,
|
|
307
|
-
ParticleFlow: componentDefinition$114,
|
|
308
|
-
Particles: componentDefinition$115,
|
|
309
|
-
PerlinNoise: componentDefinition$116,
|
|
310
|
-
Perspective: componentDefinition$117,
|
|
311
|
-
Pixelate: componentDefinition$118,
|
|
312
|
-
PixelSort: componentDefinition$119,
|
|
313
|
-
PixelThrow: componentDefinition$120,
|
|
314
|
-
Plasma: componentDefinition$121,
|
|
315
|
-
Plastic: componentDefinition$122,
|
|
316
|
-
PolarCoordinates: componentDefinition$123,
|
|
317
|
-
Polygon: componentDefinition$124,
|
|
318
|
-
Posterize: componentDefinition$125,
|
|
319
|
-
Prism: componentDefinition$126,
|
|
320
|
-
ProgressiveBlur: componentDefinition$127,
|
|
321
|
-
RadialGradient: componentDefinition$128,
|
|
322
|
-
RadialWipe: componentDefinition$129,
|
|
323
|
-
RandomBars: componentDefinition$130,
|
|
324
|
-
ReactionDiffusion: componentDefinition$131,
|
|
325
|
-
RectangularCoordinates: componentDefinition$132,
|
|
326
|
-
ReflectivePlane: componentDefinition$133,
|
|
327
|
-
Repeater: componentDefinition$134,
|
|
328
|
-
Ring: componentDefinition$135,
|
|
329
|
-
Ripples: componentDefinition$136,
|
|
330
|
-
RippleWipe: componentDefinition$137,
|
|
331
|
-
RoundedRect: componentDefinition$138,
|
|
332
|
-
Saturation: componentDefinition$139,
|
|
333
|
-
Scratches: componentDefinition$140,
|
|
334
|
-
Sharpness: componentDefinition$141,
|
|
335
|
-
Shatter: componentDefinition$142,
|
|
336
|
-
SimplexNoise: componentDefinition$143,
|
|
337
|
-
SineWave: componentDefinition$144,
|
|
338
|
-
SliceWipe: componentDefinition$145,
|
|
339
|
-
Smoke: componentDefinition$146,
|
|
340
|
-
SmokeFill: componentDefinition$147,
|
|
341
|
-
SmokeFlow: componentDefinition$148,
|
|
342
|
-
Solarize: componentDefinition$149,
|
|
343
|
-
SolidColor: componentDefinition$150,
|
|
344
|
-
Spherize: componentDefinition$151,
|
|
345
|
-
Spiral: componentDefinition$152,
|
|
346
|
-
Star: componentDefinition$153,
|
|
347
|
-
Stone: componentDefinition$154,
|
|
348
|
-
Strands: componentDefinition$155,
|
|
349
|
-
Stretch: componentDefinition$156,
|
|
350
|
-
Stripes: componentDefinition$157,
|
|
351
|
-
StudioBackground: componentDefinition$158,
|
|
352
|
-
SunBurst: componentDefinition$159,
|
|
353
|
-
Surface3D: componentDefinition$160,
|
|
354
|
-
Swirl: componentDefinition$161,
|
|
355
|
-
Teardrop: componentDefinition$162,
|
|
356
|
-
Text: componentDefinition$163,
|
|
357
|
-
ThinFilm: componentDefinition$164,
|
|
358
|
-
TiltShift: componentDefinition$165,
|
|
359
|
-
TimeTrail: componentDefinition$166,
|
|
360
|
-
Tint: componentDefinition$167,
|
|
361
|
-
Trapezoid: componentDefinition$168,
|
|
362
|
-
TriangularGrid: componentDefinition$169,
|
|
363
|
-
Tritone: componentDefinition$170,
|
|
364
|
-
Truchet: componentDefinition$171,
|
|
365
|
-
Twirl: componentDefinition$172,
|
|
366
|
-
VenetianBlinds: componentDefinition$173,
|
|
367
|
-
Vesica: componentDefinition$174,
|
|
368
|
-
VHS: componentDefinition$175,
|
|
369
|
-
Vibrance: componentDefinition$176,
|
|
370
|
-
VideoTexture: componentDefinition$177,
|
|
371
|
-
Vignette: componentDefinition$178,
|
|
372
|
-
Voronoi: componentDefinition$179,
|
|
373
|
-
Water: componentDefinition$180,
|
|
374
|
-
Watercolor: componentDefinition$181,
|
|
375
|
-
WaveDistortion: componentDefinition$182,
|
|
376
|
-
WaveletNoise: componentDefinition$183,
|
|
377
|
-
Weave: componentDefinition$184,
|
|
378
|
-
WebcamTexture: componentDefinition$185,
|
|
379
|
-
Wool: componentDefinition$186,
|
|
380
|
-
WorleyNoise: componentDefinition$187,
|
|
381
|
-
ZoomBlur: componentDefinition$188
|
|
382
|
-
};
|
|
383
|
-
Object.entries(shaderDefinitions).forEach(([fileName, def]) => {
|
|
384
|
-
const propsMetadata = {};
|
|
385
|
-
if (def.props) Object.entries(def.props).forEach(([propName, propConfig]) => {
|
|
386
|
-
if (propConfig.ui) propsMetadata[propName] = {
|
|
387
|
-
ui: propConfig.ui,
|
|
388
|
-
default: propConfig.default,
|
|
389
|
-
description: propConfig.description
|
|
390
|
-
};
|
|
391
|
-
});
|
|
392
|
-
registry[def.name] = {
|
|
393
|
-
name: def.name,
|
|
394
|
-
fileName,
|
|
395
|
-
category: def.category || "Uncategorized",
|
|
396
|
-
definition: def,
|
|
397
|
-
propsMetadata
|
|
398
|
-
};
|
|
399
|
-
});
|
|
400
|
-
return registry;
|
|
401
|
-
};
|
|
402
|
-
const shaderRegistry = createShaderRegistry();
|
|
403
|
-
const deprecatedShaderNames = (() => {
|
|
404
|
-
const map = {};
|
|
405
|
-
for (const entry of Object.values(shaderRegistry)) for (const oldName of entry.definition.deprecatedNames ?? []) map[oldName] = entry.name;
|
|
406
|
-
return map;
|
|
407
|
-
})();
|
|
408
|
-
function resolveShaderName(name) {
|
|
409
|
-
if (shaderRegistry[name]) return name;
|
|
410
|
-
return deprecatedShaderNames[name] ?? name;
|
|
411
|
-
}
|
|
412
|
-
function getAllShaders() {
|
|
413
|
-
return Object.values(shaderRegistry);
|
|
414
|
-
}
|
|
415
|
-
function getShaderByName(name) {
|
|
416
|
-
return shaderRegistry[resolveShaderName(name)];
|
|
417
|
-
}
|
|
418
|
-
function getShadersByCategory(category) {
|
|
419
|
-
return Object.values(shaderRegistry).filter((shader) => shader.category === category);
|
|
420
|
-
}
|
|
421
|
-
function getShaderCategories() {
|
|
422
|
-
const categories = new Set(Object.values(shaderRegistry).map((shader) => shader.category));
|
|
423
|
-
return Array.from(categories).sort();
|
|
424
|
-
}
|
|
425
|
-
export { shaderRegistry as a, getShadersByCategory as i, getShaderByName as n, getShaderCategories as r, getAllShaders as t };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { PresetConfig } from '../core';
|
|
2
|
-
import { Sprite, Application } from 'pixi.js';
|
|
3
|
-
/**
|
|
4
|
-
* Options for creating a shader sprite
|
|
5
|
-
*/
|
|
6
|
-
export interface ShaderSpriteOptions {
|
|
7
|
-
width?: number;
|
|
8
|
-
height?: number;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* A shader instance that renders to a PixiJS sprite
|
|
12
|
-
*/
|
|
13
|
-
export interface ShaderSprite {
|
|
14
|
-
sprite: Sprite;
|
|
15
|
-
update: () => Promise<void>;
|
|
16
|
-
updatePreset: (preset: PresetConfig) => void;
|
|
17
|
-
resize: (width: number, height: number) => void;
|
|
18
|
-
dispose: () => void;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Create a PixiJS sprite that renders a Shaders preset.
|
|
22
|
-
*
|
|
23
|
-
* This approach:
|
|
24
|
-
* 1. Creates a hidden canvas for Three.js/Shaders rendering
|
|
25
|
-
* 2. Shares the WebGPU device from PixiJS
|
|
26
|
-
* 3. Renders shaders to the canvas
|
|
27
|
-
* 4. Wraps the canvas as a PixiJS texture/sprite
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
* ```typescript
|
|
31
|
-
* import { createShaderSprite } from 'shaders-pixi'
|
|
32
|
-
*
|
|
33
|
-
* const preset = {
|
|
34
|
-
* components: [
|
|
35
|
-
* { type: 'LinearGradient', props: { colorA: '#ff0000', colorB: '#0000ff' } }
|
|
36
|
-
* ]
|
|
37
|
-
* }
|
|
38
|
-
*
|
|
39
|
-
* const shaderSprite = await createShaderSprite(preset, pixiApp, {
|
|
40
|
-
* width: 512,
|
|
41
|
-
* height: 512
|
|
42
|
-
* })
|
|
43
|
-
*
|
|
44
|
-
* // Position in scene
|
|
45
|
-
* shaderSprite.sprite.x = 100
|
|
46
|
-
* shaderSprite.sprite.y = 100
|
|
47
|
-
* pixiApp.stage.addChild(shaderSprite.sprite)
|
|
48
|
-
*
|
|
49
|
-
* // In render loop (before PixiJS render)
|
|
50
|
-
* await shaderSprite.update()
|
|
51
|
-
* ```
|
|
52
|
-
*/
|
|
53
|
-
export declare function createShaderSprite(preset: PresetConfig, pixiApp: Application, options?: ShaderSpriteOptions): Promise<ShaderSprite>;
|
|
54
|
-
//# sourceMappingURL=createShaderSprite.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createShaderSprite.d.ts","sourceRoot":"","sources":["../src/createShaderSprite.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AACxE,OAAO,EAAyB,MAAM,EAAgB,KAAK,WAAW,EAAE,MAAM,SAAS,CAAA;AAEvF;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3B,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAA;IAC5C,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,YAAY,EACpB,OAAO,EAAE,WAAW,EACpB,OAAO,GAAE,mBAAwB,GAChC,OAAO,CAAC,YAAY,CAAC,CAiNvB"}
|
package/dist/pixi/index.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shaders PixiJS Integration
|
|
3
|
-
*
|
|
4
|
-
* Render WebGPU shaders as native PixiJS sprites.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import { createShaderSprite } from 'shaders-pixi'
|
|
9
|
-
*
|
|
10
|
-
* const shader = await createShaderSprite(preset, pixiApp, { width: 512, height: 512 })
|
|
11
|
-
* pixiApp.stage.addChild(shader.sprite)
|
|
12
|
-
*
|
|
13
|
-
* pixiApp.ticker.add(async () => {
|
|
14
|
-
* await shader.update()
|
|
15
|
-
* })
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export { createShaderSprite, type ShaderSprite, type ShaderSpriteOptions } from './createShaderSprite';
|
|
19
|
-
export type { PresetConfig, ComponentConfig } from '../core';
|
|
20
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/pixi/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,kBAAkB,EAClB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACzB,MAAM,sBAAsB,CAAA;AAG7B,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA"}
|
package/dist/pixi/index.js
DELETED
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import { createRendererFromJSON } from "../core/index.js";
|
|
2
|
-
import { RendererType, CanvasSource, Texture, Sprite } from "pixi.js";
|
|
3
|
-
async function createShaderSprite(preset, pixiApp, options = {}) {
|
|
4
|
-
const width = options.width || 512;
|
|
5
|
-
const height = options.height || 512;
|
|
6
|
-
const dpr = window.devicePixelRatio || 1;
|
|
7
|
-
if (pixiApp.renderer.type !== RendererType.WEBGPU) {
|
|
8
|
-
throw new Error('Shaders requires PixiJS to be initialized with WebGPU (preference: "webgpu")');
|
|
9
|
-
}
|
|
10
|
-
const pixiGpu = pixiApp.renderer.gpu;
|
|
11
|
-
const device = pixiGpu.device;
|
|
12
|
-
const adapter = pixiGpu.adapter;
|
|
13
|
-
if (!device || !adapter) {
|
|
14
|
-
throw new Error("Shaders could not access the WebGPU device from the PixiJS renderer");
|
|
15
|
-
}
|
|
16
|
-
const wrapper = document.createElement("div");
|
|
17
|
-
wrapper.style.position = "absolute";
|
|
18
|
-
wrapper.style.left = "-9999px";
|
|
19
|
-
wrapper.style.top = "-9999px";
|
|
20
|
-
wrapper.style.width = `${width}px`;
|
|
21
|
-
wrapper.style.height = `${height}px`;
|
|
22
|
-
wrapper.style.overflow = "hidden";
|
|
23
|
-
wrapper.style.pointerEvents = "none";
|
|
24
|
-
document.body.appendChild(wrapper);
|
|
25
|
-
const canvas = document.createElement("canvas");
|
|
26
|
-
canvas.width = width * dpr;
|
|
27
|
-
canvas.height = height * dpr;
|
|
28
|
-
canvas.style.width = `${width}px`;
|
|
29
|
-
canvas.style.height = `${height}px`;
|
|
30
|
-
wrapper.appendChild(canvas);
|
|
31
|
-
const gpuContext = canvas.getContext("webgpu");
|
|
32
|
-
if (!gpuContext) {
|
|
33
|
-
throw new Error("Could not get WebGPU context from canvas");
|
|
34
|
-
}
|
|
35
|
-
gpuContext.configure({
|
|
36
|
-
device,
|
|
37
|
-
format: navigator.gpu.getPreferredCanvasFormat(),
|
|
38
|
-
alphaMode: "premultiplied",
|
|
39
|
-
usage: GPUTextureUsage.RENDER_ATTACHMENT | GPUTextureUsage.COPY_SRC | GPUTextureUsage.TEXTURE_BINDING
|
|
40
|
-
});
|
|
41
|
-
const shadersRenderer = createRendererFromJSON(preset, {
|
|
42
|
-
gpu: { device, adapter },
|
|
43
|
-
forceFullFrameRate: true
|
|
44
|
-
});
|
|
45
|
-
await shadersRenderer.initialize(canvas);
|
|
46
|
-
let canvasSource = new CanvasSource({
|
|
47
|
-
resource: canvas,
|
|
48
|
-
resolution: dpr,
|
|
49
|
-
antialias: false,
|
|
50
|
-
autoDensity: false
|
|
51
|
-
});
|
|
52
|
-
let texture = new Texture({
|
|
53
|
-
source: canvasSource
|
|
54
|
-
});
|
|
55
|
-
const sprite = new Sprite(texture);
|
|
56
|
-
sprite.width = width;
|
|
57
|
-
sprite.height = height;
|
|
58
|
-
let currentWidth = width;
|
|
59
|
-
let currentHeight = height;
|
|
60
|
-
let pendingCanvasSource = null;
|
|
61
|
-
let pendingTexture = null;
|
|
62
|
-
let resizeSeq = 0;
|
|
63
|
-
return {
|
|
64
|
-
sprite,
|
|
65
|
-
/**
|
|
66
|
-
* Update shader rendering and sync to PixiJS
|
|
67
|
-
* Call this in your render loop BEFORE rendering PixiJS
|
|
68
|
-
*/
|
|
69
|
-
update: async () => {
|
|
70
|
-
await shadersRenderer.renderFrame();
|
|
71
|
-
if (!pendingCanvasSource) {
|
|
72
|
-
canvasSource.update();
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
/**
|
|
76
|
-
* Update the shader preset dynamically
|
|
77
|
-
*/
|
|
78
|
-
updatePreset: (newPreset) => {
|
|
79
|
-
shadersRenderer.updatePreset(newPreset);
|
|
80
|
-
},
|
|
81
|
-
/**
|
|
82
|
-
* Resize the shader to new dimensions
|
|
83
|
-
* This updates the offscreen canvas, triggering the renderer's resize logic.
|
|
84
|
-
* The texture swap is deferred until after Three.js's resize RAF fires, so the
|
|
85
|
-
* sprite continues to show the last good frame instead of flashing blank.
|
|
86
|
-
*/
|
|
87
|
-
resize: (newWidth, newHeight) => {
|
|
88
|
-
if (newWidth === currentWidth && newHeight === currentHeight) return;
|
|
89
|
-
currentWidth = newWidth;
|
|
90
|
-
currentHeight = newHeight;
|
|
91
|
-
if (pendingCanvasSource) {
|
|
92
|
-
pendingCanvasSource.destroy();
|
|
93
|
-
pendingTexture.destroy();
|
|
94
|
-
pendingCanvasSource = null;
|
|
95
|
-
pendingTexture = null;
|
|
96
|
-
}
|
|
97
|
-
const seq = ++resizeSeq;
|
|
98
|
-
wrapper.style.width = `${newWidth}px`;
|
|
99
|
-
wrapper.style.height = `${newHeight}px`;
|
|
100
|
-
canvas.width = newWidth * dpr;
|
|
101
|
-
canvas.height = newHeight * dpr;
|
|
102
|
-
canvas.style.width = `${newWidth}px`;
|
|
103
|
-
canvas.style.height = `${newHeight}px`;
|
|
104
|
-
gpuContext.configure({
|
|
105
|
-
device,
|
|
106
|
-
format: navigator.gpu.getPreferredCanvasFormat(),
|
|
107
|
-
alphaMode: "premultiplied",
|
|
108
|
-
usage: GPUTextureUsage.RENDER_ATTACHMENT | GPUTextureUsage.COPY_SRC | GPUTextureUsage.TEXTURE_BINDING
|
|
109
|
-
});
|
|
110
|
-
pendingCanvasSource = new CanvasSource({
|
|
111
|
-
resource: canvas,
|
|
112
|
-
resolution: dpr,
|
|
113
|
-
antialias: false,
|
|
114
|
-
autoDensity: false
|
|
115
|
-
});
|
|
116
|
-
pendingTexture = new Texture({ source: pendingCanvasSource });
|
|
117
|
-
requestAnimationFrame(() => {
|
|
118
|
-
requestAnimationFrame(() => {
|
|
119
|
-
if (seq !== resizeSeq) return;
|
|
120
|
-
if (pendingCanvasSource && pendingTexture) {
|
|
121
|
-
pendingCanvasSource.update();
|
|
122
|
-
const oldTexture = texture;
|
|
123
|
-
const oldCanvasSource = canvasSource;
|
|
124
|
-
canvasSource = pendingCanvasSource;
|
|
125
|
-
texture = pendingTexture;
|
|
126
|
-
sprite.texture = texture;
|
|
127
|
-
pendingCanvasSource = null;
|
|
128
|
-
pendingTexture = null;
|
|
129
|
-
oldTexture.destroy();
|
|
130
|
-
oldCanvasSource.destroy();
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
},
|
|
135
|
-
/**
|
|
136
|
-
* Clean up resources
|
|
137
|
-
*/
|
|
138
|
-
dispose: () => {
|
|
139
|
-
if (pendingCanvasSource) {
|
|
140
|
-
pendingCanvasSource.destroy();
|
|
141
|
-
pendingTexture == null ? void 0 : pendingTexture.destroy();
|
|
142
|
-
pendingCanvasSource = null;
|
|
143
|
-
pendingTexture = null;
|
|
144
|
-
}
|
|
145
|
-
shadersRenderer.dispose();
|
|
146
|
-
texture.destroy(true);
|
|
147
|
-
wrapper.remove();
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
export {
|
|
152
|
-
createShaderSprite
|
|
153
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|