shaders 3.0.444 → 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-D-tt4pvi.js → AngularBlur-D33jrcZd.js} +1 -1
- package/dist/core/{Arc-DrBTn2ft.js → Arc-BG8Bpknl.js} +1 -1
- package/dist/core/{Ascii-cHzx_Cgc.js → Ascii-DE0vAAOX.js} +1 -1
- package/dist/core/{Aurora-15z76vsc.js → Aurora-Cu4JGjCD.js} +2 -2
- package/dist/core/{BarShift-s7HgQwz5.js → BarShift-o_IvV0t_.js} +4 -4
- package/dist/core/{BarnDoors-CBzse00V.js → BarnDoors-JraHuTwe.js} +1 -1
- package/dist/core/{Beam-DZgWUuTC.js → Beam-DshQatlM.js} +1 -1
- package/dist/core/{Bend-CHTYK8SA.js → Bend-KJzYWEJV.js} +3 -3
- package/dist/core/{Blob-A8bKkEG1.js → Blob-BJxkqvOO.js} +2 -2
- package/dist/core/{BlockDissolve-Bb4aDV5s.js → BlockDissolve-CsIQWUpY.js} +1 -1
- package/dist/core/{BlockNoise-BnnsS95j.js → BlockNoise-DVI-0PnC.js} +3 -3
- package/dist/core/{BlueNoise-DTOarEL0.js → BlueNoise-CzBN6i38.js} +2 -2
- package/dist/core/{Blur-DEwHcGOu.js → Blur-W95k4Lxz.js} +1 -1
- package/dist/core/{Boids-BWJXVflR.js → Boids-BJ6wxFC8.js} +1 -1
- package/dist/core/{BokehBlur-pQJN6FFd.js → BokehBlur-CbOO__cN.js} +1 -1
- package/dist/core/{BrickPattern-Kwmx3pdx.js → BrickPattern-eQv5DrKE.js} +2 -2
- package/dist/core/{BrightnessContrast-CAkwN3s1.js → BrightnessContrast-CmH2DvaZ.js} +1 -1
- package/dist/core/{BrushedMetal-B4qfaTCf.js → BrushedMetal-D-7M7ZuM.js} +4 -4
- package/dist/core/{Bulge-CLBhicOs.js → Bulge-KmBnaVMx.js} +3 -3
- package/dist/core/{CRTScreen-Cj2H2mXK.js → CRTScreen-t7dyfO5u.js} +1 -1
- package/dist/core/{CarbonFiber-zA6_ZDg8.js → CarbonFiber-D4jap49E.js} +3 -3
- package/dist/core/{Chalkboard-DwkX3ZL3.js → Chalkboard-H6-0OXC3.js} +1 -1
- package/dist/core/{ChannelBlur-KHDU8WCn.js → ChannelBlur-BKJfnu91.js} +1 -1
- package/dist/core/{CheckerWipe-CNlqWp0y.js → CheckerWipe-acIaflfK.js} +1 -1
- package/dist/core/{Checkerboard-CvP8BKcu.js → Checkerboard-NwKMLVHe.js} +1 -1
- package/dist/core/{Chevron-BFmKhIws.js → Chevron-eBbFV2ud.js} +2 -2
- package/dist/core/{ChromaFlow-C8I4PtcP.js → ChromaFlow-ex7l4tTK.js} +1 -1
- package/dist/core/{ChromaticAberration-CGPfHEFI.js → ChromaticAberration-Bbi9vNxS.js} +1 -1
- package/dist/core/{Circle-ChmepdP_.js → Circle-DdFWEti1.js} +1 -1
- package/dist/core/{ColorWheel-D5V4ozig.js → ColorWheel-BqcyPqcj.js} +2 -2
- package/dist/core/{CompressionArtifacts--GdHELg8.js → CompressionArtifacts-DqWq-4h8.js} +1 -1
- package/dist/core/{ConcentricSpin-DIWQ80K5.js → ConcentricSpin-CtI1hKio.js} +4 -4
- package/dist/core/{ConicGradient-DjMQDAT6.js → ConicGradient-HmImN4LO.js} +2 -2
- package/dist/core/{ContourLines-Pq1zDmlf.js → ContourLines-BMom2vMu.js} +1 -1
- package/dist/core/{CornerPin-C-x2z8H5.js → CornerPin-D_-luriU.js} +2 -2
- package/dist/core/{Crescent-C6COUHa5.js → Crescent-CY6MeN9V.js} +1 -1
- package/dist/core/{Cross-Cgw13Sga.js → Cross-ClImej9a.js} +1 -1
- package/dist/core/{Crystal-RnN4Y5Tf.js → Crystal-CMrqHLFD.js} +3 -3
- package/dist/core/{CurlNoise-jaIscgOF.js → CurlNoise-C_QZBT5m.js} +3 -3
- package/dist/core/{CursorRipples-Gv0B1S-h.js → CursorRipples-Bmlex_IF.js} +1 -1
- package/dist/core/{CursorTrail-BMHsUYwx.js → CursorTrail-B68x1Cv-.js} +2 -2
- package/dist/core/{DataMosh-CaqYFxYA.js → DataMosh-FZQWg5Ui.js} +1 -1
- package/dist/core/{DiamondGradient-D388xLbc.js → DiamondGradient-C0hD1lNN.js} +2 -2
- package/dist/core/{DiamondWipe-BRXj3gon.js → DiamondWipe-B8rFSwsV.js} +1 -1
- package/dist/core/{DiffuseBlur-CM5Qy5JM.js → DiffuseBlur--Gn4bDwC.js} +1 -1
- package/dist/core/{DisplacementMap-Cr1fauBv.js → DisplacementMap-DQk8S4sK.js} +3 -3
- package/dist/core/{Dither-CubXhMES.js → Dither-rB9M7FS7.js} +1 -1
- package/dist/core/{DotGrid-D6We1dqv.js → DotGrid-DszAbmy5.js} +2 -2
- package/dist/core/{DropShadow-C8v9KJgy.js → DropShadow-BS3S178o.js} +1 -1
- package/dist/core/{Duotone-BfVi04d4.js → Duotone-Cf_ybegD.js} +1 -1
- package/dist/core/{Ellipse-fTV0CAVg.js → Ellipse-DY8FgSSx.js} +1 -1
- package/dist/core/{Emboss-BNhsz2v0.js → Emboss-RxgVyKyU.js} +3 -3
- package/dist/core/{Engraving-DYTr1YbV.js → Engraving-C0OuioUr.js} +1 -1
- package/dist/core/{ErosionNoise-CxsXwPPE.js → ErosionNoise-B-I3VFiY.js} +2 -2
- package/dist/core/{Exposure-DISAOzQ5.js → Exposure-360tdOrT.js} +1 -1
- package/dist/core/{FallingLines-DBGk9U7l.js → FallingLines-4sVKJMDj.js} +2 -2
- package/dist/core/{FilmGrain-Ban-r5as.js → FilmGrain-CgzuRidb.js} +1 -1
- package/dist/core/{FilmStock-BlOwC5zb.js → FilmStock-BW9k3EPE.js} +1 -1
- package/dist/core/{Flip-CAt9CFWn.js → Flip-DqdxtYHS.js} +1 -1
- package/dist/core/{FloatingParticles-Cppgg6I0.js → FloatingParticles-BI8Y9Gcv.js} +1 -1
- package/dist/core/{FlowField-b0PcB7MV.js → FlowField-CV0Is569.js} +4 -4
- package/dist/core/{Flower-iLK4UwZa.js → Flower-IaNzANoa.js} +1 -1
- package/dist/core/{FlowingGradient-CZc_z9cL.js → FlowingGradient-CEAAa11t.js} +2 -2
- package/dist/core/{FlutedGlass-DMl2A42x.js → FlutedGlass-CF6mZMq4.js} +2 -2
- package/dist/core/{Fog-BBc52yrL.js → Fog-D9OYGwhY.js} +1 -1
- package/dist/core/{Form3D-BqMINp_g.js → Form3D-CJKutcFA.js} +2 -2
- package/dist/core/{FractalNoise-BjGa9I7_.js → FractalNoise-DelBWQyb.js} +2 -2
- package/dist/core/{Frost-ttMO1uGc.js → Frost-Br7b9n4L.js} +4 -4
- package/dist/core/{GaborNoise-CSC24alr.js → GaborNoise-DViNgIse.js} +3 -3
- package/dist/core/{Glass-DHkb-2UB.js → Glass-IwPea9h1.js} +3 -3
- package/dist/core/{GlassTiles-CTSmg7gD.js → GlassTiles-DpPHPKv7.js} +3 -5
- package/dist/core/{Glitch-O5FZxlBV.js → Glitch-CKmX-agV.js} +1 -1
- package/dist/core/{Glow-Cj9SzOqq.js → Glow-CVcVetaa.js} +1 -1
- package/dist/core/{Godrays-XW1fNiSU.js → Godrays-CNNHJzNz.js} +2 -2
- package/dist/core/{Goo-Bc43zAec.js → Goo-BUXnhwTk.js} +4 -4
- package/dist/core/{GradientMap-BxSv1OOf.js → GradientMap-DqGEXRl9.js} +1 -1
- package/dist/core/{Grayscale-CNM0GlQN.js → Grayscale-DiJAjdx3.js} +1 -1
- package/dist/core/{Grid-reIQAyFU.js → Grid-utmP7uyR.js} +1 -1
- package/dist/core/{GridDistortion-tJym6OIr.js → GridDistortion-Bn6D5dfC.js} +2 -2
- package/dist/core/{Group-8iAuPA0-.js → Group-u-o7qE0Y.js} +1 -1
- package/dist/core/{HTMLInCanvas-CAHfLRAz.js → HTMLInCanvas-sK9HN-gI.js} +1 -1
- package/dist/core/{Halftone-Dlk16PsH.js → Halftone-C5La06l6.js} +1 -1
- package/dist/core/{Heart-C3Uas8c_.js → Heart-CGLx1F8D.js} +1 -1
- package/dist/core/{Heatmap-CE7IB_4g.js → Heatmap-CE5DLeJp.js} +4 -4
- package/dist/core/{HexGrid-BiXYpVNp.js → HexGrid-CqB-yMWN.js} +1 -1
- package/dist/core/{Hologram-BjKBncw8.js → Hologram-CctodmpA.js} +4 -4
- package/dist/core/{Holographic-CCTmTYXb.js → Holographic-DSz4qfkn.js} +4 -4
- package/dist/core/{HueShift-CE5RgaBc.js → HueShift-Cfq-ijQP.js} +1 -1
- package/dist/core/{ImageTexture-BrjlwuWY.js → ImageTexture-DdzAYFTi.js} +1 -1
- package/dist/core/{InkFlow-DS92HgM9.js → InkFlow-CCPfoQXs.js} +1 -1
- package/dist/core/{Invert-e1Z9IfPo.js → Invert-CtUHcYmv.js} +1 -1
- package/dist/core/{IrisWipe-CCK_EamC.js → IrisWipe-DWVFMn81.js} +1 -1
- package/dist/core/{IsometricCubes-BA-cN4bC.js → IsometricCubes-m-mYnbqN.js} +1 -1
- package/dist/core/{Kaleidoscope-Cin7yxd7.js → Kaleidoscope-DMNLVgx6.js} +3 -3
- package/dist/core/{KeyFrames-D4-678xR.js → KeyFrames-jgrfR3Hj.js} +1 -1
- package/dist/core/{LensFlare-UNNiSfiz.js → LensFlare-CuWJsfwE.js} +2 -2
- package/dist/core/{LightEdge-GUFdnqjh.js → LightEdge-WMxb-xKB.js} +4 -4
- package/dist/core/{LightLeak-DWv0ec7B.js → LightLeak-DfOngFp7.js} +2 -2
- package/dist/core/{LinearBlur-DBKjOKVV.js → LinearBlur-iLXYGof_.js} +1 -1
- package/dist/core/{LinearGradient--Vy79Fs_.js → LinearGradient-DLrJban6.js} +2 -2
- package/dist/core/{LinearWipe-PZcYib77.js → LinearWipe-C_fWBl4i.js} +1 -1
- package/dist/core/{LiquidMetal-cUxfJdju.js → LiquidMetal-DHM8kVNr.js} +4 -4
- package/dist/core/{Liquify-B1o-_MJZ.js → Liquify-FQWL8j4t.js} +3 -3
- package/dist/core/{MagneticFilings-B1Qvnw6t.js → MagneticFilings-BUzSkycD.js} +1 -1
- package/dist/core/{Marble-CD5fqEce.js → Marble-BnHffB3C.js} +2 -2
- package/dist/core/{Mirror-QJoYnzu6.js → Mirror-B_v4FunG.js} +2 -2
- package/dist/core/{MultiPointGradient-CLRPS8u7.js → MultiPointGradient-5NGBm90u.js} +1 -1
- package/dist/core/{Neon-DAPbLlBN.js → Neon-BjBSg2FR.js} +3 -3
- package/dist/core/{NoiseDissolve-jdMIvdYS.js → NoiseDissolve-kDP6-h9F.js} +1 -1
- package/dist/core/{ObjectTracker-BD_l_g6R.js → ObjectTracker-vU1bVmIJ.js} +1 -1
- package/dist/core/{PagePeel-YyWAE0am.js → PagePeel-BgDvgtIV.js} +1 -1
- package/dist/core/{Paper-DOFhG3gq.js → Paper-_alN4JdS.js} +1 -1
- package/dist/core/{Parallelogram-CKlvs9a_.js → Parallelogram--Cil139y.js} +1 -1
- package/dist/core/{ParticleField-R--x794f.js → ParticleField-DZ7um7tu.js} +1 -1
- package/dist/core/{ParticleFlow-DY8g2n2d.js → ParticleFlow-CmRP2S8W.js} +1 -1
- package/dist/core/{Particles-D6-MCj-7.js → Particles-DFw2E9SE.js} +2 -2
- package/dist/core/{PerlinNoise-DKBJst5k.js → PerlinNoise-BmNpwJtM.js} +3 -3
- package/dist/core/{Perspective-DH5aV7fh.js → Perspective-DVcUW7jR.js} +3 -3
- package/dist/core/{PixelSort-DRd4GE4_.js → PixelSort-Bz5dIrqH.js} +1 -1
- package/dist/core/{PixelThrow-CRizzpOr.js → PixelThrow-DEMX8VOw.js} +1 -1
- package/dist/core/{Pixelate-DgPtCErp.js → Pixelate-D-eWrHTE.js} +1 -1
- package/dist/core/{Plasma-8zXLjhIr.js → Plasma-C_EIkpQi.js} +2 -2
- package/dist/core/{Plastic-Dv-N6_Nv.js → Plastic-CYeefb91.js} +4 -4
- package/dist/core/{PolarCoordinates-lw0yBeJq.js → PolarCoordinates-DmpUBdGX.js} +2 -2
- package/dist/core/{Polygon-DQxmxfqr.js → Polygon-DEEUdZd6.js} +1 -1
- package/dist/core/{Posterize-C4qpmou-.js → Posterize-B8oVbNZL.js} +1 -1
- package/dist/core/{Prism-C0qW3WgL.js → Prism-Btijlm0t.js} +2 -2
- package/dist/core/{ProgressiveBlur-C_xtFzmP.js → ProgressiveBlur-BoRFh6Tn.js} +1 -1
- package/dist/core/{RadialGradient-DetBcKps.js → RadialGradient-CNDiMPZM.js} +2 -2
- package/dist/core/{RadialWipe-Cmv05uxE.js → RadialWipe-C213vCrJ.js} +1 -1
- package/dist/core/{RandomBars-CrPfWF8l.js → RandomBars-hOY9hNS7.js} +1 -1
- package/dist/core/{ReactionDiffusion-Dc_uVKMg.js → ReactionDiffusion--UjME4_r.js} +1 -1
- package/dist/core/{RectangularCoordinates-C1sbpWlI.js → RectangularCoordinates-DB7rPJ2Z.js} +2 -2
- package/dist/core/{ReflectivePlane-DyTDDfvN.js → ReflectivePlane-D92GjNLR.js} +1 -1
- package/dist/core/{Repeater-CzvIt5Gw.js → Repeater-CJjylN6O.js} +1 -1
- package/dist/core/{Ring-6gd4orX0.js → Ring-CJYQP2Qm.js} +1 -1
- package/dist/core/{RippleWipe-BU-dDvBK.js → RippleWipe-DJlrObO0.js} +1 -1
- package/dist/core/{Ripples-D7Y__Ls8.js → Ripples-Brj67b7H.js} +2 -2
- package/dist/core/{RoundedRect-DMzr6z4F.js → RoundedRect-3vfFsHAl.js} +1 -1
- package/dist/core/{Saturation-BZ5ZmmKo.js → Saturation-lx3DV3Up.js} +1 -1
- package/dist/core/{Scratches-wRRWI1-5.js → Scratches-CMFr8AfL.js} +3 -3
- package/dist/core/{Sharpness-BQu_GeV6.js → Sharpness-ByZbUAd0.js} +1 -1
- package/dist/core/{Shatter-HTHPxq07.js → Shatter-B1_rLacw.js} +1 -1
- package/dist/core/{SimplexNoise-arMv2IxX.js → SimplexNoise-zItLLG1j.js} +2 -2
- package/dist/core/{SineWave-crFYxXPS.js → SineWave-BvrhRcvv.js} +2 -2
- package/dist/core/{SliceWipe-D-Rnm4ce.js → SliceWipe-9bUWTClo.js} +1 -1
- package/dist/core/{Smoke-Cyjm_hFb.js → Smoke-YixCTJbh.js} +2 -2
- package/dist/core/{SmokeFill-CMBAFeM8.js → SmokeFill-Cccbyi4g.js} +3 -3
- package/dist/core/{SmokeFlow-DfytXLC4.js → SmokeFlow-DJ3sQPH1.js} +2 -2
- package/dist/core/{Solarize-BNuZoWV5.js → Solarize-CZeTsJG8.js} +1 -1
- package/dist/core/{Spherize-LIfupaEj.js → Spherize-BdYP0Auv.js} +2 -2
- package/dist/core/{Spiral-B-Kz6zOG.js → Spiral-PPqgFMRM.js} +2 -2
- package/dist/core/{Star-Bxi6VOuZ.js → Star-mgLhY4e_.js} +1 -1
- package/dist/core/{Stone-CrdhdOWf.js → Stone-CehIcoVu.js} +1 -1
- package/dist/core/{Strands-CgOVvjKk.js → Strands-Dzj-5h31.js} +2 -2
- package/dist/core/{Stretch-CWpqkWdT.js → Stretch-C82iJhQu.js} +3 -3
- package/dist/core/{Stripes-DnmkVdJi.js → Stripes-C3XL9mWC.js} +2 -2
- package/dist/core/{StudioBackground-BR7HA0ot.js → StudioBackground-CDpLmvMH.js} +2 -2
- package/dist/core/{SunBurst-2tbvTvoR.js → SunBurst-fFeTV8O4.js} +2 -2
- package/dist/core/{Surface3D-BDN9t6UU.js → Surface3D-BFGuR3YZ.js} +1 -1
- package/dist/core/{Swirl-BO63keY-.js → Swirl-DGZs_YDx.js} +2 -2
- package/dist/core/{Teardrop-Cj9wbWNj.js → Teardrop-DN7t-3HU.js} +1 -1
- package/dist/core/{Text-DDpqrXsw.js → Text-DuQnSDiW.js} +4 -3
- package/dist/core/{ThinFilm-Cfx6eANY.js → ThinFilm-DhQXCGw9.js} +3 -3
- package/dist/core/{TiltShift-DtDGS05n.js → TiltShift-CpHBxw5I.js} +1 -1
- package/dist/core/{TimeTrail-CH7CMyxo.js → TimeTrail-j89dMqNU.js} +1 -1
- package/dist/core/{Tint-RTSV6Aiu.js → Tint-WmBROyUm.js} +1 -1
- package/dist/core/{Trapezoid-B8YUl-8U.js → Trapezoid-RrEwHfyH.js} +1 -1
- package/dist/core/{TriangularGrid-B_P_Bn6J.js → TriangularGrid-D7r3Nhss.js} +2 -2
- package/dist/core/{Tritone-zbDA_LBO.js → Tritone-BREi33uL.js} +1 -1
- package/dist/core/{Truchet-QdRvWfkQ.js → Truchet-CTjP4x60.js} +1 -1
- package/dist/core/{Twirl-M1ylLxnB.js → Twirl-Bvk8-3JT.js} +3 -3
- package/dist/core/{VHS-BbpH5MH8.js → VHS-et86dWDU.js} +1 -1
- package/dist/core/{VenetianBlinds-DyBouRcb.js → VenetianBlinds-Bv0f2lFw.js} +1 -1
- package/dist/core/{Vesica-DYkOtRW9.js → Vesica-BV2Sz5VV.js} +1 -1
- package/dist/core/{Vibrance-DYCb_3Vb.js → Vibrance-Q9Mrvfs-.js} +1 -1
- package/dist/core/{VideoTexture-B5QB_7wK.js → VideoTexture-BUY69Gqp.js} +1 -1
- package/dist/core/{Vignette-CWNEqMe7.js → Vignette-DyScJQWj.js} +1 -1
- package/dist/core/{Voronoi-DJIf5qyN.js → Voronoi-DxoT7iRa.js} +2 -2
- package/dist/core/{Water-D7FpFPfD.js → Water-CE1rY4LR.js} +4 -4
- package/dist/core/{Watercolor-B4bOV2pY.js → Watercolor-Buk5FkKR.js} +1 -1
- package/dist/core/{WaveDistortion-C9K0iLOy.js → WaveDistortion-Ca6y77xt.js} +4 -4
- package/dist/core/{WaveletNoise-MxVl5SGH.js → WaveletNoise-Y7LdptK_.js} +3 -3
- package/dist/core/{Weave-DMvmkoDF.js → Weave-CTpPvAhK.js} +1 -1
- package/dist/core/{WebcamTexture-ylP8AAV1.js → WebcamTexture-85gdzpo_.js} +1 -1
- package/dist/core/{Wool-DKuYNXvU.js → Wool-DJJkx7S2.js} +1 -1
- package/dist/core/{WorleyNoise-C-8TphM9.js → WorleyNoise-C_CHhfMF.js} +2 -2
- package/dist/core/{ZoomBlur-BxPekTQP.js → ZoomBlur-8tmVWx1n.js} +1 -1
- package/dist/core/{coords-CLqRuQwC.js → coords-BkIjixe_.js} +709 -41
- package/dist/core/{glass-BLc74dQi.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.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/uvTransform.d.ts +13 -3
- package/dist/core/gpu/kit/uvTransform.d.ts.map +1 -1
- package/dist/core/index.js +201 -236
- package/dist/core/{noiseColor-CFYtKwDd.js → noiseColor-CY6QVFgB.js} +1 -1
- package/dist/core/{porters-u50QU6Yv.js → porters-Bl3WB9VW.js} +1 -1
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +194 -194
- package/dist/core/shaderRegistry-CSTwovjI.js +425 -0
- package/dist/core/shaders/AngularBlur/index.js +3 -3
- package/dist/core/shaders/Arc/index.js +3 -3
- package/dist/core/shaders/Ascii/index.js +3 -3
- package/dist/core/shaders/Aurora/index.js +3 -3
- package/dist/core/shaders/BarShift/index.js +3 -3
- package/dist/core/shaders/BarnDoors/index.js +3 -3
- package/dist/core/shaders/Beam/index.js +3 -3
- package/dist/core/shaders/Bend/index.js +3 -3
- package/dist/core/shaders/Blob/index.js +3 -3
- package/dist/core/shaders/BlockDissolve/index.js +3 -3
- package/dist/core/shaders/BlockNoise/index.js +4 -4
- package/dist/core/shaders/BlueNoise/index.js +4 -4
- package/dist/core/shaders/Blur/index.js +3 -3
- package/dist/core/shaders/Boids/index.js +3 -3
- package/dist/core/shaders/BokehBlur/index.js +3 -3
- package/dist/core/shaders/BrickPattern/index.js +3 -3
- package/dist/core/shaders/BrightnessContrast/index.js +3 -3
- package/dist/core/shaders/BrushedMetal/index.js +5 -5
- package/dist/core/shaders/Bulge/index.js +3 -3
- package/dist/core/shaders/CRTScreen/index.js +3 -3
- package/dist/core/shaders/CarbonFiber/index.js +5 -5
- package/dist/core/shaders/Chalkboard/index.js +3 -3
- package/dist/core/shaders/ChannelBlur/index.js +3 -3
- package/dist/core/shaders/CheckerWipe/index.js +3 -3
- package/dist/core/shaders/Checkerboard/index.js +3 -3
- package/dist/core/shaders/Chevron/index.js +3 -3
- package/dist/core/shaders/ChromaFlow/index.js +3 -3
- package/dist/core/shaders/ChromaticAberration/index.js +3 -3
- package/dist/core/shaders/Circle/index.js +3 -3
- package/dist/core/shaders/ColorWheel/index.js +3 -3
- package/dist/core/shaders/CompressionArtifacts/index.js +3 -3
- package/dist/core/shaders/ConcentricSpin/index.js +3 -3
- package/dist/core/shaders/ConicGradient/index.js +3 -3
- package/dist/core/shaders/ContourLines/index.js +3 -3
- package/dist/core/shaders/CornerPin/index.js +3 -3
- package/dist/core/shaders/Crescent/index.js +3 -3
- package/dist/core/shaders/Cross/index.js +3 -3
- package/dist/core/shaders/Crystal/index.js +5 -5
- package/dist/core/shaders/CurlNoise/index.js +4 -4
- package/dist/core/shaders/CursorRipples/index.js +3 -3
- package/dist/core/shaders/CursorTrail/index.js +3 -3
- package/dist/core/shaders/DataMosh/index.js +3 -3
- package/dist/core/shaders/DiamondGradient/index.js +3 -3
- package/dist/core/shaders/DiamondWipe/index.js +3 -3
- package/dist/core/shaders/DiffuseBlur/index.js +3 -3
- package/dist/core/shaders/DisplacementMap/index.js +3 -3
- package/dist/core/shaders/Dither/index.js +3 -3
- package/dist/core/shaders/DotGrid/index.js +3 -3
- package/dist/core/shaders/DropShadow/index.js +3 -3
- package/dist/core/shaders/Duotone/index.js +3 -3
- package/dist/core/shaders/Ellipse/index.js +3 -3
- package/dist/core/shaders/Emboss/index.js +5 -5
- package/dist/core/shaders/Engraving/index.js +3 -3
- package/dist/core/shaders/ErosionNoise/index.js +4 -4
- package/dist/core/shaders/Exposure/index.js +3 -3
- package/dist/core/shaders/FallingLines/index.js +3 -3
- package/dist/core/shaders/FilmGrain/index.js +3 -3
- package/dist/core/shaders/FilmStock/index.js +3 -3
- package/dist/core/shaders/Flip/index.js +3 -3
- package/dist/core/shaders/FloatingParticles/index.js +3 -3
- package/dist/core/shaders/FlowField/index.js +3 -3
- package/dist/core/shaders/Flower/index.js +3 -3
- package/dist/core/shaders/FlowingGradient/index.js +3 -3
- package/dist/core/shaders/FlutedGlass/index.js +3 -3
- package/dist/core/shaders/Fog/index.js +3 -3
- package/dist/core/shaders/Form3D/index.js +3 -3
- package/dist/core/shaders/FractalNoise/index.js +3 -3
- package/dist/core/shaders/Frost/index.js +5 -5
- package/dist/core/shaders/GaborNoise/index.js +4 -4
- package/dist/core/shaders/Glass/index.js +5 -5
- package/dist/core/shaders/GlassTiles/index.d.ts.map +1 -1
- package/dist/core/shaders/GlassTiles/index.js +3 -3
- package/dist/core/shaders/Glitch/index.js +3 -3
- package/dist/core/shaders/Glow/index.js +3 -3
- package/dist/core/shaders/Godrays/index.js +3 -3
- package/dist/core/shaders/Goo/index.js +5 -5
- package/dist/core/shaders/GradientMap/index.js +3 -3
- package/dist/core/shaders/Grayscale/index.js +3 -3
- package/dist/core/shaders/Grid/index.js +3 -3
- package/dist/core/shaders/GridDistortion/index.js +3 -3
- package/dist/core/shaders/Group/index.js +3 -3
- package/dist/core/shaders/HTMLInCanvas/index.js +3 -3
- package/dist/core/shaders/Halftone/index.js +3 -3
- package/dist/core/shaders/Heart/index.js +3 -3
- package/dist/core/shaders/Heatmap/index.js +5 -5
- package/dist/core/shaders/HexGrid/index.js +3 -3
- package/dist/core/shaders/Hologram/index.js +5 -5
- package/dist/core/shaders/Holographic/index.js +5 -5
- package/dist/core/shaders/HueShift/index.js +3 -3
- package/dist/core/shaders/ImageTexture/index.js +3 -3
- package/dist/core/shaders/InkFlow/index.js +3 -3
- package/dist/core/shaders/Invert/index.js +3 -3
- package/dist/core/shaders/IrisWipe/index.js +3 -3
- package/dist/core/shaders/IsometricCubes/index.js +3 -3
- package/dist/core/shaders/Kaleidoscope/index.js +3 -3
- package/dist/core/shaders/KeyFrames/index.js +3 -3
- package/dist/core/shaders/LensFlare/index.js +3 -3
- package/dist/core/shaders/LightEdge/index.js +5 -5
- package/dist/core/shaders/LightLeak/index.js +3 -3
- package/dist/core/shaders/LinearBlur/index.js +3 -3
- package/dist/core/shaders/LinearGradient/index.js +3 -3
- package/dist/core/shaders/LinearWipe/index.js +3 -3
- package/dist/core/shaders/LiquidMetal/index.js +5 -5
- package/dist/core/shaders/Liquify/index.js +3 -3
- package/dist/core/shaders/MagneticFilings/index.js +3 -3
- package/dist/core/shaders/Marble/index.js +3 -3
- package/dist/core/shaders/Mirror/index.js +3 -3
- package/dist/core/shaders/MultiPointGradient/index.js +3 -3
- package/dist/core/shaders/Neon/index.js +4 -4
- package/dist/core/shaders/NoiseDissolve/index.js +3 -3
- package/dist/core/shaders/ObjectTracker/index.js +3 -3
- package/dist/core/shaders/PagePeel/index.js +3 -3
- package/dist/core/shaders/Paper/index.js +3 -3
- package/dist/core/shaders/Parallelogram/index.js +3 -3
- package/dist/core/shaders/ParticleField/index.js +3 -3
- package/dist/core/shaders/ParticleFlow/index.js +3 -3
- package/dist/core/shaders/Particles/index.js +4 -4
- package/dist/core/shaders/PerlinNoise/index.js +4 -4
- package/dist/core/shaders/Perspective/index.js +3 -3
- package/dist/core/shaders/PixelSort/index.js +3 -3
- package/dist/core/shaders/PixelThrow/index.js +3 -3
- package/dist/core/shaders/Pixelate/index.js +3 -3
- package/dist/core/shaders/Plasma/index.js +3 -3
- package/dist/core/shaders/Plastic/index.js +5 -5
- package/dist/core/shaders/PolarCoordinates/index.js +3 -3
- package/dist/core/shaders/Polygon/index.js +3 -3
- package/dist/core/shaders/Posterize/index.js +3 -3
- package/dist/core/shaders/Prism/index.js +3 -3
- package/dist/core/shaders/ProgressiveBlur/index.js +3 -3
- package/dist/core/shaders/RadialGradient/index.js +3 -3
- package/dist/core/shaders/RadialWipe/index.js +3 -3
- package/dist/core/shaders/RandomBars/index.js +3 -3
- package/dist/core/shaders/ReactionDiffusion/index.js +3 -3
- package/dist/core/shaders/RectangularCoordinates/index.js +3 -3
- package/dist/core/shaders/ReflectivePlane/index.js +3 -3
- package/dist/core/shaders/Repeater/index.js +3 -3
- package/dist/core/shaders/Ring/index.js +3 -3
- package/dist/core/shaders/RippleWipe/index.js +3 -3
- package/dist/core/shaders/Ripples/index.js +3 -3
- package/dist/core/shaders/RoundedRect/index.js +3 -3
- package/dist/core/shaders/Saturation/index.js +3 -3
- package/dist/core/shaders/Scratches/index.js +4 -4
- package/dist/core/shaders/Sharpness/index.js +3 -3
- package/dist/core/shaders/Shatter/index.js +3 -3
- package/dist/core/shaders/SimplexNoise/index.js +3 -3
- package/dist/core/shaders/SineWave/index.js +3 -3
- package/dist/core/shaders/SliceWipe/index.js +3 -3
- package/dist/core/shaders/Smoke/index.js +3 -3
- package/dist/core/shaders/SmokeFill/index.js +5 -5
- package/dist/core/shaders/SmokeFlow/index.js +3 -3
- package/dist/core/shaders/Solarize/index.js +3 -3
- package/dist/core/shaders/Spherize/index.d.ts.map +1 -1
- package/dist/core/shaders/Spherize/index.js +3 -3
- package/dist/core/shaders/Spiral/index.js +3 -3
- package/dist/core/shaders/Star/index.js +3 -3
- package/dist/core/shaders/Stone/index.js +2 -2
- package/dist/core/shaders/Strands/index.js +3 -3
- package/dist/core/shaders/Stretch/index.js +3 -3
- package/dist/core/shaders/Stripes/index.js +3 -3
- package/dist/core/shaders/StudioBackground/index.js +3 -3
- package/dist/core/shaders/SunBurst/index.js +3 -3
- package/dist/core/shaders/Surface3D/index.js +3 -3
- package/dist/core/shaders/Swirl/index.js +3 -3
- package/dist/core/shaders/Teardrop/index.js +3 -3
- package/dist/core/shaders/Text/index.d.ts.map +1 -1
- package/dist/core/shaders/Text/index.js +3 -3
- package/dist/core/shaders/ThinFilm/index.js +4 -4
- package/dist/core/shaders/TiltShift/index.js +3 -3
- package/dist/core/shaders/TimeTrail/index.js +3 -3
- package/dist/core/shaders/Tint/index.js +3 -3
- package/dist/core/shaders/Trapezoid/index.js +3 -3
- package/dist/core/shaders/TriangularGrid/index.js +3 -3
- package/dist/core/shaders/Tritone/index.js +3 -3
- package/dist/core/shaders/Truchet/index.js +3 -3
- package/dist/core/shaders/Twirl/index.js +3 -3
- package/dist/core/shaders/VHS/index.js +3 -3
- package/dist/core/shaders/VenetianBlinds/index.js +3 -3
- package/dist/core/shaders/Vesica/index.js +3 -3
- package/dist/core/shaders/Vibrance/index.js +3 -3
- package/dist/core/shaders/VideoTexture/index.js +3 -3
- package/dist/core/shaders/Vignette/index.js +3 -3
- package/dist/core/shaders/Voronoi/index.js +3 -3
- package/dist/core/shaders/Water/index.js +5 -5
- package/dist/core/shaders/Watercolor/index.js +3 -3
- package/dist/core/shaders/WaveDistortion/index.js +3 -3
- package/dist/core/shaders/WaveletNoise/index.js +4 -4
- package/dist/core/shaders/Weave/index.js +3 -3
- package/dist/core/shaders/WebcamTexture/index.js +3 -3
- package/dist/core/shaders/Wool/index.js +2 -2
- package/dist/core/shaders/WorleyNoise/index.js +3 -3
- package/dist/core/shaders/ZoomBlur/index.js +3 -3
- package/dist/core/{shapeEffectBounds-DIjA_-15.js → shapeEffectBounds-Cl58vRlg.js} +1 -1
- package/dist/core/utilities/boundingBox.d.ts +14 -0
- package/dist/core/utilities/boundingBox.d.ts.map +1 -1
- package/dist/js/bundle.js +151 -151
- package/dist/js/createShader.js +1 -1
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +152 -152
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/svelte/index.js +1 -1
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/package.json +1 -1
- package/dist/core/shaderRegistry-QNzuz_fH.js +0 -425
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as ZERO, Gt as expr, Ht as call, J as std, Lt as sampleRemappedExpr, Tn as d, X as createGuardedCompute, Z as createStateBuffer, cn as unpremultiplyAlpha, jt as composeEdgeRemapExpr, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var GRID_SIZE = 64;
|
|
4
4
|
var CELL_COUNT = GRID_SIZE * GRID_SIZE;
|
|
@@ -1811,11 +1811,11 @@ const componentDefinition = {
|
|
|
1811
1811
|
const edgeMode = propValues.edges ?? 0;
|
|
1812
1812
|
const dispTex = computeOutputs?.displacement;
|
|
1813
1813
|
const disp = dispTex ? dispTex.sample(ctx.uv, "linearClamp").member("xy") : expr("vec2f(0.0, 0.0)");
|
|
1814
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
1814
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(childTex, call(liquifyOffsetUV, "liquifyOffsetUV", [
|
|
1815
1815
|
ctx.uv,
|
|
1816
1816
|
disp,
|
|
1817
1817
|
uniforms.intensity
|
|
1818
|
-
]),
|
|
1818
|
+
]), edgeMode)]);
|
|
1819
1819
|
},
|
|
1820
1820
|
uvRemap: ({ uv, mask, uniforms, propValues, computeOutputs }) => {
|
|
1821
1821
|
const dispTex = computeOutputs?.displacement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as std,
|
|
1
|
+
import { Bt as ZERO, J as std, Tn as d, X as createGuardedCompute, Z as createStateBuffer, c as orientedShapeOptions, ct as hash22, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu, ot as hash11, pt as noise_exports, r as AGENT_SHAPES, s as makeAgentWeightFn, u as resolveAgentShape } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var MAX_FILINGS = 12288;
|
|
4
4
|
var RES = 1024;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu, pt as noise_exports, ut as mxNoiseFloat2 } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var PI = Math.PI;
|
|
5
5
|
const marbleFactors = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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, qt as mixExpr } from "./coords-BkIjixe_.js";
|
|
2
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 mirrorReflect = tgpu.fn([
|
|
@@ -385,7 +385,7 @@ const componentDefinition = {
|
|
|
385
385
|
]);
|
|
386
386
|
const mirroredUV = m.member("xy");
|
|
387
387
|
const shouldMirror = m.member("z");
|
|
388
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [mixExpr(texture.sample(ctx.uv),
|
|
388
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [mixExpr(texture.sample(ctx.uv), sampleRemappedExpr(texture, mirroredUV, edgeMode), shouldMirror)]);
|
|
389
389
|
},
|
|
390
390
|
uvRemap: ({ uv, mask, uniforms, aspect, propValues }) => {
|
|
391
391
|
const edgeMode = propValues.edges ?? 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var mpgWeight = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as sdfSpaceUV, r as offsetUV } from "./glass-
|
|
1
|
+
import { Dn as __export, F as sdf_exports, Ht as call, J as std, Kt as floatE, Tn as d, n as tgpu, y as sdf3d_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { i as sdfSpaceUV, r as offsetUV } from "./glass-sOqjtPJD.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
4
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
4
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-Cl58vRlg.js";
|
|
5
5
|
var neon_exports = /* @__PURE__ */ __export({
|
|
6
6
|
applyNeonEffect: () => applyNeonEffect$1,
|
|
7
7
|
neonComposite: () => neonComposite,
|
|
@@ -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, pt as noise_exports, ut as mxNoiseFloat2 } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const noiseDissolveMask = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Bt as ZERO, Xt as formatFloat, Yt as Expr, cn as unpremultiplyAlpha } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
import { n as loadGoogleFont } from "./fonts-BtGjHq1w.js";
|
|
4
4
|
var ATLAS_GLYPHS = "0123456789x%";
|
|
@@ -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 transformCorner = (value) => {
|
|
3
3
|
switch (value) {
|
|
4
4
|
case "top-left": return 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std,
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Tn as d, cn as unpremultiplyAlpha, mt as paper12, n as tgpu, nt as curl22, pt as noise_exports } from "./coords-BkIjixe_.js";
|
|
2
2
|
const paperSurface = tgpu.fn([
|
|
3
3
|
d.vec2f,
|
|
4
4
|
d.f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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, j as parallelogramSdf, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
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 parallelogramShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as std,
|
|
1
|
+
import { Bt as ZERO, J as std, Tn as d, X as createGuardedCompute, Z as createStateBuffer, a as cursorFalloff, i as agents_exports, l as pointShapeOptions, n as tgpu, o as cursorMagnet, pt as noise_exports, r as AGENT_SHAPES, s as makeAgentWeightFn, st as hash12, u as resolveAgentShape, x as isMobileGpuViewport } from "./coords-BkIjixe_.js";
|
|
2
2
|
var GRID_DIM_MAX = 256;
|
|
3
3
|
var MAX_PARTICLES = GRID_DIM_MAX * GRID_DIM_MAX;
|
|
4
4
|
var COUNT_MAX = 4e4;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as std,
|
|
1
|
+
import { Bt as ZERO, J as std, Tn as d, X as createGuardedCompute, Z as createStateBuffer, c as orientedShapeOptions, gn as mixColorsVariants, hn as mixColorsLinear, lt as hash33, n as tgpu, pt as noise_exports, r as AGENT_SHAPES, rt as curl22z, s as makeAgentWeightFn, u as resolveAgentShape } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var N = 256;
|
|
4
4
|
var FLUID_COUNT = N * N;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as sdf_exports, J as std,
|
|
1
|
+
import { Bt as ZERO, F as sdf_exports, J as std, Tn as d, X as createGuardedCompute, Z as createStateBuffer, gn as mixColorsVariants, hn as mixColorsLinear, i as agents_exports, l as pointShapeOptions, lt as hash33, n as tgpu, o as cursorMagnet, ot as hash11, pt as noise_exports, r as AGENT_SHAPES, s as makeAgentWeightFn, u as resolveAgentShape, y as sdf3d_exports } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
3
|
+
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-Cl58vRlg.js";
|
|
4
4
|
var { buildAnalyticSdfFn, createSdfDataTexture, SVG_SDF_SIZE } = sdf_exports;
|
|
5
5
|
var { createAnalytic3dSdfSetup, createSvg3dSdfSetup, rotateVec3, rotateVecCpu, is3dShapeType, isSvg3dShapeType, isMobileGpuViewport, resolveShapeSubProp, SHAPE3D_DEFAULTS, SVG3D_DEFAULTS, VOLUMETRIC_FIELD_FORMAT } = sdf3d_exports;
|
|
6
6
|
var DEG_TO_RAD = .017453292519943295;
|
|
@@ -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, gt as perlin13, n as tgpu, pt as noise_exports } 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 perlinNoiseField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
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 perspectiveUV = tgpu.fn([
|
|
@@ -556,7 +556,7 @@ const componentDefinition = {
|
|
|
556
556
|
if (!childNode) return ZERO;
|
|
557
557
|
const texture = convertToTexture(childNode);
|
|
558
558
|
const edgeMode = propValues.edges ?? 0;
|
|
559
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
559
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, call(perspectiveUV, "perspectiveUV", [
|
|
560
560
|
uniforms.center,
|
|
561
561
|
uniforms.pan,
|
|
562
562
|
uniforms.tilt,
|
|
@@ -564,7 +564,7 @@ const componentDefinition = {
|
|
|
564
564
|
uniforms.zoom,
|
|
565
565
|
uniforms.offset,
|
|
566
566
|
ctx.uv
|
|
567
|
-
]),
|
|
567
|
+
]), edgeMode)]);
|
|
568
568
|
},
|
|
569
569
|
uvRemap: ({ uv, mask, uniforms, propValues }) => {
|
|
570
570
|
const edgeMode = propValues.edges ?? 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std,
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Tn as d, X as createGuardedCompute, Z as createStateBuffer, cn as unpremultiplyAlpha, n as tgpu, sn as blend_exports } from "./coords-BkIjixe_.js";
|
|
2
2
|
var WORK = 512;
|
|
3
3
|
var CELL_COUNT = WORK * WORK;
|
|
4
4
|
var WORK_F = WORK;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as
|
|
1
|
+
import { At as applyEdgeHandlingExpr, Bt as ZERO, H as toHalfFloat, Ht as call, J as std, Kt as floatE, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var transformThrowKey = (value) => {
|
|
4
4
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std,
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Tn as d, cn as unpremultiplyAlpha, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
const pixelateSample = tgpu.fn([
|
|
3
3
|
d.vec2f,
|
|
4
4
|
d.f32,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Et as mixColorStopsRuntime, Ht as call, J as std, Tn as d, dt as mxNoiseFloat3, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu, pt as noise_exports } from "./coords-BkIjixe_.js";
|
|
2
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-
|
|
3
|
+
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
const plasmaTone = tgpu.fn([
|
|
5
5
|
d.f32,
|
|
6
6
|
d.f32,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as glass_exports } from "./glass-
|
|
1
|
+
import { Et as mixColorStopsRuntime, F as sdf_exports, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, 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
3
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
4
|
-
import { m as colorStopsPropConfig, t as animatedTime } from "./porters-
|
|
5
|
-
import { t as shapeEffectBoundingBoxDeclaration } from "./shapeEffectBounds-
|
|
4
|
+
import { m as colorStopsPropConfig, 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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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, qt as mixExpr } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { c as transformPosition, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var PI = Math.PI;
|
|
4
4
|
var TAU = Math.PI * 2;
|
|
@@ -310,7 +310,7 @@ const componentDefinition = {
|
|
|
310
310
|
ctx.uv,
|
|
311
311
|
ctx.aspect
|
|
312
312
|
]);
|
|
313
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
313
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, mixExpr(ctx.uv, polar, uniforms.intensity), edgeMode)]);
|
|
314
314
|
},
|
|
315
315
|
uvRemap: ({ uv, mask, uniforms, aspect, propValues }) => {
|
|
316
316
|
const edgeMode = propValues.edges ?? 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ShapeMask, F as sdf_exports, Ht as call, I as shapeLocalCoords, J as std, Jt as vec4, M as polygonSdf, R as strokeMaskFromSdf, T as circleSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
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 polygonShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -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 posterizeColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, steps) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const r = __tsover_div(std.floor(__tsover_mul(color.x, steps)), steps);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
const prismHue2Rgb = tgpu.fn([d.f32], d.vec3f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((h) => {
|
|
5
5
|
"use gpu";
|
|
6
6
|
const x = __tsover_mul(std.fract(h), 6);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std,
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Tn as d, U as BLUR_MAP_FORMAT, X as createGuardedCompute, cn as unpremultiplyAlpha, n as tgpu, q as createVariableGaussianBlurCompute } from "./coords-BkIjixe_.js";
|
|
2
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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
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-
|
|
3
|
+
import { m as colorStopsPropConfig } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
var DEG_TO_RAD = .017453292519943295;
|
|
5
5
|
const radialFinalT = tgpu.fn([
|
|
6
6
|
d.vec2f,
|
|
@@ -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, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { c as transformPosition, i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
var TWO_PI = Math.PI * 2;
|
|
@@ -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, ot as hash11, pt as noise_exports } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var DEG_TO_RAD = Math.PI / 180;
|
|
4
4
|
const randomBarsMask = tgpu.fn([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std,
|
|
1
|
+
import { Bt as ZERO, Ht as call, J as std, Jt as vec4, Kt as floatE, Tn as d, X as createGuardedCompute, Z as createStateBuffer, ln as colorMixing_exports, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, i as transformBoolean, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var cm = colorMixing_exports;
|
|
4
4
|
var N = 512;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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, qt as mixExpr } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { c as transformPosition, s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var PI = Math.PI;
|
|
4
4
|
var TAU = Math.PI * 2;
|
|
@@ -268,7 +268,7 @@ const componentDefinition = {
|
|
|
268
268
|
ctx.uv,
|
|
269
269
|
ctx.aspect
|
|
270
270
|
]);
|
|
271
|
-
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [
|
|
271
|
+
return call(unpremultiplyAlpha, "unpremultiplyAlpha", [sampleRemappedExpr(texture, mixExpr(ctx.uv, rect, uniforms.intensity), edgeMode)]);
|
|
272
272
|
},
|
|
273
273
|
uvRemap: ({ uv, mask, uniforms, aspect, propValues }) => {
|
|
274
274
|
const edgeMode = propValues.edges ?? 0;
|
|
@@ -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, U as BLUR_MAP_FORMAT, X as createGuardedCompute, cn as unpremultiplyAlpha, n as tgpu, q as createVariableGaussianBlurCompute } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var HALF_KERNEL = 30;
|
|
4
4
|
var BLUR_TO_RADIUS_PX = 12;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bt as
|
|
1
|
+
import { Bt as ZERO, Gt as expr, Ht as call, Xt as formatFloat, Yt as Expr, cn as unpremultiplyAlpha } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Repeater",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ShapeMask, F as sdf_exports, Ht as call, Jt as vec4, N as ringSdf, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
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 ringShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -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
|
import { c as transformPosition, i as transformBoolean } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const rippleWipeMask = tgpu.fn([
|
|
4
4
|
d.vec4f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as call, J as std, Tn as d, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
4
4
|
const ripplesMask = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.f32,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as ShapeMask, F as sdf_exports, Ht as call, I as shapeLocalCoords, Jt as vec4, P as roundedRectSdf, R as strokeMaskFromSdf, Tn as d, gn as mixColorsVariants, hn as mixColorsLinear, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
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 roundedRectShape = tgpu.fn([
|
|
4
4
|
d.vec2f,
|
|
@@ -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 saturationColor = tgpu.fn([d.vec4f, d.f32], d.vec4f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((color, intensity) => {
|
|
3
3
|
"use gpu";
|
|
4
4
|
const rgb = d.vec3f(color.x, color.y, color.z);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as animatedTime } from "./porters-
|
|
3
|
-
import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-
|
|
1
|
+
import { Ht as call, J as std, Tn as d, _t as scratches12, et as toneAndColorExpr, n as tgpu, pt as noise_exports } from "./coords-BkIjixe_.js";
|
|
2
|
+
import { t as animatedTime } from "./porters-Bl3WB9VW.js";
|
|
3
|
+
import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-CY6QVFgB.js";
|
|
4
4
|
const scratchesField = tgpu.fn([
|
|
5
5
|
d.vec2f,
|
|
6
6
|
d.vec2f,
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { At as applyEdgeHandlingExpr, Bt as
|
|
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
2
|
import { s as transformEdges } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
var seededRandom = (seed) => {
|
|
4
4
|
const x = Math.sin(seed) * 1e4;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as mixStopsOrColorsExpr,
|
|
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
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-
|
|
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 {
|
|
1
|
+
import { Ht as call, J as std, Jt as vec4, Tn as d, n as tgpu } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { a as transformColor, c as transformPosition, r as transformAngle } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { t as animatedTime } from "./porters-
|
|
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
|
|
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
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-
|
|
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-
|
|
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
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-
|
|
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
|
|
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
2
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-t0d2-uSX.js";
|
|
3
|
-
import { m as colorStopsPropConfig } from "./porters-
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { Bt as call, J as std, Rt as
|
|
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
2
|
import { a as transformColor, c as transformPosition } from "./transformations-t0d2-uSX.js";
|
|
3
3
|
const spherizeGeom = tgpu.fn([
|
|
4
4
|
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 {
|
|
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
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-
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
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,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Q as applyNoiseReliefExpr, vt as stone12 } from "./coords-
|
|
1
|
+
import { Q as applyNoiseReliefExpr, vt as stone12 } from "./coords-BkIjixe_.js";
|
|
2
2
|
import { t as reliefStylizeProps } from "./noiseStylize-BsZQT7ig.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Stone",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
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
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-
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
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([
|
|
@@ -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 {
|
|
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
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-
|
|
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,
|