shaders 3.0.443 → 3.0.445
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-D33jrcZd.js} +2 -2
- package/dist/core/{Arc-CNesL3S9.js → Arc-BG8Bpknl.js} +2 -2
- package/dist/core/{Ascii-z7til0PQ.js → Ascii-DE0vAAOX.js} +2 -2
- package/dist/core/{Aurora-BAuYUYGc.js → Aurora-Cu4JGjCD.js} +3 -3
- package/dist/core/{BarShift-qVwbTMcq.js → BarShift-o_IvV0t_.js} +5 -5
- package/dist/core/{BarnDoors-DrOAeSqj.js → BarnDoors-JraHuTwe.js} +2 -2
- package/dist/core/{Beam-BW6yblZw.js → Beam-DshQatlM.js} +2 -2
- package/dist/core/{Bend-B7PMQ3T5.js → Bend-KJzYWEJV.js} +4 -4
- package/dist/core/{Blob-CRJ5N0hK.js → Blob-BJxkqvOO.js} +3 -3
- package/dist/core/{BlockDissolve-D-6Wy66g.js → BlockDissolve-CsIQWUpY.js} +2 -2
- package/dist/core/{BlockNoise-Ct9Fae_7.js → BlockNoise-DVI-0PnC.js} +3 -3
- package/dist/core/{BlueNoise-Cu7rJuP0.js → BlueNoise-CzBN6i38.js} +2 -2
- package/dist/core/{Blur-BrdVVSPq.js → Blur-W95k4Lxz.js} +1 -1
- package/dist/core/{Boids-DIzUaLGM.js → Boids-BJ6wxFC8.js} +2 -2
- package/dist/core/{BokehBlur-yYb03spN.js → BokehBlur-CbOO__cN.js} +2 -2
- package/dist/core/{BrickPattern-BL_MOS_A.js → BrickPattern-eQv5DrKE.js} +3 -3
- package/dist/core/{BrightnessContrast-CiKimIcA.js → BrightnessContrast-CmH2DvaZ.js} +1 -1
- package/dist/core/{BrushedMetal-dvYjizvg.js → BrushedMetal-D-7M7ZuM.js} +5 -5
- package/dist/core/{Bulge-CogpoPKe.js → Bulge-KmBnaVMx.js} +4 -4
- package/dist/core/{CRTScreen-X64EnHMB.js → CRTScreen-t7dyfO5u.js} +1 -1
- package/dist/core/{CarbonFiber-CTy3P-Qk.js → CarbonFiber-D4jap49E.js} +4 -4
- package/dist/core/{Chalkboard-CnHUOHtc.js → Chalkboard-H6-0OXC3.js} +2 -2
- package/dist/core/{ChannelBlur-MwnpNLSZ.js → ChannelBlur-BKJfnu91.js} +1 -1
- package/dist/core/{CheckerWipe-CCNc70ye.js → CheckerWipe-acIaflfK.js} +2 -2
- package/dist/core/{Checkerboard-C97ZiLyQ.js → Checkerboard-NwKMLVHe.js} +2 -2
- package/dist/core/{Chevron-ABT6D1wM.js → Chevron-eBbFV2ud.js} +3 -3
- package/dist/core/{ChromaFlow-7tJQEFm9.js → ChromaFlow-ex7l4tTK.js} +2 -2
- package/dist/core/{ChromaticAberration-D7-fxyEd.js → ChromaticAberration-Bbi9vNxS.js} +2 -2
- package/dist/core/{Circle-I0DIAypS.js → Circle-DdFWEti1.js} +2 -2
- package/dist/core/{ColorWheel-CEqzzrN-.js → ColorWheel-BqcyPqcj.js} +3 -3
- package/dist/core/{CompressionArtifacts-C24nRoC3.js → CompressionArtifacts-DqWq-4h8.js} +1 -1
- package/dist/core/{ConcentricSpin-CAu-PGNH.js → ConcentricSpin-CtI1hKio.js} +5 -5
- package/dist/core/{ConicGradient-n12K5TLj.js → ConicGradient-HmImN4LO.js} +3 -3
- package/dist/core/{ContourLines-FOStIWDr.js → ContourLines-BMom2vMu.js} +2 -2
- package/dist/core/{CornerPin-DsUVMFcX.js → CornerPin-D_-luriU.js} +3 -3
- package/dist/core/{Crescent-9i_5WPA-.js → Crescent-CY6MeN9V.js} +2 -2
- package/dist/core/{Cross-HiA69xGL.js → Cross-ClImej9a.js} +2 -2
- package/dist/core/{Crystal-BBjEm9m4.js → Crystal-CMrqHLFD.js} +4 -4
- package/dist/core/{CurlNoise-1jifziI0.js → CurlNoise-C_QZBT5m.js} +3 -3
- package/dist/core/{CursorRipples-D4agAYHK.js → CursorRipples-Bmlex_IF.js} +2 -2
- package/dist/core/{CursorTrail-C-FrY0e2.js → CursorTrail-B68x1Cv-.js} +3 -3
- package/dist/core/{DataMosh-DXcM1I4Y.js → DataMosh-FZQWg5Ui.js} +1 -1
- package/dist/core/{DiamondGradient-CQ5jeKEc.js → DiamondGradient-C0hD1lNN.js} +3 -3
- package/dist/core/{DiamondWipe-B1EXgweH.js → DiamondWipe-B8rFSwsV.js} +2 -2
- package/dist/core/{DiffuseBlur-CmD97dHb.js → DiffuseBlur--Gn4bDwC.js} +2 -2
- package/dist/core/{DisplacementMap-JV_CNJfU.js → DisplacementMap-DQk8S4sK.js} +4 -4
- package/dist/core/{Dither-NJDWpGb3.js → Dither-rB9M7FS7.js} +2 -2
- package/dist/core/{DotGrid-B2w7RFcv.js → DotGrid-DszAbmy5.js} +3 -3
- package/dist/core/{DropShadow-CLWp-bon.js → DropShadow-BS3S178o.js} +2 -2
- package/dist/core/{Duotone-Be2jx-jZ.js → Duotone-Cf_ybegD.js} +2 -2
- package/dist/core/{Ellipse-BR6qXidK.js → Ellipse-DY8FgSSx.js} +2 -2
- package/dist/core/{Emboss-C8ElxLo3.js → Emboss-RxgVyKyU.js} +4 -4
- package/dist/core/{Engraving-D67DM--1.js → Engraving-C0OuioUr.js} +2 -2
- package/dist/core/{ErosionNoise-FeEMQOkR.js → ErosionNoise-B-I3VFiY.js} +2 -2
- package/dist/core/{Exposure-CZ1gfqpf.js → Exposure-360tdOrT.js} +1 -1
- package/dist/core/{FallingLines-ifuQ01oA.js → FallingLines-4sVKJMDj.js} +3 -3
- package/dist/core/{FilmGrain-p5sawa_f.js → FilmGrain-CgzuRidb.js} +1 -1
- package/dist/core/{FilmStock-BD5wv1TV.js → FilmStock-BW9k3EPE.js} +1 -1
- package/dist/core/{Flip-MKiLH9jJ.js → Flip-DqdxtYHS.js} +2 -2
- package/dist/core/{FloatingParticles-Bn8CmtwG.js → FloatingParticles-BI8Y9Gcv.js} +2 -2
- package/dist/core/{FlowField-BdFeRmif.js → FlowField-CV0Is569.js} +5 -5
- package/dist/core/{Flower-BwDBwcSk.js → Flower-IaNzANoa.js} +2 -2
- package/dist/core/{FlowingGradient-RYOS36eB.js → FlowingGradient-CEAAa11t.js} +3 -3
- package/dist/core/{FlutedGlass-Ong8W4Ih.js → FlutedGlass-CF6mZMq4.js} +3 -3
- package/dist/core/{Fog-C-X8msRb.js → Fog-D9OYGwhY.js} +2 -2
- package/dist/core/{Form3D-BZ_vaLWe.js → Form3D-CJKutcFA.js} +3 -3
- package/dist/core/{FractalNoise-BPj8RPkE.js → FractalNoise-DelBWQyb.js} +3 -3
- package/dist/core/{Frost-DmxlFu63.js → Frost-Br7b9n4L.js} +5 -5
- package/dist/core/{GaborNoise-Boc8ieHd.js → GaborNoise-DViNgIse.js} +3 -3
- package/dist/core/{Glass-D5p21MIw.js → Glass-IwPea9h1.js} +4 -4
- package/dist/core/{GlassTiles-BP4CzdI3.js → GlassTiles-DpPHPKv7.js} +3 -5
- package/dist/core/{Glitch-cJguD7jS.js → Glitch-CKmX-agV.js} +1 -1
- package/dist/core/{Glow-BabfcnwS.js → Glow-CVcVetaa.js} +1 -1
- package/dist/core/{Godrays-BpiKSlNR.js → Godrays-CNNHJzNz.js} +3 -3
- package/dist/core/{Goo-BaQEtOyr.js → Goo-BUXnhwTk.js} +5 -5
- package/dist/core/{GradientMap-BtKtW-4M.js → GradientMap-DqGEXRl9.js} +2 -2
- package/dist/core/{Grayscale-Bgwugyvv.js → Grayscale-DiJAjdx3.js} +1 -1
- package/dist/core/{Grid-5cEDkyWX.js → Grid-utmP7uyR.js} +2 -2
- package/dist/core/{GridDistortion-Byf4G720.js → GridDistortion-Bn6D5dfC.js} +3 -3
- package/dist/core/{Group-DUEQSUir.js → Group-u-o7qE0Y.js} +1 -1
- package/dist/core/{HTMLInCanvas-uW1O3Z-R.js → HTMLInCanvas-sK9HN-gI.js} +1 -1
- package/dist/core/{Halftone-BiSLVvGF.js → Halftone-C5La06l6.js} +2 -2
- package/dist/core/{Heart-RAGeVEVH.js → Heart-CGLx1F8D.js} +2 -2
- package/dist/core/{Heatmap-Ds65scO7.js → Heatmap-CE5DLeJp.js} +5 -5
- package/dist/core/{HexGrid-H1N5Y1XD.js → HexGrid-CqB-yMWN.js} +2 -2
- package/dist/core/{Hologram-DpDfyeSz.js → Hologram-CctodmpA.js} +5 -5
- package/dist/core/{Holographic-Ckubuqn8.js → Holographic-DSz4qfkn.js} +5 -5
- package/dist/core/{HueShift-C_a5UVHy.js → HueShift-Cfq-ijQP.js} +1 -1
- package/dist/core/{ImageTexture-CM-dPJQ4.js → ImageTexture-DdzAYFTi.js} +1 -1
- package/dist/core/{InkFlow-CY7sCKpI.js → InkFlow-CCPfoQXs.js} +2 -2
- package/dist/core/{Invert-DhHrtwHQ.js → Invert-CtUHcYmv.js} +1 -1
- package/dist/core/{IrisWipe-BnOMUdEV.js → IrisWipe-DWVFMn81.js} +2 -2
- package/dist/core/{IsometricCubes-CXPz62PB.js → IsometricCubes-m-mYnbqN.js} +2 -2
- package/dist/core/{Kaleidoscope-CSgi0E5B.js → Kaleidoscope-DMNLVgx6.js} +4 -4
- package/dist/core/{KeyFrames-C3I4poq8.js → KeyFrames-jgrfR3Hj.js} +2 -2
- package/dist/core/{LensFlare-DxvbKXgt.js → LensFlare-CuWJsfwE.js} +3 -3
- package/dist/core/{LightEdge-niXz_FAk.js → LightEdge-WMxb-xKB.js} +5 -5
- package/dist/core/{LightLeak-B7Pt1tt4.js → LightLeak-DfOngFp7.js} +3 -3
- package/dist/core/{LinearBlur-CXNcduWQ.js → LinearBlur-iLXYGof_.js} +2 -2
- package/dist/core/{LinearGradient-CYiaWIXd.js → LinearGradient-DLrJban6.js} +3 -3
- package/dist/core/{LinearWipe-gwLhEveK.js → LinearWipe-C_fWBl4i.js} +2 -2
- package/dist/core/{LiquidMetal-D0sgLjcd.js → LiquidMetal-DHM8kVNr.js} +5 -5
- package/dist/core/{Liquify-h08a8S-C.js → Liquify-FQWL8j4t.js} +4 -4
- package/dist/core/{MagneticFilings-BlNWPVwS.js → MagneticFilings-BUzSkycD.js} +2 -2
- package/dist/core/{Marble-bps2lOWc.js → Marble-BnHffB3C.js} +3 -3
- package/dist/core/{Mirror-8miSUAyZ.js → Mirror-B_v4FunG.js} +3 -3
- package/dist/core/{MultiPointGradient-C-9_Q6CM.js → MultiPointGradient-5NGBm90u.js} +2 -2
- package/dist/core/{Neon-RDh1tAjH.js → Neon-BjBSg2FR.js} +4 -4
- package/dist/core/{NoiseDissolve-DjlWGdUc.js → NoiseDissolve-kDP6-h9F.js} +2 -2
- package/dist/core/{ObjectTracker-DW4aEBRv.js → ObjectTracker-vU1bVmIJ.js} +3 -3
- package/dist/core/{PagePeel-JsbScYi4.js → PagePeel-BgDvgtIV.js} +1 -1
- package/dist/core/{Paper-BGTU0GOF.js → Paper-_alN4JdS.js} +1 -1
- package/dist/core/{Parallelogram-RC3MxzlN.js → Parallelogram--Cil139y.js} +2 -2
- package/dist/core/{ParticleField-XypD7Eru.js → ParticleField-DZ7um7tu.js} +1 -1
- package/dist/core/{ParticleFlow-DBw7m9C6.js → ParticleFlow-CmRP2S8W.js} +2 -2
- package/dist/core/{Particles-CvpZvfe3.js → Particles-DFw2E9SE.js} +3 -3
- package/dist/core/{PerlinNoise-CHVaarmz.js → PerlinNoise-BmNpwJtM.js} +3 -3
- package/dist/core/{Perspective-zyCZAb3_.js → Perspective-DVcUW7jR.js} +4 -4
- package/dist/core/{PixelSort-B-zefB9S.js → PixelSort-Bz5dIrqH.js} +1 -1
- package/dist/core/{PixelThrow-BZ6erf3G.js → PixelThrow-DEMX8VOw.js} +2 -2
- package/dist/core/{Pixelate-D1e7buDQ.js → Pixelate-D-eWrHTE.js} +1 -1
- package/dist/core/{Plasma-CBrx8Xu-.js → Plasma-C_EIkpQi.js} +3 -3
- package/dist/core/{Plastic-CcS4iAJM.js → Plastic-CYeefb91.js} +5 -5
- package/dist/core/{PolarCoordinates-B9SuYLgF.js → PolarCoordinates-DmpUBdGX.js} +3 -3
- package/dist/core/{Polygon-N0l1KfIO.js → Polygon-DEEUdZd6.js} +2 -2
- package/dist/core/{Posterize-u2et79Pv.js → Posterize-B8oVbNZL.js} +1 -1
- package/dist/core/{Prism-BnDsPBcD.js → Prism-Btijlm0t.js} +3 -3
- package/dist/core/{ProgressiveBlur-D9FiTJQy.js → ProgressiveBlur-BoRFh6Tn.js} +2 -2
- package/dist/core/{RadialGradient-C4oB78ya.js → RadialGradient-CNDiMPZM.js} +3 -3
- package/dist/core/{RadialWipe-Dzb7i6wy.js → RadialWipe-C213vCrJ.js} +2 -2
- package/dist/core/{RandomBars-DO9j43mN.js → RandomBars-hOY9hNS7.js} +2 -2
- package/dist/core/{ReactionDiffusion-DG1NSPhM.js → ReactionDiffusion--UjME4_r.js} +2 -2
- package/dist/core/{RectangularCoordinates-Ck1gXdGx.js → RectangularCoordinates-DB7rPJ2Z.js} +3 -3
- package/dist/core/{ReflectivePlane-DFQDgLYC.js → ReflectivePlane-D92GjNLR.js} +2 -2
- package/dist/core/{Repeater-CT35_BhW.js → Repeater-CJjylN6O.js} +2 -2
- package/dist/core/{Ring-DywDgKDv.js → Ring-CJYQP2Qm.js} +2 -2
- package/dist/core/{RippleWipe-ePWlg-DT.js → RippleWipe-DJlrObO0.js} +2 -2
- package/dist/core/{Ripples-fTSMeqiE.js → Ripples-Brj67b7H.js} +3 -3
- package/dist/core/{RoundedRect-B0lxuFfM.js → RoundedRect-3vfFsHAl.js} +2 -2
- package/dist/core/{Saturation-ClaD54dk.js → Saturation-lx3DV3Up.js} +1 -1
- package/dist/core/{Scratches-D8ZIBZ50.js → Scratches-CMFr8AfL.js} +3 -3
- package/dist/core/{Sharpness-CsnT4s1o.js → Sharpness-ByZbUAd0.js} +1 -1
- package/dist/core/{Shatter-D_V7GBel.js → Shatter-B1_rLacw.js} +2 -2
- package/dist/core/{SimplexNoise-tI2G3Wzn.js → SimplexNoise-zItLLG1j.js} +3 -3
- package/dist/core/{SineWave-BGsYyEFg.js → SineWave-BvrhRcvv.js} +3 -3
- package/dist/core/{SliceWipe-s4pWdINK.js → SliceWipe-9bUWTClo.js} +1 -1
- package/dist/core/{Smoke-C3SLe_rD.js → Smoke-YixCTJbh.js} +3 -3
- package/dist/core/{SmokeFill-BuKZtbX8.js → SmokeFill-Cccbyi4g.js} +4 -4
- package/dist/core/{SmokeFlow-5fnVH2a9.js → SmokeFlow-DJ3sQPH1.js} +3 -3
- package/dist/core/{Solarize-TP85IPV7.js → Solarize-CZeTsJG8.js} +1 -1
- package/dist/core/{SolidColor-16e4q89i.js → SolidColor-DB8l6xRl.js} +1 -1
- package/dist/core/{Spherize-C4qsnql6.js → Spherize-BdYP0Auv.js} +3 -3
- package/dist/core/{Spiral-rPHDFACm.js → Spiral-PPqgFMRM.js} +3 -3
- package/dist/core/{Star-BDFhZWLo.js → Star-mgLhY4e_.js} +2 -2
- package/dist/core/{Stone-CCXo9IgA.js → Stone-CehIcoVu.js} +2 -2
- package/dist/core/{Strands-DCzYUsCX.js → Strands-Dzj-5h31.js} +3 -3
- package/dist/core/{Stretch-CjhYXAth.js → Stretch-C82iJhQu.js} +4 -4
- package/dist/core/{Stripes-CN2TFWGw.js → Stripes-C3XL9mWC.js} +3 -3
- package/dist/core/{StudioBackground-I_XxtKjr.js → StudioBackground-CDpLmvMH.js} +3 -3
- package/dist/core/{SunBurst-CGQkdsXl.js → SunBurst-fFeTV8O4.js} +3 -3
- package/dist/core/{Surface3D-CpCPTs0u.js → Surface3D-BFGuR3YZ.js} +2 -2
- package/dist/core/{Swirl-BCnlG3G8.js → Swirl-DGZs_YDx.js} +3 -3
- package/dist/core/{Teardrop-DX-YZkNC.js → Teardrop-DN7t-3HU.js} +2 -2
- package/dist/core/{Text-oI5d7_UD.js → Text-DuQnSDiW.js} +6 -5
- package/dist/core/{ThinFilm-CEYaV4nn.js → ThinFilm-DhQXCGw9.js} +4 -4
- package/dist/core/{TiltShift-C8GluqAm.js → TiltShift-CpHBxw5I.js} +2 -2
- package/dist/core/{TimeTrail-CPiSo5Of.js → TimeTrail-j89dMqNU.js} +2 -2
- package/dist/core/{Tint-NA7BO-Qk.js → Tint-WmBROyUm.js} +2 -2
- package/dist/core/{Trapezoid-BOGSQvW5.js → Trapezoid-RrEwHfyH.js} +2 -2
- package/dist/core/{TriangularGrid-Zx3I4CqA.js → TriangularGrid-D7r3Nhss.js} +3 -3
- package/dist/core/{Tritone-Bl69W4Y4.js → Tritone-BREi33uL.js} +2 -2
- package/dist/core/{Truchet-RJI0-v6x.js → Truchet-CTjP4x60.js} +2 -2
- package/dist/core/{Twirl-CrIawDs2.js → Twirl-Bvk8-3JT.js} +4 -4
- package/dist/core/{VHS-B12KbScc.js → VHS-et86dWDU.js} +1 -1
- package/dist/core/{VenetianBlinds-CGfPlhGd.js → VenetianBlinds-Bv0f2lFw.js} +2 -2
- package/dist/core/{Vesica-DekjxkHL.js → Vesica-BV2Sz5VV.js} +2 -2
- package/dist/core/{Vibrance-DKKduAD8.js → Vibrance-Q9Mrvfs-.js} +1 -1
- package/dist/core/{VideoTexture-1xg_a680.js → VideoTexture-BUY69Gqp.js} +1 -1
- package/dist/core/{Vignette-CDRCMNb2.js → Vignette-DyScJQWj.js} +2 -2
- package/dist/core/{Voronoi-EWj3WFqv.js → Voronoi-DxoT7iRa.js} +3 -3
- package/dist/core/{Water-BdGrOEuE.js → Water-CE1rY4LR.js} +5 -5
- package/dist/core/{Watercolor-BGIcnGZu.js → Watercolor-Buk5FkKR.js} +2 -2
- package/dist/core/{WaveDistortion-BNlrOaur.js → WaveDistortion-Ca6y77xt.js} +5 -5
- package/dist/core/{WaveletNoise-Jv-694xX.js → WaveletNoise-Y7LdptK_.js} +3 -3
- package/dist/core/{Weave-HNS6xvOs.js → Weave-CTpPvAhK.js} +2 -2
- package/dist/core/{WebcamTexture-DVKxGpWI.js → WebcamTexture-85gdzpo_.js} +3 -2
- package/dist/core/{Wool-D7uM0JRs.js → Wool-DJJkx7S2.js} +2 -2
- package/dist/core/{WorleyNoise-DsDWmRCp.js → WorleyNoise-C_CHhfMF.js} +3 -3
- package/dist/core/{ZoomBlur-S2GfQojf.js → ZoomBlur-8tmVWx1n.js} +2 -2
- package/dist/core/{coords-0A7CojvN.js → coords-BkIjixe_.js} +717 -44
- package/dist/core/{glass-BjUqcmHP.js → glass-sOqjtPJD.js} +1 -1
- package/dist/core/gpu/composer.d.ts +7 -0
- 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/edges.d.ts +19 -1
- package/dist/core/gpu/kit/edges.d.ts.map +1 -1
- package/dist/core/gpu/kit/index.d.ts +1 -0
- package/dist/core/gpu/kit/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/sampling.d.ts +34 -0
- package/dist/core/gpu/kit/sampling.d.ts.map +1 -0
- package/dist/core/gpu/kit/sdf.d.ts.map +1 -1
- package/dist/core/gpu/kit/uvTransform.d.ts +13 -3
- package/dist/core/gpu/kit/uvTransform.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 +457 -358
- package/dist/core/{noiseColor-w3B94vmT.js → noiseColor-CY6QVFgB.js} +2 -2
- package/dist/core/{porters-B1jqpcE3.js → porters-Bl3WB9VW.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-CSTwovjI.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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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-Cl58vRlg.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/boundingBox.d.ts +14 -0
- package/dist/core/utilities/boundingBox.d.ts.map +1 -1
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/js/bundle.js +162 -162
- 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 +159 -159
- 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,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Kt as floatE, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
const sharpnessTapUV = tgpu.fn([
|
|
3
3
|
d.vec2f,
|
|
4
4
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as ZERO, H as toHalfFloat, Ht as call, J as std, Kt as floatE, Tn as d, X as createGuardedCompute, Z as createStateBuffer, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var seededRandom = (seed) => {
|
|
4
4
|
const x = Math.sin(seed) * 1e4;
|
|
5
5
|
return x - Math.floor(x);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as mixStopsOrColorsExpr,
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
1
|
+
import { $ as mixStopsOrColorsExpr, Ht as call, J as std, Tn as d, dt as mxNoiseFloat3, n as tgpu, pt as noise_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
const simplexNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var DEG_TO_RAD = Math.PI / 180;
|
|
5
5
|
var TAU = Math.PI * 2;
|
|
6
6
|
const sineWaveMask = tgpu.fn([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as call, J as std,
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as ZERO, Ht as call, J as std, Tn as d, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
var DEG_TO_RAD = Math.PI / 180;
|
|
3
3
|
const sliceWipeUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
1
|
+
import { Bt as ZERO, Et as mixColorStopsRuntime, Ht as call, J as std, Jt as vec4, Tn as d, X as createGuardedCompute, Z as createStateBuffer, ln as colorMixing_exports, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var N = 256;
|
|
5
5
|
var COUNT = N * N;
|
|
6
6
|
var JACOBI_ITERS = 10;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
4
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { Bt as ZERO, F as sdf_exports, Ht as call, J as std, Jt as vec4, Tn as d, X as createGuardedCompute, Z as createStateBuffer, ln as colorMixing_exports, n as tgpu, y as sdf3d_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-sOqjtPJD.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-Cl58vRlg.js";
|
|
5
5
|
var { sdfSpaceUV } = glass_exports;
|
|
6
6
|
var { createSvgSdfSampler, createSdfDataTexture, SVG_SDF_SIZE, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS, buildAnalyticSdfFn } = sdf_exports;
|
|
7
7
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS } = sdf3d_exports;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
1
|
+
import { Bt as ZERO, Et as mixColorStopsRuntime, Ht as call, J as std, Jt as vec4, Tn as d, X as createGuardedCompute, Z as createStateBuffer, ln as colorMixing_exports, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var N = 256;
|
|
5
5
|
var COUNT = N * N;
|
|
6
6
|
var JACOBI_ITERS = 10;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std, Rt as
|
|
2
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Rt as sampleCatmullRomExpr, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const spherizeGeom = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.vec2f,
|
|
@@ -891,7 +891,7 @@ const componentDefinition = {
|
|
|
891
891
|
uniforms.lightSoftness
|
|
892
892
|
]);
|
|
893
893
|
return call(spherizeCompose, "spherizeCompose", [
|
|
894
|
-
call(unpremultiplyAlpha, "unpremultiplyAlpha", [childTexture
|
|
894
|
+
call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleCatmullRomExpr(childTexture, geom.member("xy"))]),
|
|
895
895
|
uniforms.lightColor.member("rgb"),
|
|
896
896
|
geom.member("w"),
|
|
897
897
|
geom.member("z")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var TWO_PI = 6.283185307;
|
|
5
5
|
const spiralOffset = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { C as ShapeMask, F as sdf_exports, Ht as call, I as shapeLocalCoords, Jt as vec4, L as starSdf, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const starShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q as applyNoiseReliefExpr, vt as stone12 } from "./coords-
|
|
2
|
-
import { t as reliefStylizeProps } from "./noiseStylize-
|
|
1
|
+
import { Q as applyNoiseReliefExpr, vt as stone12 } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { t as reliefStylizeProps } from "./noiseStylize-BsZQT7ig.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Stone",
|
|
5
5
|
boundingBoxDeclaration: { aspectRatio: null },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition, i as transformBoolean, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
1
|
+
import { Ct as MAX_COLOR_STOPS, Ht as call, J as std, Jt as vec4, Sn as sRGBToP3, Tn as d, Tt as gradientStopsInSpace, bn as oklchToOklab, dn as hslToRgb, fn as hsvToRgb, mn as lchToLab, n as tgpu, pn as labToRgb, wt as colorStops_exports, yn as oklabToRgb } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { c as transformPosition, i as transformBoolean, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var TAU = Math.PI * 2;
|
|
5
5
|
var PI = Math.PI;
|
|
6
6
|
var MAX = 8;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Lt as sampleRemappedExpr, Tn as d, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const stretchUV = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
@@ -447,14 +447,14 @@ const componentDefinition = {
|
|
|
447
447
|
}
|
|
448
448
|
const texture = convertToTexture(childNode);
|
|
449
449
|
const edgeMode = propValues.edges ?? 0;
|
|
450
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
450
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, call(stretchUV, "stretchUV", [
|
|
451
451
|
uniforms.center,
|
|
452
452
|
uniforms.strength,
|
|
453
453
|
uniforms.angle,
|
|
454
454
|
uniforms.falloff,
|
|
455
455
|
ctx.uv,
|
|
456
456
|
ctx.aspect
|
|
457
|
-
]),
|
|
457
|
+
]), edgeMode)]);
|
|
458
458
|
},
|
|
459
459
|
uvRemap: ({ uv, mask, uniforms, aspect, propValues }) => {
|
|
460
460
|
const edgeMode = propValues.edges ?? 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var DEG_TO_RAD = .0174533;
|
|
5
5
|
const stripeCoordP = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var TAU = Math.PI * 2;
|
|
5
5
|
var hash01 = tgpu.fn([d.f32], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((x) => {
|
|
6
6
|
"use gpu";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Tn as d, n as tgpu, qt as mixExpr } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
const sunBurstAlpha = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { a as transformColor, s as transformEdges } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ft as edgeWrapUV, Ht as call, It as edges_exports, J as std, Jt as vec4, Nt as edgeMirrorUV, Tn as d, X as createGuardedCompute, Z as createStateBuffer, cn as unpremultiplyAlpha, n as tgpu, pt as noise_exports, ut as mxNoiseFloat2 } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var WAVE_GRID = 256;
|
|
4
4
|
var WAVE_CELLS = WAVE_GRID * WAVE_GRID;
|
|
5
5
|
var WAVE_MAX = WAVE_GRID - 1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
1
|
+
import { Et as mixColorStopsRuntime, Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
const swirlField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { C as ShapeMask, F as sdf_exports, Ht as call, I as shapeLocalCoords, Jt as vec4, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu, z as teardropSdf } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const teardropShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
3
|
-
import { n as loadGoogleFont, t as isFontAvailable } from "./fonts-
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Rt as sampleCatmullRomExpr, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { n as loadGoogleFont, t as isFontAvailable } from "./fonts-BtGjHq1w.js";
|
|
4
4
|
function applyTextTransform(text, mode) {
|
|
5
5
|
switch (mode) {
|
|
6
6
|
case "uppercase": return text.toUpperCase();
|
|
@@ -61,6 +61,7 @@ function measureText(spec) {
|
|
|
61
61
|
}
|
|
62
62
|
var MAX_TEXTURE_AXIS = 4096;
|
|
63
63
|
var DEG_TO_RAD = Math.PI / 180;
|
|
64
|
+
var TEXT_SUPERSAMPLE = 3;
|
|
64
65
|
const TEXT_LINE_BOX_RATIO = 1.2;
|
|
65
66
|
var fontSizePxOf = (v, canvasHeight) => {
|
|
66
67
|
if (v && typeof v === "object" && typeof v.value === "number") return v.unit === "px" ? v.value : v.value * canvasHeight;
|
|
@@ -680,7 +681,7 @@ const componentDefinition = {
|
|
|
680
681
|
const padPx = Math.max(.25 * fontSizePx, (ascentPx + descentPx - lineBoxPx) / 2 + .25 * fontSizePx);
|
|
681
682
|
const cssW = textWPx + padPx * 2;
|
|
682
683
|
const cssH = lineBoxPx + padPx * 2;
|
|
683
|
-
let scale = dpr *
|
|
684
|
+
let scale = dpr * TEXT_SUPERSAMPLE;
|
|
684
685
|
scale = Math.min(scale, MAX_TEXTURE_AXIS / cssW, MAX_TEXTURE_AXIS / cssH);
|
|
685
686
|
const texW = Math.max(2, Math.round(cssW * scale));
|
|
686
687
|
const texH = Math.max(2, Math.round(cssH * scale));
|
|
@@ -743,7 +744,7 @@ const componentDefinition = {
|
|
|
743
744
|
uniforms.halfW,
|
|
744
745
|
uniforms.halfH
|
|
745
746
|
]);
|
|
746
|
-
const sampled = glyphField
|
|
747
|
+
const sampled = sampleCatmullRomExpr(glyphField, field.member("xy"), "linearClamp", "unit");
|
|
747
748
|
const color = uniforms.color;
|
|
748
749
|
const alpha = sampled.member("a").mul(color.member("a")).mul(field.member("z"));
|
|
749
750
|
return vec4(color.member("rgb"), alpha);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as sdfSpaceUV, r as offsetUV, t as glassGradient } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
4
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { Dn as __export, F as sdf_exports, Ht as call, J as std, Kt as floatE, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu, qt as mixExpr, y as sdf3d_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { i as sdfSpaceUV, r as offsetUV, t as glassGradient } from "./glass-sOqjtPJD.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-Cl58vRlg.js";
|
|
5
5
|
var thinFilm_exports = /* @__PURE__ */ __export({
|
|
6
6
|
applyThinFilmEffect: () => applyThinFilmEffect$1,
|
|
7
7
|
thinFilmCompose: () => thinFilmCompose,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { c as transformPosition, r as transformAngle } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, U as BLUR_MAP_FORMAT, X as createGuardedCompute, cn as unpremultiplyAlpha, n as tgpu, q as createVariableGaussianBlurCompute, qt as mixExpr } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { c as transformPosition, r as transformAngle } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const INTENSITY_TO_RADIUS = .36;
|
|
5
5
|
const intensityToRadius = (intensity) => intensity * INTENSITY_TO_RADIUS;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as call, J as std,
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Kt as floatE, Tn as d, X as createGuardedCompute, cn as unpremultiplyAlpha, dn as hslToRgb, ln as colorMixing_exports, n as tgpu, on as blendModes, xn as rgbToHsl } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var STATE_RES = 768;
|
|
4
4
|
var STATE_FORMAT = "rgba16float";
|
|
5
5
|
var DIFFUSE_TEXELS = 2.5;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const tintColorPlain = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
5
5
|
d.vec4f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as trapezoidSdf,
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { B as trapezoidSdf, C as ShapeMask, F as sdf_exports, Ht as call, I as shapeLocalCoords, Jt as vec4, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const trapezoidShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var DEG_TO_RAD = Math.PI / 180;
|
|
5
5
|
var SQRT3 = Math.sqrt(3);
|
|
6
6
|
var TWO_OVER_SQRT3 = 2 / Math.sqrt(3);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const tritoneFactors = tgpu.fn([d.vec4f, d.f32], d.vec3f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, blendMid) => {
|
|
4
4
|
"use gpu";
|
|
5
5
|
const luminance = std.dot(color.xyz, d.vec3f(.299, .587, .114));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
var truchetHash = tgpu.fn([d.vec2f], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
5
5
|
"use gpu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as transformPosition, s as transformEdges } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Lt as sampleRemappedExpr, Tn as d, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { c as transformPosition, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const twirlUV = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -314,12 +314,12 @@ const componentDefinition = {
|
|
|
314
314
|
}
|
|
315
315
|
const texture = convertToTexture(childNode);
|
|
316
316
|
const edgeMode = propValues.edges ?? 0;
|
|
317
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
317
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, call(twirlUV, "twirlUV", [
|
|
318
318
|
uniforms.center,
|
|
319
319
|
uniforms.intensity,
|
|
320
320
|
ctx.uv,
|
|
321
321
|
ctx.aspect
|
|
322
|
-
]),
|
|
322
|
+
]), edgeMode)]);
|
|
323
323
|
},
|
|
324
324
|
uvRemap: ({ uv, mask, uniforms, aspect, propValues }) => {
|
|
325
325
|
const edgeMode = propValues.edges ?? 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Kt as floatE, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
var FIELD_LINES = 487;
|
|
3
3
|
var hash2D = tgpu.fn([d.vec2f], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
4
4
|
"use gpu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { i as transformBoolean } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const venetianBlindsMask = tgpu.fn([
|
|
5
5
|
d.vec4f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { C as ShapeMask, F as sdf_exports, Ht as call, I as shapeLocalCoords, Jt as vec4, R as strokeMaskFromSdf, Tn as d, V as vesicaSdf, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const vesicaShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
5
5
|
d.f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
const vibranceColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, adjustment) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const r = color.x;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
const videoScaleCover = tgpu.fn([d.vec2f, d.vec2f], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((videoDims, vp) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const videoAspect = __tsover_div(videoDims.x, videoDims.y);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const vignetteColor = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
5
5
|
d.vec2f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
1
|
+
import { Et as mixColorStopsRuntime, Ht as call, J as std, Jt as vec4, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu, qt as mixExpr } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var voronoiHash = tgpu.fn([d.vec2f], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
5
5
|
"use gpu";
|
|
6
6
|
const h = d.vec2f(std.dot(p, d.vec2f(127.1, 311.7)), std.dot(p, d.vec2f(269.5, 183.3)));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
3
|
-
import { a as transformColor, c as transformPosition } from "./transformations-
|
|
4
|
-
import { t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
1
|
+
import { F as sdf_exports, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, n as tgpu, pt as noise_exports, ut as mxNoiseFloat2, y as sdf3d_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { n as glass_exports } from "./glass-sOqjtPJD.js";
|
|
3
|
+
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
4
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
5
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-Cl58vRlg.js";
|
|
6
6
|
var { sdfSpaceUV, offsetUV } = glass_exports;
|
|
7
7
|
var { createSvgSdfSampler, createAnalyticSdfSampler, driveAnalyticSubProps, ANALYTIC_SDF_EXTRA_FIELDS } = sdf_exports;
|
|
8
8
|
var { createVolumetricFieldComputeNode, buildVolumetricFieldSampler, VOLUMETRIC_FIELD_EXTRA_FIELDS, is3dShapeType, isVolumetricShapeType } = sdf3d_exports;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Bt as ZERO, Gt as expr, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var hash21 = tgpu.fn([d.vec2f], d.f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
4
4
|
"use gpu";
|
|
5
5
|
return std.fract(__tsover_mul(std.sin(std.dot(p, d.vec2f(12.9898, 78.233))), 43758.5453));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as transformEdges } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Lt as sampleRemappedExpr, Tn as d, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var DEG_TO_RAD = Math.PI / 180;
|
|
5
5
|
var TAU = Math.PI * 2;
|
|
6
6
|
const wavePhase = tgpu.fn([
|
|
@@ -1097,14 +1097,14 @@ const componentDefinition = {
|
|
|
1097
1097
|
const waveType = waveTypeMode(propValues.waveType);
|
|
1098
1098
|
const t = animatedTime(params).mul(.5);
|
|
1099
1099
|
const { fn, hint } = waveBodyFor(waveType);
|
|
1100
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
1100
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, call(fn, hint, [
|
|
1101
1101
|
ctx.uv,
|
|
1102
1102
|
ctx.aspect,
|
|
1103
1103
|
uniforms.angle,
|
|
1104
1104
|
uniforms.frequency,
|
|
1105
1105
|
uniforms.strength,
|
|
1106
1106
|
t
|
|
1107
|
-
]),
|
|
1107
|
+
]), edgeMode)]);
|
|
1108
1108
|
},
|
|
1109
1109
|
uvRemap: (ctx) => {
|
|
1110
1110
|
const edgeMode = ctx.propValues.edges ?? 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-
|
|
1
|
+
import { Ht as call, J as std, Tn as d, et as toneAndColorExpr, n as tgpu, pt as noise_exports, xt as wavelet12 } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
3
|
+
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-CY6QVFgB.js";
|
|
4
4
|
const waveletNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const weaveColor = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Tn as d, _ as scaleScaleDown, d as alphaCutLinear, f as sampleUV, g as scaleNone, h as scaleFill, m as scaleCover, n as tgpu, p as scaleContain } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { r as debugWarn } from "./support-6QRFK3xB.js";
|
|
2
3
|
var OBJECT_FIT_MODES = {
|
|
3
4
|
cover: 0,
|
|
4
5
|
contain: 1,
|
|
@@ -170,7 +171,7 @@ const componentDefinition = {
|
|
|
170
171
|
if (isDisposed) return;
|
|
171
172
|
videoElement = video;
|
|
172
173
|
isInitialized = true;
|
|
173
|
-
|
|
174
|
+
debugWarn(`[WebcamTexture] Webcam started: ${video.videoWidth}x${video.videoHeight}`);
|
|
174
175
|
} catch (error) {
|
|
175
176
|
if (error instanceof DOMException) if (error.name === "NotAllowedError") console.error("[WebcamTexture] Camera permission denied by user");
|
|
176
177
|
else if (error.name === "NotFoundError") console.error("[WebcamTexture] No camera found on this device");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q as applyNoiseReliefExpr, St as wool12 } from "./coords-
|
|
2
|
-
import { t as reliefStylizeProps } from "./noiseStylize-
|
|
1
|
+
import { Q as applyNoiseReliefExpr, St as wool12 } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { t as reliefStylizeProps } from "./noiseStylize-BsZQT7ig.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Wool",
|
|
5
5
|
boundingBoxDeclaration: { aspectRatio: null },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
1
|
+
import { Ht as call, J as std, Kt as floatE, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var TAU = Math.PI * 2;
|
|
5
5
|
const worleyHash = tgpu.fn([d.vec2f], d.vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
6
6
|
"use gpu";
|