shaders 3.2.466 → 3.2.468
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-CYzLRxIX.js → AngularBlur-g4-fDx1N.js} +3 -3
- package/dist/core/{Arc-BPk3cEof.js → Arc-B4VGPOtO.js} +3 -3
- package/dist/core/{Ascii-CdHomCxj.js → Ascii-DxiduEzP.js} +3 -3
- package/dist/core/{Aurora-ZmvhfgEm.js → Aurora-C0J5do9Y.js} +11 -11
- package/dist/core/{BarShift-jSfzsRXa.js → BarShift-BukEd3jr.js} +3 -3
- package/dist/core/{BarnDoors-BPLRE1MC.js → BarnDoors-BC0LM0aD.js} +3 -3
- package/dist/core/{Beam-C-AgYZUY.js → Beam-CxAXVlAf.js} +3 -3
- package/dist/core/{Bend-BGevEg2b.js → Bend-BfVVIo2C.js} +2 -2
- package/dist/core/{Blob-BdWQQEoe.js → Blob-D_IbcUCc.js} +10 -10
- package/dist/core/{BlockDissolve-DYJ0eByb.js → BlockDissolve-C9nsgIz9.js} +3 -3
- package/dist/core/{BlockNoise-BPZaPiDe.js → BlockNoise-BgwbD0rx.js} +4 -4
- package/dist/core/{BlueNoise-DHgbHkyE.js → BlueNoise-BdwOaq4G.js} +4 -4
- package/dist/core/{Blur-ZwiojwRs.js → Blur-ceuv7ZTm.js} +2 -2
- package/dist/core/{Boids-DEgu7RJE.js → Boids-C3r8YaQb.js} +5 -5
- package/dist/core/{BokehBlur-Cpx0wGKI.js → BokehBlur-C8xJ0xA8.js} +3 -3
- package/dist/core/{BrickPattern-k8Inu-i3.js → BrickPattern-C-6QFzp6.js} +3 -3
- package/dist/core/{BrightnessContrast-Dc5x9UHy.js → BrightnessContrast-CMUaNvo0.js} +3 -3
- package/dist/core/{BrushedMetal-CMi8cdop.js → BrushedMetal-De_VRtOm.js} +7 -7
- package/dist/core/{Bulge-ChyTjosH.js → Bulge-CgO7_0fe.js} +2 -2
- package/dist/core/{CRTScreen-BS9zt9Pg.js → CRTScreen-DNqe2klB.js} +2 -2
- package/dist/core/{CarbonFiber-cxca7Oyb.js → CarbonFiber-CGl2FK3J.js} +6 -6
- package/dist/core/{Chalkboard-B0ekRhuG.js → Chalkboard-CDUJz_Ae.js} +3 -3
- package/dist/core/{ChannelBlur-B9RB3TQC.js → ChannelBlur-Z8ZvN6W3.js} +2 -2
- package/dist/core/{CheckerWipe-Cyj6y993.js → CheckerWipe-DXm9kDaS.js} +3 -3
- package/dist/core/{Checkerboard-BMFb732q.js → Checkerboard-DZAABNKo.js} +3 -3
- package/dist/core/{Chevron-C-NMRE-n.js → Chevron-Dn1iHSiS.js} +3 -3
- package/dist/core/{ChromaFlow-DR5NqU9g.js → ChromaFlow-lnaJ4o1Y.js} +5 -5
- package/dist/core/{ChromaticAberration-DAkEq37T.js → ChromaticAberration-CGOQe4Pp.js} +4 -4
- package/dist/core/{Chrome-CRPStB55.js → Chrome-BFQsMQii.js} +6 -6
- package/dist/core/{Circle-DGlgfW3s.js → Circle-DVPhvXdr.js} +3 -3
- package/dist/core/{ColorWheel-DT8mnYUd.js → ColorWheel-DXkVOQl2.js} +3 -3
- package/dist/core/{CompressionArtifacts-C-99Zegd.js → CompressionArtifacts-CEw9gfTu.js} +3 -3
- package/dist/core/{ConcentricSpin-Ct2MMQ8o.js → ConcentricSpin-GtNEq1T1.js} +2 -2
- package/dist/core/{ConicGradient-BX4r-b8D.js → ConicGradient-DYPNJAOg.js} +4 -4
- package/dist/core/{ContourLines-CRmDo9Au.js → ContourLines-DEmEepvT.js} +3 -3
- package/dist/core/{CornerPin-CFk5fAci.js → CornerPin-CJJeGyVf.js} +3 -3
- package/dist/core/{Crescent-C0cIoAZZ.js → Crescent-C7yy9-xf.js} +2 -2
- package/dist/core/{Cross-DE8eHkJg.js → Cross-DyYrdTVw.js} +2 -2
- package/dist/core/{Crystal-1HBq83Hx.js → Crystal-DsO60tef.js} +6 -6
- package/dist/core/{CurlNoise-D93EJl-q.js → CurlNoise-Bjc6hhjR.js} +4 -4
- package/dist/core/{CursorRipples-BIMDDmb9.js → CursorRipples-C1PNyYcB.js} +4 -4
- package/dist/core/{CursorTrail-BQJ7PeRH.js → CursorTrail-C6v97bId.js} +4 -4
- package/dist/core/{DataMosh-BREAC50Y.js → DataMosh-AX4kIi4R.js} +3 -3
- package/dist/core/{DiamondGradient-D87o3scS.js → DiamondGradient-Bj6mUxOy.js} +4 -4
- package/dist/core/{DiamondWipe-CCP141m_.js → DiamondWipe-BNSkpUn9.js} +3 -3
- package/dist/core/{DiffuseBlur-CoXbP2uS.js → DiffuseBlur-C7l-5Dw3.js} +3 -3
- package/dist/core/{DisplacementMap-CDBviJSR.js → DisplacementMap-DGpLSlxs.js} +3 -3
- package/dist/core/{Dither-COUbgNOv.js → Dither-C9KDpqgP.js} +3 -3
- package/dist/core/{DotGrid-DDJT2DT-.js → DotGrid-CkAtf-j_.js} +3 -3
- package/dist/core/{DropShadow-CP86N89M.js → DropShadow-BxI_a7dC.js} +3 -3
- package/dist/core/{Duotone-BHhqxBa8.js → Duotone-CrJ0P0SL.js} +3 -3
- package/dist/core/{Ellipse-BVIaeow2.js → Ellipse-C2Tie_19.js} +2 -2
- package/dist/core/{Emboss-Dzm1SN6s.js → Emboss-iwNwt1-u.js} +5 -5
- package/dist/core/{Engraving-HTB_OKsk.js → Engraving-RpxXPqQq.js} +3 -3
- package/dist/core/{ErosionNoise-BpVjihW1.js → ErosionNoise-D0qefxhq.js} +4 -4
- package/dist/core/{Exposure-D996Qz_5.js → Exposure-B7W7AVbY.js} +3 -3
- package/dist/core/{FallingLines-DpGJB3PZ.js → FallingLines-Cxhmtqf4.js} +3 -3
- package/dist/core/{FilmGrain-CoMG_xOV.js → FilmGrain-CghUJIeK.js} +3 -3
- package/dist/core/{FilmStock-B-kutQT-.js → FilmStock-DmOaROtC.js} +4 -4
- package/dist/core/{Flip-B5lYH2Mt.js → Flip-BuOdbWjK.js} +3 -3
- package/dist/core/{FloatingParticles-k5C-jR2C.js → FloatingParticles-BVRlM_zv.js} +5 -5
- package/dist/core/{FlowField-Dfb8PUsC.js → FlowField-A2njOtGx.js} +3 -3
- package/dist/core/{Flower-CA-S5hXJ.js → Flower-CwdJOVR1.js} +2 -2
- package/dist/core/{FlowingGradient-BCCYaHRU.js → FlowingGradient-BEu60rLu.js} +7 -7
- package/dist/core/{FlutedGlass-CR1xOIi_.js → FlutedGlass-BWlTrLF-.js} +4 -4
- package/dist/core/{Fog-oEs_BnaR.js → Fog-CpmIyRtJ.js} +4 -4
- package/dist/core/{Form3D-DZGLqyd_.js → Form3D-C03PdKOa.js} +4 -4
- package/dist/core/{FractalNoise-CTWIy4XL.js → FractalNoise-DsESU8cP.js} +4 -4
- package/dist/core/{Frost-7w9_JrnS.js → Frost-D4aH-OM_.js} +7 -7
- package/dist/core/{GaborNoise-ELV6bp27.js → GaborNoise-D3U1iz9E.js} +4 -4
- package/dist/core/{Glass-CJPcyPBk.js → Glass-tS9J3fue.js} +7 -7
- package/dist/core/{GlassTiles-C0MibxZj.js → GlassTiles-BxdT6Ee8.js} +2 -2
- package/dist/core/{Glitch-DEIOsLBF.js → Glitch-DQeLaNdU.js} +2 -2
- package/dist/core/{Glow-C7Sno5Ew.js → Glow-DksG7wdu.js} +3 -3
- package/dist/core/{Godrays-Dh47KnXp.js → Godrays-D2Pzd9K9.js} +3 -3
- package/dist/core/{Goo-Dcq727vU.js → Goo-C7n1aFSC.js} +7 -7
- package/dist/core/{GradientMap--7ReYVMB.js → GradientMap-B-5yUYjX.js} +4 -4
- package/dist/core/{Grayscale-DQCJ5wrK.js → Grayscale-g7jQsxgi.js} +2 -2
- package/dist/core/{Grid-BpMP5zeZ.js → Grid-DAglpJFP.js} +3 -3
- package/dist/core/{GridDistortion-CmuUD1ex.js → GridDistortion-CNlIESbs.js} +5 -5
- package/dist/core/{Group-2Ug5Edun.js → Group-CeOfFv2K.js} +1 -1
- package/dist/core/{HTMLInCanvas-C2r3_EHD.js → HTMLInCanvas-BgwCnbYn.js} +1 -1
- package/dist/core/{Halftone-DzKEDw2i.js → Halftone-DCiP4EDq.js} +3 -3
- package/dist/core/{Heart-2q0-jrCf.js → Heart-CQhtzwFu.js} +2 -2
- package/dist/core/{Heatmap-pvthE7lz.js → Heatmap-Wy_0SxOF.js} +7 -7
- package/dist/core/{HexGrid-C9Bg6n-J.js → HexGrid-BY_BPH8J.js} +3 -3
- package/dist/core/{Hologram-KLJHNdyR.js → Hologram-C3sww1q_.js} +6 -6
- package/dist/core/{Holographic-XSHxaTzf.js → Holographic-B9PvU6cz.js} +6 -6
- package/dist/core/{HueShift-IWU26WTo.js → HueShift-BnwOshrg.js} +3 -3
- package/dist/core/{ImageTexture-BeuG9nNt.js → ImageTexture-Cd6vH2Z0.js} +2 -2
- package/dist/core/{InkFlow-CZWr9GHy.js → InkFlow-B7F9i3Kd.js} +5 -5
- package/dist/core/{Invert-B31ZEOnz.js → Invert-6Q5kX8vd.js} +2 -2
- package/dist/core/{IrisWipe-b2v0EUwG.js → IrisWipe-Cl5yYdEi.js} +3 -3
- package/dist/core/{Irradiance-DrBoTNBZ.js → Irradiance-CQ12Hyf9.js} +9 -9
- package/dist/core/{IsometricCubes-ZGnFUu9w.js → IsometricCubes-BhK9MhCy.js} +3 -3
- package/dist/core/{Kaleidoscope-DS_fVo-o.js → Kaleidoscope-D4X5N_qk.js} +2 -2
- package/dist/core/{KeyFrames-BfHKDsom.js → KeyFrames-Dv1vFfMa.js} +3 -3
- package/dist/core/{LensDistortion-Df9T10tP.js → LensDistortion-BqVp5WBS.js} +3 -3
- package/dist/core/{LensFlare-DB0FhwdB.js → LensFlare-z0k68uJ1.js} +3 -3
- package/dist/core/{LightEdge-CQorAHVj.js → LightEdge-DGkuJl9I.js} +5 -5
- package/dist/core/{LightLeak-CizWQXS5.js → LightLeak-BgFq4bLG.js} +4 -4
- package/dist/core/{Line-CjKmSkI-.js → Line--Ur3CJp1.js} +3 -3
- package/dist/core/{LinearBlur-BGtNHF-U.js → LinearBlur-BkHF6lVm.js} +3 -3
- package/dist/core/{LinearGradient-CQZZmLiw.js → LinearGradient-DIdq_fiw.js} +4 -4
- package/dist/core/{LinearWipe-CujAITNA.js → LinearWipe-DuCB9oV_.js} +3 -3
- package/dist/core/{LiquidMetal-Dvn49LUc.js → LiquidMetal-BPvuHdsf.js} +7 -7
- package/dist/core/{Liquify-B4FTW8h6.js → Liquify-CvPn1ze-.js} +4 -4
- package/dist/core/{MagneticFilings-D1m7EXmm.js → MagneticFilings-DPNRCKVe.js} +5 -5
- package/dist/core/{Marble-BlXh-fBp.js → Marble-DyGenjAa.js} +7 -7
- package/dist/core/{MeshGradient-DQ5f-9XR.js → MeshGradient-CEVDVK8_.js} +30 -11
- package/dist/core/{Mirror-efIr9F2U.js → Mirror-Ck8qk1Km.js} +2 -2
- package/dist/core/{MultiPointGradient-rr7lq4eW.js → MultiPointGradient-DwO6snxn.js} +3 -3
- package/dist/core/{Nebula-CvW92f75.js → Nebula-Bn7VT1xx.js} +8 -8
- package/dist/core/{Neon-BQT09YKc.js → Neon-CXuFhmfD.js} +5 -5
- package/dist/core/{NoiseDissolve-BNdrRbOc.js → NoiseDissolve-DgvzEFOD.js} +3 -3
- package/dist/core/{ObjectTracker-C68u40Ku.js → ObjectTracker-IopW8Jvf.js} +3 -3
- package/dist/core/{Obsidian-FzvuWCb0.js → Obsidian-Dph7T7YI.js} +8 -8
- package/dist/core/{PagePeel-nlJxITO2.js → PagePeel-BeAr_n0U.js} +2 -2
- package/dist/core/{Paper-CqVmEVBn.js → Paper-BDEsyIPI.js} +2 -2
- package/dist/core/{Parallelogram-DWPd1fyo.js → Parallelogram-Duj-0MLr.js} +2 -2
- package/dist/core/{ParticleField-C_KzrV0O.js → ParticleField-BaG_4DLj.js} +4 -4
- package/dist/core/{ParticleFlow-Brj0G-ks.js → ParticleFlow-Aocbr_mH.js} +6 -6
- package/dist/core/{Particles-Br305oHl.js → Particles-CGFjT2p5.js} +6 -6
- package/dist/core/{PerlinNoise-B4aWFOGc.js → PerlinNoise-BHQ318g4.js} +4 -4
- package/dist/core/{Perspective-BeiqPceh.js → Perspective-xBfd9BSE.js} +3 -3
- package/dist/core/{PixelSort-Dyli4iK-.js → PixelSort-Bx9sUnGm.js} +4 -4
- package/dist/core/{PixelThrow-ipagWXI8.js → PixelThrow-0nJiGsmZ.js} +4 -4
- package/dist/core/{Pixelate-P6clGjdH.js → Pixelate-CvCzoA0h.js} +2 -2
- package/dist/core/{Plasma-Dvqd9oyK.js → Plasma-Be1yxNcP.js} +4 -4
- package/dist/core/{Plastic-C6Ts78Md.js → Plastic-C-N31O7u.js} +7 -7
- package/dist/core/{PolarCoordinates-CQHtNHbq.js → PolarCoordinates-BGwTZ6NO.js} +2 -2
- package/dist/core/{Polygon-DGwVhe-8.js → Polygon-Byw5C7Qy.js} +3 -3
- package/dist/core/{Posterize-Bf7pCRaJ.js → Posterize-BHOstvyj.js} +2 -2
- package/dist/core/{Prism-DSfkY3f7.js → Prism-pNsLhW8w.js} +6 -6
- package/dist/core/{ProgressiveBlur-DYY4Htdn.js → ProgressiveBlur-CR1IbvKQ.js} +3 -3
- package/dist/core/{RadialGradient-DA305XkI.js → RadialGradient-BFOrMAK1.js} +4 -4
- package/dist/core/{RadialWipe-C5NG2ve7.js → RadialWipe-BYnlbrNm.js} +3 -3
- package/dist/core/{RandomBars-CSrG25B9.js → RandomBars-B7erRRHx.js} +3 -3
- package/dist/core/{ReactionDiffusion-W4ncKC3u.js → ReactionDiffusion-BnY40jHs.js} +5 -5
- package/dist/core/{RectangularCoordinates-CLkBF5WG.js → RectangularCoordinates-D9-3PQAz.js} +2 -2
- package/dist/core/{ReflectivePlane-nQbY5WT9.js → ReflectivePlane-BI-LIR2c.js} +3 -3
- package/dist/core/{Repeater-C7AL9Mxl.js → Repeater-C5LILb_Y.js} +3 -3
- package/dist/core/{Ring-CXT7fK-h.js → Ring-CvvtJYAf.js} +2 -2
- package/dist/core/{RippleWipe-C9zw2zoh.js → RippleWipe-kAzZWsjR.js} +3 -3
- package/dist/core/{Ripples-CZLal2P3.js → Ripples-BFLep1r1.js} +3 -3
- package/dist/core/{RoundedRect-o5gVIChP.js → RoundedRect-DirNijIY.js} +2 -2
- package/dist/core/{Saturation-D6v2GPIE.js → Saturation-CfkRhJpe.js} +3 -3
- package/dist/core/{Scratches-3lOFIxB6.js → Scratches-Dchfw1_5.js} +4 -4
- package/dist/core/{Sharpness-0dzvGI0f.js → Sharpness-DZzAnlsl.js} +3 -3
- package/dist/core/{Shatter-CwYKzuyE.js → Shatter-Dz3sH2ON.js} +2 -2
- package/dist/core/{SimplexNoise-CfnpltZJ.js → SimplexNoise-CmV42gYT.js} +4 -4
- package/dist/core/{SineWave-CazFqILA.js → SineWave-TqnpIKO4.js} +3 -3
- package/dist/core/{SliceWipe-BLaREJfc.js → SliceWipe-Dz8vj6bi.js} +2 -2
- package/dist/core/{Smoke-EnlKNhZI.js → Smoke-B1TnZnG6.js} +4 -4
- package/dist/core/{SmokeFill-D0zfxSDC.js → SmokeFill-C4yVAkT9.js} +7 -7
- package/dist/core/{SmokeFlow-BtK1mACJ.js → SmokeFlow-dd5uLztm.js} +4 -4
- package/dist/core/{Solarize-BiJ-2cQr.js → Solarize-CIQa9pKw.js} +3 -3
- package/dist/core/{SolidColor-BMk9Meqf.js → SolidColor-DuoQVKGk.js} +3 -3
- package/dist/core/{Spherize-C77O2QfA.js → Spherize-FWwWEUyE.js} +3 -3
- package/dist/core/{Spiral-B5iRW2Fi.js → Spiral-DI1eG0E3.js} +3 -3
- package/dist/core/{Star-DmZNq1Ze.js → Star-DT-hnlIJ.js} +2 -2
- package/dist/core/{Stone-BWJQO3db.js → Stone-oW35zD22.js} +3 -3
- package/dist/core/{Strands-DtRFs3Bx.js → Strands-asB3fUr9.js} +4 -4
- package/dist/core/{Stretch-VTtGN0nA.js → Stretch-Cm_B4WGY.js} +2 -2
- package/dist/core/{Stripes-C7rPhXJ0.js → Stripes-BnJiniJY.js} +3 -3
- package/dist/core/{StudioBackground-DgnCqp2D.js → StudioBackground-DwSO5KNV.js} +6 -6
- package/dist/core/{SunBurst-OW_KKnBa.js → SunBurst-BL-BryZO.js} +3 -3
- package/dist/core/{Surface3D-DcCmrxwq.js → Surface3D-DSvh7Zof.js} +5 -5
- package/dist/core/{Swirl-CCnPenFE.js → Swirl-BVPy039a.js} +4 -4
- package/dist/core/{Teardrop-MmYDzl0h.js → Teardrop-CR1UqYaF.js} +2 -2
- package/dist/core/{Text-CcWqiOY2.js → Text-fP5temat.js} +3 -3
- package/dist/core/{ThinFilm-BHGcmG02.js → ThinFilm--MFVM9D5.js} +5 -5
- package/dist/core/{TiltShift-DGfiXqhS.js → TiltShift-BvYpYELk.js} +3 -3
- package/dist/core/{TimeTrail-kBFCyhz-.js → TimeTrail-DqdYuHn7.js} +5 -5
- package/dist/core/{Tint-DKSCEEcg.js → Tint-BXJMHYvg.js} +3 -3
- package/dist/core/{Trapezoid-DuCdglLG.js → Trapezoid--AgyKOWQ.js} +2 -2
- package/dist/core/{TriangularGrid-CoUtF1N-.js → TriangularGrid-CmDApxz9.js} +3 -3
- package/dist/core/{Tritone-DNj_12sI.js → Tritone-DCd_IRp7.js} +3 -3
- package/dist/core/{Truchet-CWSNjtK8.js → Truchet-g1_jcoZ4.js} +3 -3
- package/dist/core/{Twirl-BIN5kbyh.js → Twirl-JY-PXDS2.js} +2 -2
- package/dist/core/{VHS-C64a6_3I.js → VHS-ZWR6D4Da.js} +2 -2
- package/dist/core/{VenetianBlinds-B7fG32kV.js → VenetianBlinds-B7laTyPO.js} +3 -3
- package/dist/core/{Vesica-CKcBbVpy.js → Vesica-BTNW2p5u.js} +2 -2
- package/dist/core/{Vibrance-CK1KU-pF.js → Vibrance-DmhtRT2D.js} +3 -3
- package/dist/core/{VideoTexture-B9y2J6nd.js → VideoTexture-DK3EaAHY.js} +2 -2
- package/dist/core/{Vignette-DjSp8WlS.js → Vignette-hyFfUS20.js} +5 -5
- package/dist/core/{Voronoi-BB954UEY.js → Voronoi-DhexPwNM.js} +5 -5
- package/dist/core/Voxels-CIfWtuUp.js +8547 -0
- package/dist/core/{Water-CV68ciDJ.js → Water-CnzSPBJI.js} +7 -7
- package/dist/core/{Watercolor-gBOdRnaY.js → Watercolor-C1HipGGO.js} +4 -4
- package/dist/core/{WaveDistortion-LW0ChM_d.js → WaveDistortion-VXyHFcJ3.js} +2 -2
- package/dist/core/{Waveform-C8FBbanw.js → Waveform-CSP_4nZF.js} +9 -9
- package/dist/core/{WaveletNoise-Ct-RCxkn.js → WaveletNoise-CQqAufyv.js} +4 -4
- package/dist/core/{Weave-C4SyYB8y.js → Weave-DwX8T4_Q.js} +3 -3
- package/dist/core/{WebcamTexture-CA_qO9pq.js → WebcamTexture-B4SLwIP1.js} +2 -2
- package/dist/core/{Wool-sp6kjEY_.js → Wool-qg-z_TFC.js} +3 -3
- package/dist/core/{WorleyNoise-D1NWWFaR.js → WorleyNoise-CjVw20Fl.js} +3 -3
- package/dist/core/{ZoomBlur-BqYTdgz_.js → ZoomBlur-Lm_pVpMf.js} +3 -3
- package/dist/core/{agents-DQe7pxeW.js → agents-B0ZiK3le.js} +4 -4
- package/dist/core/{agents-DbBxdNWq.js → agents-DXoEcto0.js} +1 -1
- package/dist/core/{blur-DYLrOqIN.js → blur-7yjVyMvI.js} +1 -1
- package/dist/core/{blurs-C6sv2MNe.js → blurs-d4B9aUyx.js} +5 -5
- package/dist/core/{color-C7Y571Qo.js → color-Do6tU0ry.js} +2 -2
- package/dist/core/{compose-CKGyjLJ0.js → compose-Dkf3v-xS.js} +4 -4
- package/dist/core/{feedback-B2yDzwyJ.js → feedback-Dro_hxd4.js} +1 -1
- package/dist/core/{fields-DtRxK0iL.js → fields-DgADOKsP.js} +86 -9
- package/dist/core/{figures-CpLCtiIg.js → figures-B3lUGP8u.js} +3 -3
- package/dist/core/{fluids-Db0oWuO7.js → fluids-umEWgdvj.js} +2 -2
- package/dist/core/{frames-BLQE4FjA.js → frames-BLqt7oaW.js} +2 -2
- package/dist/core/{glass-BAA-gnEl.js → glass-ABppDbYG.js} +1 -1
- package/dist/core/gpu/composer.d.ts +3 -1
- package/dist/core/gpu/composer.d.ts.map +1 -1
- package/dist/core/gpu/contract.d.ts +3 -1
- package/dist/core/gpu/contract.d.ts.map +1 -1
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/gpu/kit/fields.d.ts +19 -0
- package/dist/core/gpu/kit/fields.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/sdf3d.d.ts +39 -2
- package/dist/core/gpu/kit/sdf3d.d.ts.map +1 -1
- package/dist/core/gpu/kit/voxels.d.ts +229 -0
- package/dist/core/gpu/kit/voxels.d.ts.map +1 -0
- package/dist/core/{gradientPaints-CeLGuaeA.js → gradientPaints-5HpJVNfb.js} +3 -3
- package/dist/core/{gradients-C8qE2n4g.js → gradients-CIxKrfME.js} +4 -4
- package/dist/core/index.js +251 -244
- package/dist/core/{lens-CWFAxwR8.js → lens-DJQNJKCW.js} +1 -1
- package/dist/core/{light-DtqDDoLB.js → light-D3BIVkxy.js} +6 -6
- package/dist/core/{lightfields-BKy8DxIZ.js → lightfields-DvrUaH_6.js} +2 -2
- package/dist/core/{lower-yTKQx3pz.js → lower-Bd2jez_2.js} +445 -4
- package/dist/core/{mask-Clb-F2z0.js → mask-CeSwL79Q.js} +2 -2
- package/dist/core/{materials-DWRWmfkA.js → materials-9wjBrzQO.js} +6 -5
- package/dist/core/{math-DpiFV1BZ.js → math-D864seEs.js} +4 -2
- package/dist/core/{media-ByrvHD7G.js → media-DXUY3ltG.js} +1 -1
- package/dist/core/{motionBlur-D_Tr1tup.js → motionBlur-g_WSi2iq.js} +2 -2
- package/dist/core/{noise-BuBsH8Ef.js → noise-d7rmP9yc.js} +6 -6
- package/dist/core/{noiseColor-DkHB7Xz5.js → noiseColor-DuWjYRmO.js} +2 -2
- package/dist/core/{noisePaints-DDdS-W_G.js → noisePaints-CfHcXL02.js} +3 -3
- package/dist/core/{overlay-D3-T3rF_.js → overlay-D5w0585O.js} +2 -2
- package/dist/core/{patterns-QKoVTznT.js → patterns-Bg8lSdqH.js} +6 -6
- package/dist/core/{pointerFields-DRyRIqPt.js → pointerFields-CRecZwuZ.js} +2 -2
- package/dist/core/{porters-Cq56lDOB.js → porters-OTkIMOyl.js} +2 -2
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +243 -242
- package/dist/core/{reveal-Dlgs2rNt.js → reveal-CfaAg-rg.js} +1 -1
- package/dist/core/{sdf3d-CwyfHq_Y.js → sdf3d-sya0j8F2.js} +1906 -1200
- package/dist/core/shaderRegistry-DG3mjxb3.js +443 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +8 -8
- package/dist/core/shaders/Arc/index.js +5 -5
- package/dist/core/shaders/Ascii/index.js +7 -7
- package/dist/core/shaders/Aurora/index.js +19 -19
- package/dist/core/shaders/BarShift/index.js +6 -6
- package/dist/core/shaders/BarnDoors/index.js +5 -5
- package/dist/core/shaders/Beam/index.js +9 -9
- package/dist/core/shaders/Bend/index.js +6 -6
- package/dist/core/shaders/Blob/index.js +16 -16
- package/dist/core/shaders/BlockDissolve/index.js +5 -5
- package/dist/core/shaders/BlockNoise/index.js +12 -12
- package/dist/core/shaders/BlueNoise/index.js +12 -12
- package/dist/core/shaders/Blur/index.js +8 -8
- package/dist/core/shaders/Boids/index.js +7 -7
- package/dist/core/shaders/BokehBlur/index.js +8 -8
- package/dist/core/shaders/BrickPattern/index.js +11 -11
- package/dist/core/shaders/BrightnessContrast/index.js +6 -6
- package/dist/core/shaders/BrushedMetal/index.js +9 -9
- package/dist/core/shaders/Bulge/index.js +6 -6
- package/dist/core/shaders/CRTScreen/index.js +8 -8
- package/dist/core/shaders/CarbonFiber/index.js +9 -9
- package/dist/core/shaders/Chalkboard/index.js +7 -7
- package/dist/core/shaders/ChannelBlur/index.js +8 -8
- package/dist/core/shaders/CheckerWipe/index.js +5 -5
- package/dist/core/shaders/Checkerboard/index.js +11 -11
- package/dist/core/shaders/Chevron/index.js +11 -11
- package/dist/core/shaders/ChromaFlow/index.js +6 -6
- package/dist/core/shaders/ChromaticAberration/index.js +9 -9
- package/dist/core/shaders/Chrome/index.js +8 -8
- package/dist/core/shaders/Circle/index.js +5 -5
- package/dist/core/shaders/ColorWheel/index.js +9 -9
- package/dist/core/shaders/CompressionArtifacts/index.js +5 -5
- package/dist/core/shaders/ConcentricSpin/index.js +6 -6
- package/dist/core/shaders/ConicGradient/index.js +9 -9
- package/dist/core/shaders/ContourLines/index.js +5 -5
- package/dist/core/shaders/CornerPin/index.js +6 -6
- package/dist/core/shaders/Crescent/index.js +4 -4
- package/dist/core/shaders/Cross/index.js +4 -4
- package/dist/core/shaders/Crystal/index.js +9 -9
- package/dist/core/shaders/CurlNoise/index.js +12 -12
- package/dist/core/shaders/CursorRipples/index.js +6 -6
- package/dist/core/shaders/CursorTrail/index.js +5 -5
- package/dist/core/shaders/DataMosh/index.js +5 -5
- package/dist/core/shaders/DiamondGradient/index.js +9 -9
- package/dist/core/shaders/DiamondWipe/index.js +5 -5
- package/dist/core/shaders/DiffuseBlur/index.js +8 -8
- package/dist/core/shaders/DisplacementMap/index.js +6 -6
- package/dist/core/shaders/Dither/index.js +11 -11
- package/dist/core/shaders/DotGrid/index.js +11 -11
- package/dist/core/shaders/DropShadow/index.js +8 -8
- package/dist/core/shaders/Duotone/index.js +5 -5
- package/dist/core/shaders/Ellipse/index.js +4 -4
- package/dist/core/shaders/Emboss/index.js +7 -7
- package/dist/core/shaders/Engraving/index.js +7 -7
- package/dist/core/shaders/ErosionNoise/index.js +12 -12
- package/dist/core/shaders/Exposure/index.js +6 -6
- package/dist/core/shaders/FallingLines/index.js +11 -11
- package/dist/core/shaders/FilmGrain/index.js +6 -6
- package/dist/core/shaders/FilmStock/index.js +11 -11
- package/dist/core/shaders/Flip/index.js +6 -6
- package/dist/core/shaders/FloatingParticles/index.js +7 -7
- package/dist/core/shaders/FlowField/index.js +6 -6
- package/dist/core/shaders/Flower/index.js +4 -4
- package/dist/core/shaders/FlowingGradient/index.js +13 -13
- package/dist/core/shaders/FlutedGlass/index.js +9 -9
- package/dist/core/shaders/Fog/index.js +5 -5
- package/dist/core/shaders/Form3D/index.js +5 -5
- package/dist/core/shaders/FractalNoise/index.js +11 -11
- package/dist/core/shaders/Frost/index.js +9 -9
- package/dist/core/shaders/GaborNoise/index.js +12 -12
- package/dist/core/shaders/Glass/index.js +9 -9
- package/dist/core/shaders/GlassTiles/index.js +6 -6
- package/dist/core/shaders/Glitch/index.js +8 -8
- package/dist/core/shaders/Glow/index.js +9 -9
- package/dist/core/shaders/Godrays/index.js +10 -10
- package/dist/core/shaders/Goo/index.js +9 -9
- package/dist/core/shaders/GradientMap/index.js +6 -6
- package/dist/core/shaders/Grayscale/index.js +5 -5
- package/dist/core/shaders/Grid/index.js +11 -11
- package/dist/core/shaders/GridDistortion/index.js +9 -9
- package/dist/core/shaders/Group/index.js +4 -4
- package/dist/core/shaders/HTMLInCanvas/index.js +4 -4
- package/dist/core/shaders/Halftone/index.js +11 -11
- package/dist/core/shaders/Heart/index.js +4 -4
- package/dist/core/shaders/Heatmap/index.js +9 -9
- package/dist/core/shaders/HexGrid/index.js +11 -11
- package/dist/core/shaders/Hologram/index.js +8 -8
- package/dist/core/shaders/Holographic/index.js +8 -8
- package/dist/core/shaders/HueShift/index.js +6 -6
- package/dist/core/shaders/ImageTexture/index.js +4 -4
- package/dist/core/shaders/InkFlow/index.js +6 -6
- package/dist/core/shaders/Invert/index.js +5 -5
- package/dist/core/shaders/IrisWipe/index.js +5 -5
- package/dist/core/shaders/Irradiance/index.js +11 -11
- package/dist/core/shaders/IsometricCubes/index.js +11 -11
- package/dist/core/shaders/Kaleidoscope/index.js +6 -6
- package/dist/core/shaders/KeyFrames/index.js +5 -5
- package/dist/core/shaders/LensDistortion/index.js +4 -4
- package/dist/core/shaders/LensFlare/index.js +10 -10
- package/dist/core/shaders/LightEdge/index.js +8 -8
- package/dist/core/shaders/LightLeak/index.js +10 -10
- package/dist/core/shaders/Line/index.js +8 -8
- package/dist/core/shaders/LinearBlur/index.js +8 -8
- package/dist/core/shaders/LinearGradient/index.js +9 -9
- package/dist/core/shaders/LinearWipe/index.js +5 -5
- package/dist/core/shaders/LiquidMetal/index.js +9 -9
- package/dist/core/shaders/Liquify/index.js +8 -8
- package/dist/core/shaders/MagneticFilings/index.js +7 -7
- package/dist/core/shaders/Marble/index.js +13 -13
- package/dist/core/shaders/MeshGradient/index.d.ts.map +1 -1
- package/dist/core/shaders/MeshGradient/index.js +15 -14
- package/dist/core/shaders/Mirror/index.js +6 -6
- package/dist/core/shaders/MultiPointGradient/index.js +9 -9
- package/dist/core/shaders/Nebula/index.js +11 -11
- package/dist/core/shaders/Neon/index.js +7 -7
- package/dist/core/shaders/NoiseDissolve/index.js +5 -5
- package/dist/core/shaders/ObjectTracker/index.js +5 -5
- package/dist/core/shaders/Obsidian/index.js +13 -13
- package/dist/core/shaders/PagePeel/index.js +8 -8
- package/dist/core/shaders/Paper/index.js +6 -6
- package/dist/core/shaders/Parallelogram/index.js +4 -4
- package/dist/core/shaders/ParticleField/index.js +7 -7
- package/dist/core/shaders/ParticleFlow/index.js +8 -8
- package/dist/core/shaders/Particles/index.js +7 -7
- package/dist/core/shaders/PerlinNoise/index.js +12 -12
- package/dist/core/shaders/Perspective/index.js +6 -6
- package/dist/core/shaders/PixelSort/index.js +6 -6
- package/dist/core/shaders/PixelThrow/index.js +6 -6
- package/dist/core/shaders/Pixelate/index.js +8 -8
- package/dist/core/shaders/Plasma/index.js +9 -9
- package/dist/core/shaders/Plastic/index.js +9 -9
- package/dist/core/shaders/PolarCoordinates/index.js +6 -6
- package/dist/core/shaders/Polygon/index.js +5 -5
- package/dist/core/shaders/Posterize/index.js +5 -5
- package/dist/core/shaders/Prism/index.js +10 -10
- package/dist/core/shaders/ProgressiveBlur/index.js +8 -8
- package/dist/core/shaders/RadialGradient/index.js +9 -9
- package/dist/core/shaders/RadialWipe/index.js +5 -5
- package/dist/core/shaders/RandomBars/index.js +5 -5
- package/dist/core/shaders/ReactionDiffusion/index.js +6 -6
- package/dist/core/shaders/RectangularCoordinates/index.js +6 -6
- package/dist/core/shaders/ReflectivePlane/index.js +8 -8
- package/dist/core/shaders/Repeater/index.js +4 -4
- package/dist/core/shaders/Ring/index.js +4 -4
- package/dist/core/shaders/RippleWipe/index.js +5 -5
- package/dist/core/shaders/Ripples/index.js +11 -11
- package/dist/core/shaders/RoundedRect/index.js +4 -4
- package/dist/core/shaders/Saturation/index.js +6 -6
- package/dist/core/shaders/Scratches/index.js +12 -12
- package/dist/core/shaders/Sharpness/index.js +9 -9
- package/dist/core/shaders/Shatter/index.js +4 -4
- package/dist/core/shaders/SimplexNoise/index.js +12 -12
- package/dist/core/shaders/SineWave/index.js +8 -8
- package/dist/core/shaders/SliceWipe/index.js +6 -6
- package/dist/core/shaders/Smoke/index.js +5 -5
- package/dist/core/shaders/SmokeFill/index.js +8 -8
- package/dist/core/shaders/SmokeFlow/index.js +5 -5
- package/dist/core/shaders/Solarize/index.js +6 -6
- package/dist/core/shaders/SolidColor/index.js +9 -9
- package/dist/core/shaders/Spherize/index.js +8 -8
- package/dist/core/shaders/Spiral/index.js +9 -9
- package/dist/core/shaders/Star/index.js +4 -4
- package/dist/core/shaders/Stone/index.js +12 -12
- package/dist/core/shaders/Strands/index.js +11 -11
- package/dist/core/shaders/Stretch/index.js +6 -6
- package/dist/core/shaders/Stripes/index.js +11 -11
- package/dist/core/shaders/StudioBackground/index.js +12 -12
- package/dist/core/shaders/SunBurst/index.js +10 -10
- package/dist/core/shaders/Surface3D/index.js +6 -6
- package/dist/core/shaders/Swirl/index.js +9 -9
- package/dist/core/shaders/Teardrop/index.js +4 -4
- package/dist/core/shaders/Text/index.js +7 -7
- package/dist/core/shaders/ThinFilm/index.js +7 -7
- package/dist/core/shaders/TiltShift/index.js +8 -8
- package/dist/core/shaders/TimeTrail/index.js +6 -6
- package/dist/core/shaders/Tint/index.js +5 -5
- package/dist/core/shaders/Trapezoid/index.js +4 -4
- package/dist/core/shaders/TriangularGrid/index.js +11 -11
- package/dist/core/shaders/Tritone/index.js +5 -5
- package/dist/core/shaders/Truchet/index.js +11 -11
- package/dist/core/shaders/Twirl/index.js +6 -6
- package/dist/core/shaders/VHS/index.js +8 -8
- package/dist/core/shaders/VenetianBlinds/index.js +5 -5
- package/dist/core/shaders/Vesica/index.js +4 -4
- package/dist/core/shaders/Vibrance/index.js +6 -6
- package/dist/core/shaders/VideoTexture/index.js +4 -4
- package/dist/core/shaders/Vignette/index.js +7 -7
- package/dist/core/shaders/Voronoi/index.js +11 -11
- package/dist/core/shaders/Voxels/index.d.ts +211 -0
- package/dist/core/shaders/Voxels/index.d.ts.map +1 -0
- package/dist/core/shaders/Voxels/index.js +15 -0
- package/dist/core/shaders/Water/index.js +9 -9
- package/dist/core/shaders/Watercolor/index.js +8 -8
- package/dist/core/shaders/WaveDistortion/index.js +6 -6
- package/dist/core/shaders/Waveform/index.js +14 -14
- package/dist/core/shaders/WaveletNoise/index.js +12 -12
- package/dist/core/shaders/Weave/index.js +11 -11
- package/dist/core/shaders/WebcamTexture/index.js +4 -4
- package/dist/core/shaders/Wool/index.js +12 -12
- package/dist/core/shaders/WorleyNoise/index.js +11 -11
- package/dist/core/shaders/ZoomBlur/index.js +8 -8
- package/dist/core/{shape-Ctle9iU9.js → shape-CAkSlCi8.js} +1 -1
- package/dist/core/{shapePaints-kH2wcDEC.js → shapePaints-Bg2UwCZo.js} +3 -3
- package/dist/core/std/paint/fields.d.ts +25 -0
- package/dist/core/std/paint/fields.d.ts.map +1 -1
- package/dist/core/std/paint/materials.d.ts +3 -0
- package/dist/core/std/paint/materials.d.ts.map +1 -1
- package/dist/core/std/paint/voxels.d.ts +65 -0
- package/dist/core/std/paint/voxels.d.ts.map +1 -0
- package/dist/core/{stylize-B1HR4Evq.js → stylize-DiuoSq16.js} +2 -2
- package/dist/core/{tone-R9En6hOG.js → tone-BKhfiOBn.js} +1 -1
- package/dist/core/utilities/scatterAnchors.d.ts +18 -0
- package/dist/core/utilities/scatterAnchors.d.ts.map +1 -0
- package/dist/core/utilities/shapeEffectBounds.d.ts +13 -0
- package/dist/core/utilities/shapeEffectBounds.d.ts.map +1 -1
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/core/{warpMaps-XO8MOBSl.js → warpMaps-Y8xSo-QJ.js} +2 -2
- package/dist/core/{warps-Dc619a_L.js → warps-P5O3NWLe.js} +3 -3
- package/dist/js/bundle.js +180 -180
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +37 -0
- package/dist/react/Preview.js +1 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/Voxels.js +226 -0
- package/dist/react/bundle.js +175 -175
- package/dist/react/components/Voxels.d.ts +47 -0
- package/dist/react/components/Voxels.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +2 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +37 -0
- package/dist/registry.js +1013 -0
- package/dist/solid/components/Voxels.d.ts +44 -0
- package/dist/solid/components/Voxels.d.ts.map +1 -0
- package/dist/solid/components/Voxels.js +232 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +377 -375
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +26 -24
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +37 -0
- package/dist/svelte/components/Voxels.svelte.d.ts +34 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +2677 -2470
- package/dist/svelte/source/components/Voxels.svelte +358 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +37 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/Voxels.js +3 -0
- package/dist/vue/Voxels.vue_vue_type_script_setup_true_lang.js +256 -0
- package/dist/vue/components/Voxels.vue.d.ts +69 -0
- package/dist/vue/components/Voxels.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +37 -0
- package/package.json +9 -1
- package/dist/core/shaderRegistry-BMmO6i7R.js +0 -441
- /package/dist/core/{filter-VJlLs3Zs.js → filter-BrhpSs3Z.js} +0 -0
- /package/dist/core/{grids-B04hYuFv.js → grids-Cv99xcJg.js} +0 -0
- /package/dist/core/{noiseStylize-BfLjdB5R.js → noiseStylize-CUrW_HiC.js} +0 -0
- /package/dist/core/{signal-DuaxoxK4.js → signal-emJuvOI3.js} +0 -0
- /package/dist/core/{slots-BuIG6s6W.js → slots-BqIef2iV.js} +0 -0
- /package/dist/core/{transformations-COlfAEsk.js → transformations-CzFmhZww.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as debugError, r as debugWarn, t as GpuUnavailableError } from "./support-GJphyuEe.js";
|
|
2
|
-
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, s as transformEdges, t as colorSpaceOptions } from "./transformations-
|
|
2
|
+
import { a as transformColor, c as transformPosition, l as transformStrokePosition, o as transformColorSpace, s as transformEdges, t as colorSpaceOptions } from "./transformations-CzFmhZww.js";
|
|
3
3
|
var __defProp$1 = Object.defineProperty;
|
|
4
4
|
var __export$1 = (all$1) => {
|
|
5
5
|
let target = {};
|
|
@@ -6258,7 +6258,7 @@ const exp2 = dualImpl({
|
|
|
6258
6258
|
codegenImpl: (_ctx, [value]) => stitch`exp2(${value})`,
|
|
6259
6259
|
sideEffects: false
|
|
6260
6260
|
});
|
|
6261
|
-
dualImpl({
|
|
6261
|
+
const extractBits = dualImpl({
|
|
6262
6262
|
name: "extractBits",
|
|
6263
6263
|
signature: (arg, _offset, _count) => {
|
|
6264
6264
|
const argRestricted = unify([arg], anyConcreteInteger)?.[0];
|
|
@@ -15599,6 +15599,7 @@ const TAU = Math.PI * 2;
|
|
|
15599
15599
|
const TWO_PI$1 = TAU;
|
|
15600
15600
|
const HALF_PI = Math.PI / 2;
|
|
15601
15601
|
const SQRT3 = Math.sqrt(3);
|
|
15602
|
+
const GOLDEN = 2.3999632297286535;
|
|
15602
15603
|
const mxRotl32 = typegpu_default.fn([u32, i32], u32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((x, k) => {
|
|
15603
15604
|
"use gpu";
|
|
15604
15605
|
return x << u32(k) | x >> u32(__tsover_sub(i32(32), k));
|
|
@@ -27876,6 +27877,148 @@ function domainWarp2(fieldFn, options = {}) {
|
|
|
27876
27877
|
warpCache.set(key, built);
|
|
27877
27878
|
return built;
|
|
27878
27879
|
}
|
|
27880
|
+
function domainWarp1(fieldFn, options = {}) {
|
|
27881
|
+
const { offsets = IQ_WARP_OFFSETS, name = "domainWarp1" } = options;
|
|
27882
|
+
const key = `1|${fieldFnId(fieldFn)}|${name}|${JSON.stringify(offsets)}`;
|
|
27883
|
+
const cached = warpCache.get(key);
|
|
27884
|
+
if (cached) return cached;
|
|
27885
|
+
const warpField = fieldFn;
|
|
27886
|
+
const [QX, QY, QZ] = offsets.q[0];
|
|
27887
|
+
const [Q2X, Q2Y, Q2Z] = offsets.q[1];
|
|
27888
|
+
const built = typegpu_default.fn([
|
|
27889
|
+
vec3f$1,
|
|
27890
|
+
f32,
|
|
27891
|
+
f32
|
|
27892
|
+
], vec3f$1)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((pos, t, warpAmount) => {
|
|
27893
|
+
"use gpu";
|
|
27894
|
+
const qx = warpField(pos.add(vec3f$1(__tsover_mul(t, QX), __tsover_mul(t, QY), QZ)));
|
|
27895
|
+
const qy = warpField(pos.add(vec3f$1(Q2X, Q2Y, __tsover_mul(t, Q2Z))));
|
|
27896
|
+
return pos.add(vec3f$1(qx, qy, 0).mul(warpAmount));
|
|
27897
|
+
}), {
|
|
27898
|
+
v: 2,
|
|
27899
|
+
name: void 0,
|
|
27900
|
+
ast: {
|
|
27901
|
+
"params": [
|
|
27902
|
+
{
|
|
27903
|
+
"type": "i",
|
|
27904
|
+
"name": "pos"
|
|
27905
|
+
},
|
|
27906
|
+
{
|
|
27907
|
+
"type": "i",
|
|
27908
|
+
"name": "t"
|
|
27909
|
+
},
|
|
27910
|
+
{
|
|
27911
|
+
"type": "i",
|
|
27912
|
+
"name": "warpAmount"
|
|
27913
|
+
}
|
|
27914
|
+
],
|
|
27915
|
+
"body": [0, [
|
|
27916
|
+
[
|
|
27917
|
+
13,
|
|
27918
|
+
"qx",
|
|
27919
|
+
[
|
|
27920
|
+
6,
|
|
27921
|
+
"warpField",
|
|
27922
|
+
[[
|
|
27923
|
+
6,
|
|
27924
|
+
[
|
|
27925
|
+
7,
|
|
27926
|
+
"pos",
|
|
27927
|
+
"add"
|
|
27928
|
+
],
|
|
27929
|
+
[[
|
|
27930
|
+
6,
|
|
27931
|
+
"d.vec3f",
|
|
27932
|
+
[
|
|
27933
|
+
[
|
|
27934
|
+
1,
|
|
27935
|
+
"t",
|
|
27936
|
+
"*",
|
|
27937
|
+
"QX"
|
|
27938
|
+
],
|
|
27939
|
+
[
|
|
27940
|
+
1,
|
|
27941
|
+
"t",
|
|
27942
|
+
"*",
|
|
27943
|
+
"QY"
|
|
27944
|
+
],
|
|
27945
|
+
"QZ"
|
|
27946
|
+
]
|
|
27947
|
+
]]
|
|
27948
|
+
]]
|
|
27949
|
+
]
|
|
27950
|
+
],
|
|
27951
|
+
[
|
|
27952
|
+
13,
|
|
27953
|
+
"qy",
|
|
27954
|
+
[
|
|
27955
|
+
6,
|
|
27956
|
+
"warpField",
|
|
27957
|
+
[[
|
|
27958
|
+
6,
|
|
27959
|
+
[
|
|
27960
|
+
7,
|
|
27961
|
+
"pos",
|
|
27962
|
+
"add"
|
|
27963
|
+
],
|
|
27964
|
+
[[
|
|
27965
|
+
6,
|
|
27966
|
+
"d.vec3f",
|
|
27967
|
+
[
|
|
27968
|
+
"Q2X",
|
|
27969
|
+
"Q2Y",
|
|
27970
|
+
[
|
|
27971
|
+
1,
|
|
27972
|
+
"t",
|
|
27973
|
+
"*",
|
|
27974
|
+
"Q2Z"
|
|
27975
|
+
]
|
|
27976
|
+
]
|
|
27977
|
+
]]
|
|
27978
|
+
]]
|
|
27979
|
+
]
|
|
27980
|
+
],
|
|
27981
|
+
[10, [
|
|
27982
|
+
6,
|
|
27983
|
+
[
|
|
27984
|
+
7,
|
|
27985
|
+
"pos",
|
|
27986
|
+
"add"
|
|
27987
|
+
],
|
|
27988
|
+
[[
|
|
27989
|
+
6,
|
|
27990
|
+
[
|
|
27991
|
+
7,
|
|
27992
|
+
[
|
|
27993
|
+
6,
|
|
27994
|
+
"d.vec3f",
|
|
27995
|
+
[
|
|
27996
|
+
"qx",
|
|
27997
|
+
"qy",
|
|
27998
|
+
[5, "0"]
|
|
27999
|
+
]
|
|
28000
|
+
],
|
|
28001
|
+
"mul"
|
|
28002
|
+
],
|
|
28003
|
+
["warpAmount"]
|
|
28004
|
+
]]
|
|
28005
|
+
]]
|
|
28006
|
+
]]
|
|
28007
|
+
},
|
|
28008
|
+
externals: {
|
|
28009
|
+
"warpField": () => warpField,
|
|
28010
|
+
"d.vec3f": () => vec3f$1,
|
|
28011
|
+
"QX": () => QX,
|
|
28012
|
+
"QY": () => QY,
|
|
28013
|
+
"QZ": () => QZ,
|
|
28014
|
+
"Q2X": () => Q2X,
|
|
28015
|
+
"Q2Y": () => Q2Y,
|
|
28016
|
+
"Q2Z": () => Q2Z
|
|
28017
|
+
}
|
|
28018
|
+
}) && $.f)({})).$name(name);
|
|
28019
|
+
warpCache.set(key, built);
|
|
28020
|
+
return built;
|
|
28021
|
+
}
|
|
27879
28022
|
var warpCache = /* @__PURE__ */ new Map();
|
|
27880
28023
|
const radialFalloffMask = typegpu_default.fn([
|
|
27881
28024
|
vec2f$1,
|
|
@@ -28420,6 +28563,304 @@ const spiralScatter = typegpu_default.fn([
|
|
|
28420
28563
|
"std.cos": () => cos
|
|
28421
28564
|
}
|
|
28422
28565
|
}) && $.f)({}));
|
|
28566
|
+
const scatterFieldAnchored = typegpu_default.fn([
|
|
28567
|
+
vec2f$1,
|
|
28568
|
+
f32,
|
|
28569
|
+
f32,
|
|
28570
|
+
arrayOf(vec4f$1, SCATTER_MAX / 2),
|
|
28571
|
+
f32
|
|
28572
|
+
], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((q, count, seed, anchors, power) => {
|
|
28573
|
+
"use gpu";
|
|
28574
|
+
let num = f32(0);
|
|
28575
|
+
let den = f32(0);
|
|
28576
|
+
const seedShuffle = hash11(__tsover_add(__tsover_mul(seed, .531), .77));
|
|
28577
|
+
for (let i = 0; i < SCATTER_MAX; i++) {
|
|
28578
|
+
const fi = f32(i);
|
|
28579
|
+
const active = select(f32(0), f32(1), fi < __tsover_sub(count, .5));
|
|
28580
|
+
const pair = anchors[__tsover_div(i, 2)];
|
|
28581
|
+
const anchor = select(pair.xy, pair.zw, (i & 1) === 1);
|
|
28582
|
+
const dist = max(length(q.sub(anchor)), .01);
|
|
28583
|
+
const w = __tsover_div(active, pow(dist, power));
|
|
28584
|
+
const ti = fract(__tsover_add(__tsover_mul(fi, GOLDEN_CONJ), seedShuffle));
|
|
28585
|
+
num = __tsover_add(num, __tsover_mul(w, ti));
|
|
28586
|
+
den = __tsover_add(den, w);
|
|
28587
|
+
}
|
|
28588
|
+
return __tsover_div(num, max(den, 1e-6));
|
|
28589
|
+
}), {
|
|
28590
|
+
v: 2,
|
|
28591
|
+
name: void 0,
|
|
28592
|
+
ast: {
|
|
28593
|
+
"params": [
|
|
28594
|
+
{
|
|
28595
|
+
"type": "i",
|
|
28596
|
+
"name": "q"
|
|
28597
|
+
},
|
|
28598
|
+
{
|
|
28599
|
+
"type": "i",
|
|
28600
|
+
"name": "count"
|
|
28601
|
+
},
|
|
28602
|
+
{
|
|
28603
|
+
"type": "i",
|
|
28604
|
+
"name": "seed"
|
|
28605
|
+
},
|
|
28606
|
+
{
|
|
28607
|
+
"type": "i",
|
|
28608
|
+
"name": "anchors"
|
|
28609
|
+
},
|
|
28610
|
+
{
|
|
28611
|
+
"type": "i",
|
|
28612
|
+
"name": "power"
|
|
28613
|
+
}
|
|
28614
|
+
],
|
|
28615
|
+
"body": [0, [
|
|
28616
|
+
[
|
|
28617
|
+
12,
|
|
28618
|
+
"num",
|
|
28619
|
+
[
|
|
28620
|
+
6,
|
|
28621
|
+
"d.f32",
|
|
28622
|
+
[[5, "0"]]
|
|
28623
|
+
]
|
|
28624
|
+
],
|
|
28625
|
+
[
|
|
28626
|
+
12,
|
|
28627
|
+
"den",
|
|
28628
|
+
[
|
|
28629
|
+
6,
|
|
28630
|
+
"d.f32",
|
|
28631
|
+
[[5, "0"]]
|
|
28632
|
+
]
|
|
28633
|
+
],
|
|
28634
|
+
[
|
|
28635
|
+
13,
|
|
28636
|
+
"seedShuffle",
|
|
28637
|
+
[
|
|
28638
|
+
6,
|
|
28639
|
+
"hash11",
|
|
28640
|
+
[[
|
|
28641
|
+
1,
|
|
28642
|
+
[
|
|
28643
|
+
1,
|
|
28644
|
+
"seed",
|
|
28645
|
+
"*",
|
|
28646
|
+
[5, "0.531"]
|
|
28647
|
+
],
|
|
28648
|
+
"+",
|
|
28649
|
+
[5, "0.77"]
|
|
28650
|
+
]]
|
|
28651
|
+
]
|
|
28652
|
+
],
|
|
28653
|
+
[
|
|
28654
|
+
14,
|
|
28655
|
+
[
|
|
28656
|
+
12,
|
|
28657
|
+
"i",
|
|
28658
|
+
[5, "0"]
|
|
28659
|
+
],
|
|
28660
|
+
[
|
|
28661
|
+
1,
|
|
28662
|
+
"i",
|
|
28663
|
+
"<",
|
|
28664
|
+
"SCATTER_MAX"
|
|
28665
|
+
],
|
|
28666
|
+
[
|
|
28667
|
+
102,
|
|
28668
|
+
"++",
|
|
28669
|
+
"i"
|
|
28670
|
+
],
|
|
28671
|
+
[0, [
|
|
28672
|
+
[
|
|
28673
|
+
13,
|
|
28674
|
+
"fi",
|
|
28675
|
+
[
|
|
28676
|
+
6,
|
|
28677
|
+
"d.f32",
|
|
28678
|
+
["i"]
|
|
28679
|
+
]
|
|
28680
|
+
],
|
|
28681
|
+
[
|
|
28682
|
+
13,
|
|
28683
|
+
"active",
|
|
28684
|
+
[
|
|
28685
|
+
6,
|
|
28686
|
+
"std.select",
|
|
28687
|
+
[
|
|
28688
|
+
[
|
|
28689
|
+
6,
|
|
28690
|
+
"d.f32",
|
|
28691
|
+
[[5, "0"]]
|
|
28692
|
+
],
|
|
28693
|
+
[
|
|
28694
|
+
6,
|
|
28695
|
+
"d.f32",
|
|
28696
|
+
[[5, "1"]]
|
|
28697
|
+
],
|
|
28698
|
+
[
|
|
28699
|
+
1,
|
|
28700
|
+
"fi",
|
|
28701
|
+
"<",
|
|
28702
|
+
[
|
|
28703
|
+
1,
|
|
28704
|
+
"count",
|
|
28705
|
+
"-",
|
|
28706
|
+
[5, "0.5"]
|
|
28707
|
+
]
|
|
28708
|
+
]
|
|
28709
|
+
]
|
|
28710
|
+
]
|
|
28711
|
+
],
|
|
28712
|
+
[
|
|
28713
|
+
13,
|
|
28714
|
+
"pair",
|
|
28715
|
+
[
|
|
28716
|
+
8,
|
|
28717
|
+
"anchors",
|
|
28718
|
+
[
|
|
28719
|
+
1,
|
|
28720
|
+
"i",
|
|
28721
|
+
"/",
|
|
28722
|
+
[5, "2"]
|
|
28723
|
+
]
|
|
28724
|
+
]
|
|
28725
|
+
],
|
|
28726
|
+
[
|
|
28727
|
+
13,
|
|
28728
|
+
"anchor",
|
|
28729
|
+
[
|
|
28730
|
+
6,
|
|
28731
|
+
"std.select",
|
|
28732
|
+
[
|
|
28733
|
+
[
|
|
28734
|
+
7,
|
|
28735
|
+
"pair",
|
|
28736
|
+
"xy"
|
|
28737
|
+
],
|
|
28738
|
+
[
|
|
28739
|
+
7,
|
|
28740
|
+
"pair",
|
|
28741
|
+
"zw"
|
|
28742
|
+
],
|
|
28743
|
+
[
|
|
28744
|
+
1,
|
|
28745
|
+
[
|
|
28746
|
+
1,
|
|
28747
|
+
"i",
|
|
28748
|
+
"&",
|
|
28749
|
+
[5, "1"]
|
|
28750
|
+
],
|
|
28751
|
+
"===",
|
|
28752
|
+
[5, "1"]
|
|
28753
|
+
]
|
|
28754
|
+
]
|
|
28755
|
+
]
|
|
28756
|
+
],
|
|
28757
|
+
[
|
|
28758
|
+
13,
|
|
28759
|
+
"dist",
|
|
28760
|
+
[
|
|
28761
|
+
6,
|
|
28762
|
+
"std.max",
|
|
28763
|
+
[[
|
|
28764
|
+
6,
|
|
28765
|
+
"std.length",
|
|
28766
|
+
[[
|
|
28767
|
+
6,
|
|
28768
|
+
[
|
|
28769
|
+
7,
|
|
28770
|
+
"q",
|
|
28771
|
+
"sub"
|
|
28772
|
+
],
|
|
28773
|
+
["anchor"]
|
|
28774
|
+
]]
|
|
28775
|
+
], [5, "0.01"]]
|
|
28776
|
+
]
|
|
28777
|
+
],
|
|
28778
|
+
[
|
|
28779
|
+
13,
|
|
28780
|
+
"w",
|
|
28781
|
+
[
|
|
28782
|
+
1,
|
|
28783
|
+
"active",
|
|
28784
|
+
"/",
|
|
28785
|
+
[
|
|
28786
|
+
6,
|
|
28787
|
+
"std.pow",
|
|
28788
|
+
["dist", "power"]
|
|
28789
|
+
]
|
|
28790
|
+
]
|
|
28791
|
+
],
|
|
28792
|
+
[
|
|
28793
|
+
13,
|
|
28794
|
+
"ti",
|
|
28795
|
+
[
|
|
28796
|
+
6,
|
|
28797
|
+
"std.fract",
|
|
28798
|
+
[[
|
|
28799
|
+
1,
|
|
28800
|
+
[
|
|
28801
|
+
1,
|
|
28802
|
+
"fi",
|
|
28803
|
+
"*",
|
|
28804
|
+
"GOLDEN_CONJ"
|
|
28805
|
+
],
|
|
28806
|
+
"+",
|
|
28807
|
+
"seedShuffle"
|
|
28808
|
+
]]
|
|
28809
|
+
]
|
|
28810
|
+
],
|
|
28811
|
+
[
|
|
28812
|
+
2,
|
|
28813
|
+
"num",
|
|
28814
|
+
"=",
|
|
28815
|
+
[
|
|
28816
|
+
1,
|
|
28817
|
+
"num",
|
|
28818
|
+
"+",
|
|
28819
|
+
[
|
|
28820
|
+
1,
|
|
28821
|
+
"w",
|
|
28822
|
+
"*",
|
|
28823
|
+
"ti"
|
|
28824
|
+
]
|
|
28825
|
+
]
|
|
28826
|
+
],
|
|
28827
|
+
[
|
|
28828
|
+
2,
|
|
28829
|
+
"den",
|
|
28830
|
+
"=",
|
|
28831
|
+
[
|
|
28832
|
+
1,
|
|
28833
|
+
"den",
|
|
28834
|
+
"+",
|
|
28835
|
+
"w"
|
|
28836
|
+
]
|
|
28837
|
+
]
|
|
28838
|
+
]]
|
|
28839
|
+
],
|
|
28840
|
+
[10, [
|
|
28841
|
+
1,
|
|
28842
|
+
"num",
|
|
28843
|
+
"/",
|
|
28844
|
+
[
|
|
28845
|
+
6,
|
|
28846
|
+
"std.max",
|
|
28847
|
+
["den", [5, "0.000001"]]
|
|
28848
|
+
]
|
|
28849
|
+
]]
|
|
28850
|
+
]]
|
|
28851
|
+
},
|
|
28852
|
+
externals: {
|
|
28853
|
+
"d.f32": () => f32,
|
|
28854
|
+
"hash11": () => hash11,
|
|
28855
|
+
"SCATTER_MAX": () => SCATTER_MAX,
|
|
28856
|
+
"std.select": () => select,
|
|
28857
|
+
"std.max": () => max,
|
|
28858
|
+
"std.length": () => length,
|
|
28859
|
+
"std.pow": () => pow,
|
|
28860
|
+
"std.fract": () => fract,
|
|
28861
|
+
"GOLDEN_CONJ": () => GOLDEN_CONJ
|
|
28862
|
+
}
|
|
28863
|
+
}) && $.f)({}));
|
|
28423
28864
|
const scatterField = typegpu_default.fn([
|
|
28424
28865
|
vec2f$1,
|
|
28425
28866
|
f32,
|
|
@@ -40076,7 +40517,7 @@ function composeNodeTree(registry, options = {}) {
|
|
|
40076
40517
|
return makeKitTexture(key);
|
|
40077
40518
|
},
|
|
40078
40519
|
getCpuValue: (prop) => {
|
|
40079
|
-
if (node.metadata.maps?.[prop] && options.resolveDriverCpuValue) {
|
|
40520
|
+
if ((node.metadata.maps?.[prop] || prop.startsWith("_animTime")) && options.resolveDriverCpuValue) {
|
|
40080
40521
|
const resolved = options.resolveDriverCpuValue(node.id, prop);
|
|
40081
40522
|
if (resolved !== void 0) return resolved;
|
|
40082
40523
|
}
|
|
@@ -49008,4 +49449,4 @@ function defineStd(definition) {
|
|
|
49008
49449
|
const { role } = definition;
|
|
49009
49450
|
throw new Error(`std: unsupported definition shape for role '${role}'`);
|
|
49010
49451
|
}
|
|
49011
|
-
export {
|
|
49452
|
+
export { edgeTransparentMask as $, vertexFn as $n, Void as $r, timeAxisDomain as $t, heartSdf as A, value12 as An, vec2u$1 as Ar, colorMixing_exports as At, vesicaSdf as B, TWO_PI$1 as Bn, struct as Br, mixPreconvertedVariants as Bt, createSvgSdfSampler as C, mxNoiseFloat3 as Cn, sin as Cr, linearToSrgb as Ct, driveAnalyticSubProps as D, perlin13 as Dn, tan as Dr, blend_exports as Dt, crossSdf as E, perlin12d as En, step as Er, blendModes as Et, roundedRectSdf as F, GOLDEN as Fn, size as Fr, lchToLab as Ft, pathStampRibbon as G, typegpu_default as Gn, dualImpl as Gr, aspectScaledDomain as Gt, createIdleGate as H, FieldHandle as Hn, mul as Hr, oklchToOklab as Ht, sdf_exports as I, HALF_PI as In, atomic as Ir, mixColorsLinear as It, createPingPongPair as J, textureSampleLevel as Jn, i32 as Jr, domainWarp2 as Jt, createComputeDispatcher as K, textureDimensions as Kn, bool as Kr, chainedWarpStep as Kt, starSdf as L, PI$1 as Ln, texture2d as Lr, mixColorsVariants as Lt, parseShapeConfigValue as M, wavelet12 as Mn, vec4f$1 as Mr, hslToRgb as Mt, polygonSdf as N, wool12 as Nn, builtin as Nr, hsvToRgb as Nt, ellipseSdf as O, scratches12 as On, vec2f$1 as Or, unpremultiplyAlpha as Ot, ringSdf as P, DEG_TO_RAD$1 as Pn, align as Pr, labToRgb as Pt, edgeMirrorUV as Q, fwidth as Qn, warn as Qr, scatterFieldAnchored as Qt, teardropSdf as R, SQRT3 as Rn, textureStorage2d as Rr, mixPreconvertedInSpace as Rt, createSdfDataTexture as S, mxNoiseFloat2 as Sn, sign as Sr, screenUVToBoxLocal as St, crescentSdf as T, paper12 as Tn, sqrt as Tr, srgbToLinear as Tt, createPointerVelocityTracker as U, createUniformStore as Un, sub as Ur, rgbToHsl as Ut, toHalfFloat as V, ArrayFieldHandle as Vn, mod as Vr, oklabToRgb as Vt, decayFadeSeconds as W, updateFieldValue as Wn, vec2f as Wr, sRGBToP3 as Wt, applyEdgeHandlingExpr as X, dpdx as Xn, stitch as Xr, pixelGridDomain as Xt, createStateBuffer as Y, textureStore as Yn, u32 as Yr, fbmGated as Yt, edgeClampUV as Z, dpdy as Zn, safeStringify as Zr, scatterField as Zt, analyticSubPropValues as _, hash11 as _n, mix as _r, DEFAULT_BOUNDING_BOX as _t, resolveScalar as a, canvasCentredDelta as an, clamp as ar, ZERO as at, circleSdf as b, hash22 as bn, radians as br, boundingBoxToUVParams as bt, p as c, flooredMod2 as cn, dot as cr, call as ct, glassShellProps as d, unflipPosition as dn, extractBits as dr, expr as dt, isAtomic as ei, aspectCenteredDelta as en, select as er, edgeWrapUV as et, objectFitProp as f, blue12 as fn, floor as fr, floatE as ft, SVG_SDF_SIZE as g, gabor12 as gn, min as gr, formatFloat as gt, APERTURE_TO_HALFANGLE as h, erosion12 as hn, max as hr, Expr as ht, resolveArg as i, aspectOf as in, ceil as ir, SHARED_SAMPLER_LAYOUT as it, parallelogramSdf as j, value13 as jn, vec3f$1 as jr, convertP3ToMixSpaceCPU as jt, flowerSdf as k, stone12 as kn, vec2i$1 as kr, MixStep as kt, centerPropConfig as l, rotate2 as ln, exp as lr, collectStructuralHashInputs as lt, selectMap as m, curl22z as mn, length as mr, vec4 as mt, paintFrame as n, aspectCorrectedUV as nn, asin as nr, bSplineTapSetup as nt, uniformOf as o, directionalProjection as on, cos as or, arrayExpr as ot, lerpToIdentity as p, curl22 as pn, fract as pr, mixExpr as pt, createGuardedCompute as q, textureLoad as qn, f32 as qr, domainWarp1 as qt, pointwiseOp as r, aspectCorrectedUVFlipY as rn, atan2 as rr, sampleCatmullRomExpr as rt, Scalar as s, flooredMod1 as sn, cross as sr, asLocal as st, defineStd as t, __export$1 as ti, aspectCentrePosition as tn, abs as tr, sampleRemappedExpr as tt, edgesPropConfig as u, rotateAboutCanvasCentre as un, exp2 as ur, composeNodeTree as ut, arcSdf as v, hash12 as vn, normalize as vr, isIdentityBoundingBox as vt, createSvgSdfSamplerWithGradients as w, mxWorleyNoiseFloat2Pub as wn, smoothstep as wr, neutral as wt, createAnalyticSdfSampler as x, hash33 as xn, round as xr, needsTransformation as xt, buildAnalyticSdfFn as y, hash13 as yn, pow as yr, resolveBoundingBox as yt, trapezoidSdf as z, TAU as zn, arrayOf as zr, mixPreconvertedLinear as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as Scalar } from "./lower-
|
|
2
|
-
import {
|
|
1
|
+
import { s as Scalar } from "./lower-Bd2jez_2.js";
|
|
2
|
+
import { D as pow, P as smoothstep, T as neg, n as add, t as abs, w as mul, z as sub } from "./math-D864seEs.js";
|
|
3
3
|
function softBand(opts) {
|
|
4
4
|
return mul(smoothstep(opts.below.from, opts.below.to, opts.distance), sub(1, smoothstep(opts.above.from ?? 0, opts.above.to, opts.distance)));
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as glass_exports } from "./glass-
|
|
4
|
-
import {
|
|
1
|
+
import { An as value12, Bn as TWO_PI, Br as struct, Cn as mxNoiseFloat3, Cr as sin$1, En as perlin12d, Gn as typegpu_default, I as sdf_exports, Kr as bool, Mr as vec4f, Or as vec2f, Sn as mxNoiseFloat2, Tr as sqrt, _r as mix$1, ar as clamp$1, at as ZERO, cr as dot$1, ct as call, er as select, ft as floatE, gr as min, hr as max$1, ht as Expr, jr as vec3f, lr as exp$1, mr as length$1, or as cos, qr as f32, ti as __export, tr as abs, vn as hash12, vr as normalize$1, wn as mxWorleyNoiseFloat2Pub, wr as smoothstep$1, wt as neutral, yr as pow$1 } from "./lower-Bd2jez_2.js";
|
|
2
|
+
import { w as sdf3d_exports } from "./sdf3d-sya0j8F2.js";
|
|
3
|
+
import { n as glass_exports } from "./glass-ABppDbYG.js";
|
|
4
|
+
import { B as vec2, C as mix, D as pow, E as normalize, I as splat3, N as sin, P as smoothstep, T as neg, V as vec3, c as exp, i as clamp, l as exp2, n as add, o as div, s as dot, u as float, v as length, w as mul, x as max, y as local, z as sub } from "./math-D864seEs.js";
|
|
5
5
|
var lighting_exports = /* @__PURE__ */ __export({
|
|
6
6
|
TangentFrame: () => TangentFrame,
|
|
7
7
|
WardSpecularInput: () => WardSpecularInput,
|
|
@@ -2556,7 +2556,7 @@ function shapedSurface(spec) {
|
|
|
2556
2556
|
if (!childNode) return ZERO;
|
|
2557
2557
|
childTexture = computeOutputs?.childTexture ?? convertToTexture(childNode);
|
|
2558
2558
|
}
|
|
2559
|
-
const { sampler, gradSampler, volumetric, bakedGradients } = resolveShapeFieldSampler(params, {
|
|
2559
|
+
const { sampler, gradSampler, texelSampler, volumetric, bakedGradients } = resolveShapeFieldSampler(params, {
|
|
2560
2560
|
patternMode: pattern,
|
|
2561
2561
|
gradSampler: spec.gradSampler ?? "fast",
|
|
2562
2562
|
bakedGradients: spec.bakedGradients ?? "none"
|
|
@@ -2564,6 +2564,7 @@ function shapedSurface(spec) {
|
|
|
2564
2564
|
const frame = {
|
|
2565
2565
|
sampler,
|
|
2566
2566
|
gradSampler,
|
|
2567
|
+
texelSampler,
|
|
2567
2568
|
volumetric,
|
|
2568
2569
|
bakedGradients,
|
|
2569
2570
|
volFlag: floatE(volumetric ? 1 : 0),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ft as floatE, ht as Expr, mt as vec4, pt as mixExpr, st as asLocal } from "./lower-Bd2jez_2.js";
|
|
2
2
|
var toE = (v) => typeof v === "number" ? floatE(v) : v;
|
|
3
3
|
var emit = (v, ctx) => typeof v === "number" ? floatE(v)._emit(ctx) : v._emit(ctx);
|
|
4
4
|
function callB(name, ...args) {
|
|
@@ -27,6 +27,7 @@ const clamp = (x, lo, hi) => callB("clamp", x, lo, hi);
|
|
|
27
27
|
const mix = (a, b, t) => mixExpr(toE(a), toE(b), typeof t === "number" ? t : t);
|
|
28
28
|
const step = (edge, x) => callB("step", edge, x);
|
|
29
29
|
const smoothstep = (e0, e1, x) => callB("smoothstep", e0, e1, x);
|
|
30
|
+
const sign = (x) => callB("sign", x);
|
|
30
31
|
const length = (v) => callB("length", v);
|
|
31
32
|
const dot = (a, b) => callB("dot", a, b);
|
|
32
33
|
const normalize = (v) => callB("normalize", v);
|
|
@@ -36,6 +37,7 @@ const reflect = (i, n) => callB("reflect", i, n);
|
|
|
36
37
|
const refract = (i, n, eta) => callB("refract", i, n, eta);
|
|
37
38
|
const exp2 = (x) => callB("exp2", x);
|
|
38
39
|
const hashPhase = (seed, salt) => mul(fract(mul(sin(mul(seed, salt.k)), salt.big)), 6.283185307179586);
|
|
40
|
+
const lt = (a, b) => binary("<", a, b);
|
|
39
41
|
const le = (a, b) => binary("<=", a, b);
|
|
40
42
|
const gt = (a, b) => binary(">", a, b);
|
|
41
43
|
const ge = (a, b) => binary(">=", a, b);
|
|
@@ -51,4 +53,4 @@ const softPlus = (x, k) => {
|
|
|
51
53
|
return mul(add(xe, sqrt(add(mul(xe, xe), mul(k, k)))), .5);
|
|
52
54
|
};
|
|
53
55
|
const gaussBell = (x, k) => exp(neg(mul(mul(x, x), k)));
|
|
54
|
-
export {
|
|
56
|
+
export { rotate2 as A, vec2 as B, mix as C, pow as D, normalize as E, softPlus as F, vec4$1 as H, splat3 as I, sqrt as L, sign as M, sin as N, reflect as O, smoothstep as P, step as R, min as S, neg as T, vec3 as V, le as _, cos as a, lt as b, exp as c, floor as d, fract as f, hashPhase as g, gt as h, clamp as i, select as j, refract as k, exp2 as l, ge as m, add as n, div as o, gaussBell as p, atan2 as r, dot as s, abs as t, float as u, length as v, mul as w, max as x, local as y, sub as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Gn as typegpu_default, Mr as vec4f, Or as vec2f, Tt as srgbToLinear, ct as call, er as select, gr as min, hr as max, jr as vec3f, qr as f32 } from "./lower-Bd2jez_2.js";
|
|
2
2
|
import { i as decodeImageSource, n as createUrlSourceLoader, r as createVideoElementSource, s as registerNaturalSize, t as createSwappableMediaTexture } from "./mediaLifecycle-BTPb5i1-.js";
|
|
3
3
|
const scaleCover = typegpu_default.fn([vec2f, vec2f], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((dims, vp) => {
|
|
4
4
|
"use gpu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as unrolledTapGather, b as gaussianTapWeights } from "./blur-
|
|
1
|
+
import { Br as struct, Cr as sin, Er as step, Gn as typegpu_default, Mr as vec4f, Or as vec2f, Ot as unpremultiplyAlpha, Pn as DEG_TO_RAD$1, Vr as mod, X as applyEdgeHandlingExpr, Z as edgeClampUV, _n as hash11$1, _r as mix, ar as clamp, bn as hash22, cr as dot, ct as call, er as select, fr as floor, ft as floatE, hr as max, jr as vec3f, mr as length, mt as vec4, or as cos, pr as fract, qr as f32, rt as sampleCatmullRomExpr, tr as abs, vn as hash12, wr as smoothstep } from "./lower-Bd2jez_2.js";
|
|
2
|
+
import { E as unrolledTapGather, b as gaussianTapWeights } from "./blur-7yjVyMvI.js";
|
|
3
3
|
var DEG_TO_RAD = DEG_TO_RAD$1;
|
|
4
4
|
const MOTION_BLUR_WEIGHTS = gaussianTapWeights(32, .8);
|
|
5
5
|
const linearBlurTapCoord = typegpu_default.fn([
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { i as signedToUnit, o as toneSignedInverted } from "./tone-
|
|
3
|
-
import { _ as worleyHash$1, a as fbmNormalize, b as worleyNormalize, c as rawAspectScaledDomain, d as toneLift, f as transformWorleyDistance$1, g as worleyDistNum, h as worleyCells, i as curlMagnitude, l as ribbonsField, m as voronoiCells, n as cellBorders$1, o as fractalSum, p as transformWorleyMode$1, r as cellFill$1, t as aspectPlane, u as rotatedCenteredDomain, v as worleyModeNum, x as worleyTone, y as worleyModeScale } from "./noisePaints-
|
|
4
|
-
import { Tt as backConvertToP3, t as animatedTime } from "./porters-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { $t as timeAxisDomain, En as perlin12d, Gn as typegpu_default, Gt as aspectScaledDomain, It as mixColorsLinear, Mn as wavelet12, Nn as wool12, On as scratches12, Or as vec2f, Ot as unpremultiplyAlpha, Xt as pixelGridDomain, ar as clamp, at as ZERO, ct as call, fn as blue12, ft as floatE, gn as gabor12, hn as erosion12, kn as stone12, mt as vec4, n as paintFrame, o as uniformOf, pt as mixExpr, qr as f32, st as asLocal } from "./lower-Bd2jez_2.js";
|
|
2
|
+
import { i as signedToUnit, o as toneSignedInverted } from "./tone-BKhfiOBn.js";
|
|
3
|
+
import { _ as worleyHash$1, a as fbmNormalize, b as worleyNormalize, c as rawAspectScaledDomain, d as toneLift, f as transformWorleyDistance$1, g as worleyDistNum, h as worleyCells, i as curlMagnitude, l as ribbonsField, m as voronoiCells, n as cellBorders$1, o as fractalSum, p as transformWorleyMode$1, r as cellFill$1, t as aspectPlane, u as rotatedCenteredDomain, v as worleyModeNum, x as worleyTone, y as worleyModeScale } from "./noisePaints-CfHcXL02.js";
|
|
4
|
+
import { Tt as backConvertToP3, t as animatedTime } from "./porters-OTkIMOyl.js";
|
|
5
|
+
import { O as noiseToneKColor, b as stops, f as rampOver, n as colorSpaceModeOf } from "./fields-DgADOKsP.js";
|
|
6
|
+
import { N as sin, n as add, w as mul } from "./math-D864seEs.js";
|
|
7
7
|
const reliefPos = typegpu_default.fn([
|
|
8
8
|
vec2f,
|
|
9
9
|
f32,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { vt as colorStopsPropConfig } from "./porters-
|
|
2
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { vt as colorStopsPropConfig } from "./porters-OTkIMOyl.js";
|
|
2
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CzFmhZww.js";
|
|
3
3
|
function noiseColorProps() {
|
|
4
4
|
return {
|
|
5
5
|
colorA: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as toneRemap } from "./tone-
|
|
3
|
-
import { Et as gradientStopsInSpace, wt as MAX_COLOR_STOPS } from "./porters-
|
|
1
|
+
import { Cr as sin, Gn as typegpu_default, Jr as i32, Ln as PI, Mr as vec4f, Or as vec2f, Pn as DEG_TO_RAD, Sn as mxNoiseFloat2, Tn as paper12, Tr as sqrt, Yt as fbmGated, _r as mix, ar as clamp, cr as dot, er as select, fr as floor, gr as min, hr as max, in as aspectOf, jr as vec3f, lr as exp, mn as curl22z, mr as length, or as cos, pn as curl22, pr as fract, qr as f32, tr as abs, wr as smoothstep, xr as round, yr as pow, zn as TAU, zr as arrayOf } from "./lower-Bd2jez_2.js";
|
|
2
|
+
import { a as toneRemap } from "./tone-BKhfiOBn.js";
|
|
3
|
+
import { Et as gradientStopsInSpace, wt as MAX_COLOR_STOPS } from "./porters-OTkIMOyl.js";
|
|
4
4
|
const cellHash2 = typegpu_default.fn([vec2f], vec2f)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
5
5
|
"use gpu";
|
|
6
6
|
return fract(sin(vec2f(dot(p, vec2f(127.1, 311.7)), dot(p, vec2f(269.5, 183.3)))).mul(43758.5453));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { St as createFeedbackTrailSim } from "./porters-
|
|
1
|
+
import { Ar as vec2u, Bn as TWO_PI$1, Br as struct, Cr as sin, Gn as typegpu_default, Jr as i32, Kn as textureDimensions, Lr as texture2d, Mr as vec4f, Ot as unpremultiplyAlpha, Rr as textureStorage2d, Tr as sqrt, Yn as textureStore, Yr as u32, _r as mix, ar as clamp, at as ZERO, er as select, fr as floor, gr as min, gt as formatFloat, hr as max, ht as Expr, lr as exp, or as cos, pr as fract, q as createGuardedCompute, qn as textureLoad, qr as f32, tr as abs } from "./lower-Bd2jez_2.js";
|
|
2
|
+
import { St as createFeedbackTrailSim } from "./porters-OTkIMOyl.js";
|
|
3
3
|
import { t as createSwappableMediaTexture } from "./mediaLifecycle-BTPb5i1-.js";
|
|
4
4
|
import { n as createFontDependentRaster, r as createRasterInvalidator, t as createCanvasRasterTarget } from "./canvasRaster-DDBkrdY8.js";
|
|
5
5
|
import { n as loadGoogleFont } from "./fonts-BUXTd9qb.js";
|