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,7 +1,7 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
3
|
import "../../mediaLifecycle-BTPb5i1-.js";
|
|
4
|
-
import "../../media-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-
|
|
4
|
+
import "../../media-DXUY3ltG.js";
|
|
5
|
+
import "../../transformations-CzFmhZww.js";
|
|
6
|
+
import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-DK3EaAHY.js";
|
|
7
7
|
export { componentDefinition, VideoTexture_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../transformations-
|
|
4
|
-
import "../../math-
|
|
5
|
-
import "../../filter-
|
|
6
|
-
import "../../mask-
|
|
7
|
-
import "../../slots-
|
|
8
|
-
import { n as componentDefinition, t as Vignette_default } from "../../Vignette-
|
|
3
|
+
import "../../transformations-CzFmhZww.js";
|
|
4
|
+
import "../../math-D864seEs.js";
|
|
5
|
+
import "../../filter-BrhpSs3Z.js";
|
|
6
|
+
import "../../mask-CeSwL79Q.js";
|
|
7
|
+
import "../../slots-BqIef2iV.js";
|
|
8
|
+
import { n as componentDefinition, t as Vignette_default } from "../../Vignette-hyFfUS20.js";
|
|
9
9
|
export { componentDefinition, Vignette_default as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../tone-
|
|
4
|
-
import "../../gradientPaints-
|
|
5
|
-
import "../../noisePaints-
|
|
6
|
-
import "../../lightfields-
|
|
7
|
-
import "../../porters-
|
|
3
|
+
import "../../tone-BKhfiOBn.js";
|
|
4
|
+
import "../../gradientPaints-5HpJVNfb.js";
|
|
5
|
+
import "../../noisePaints-CfHcXL02.js";
|
|
6
|
+
import "../../lightfields-DvrUaH_6.js";
|
|
7
|
+
import "../../porters-OTkIMOyl.js";
|
|
8
8
|
import "../../device-m0ud8-Fn.js";
|
|
9
|
-
import "../../fields-
|
|
10
|
-
import "../../noise-
|
|
11
|
-
import "../../transformations-
|
|
12
|
-
import "../../math-
|
|
13
|
-
import { n as componentDefinition, t as Voronoi_default } from "../../Voronoi-
|
|
9
|
+
import "../../fields-DgADOKsP.js";
|
|
10
|
+
import "../../noise-d7rmP9yc.js";
|
|
11
|
+
import "../../transformations-CzFmhZww.js";
|
|
12
|
+
import "../../math-D864seEs.js";
|
|
13
|
+
import { n as componentDefinition, t as Voronoi_default } from "../../Voronoi-DhexPwNM.js";
|
|
14
14
|
export { componentDefinition, Voronoi_default as default };
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { GpuShaderDefinition } from '../../gpu/porters';
|
|
2
|
+
import { transformPosition, transformColor } from '../../utilities/transformations';
|
|
3
|
+
import { BoundingBoxOrigin } from '../../types';
|
|
4
|
+
|
|
5
|
+
export interface ComponentProps {
|
|
6
|
+
/**
|
|
7
|
+
* Reference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
|
|
8
|
+
*
|
|
9
|
+
* @default "center"
|
|
10
|
+
*/
|
|
11
|
+
origin: BoundingBoxOrigin;
|
|
12
|
+
/**
|
|
13
|
+
* Center position of the voxel model
|
|
14
|
+
*
|
|
15
|
+
* Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`.
|
|
16
|
+
* @default {"x":0.5,"y":0.5}
|
|
17
|
+
*/
|
|
18
|
+
center: Parameters<typeof transformPosition>[0];
|
|
19
|
+
/**
|
|
20
|
+
* Scale of the voxel model (1 = default size)
|
|
21
|
+
*
|
|
22
|
+
* Accepts a number between 0.1 and 3.
|
|
23
|
+
* @default 1
|
|
24
|
+
*/
|
|
25
|
+
scale: number;
|
|
26
|
+
/**
|
|
27
|
+
* Rotation of the voxel model in degrees
|
|
28
|
+
*
|
|
29
|
+
* Accepts a number between 0 and 360.
|
|
30
|
+
* @default 0
|
|
31
|
+
*/
|
|
32
|
+
rotation: number;
|
|
33
|
+
/**
|
|
34
|
+
* Edge length of one voxel relative to the shape field — small for fine detail, large for chunky blocks
|
|
35
|
+
*
|
|
36
|
+
* Accepts a number between 0.006 and 0.15.
|
|
37
|
+
* @default 0.035
|
|
38
|
+
*/
|
|
39
|
+
voxelSize: number;
|
|
40
|
+
/**
|
|
41
|
+
* What each cell is built from: hard cubes, rounded cubes (see Bevel) or spheres
|
|
42
|
+
*
|
|
43
|
+
* Accepts one of: `"cube"`, `"rounded"`, `"sphere"`.
|
|
44
|
+
* @default "cube"
|
|
45
|
+
*/
|
|
46
|
+
voxelShape: string;
|
|
47
|
+
/**
|
|
48
|
+
* Size of each voxel inside its cell — 1 = touching neighbours, lower opens gaps between the blocks
|
|
49
|
+
*
|
|
50
|
+
* Accepts a number between 0.3 and 1.
|
|
51
|
+
* @default 1
|
|
52
|
+
*/
|
|
53
|
+
voxelScale: number;
|
|
54
|
+
/**
|
|
55
|
+
* How eagerly cells fill in along the surface — negative carves a thinner model, positive puffs it out
|
|
56
|
+
*
|
|
57
|
+
* Accepts a number between -0.5 and 0.5.
|
|
58
|
+
* @default 0
|
|
59
|
+
*/
|
|
60
|
+
fill: number;
|
|
61
|
+
/**
|
|
62
|
+
* Edge rounding of each voxel as a fraction of its size — a hairline chamfer catching light on cubes, the corner radius of rounded cubes
|
|
63
|
+
*
|
|
64
|
+
* Accepts a number between 0 and 1.
|
|
65
|
+
* @default 0.08
|
|
66
|
+
*/
|
|
67
|
+
bevel: number;
|
|
68
|
+
/**
|
|
69
|
+
* Thickness given to flat shapes (2D shapes and flat SVGs) so they become a slab of voxels — 3D shapes ignore it
|
|
70
|
+
*
|
|
71
|
+
* Accepts a number between 0.01 and 0.6.
|
|
72
|
+
* @default 0.12
|
|
73
|
+
*/
|
|
74
|
+
depth: number;
|
|
75
|
+
/**
|
|
76
|
+
* Model: the grid rotates with the shape like a built voxel model. Screen: the grid is fixed to the canvas and the shape moves through it like a 3D pixelation
|
|
77
|
+
*
|
|
78
|
+
* Accepts one of: `"shape"`, `"view"`.
|
|
79
|
+
* @default "shape"
|
|
80
|
+
*/
|
|
81
|
+
gridSpace: string;
|
|
82
|
+
/**
|
|
83
|
+
* Base colour of the voxels (the first colour of the palette mode)
|
|
84
|
+
*
|
|
85
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
86
|
+
* @default "#6ea8ff"
|
|
87
|
+
*/
|
|
88
|
+
colorA: Parameters<typeof transformColor>[0];
|
|
89
|
+
/**
|
|
90
|
+
* Second palette colour — blended in by height, depth, per voxel or on the side faces
|
|
91
|
+
*
|
|
92
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
93
|
+
* @default "#1d2b4f"
|
|
94
|
+
*/
|
|
95
|
+
colorB: Parameters<typeof transformColor>[0];
|
|
96
|
+
/**
|
|
97
|
+
* How the two colours are laid over the model: one solid colour, a gradient by height or depth, a random pick per voxel, or Color A on top faces and Color B on the sides
|
|
98
|
+
*
|
|
99
|
+
* Accepts one of: `"solid"`, `"height"`, `"depth"`, `"random"`, `"faces"`.
|
|
100
|
+
* @default "height"
|
|
101
|
+
*/
|
|
102
|
+
colorMode: string;
|
|
103
|
+
/**
|
|
104
|
+
* Per-voxel tonal jitter — the slightly-off shades that make blocks read as individual bricks
|
|
105
|
+
*
|
|
106
|
+
* @default 0.25
|
|
107
|
+
*/
|
|
108
|
+
colorVariation: number;
|
|
109
|
+
/**
|
|
110
|
+
* Color space for color interpolation
|
|
111
|
+
*
|
|
112
|
+
* Accepts one of the predefined option values.
|
|
113
|
+
* @default "oklab"
|
|
114
|
+
*/
|
|
115
|
+
colorSpace: string;
|
|
116
|
+
/**
|
|
117
|
+
* Direction the key light comes from, in degrees around the canvas — shadows fall away from it
|
|
118
|
+
*
|
|
119
|
+
* @default 225
|
|
120
|
+
*/
|
|
121
|
+
lightAngle: number;
|
|
122
|
+
/**
|
|
123
|
+
* How high the key light sits above the canvas — low for long raking shadows, high for a flat top-down light
|
|
124
|
+
*
|
|
125
|
+
* @default 42
|
|
126
|
+
*/
|
|
127
|
+
lightElevation: number;
|
|
128
|
+
/**
|
|
129
|
+
* Colour of the key light
|
|
130
|
+
*
|
|
131
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
132
|
+
* @default "#fff2df"
|
|
133
|
+
*/
|
|
134
|
+
lightColor: Parameters<typeof transformColor>[0];
|
|
135
|
+
/**
|
|
136
|
+
* Strength of the key light
|
|
137
|
+
*
|
|
138
|
+
* @default 1.1
|
|
139
|
+
*/
|
|
140
|
+
lightIntensity: number;
|
|
141
|
+
/**
|
|
142
|
+
* Sky colour of the ambient light — the fill on faces the key light misses
|
|
143
|
+
*
|
|
144
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
145
|
+
* @default "#9fb4d8"
|
|
146
|
+
*/
|
|
147
|
+
ambientColor: Parameters<typeof transformColor>[0];
|
|
148
|
+
/**
|
|
149
|
+
* Strength of the ambient sky/ground fill
|
|
150
|
+
*
|
|
151
|
+
* @default 0.55
|
|
152
|
+
*/
|
|
153
|
+
ambient: number;
|
|
154
|
+
/**
|
|
155
|
+
* Darkness of the shadows voxels cast onto each other
|
|
156
|
+
*
|
|
157
|
+
* @default 0.85
|
|
158
|
+
*/
|
|
159
|
+
shadows: number;
|
|
160
|
+
/**
|
|
161
|
+
* Penumbra of the cast shadows — 0 is razor sharp, higher spreads the light into a soft area source whose shadows sharpen at contact
|
|
162
|
+
*
|
|
163
|
+
* @default 0.35
|
|
164
|
+
*/
|
|
165
|
+
shadowSoftness: number;
|
|
166
|
+
/**
|
|
167
|
+
* Ambient occlusion in the creases between voxels — the soft contact darkening that sells the geometry
|
|
168
|
+
*
|
|
169
|
+
* @default 1
|
|
170
|
+
*/
|
|
171
|
+
ao: number;
|
|
172
|
+
/**
|
|
173
|
+
* How tight the specular highlight is — satin plastic at 0, lacquered at 1
|
|
174
|
+
*
|
|
175
|
+
* @default 0.35
|
|
176
|
+
*/
|
|
177
|
+
glossiness: number;
|
|
178
|
+
/**
|
|
179
|
+
* Strength of the specular highlight and the fresnel rim on grazing faces
|
|
180
|
+
*
|
|
181
|
+
* @default 0.6
|
|
182
|
+
*/
|
|
183
|
+
specular: number;
|
|
184
|
+
/**
|
|
185
|
+
* Dark seam lines along every voxel edge — 0 for seamless blocks, higher for a drawn-outline brick look
|
|
186
|
+
*
|
|
187
|
+
* @default 0.2
|
|
188
|
+
*/
|
|
189
|
+
seams: number;
|
|
190
|
+
/**
|
|
191
|
+
* Serialized shape configuration (JSON)
|
|
192
|
+
*
|
|
193
|
+
* @default "DEFAULT_SHAPE_CONFIG"
|
|
194
|
+
*/
|
|
195
|
+
shape: string | Record<string, unknown>;
|
|
196
|
+
/**
|
|
197
|
+
* URL to a pre-generated SDF .bin file
|
|
198
|
+
*
|
|
199
|
+
* @default ""
|
|
200
|
+
*/
|
|
201
|
+
shapeSdfUrl: string;
|
|
202
|
+
/**
|
|
203
|
+
* Active SDF shape type
|
|
204
|
+
*
|
|
205
|
+
* @default ""
|
|
206
|
+
*/
|
|
207
|
+
shapeType: string;
|
|
208
|
+
}
|
|
209
|
+
export declare const componentDefinition: GpuShaderDefinition<ComponentProps>;
|
|
210
|
+
export default componentDefinition;
|
|
211
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Voxels/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAO,MAAM,uBAAuB,CAAA;AAOpE,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAyC,MAAM,qCAAqC,CAAA;AAG7H,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AAkBtD,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;I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-BKhfiOBn.js";
|
|
4
|
+
import "../../gradientPaints-5HpJVNfb.js";
|
|
5
|
+
import "../../lightfields-DvrUaH_6.js";
|
|
6
|
+
import "../../porters-OTkIMOyl.js";
|
|
7
|
+
import "../../materials-9wjBrzQO.js";
|
|
8
|
+
import "../../device-m0ud8-Fn.js";
|
|
9
|
+
import "../../fields-DgADOKsP.js";
|
|
10
|
+
import "../../sdf3d-sya0j8F2.js";
|
|
11
|
+
import { n as componentDefinition, t as Voxels_default } from "../../Voxels-CIfWtuUp.js";
|
|
12
|
+
import "../../glass-ABppDbYG.js";
|
|
13
|
+
import "../../transformations-CzFmhZww.js";
|
|
14
|
+
import "../../math-D864seEs.js";
|
|
15
|
+
export { componentDefinition, Voxels_default as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../materials-
|
|
3
|
+
import "../../porters-OTkIMOyl.js";
|
|
4
|
+
import "../../materials-9wjBrzQO.js";
|
|
5
5
|
import "../../device-m0ud8-Fn.js";
|
|
6
|
-
import "../../sdf3d-
|
|
7
|
-
import "../../glass-
|
|
8
|
-
import "../../transformations-
|
|
9
|
-
import "../../math-
|
|
10
|
-
import "../../frames-
|
|
11
|
-
import { n as componentDefinition, t as Water_default } from "../../Water-
|
|
6
|
+
import "../../sdf3d-sya0j8F2.js";
|
|
7
|
+
import "../../glass-ABppDbYG.js";
|
|
8
|
+
import "../../transformations-CzFmhZww.js";
|
|
9
|
+
import "../../math-D864seEs.js";
|
|
10
|
+
import "../../frames-BLqt7oaW.js";
|
|
11
|
+
import { n as componentDefinition, t as Water_default } from "../../Water-CnzSPBJI.js";
|
|
12
12
|
export { componentDefinition, Water_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../stylize-
|
|
3
|
+
import "../../porters-OTkIMOyl.js";
|
|
4
|
+
import "../../stylize-DiuoSq16.js";
|
|
5
5
|
import "../../device-m0ud8-Fn.js";
|
|
6
|
-
import "../../transformations-
|
|
7
|
-
import "../../math-
|
|
8
|
-
import "../../filter-
|
|
9
|
-
import "../../slots-
|
|
10
|
-
import { n as componentDefinition, t as Watercolor_default } from "../../Watercolor-
|
|
6
|
+
import "../../transformations-CzFmhZww.js";
|
|
7
|
+
import "../../math-D864seEs.js";
|
|
8
|
+
import "../../filter-BrhpSs3Z.js";
|
|
9
|
+
import "../../slots-BqIef2iV.js";
|
|
10
|
+
import { n as componentDefinition, t as Watercolor_default } from "../../Watercolor-C1HipGGO.js";
|
|
11
11
|
export { componentDefinition, Watercolor_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../warpMaps-
|
|
3
|
+
import "../../porters-OTkIMOyl.js";
|
|
4
|
+
import "../../warpMaps-Y8xSo-QJ.js";
|
|
5
5
|
import "../../device-m0ud8-Fn.js";
|
|
6
|
-
import "../../transformations-
|
|
7
|
-
import "../../warps-
|
|
8
|
-
import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-
|
|
6
|
+
import "../../transformations-CzFmhZww.js";
|
|
7
|
+
import "../../warps-P5O3NWLe.js";
|
|
8
|
+
import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-VXyHFcJ3.js";
|
|
9
9
|
export { componentDefinition, WaveDistortion_default as default };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../tone-
|
|
4
|
-
import "../../gradientPaints-
|
|
5
|
-
import "../../noisePaints-
|
|
6
|
-
import "../../lightfields-
|
|
7
|
-
import "../../porters-
|
|
3
|
+
import "../../tone-BKhfiOBn.js";
|
|
4
|
+
import "../../gradientPaints-5HpJVNfb.js";
|
|
5
|
+
import "../../noisePaints-CfHcXL02.js";
|
|
6
|
+
import "../../lightfields-DvrUaH_6.js";
|
|
7
|
+
import "../../porters-OTkIMOyl.js";
|
|
8
8
|
import "../../device-m0ud8-Fn.js";
|
|
9
|
-
import "../../fields-
|
|
10
|
-
import "../../noise-
|
|
11
|
-
import "../../transformations-
|
|
12
|
-
import "../../math-
|
|
13
|
-
import "../../mask-
|
|
14
|
-
import "../../shape-
|
|
15
|
-
import "../../frames-
|
|
16
|
-
import { n as componentDefinition, t as Waveform_default } from "../../Waveform-
|
|
9
|
+
import "../../fields-DgADOKsP.js";
|
|
10
|
+
import "../../noise-d7rmP9yc.js";
|
|
11
|
+
import "../../transformations-CzFmhZww.js";
|
|
12
|
+
import "../../math-D864seEs.js";
|
|
13
|
+
import "../../mask-CeSwL79Q.js";
|
|
14
|
+
import "../../shape-CAkSlCi8.js";
|
|
15
|
+
import "../../frames-BLqt7oaW.js";
|
|
16
|
+
import { n as componentDefinition, t as Waveform_default } from "../../Waveform-CSP_4nZF.js";
|
|
17
17
|
export { componentDefinition, Waveform_default as default };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../tone-
|
|
4
|
-
import "../../gradientPaints-
|
|
5
|
-
import "../../noisePaints-
|
|
6
|
-
import "../../lightfields-
|
|
7
|
-
import "../../porters-
|
|
3
|
+
import "../../tone-BKhfiOBn.js";
|
|
4
|
+
import "../../gradientPaints-5HpJVNfb.js";
|
|
5
|
+
import "../../noisePaints-CfHcXL02.js";
|
|
6
|
+
import "../../lightfields-DvrUaH_6.js";
|
|
7
|
+
import "../../porters-OTkIMOyl.js";
|
|
8
8
|
import "../../device-m0ud8-Fn.js";
|
|
9
|
-
import "../../fields-
|
|
10
|
-
import "../../noise-
|
|
11
|
-
import "../../transformations-
|
|
12
|
-
import "../../math-
|
|
13
|
-
import "../../noiseColor-
|
|
14
|
-
import { n as componentDefinition, t as WaveletNoise_default } from "../../WaveletNoise-
|
|
9
|
+
import "../../fields-DgADOKsP.js";
|
|
10
|
+
import "../../noise-d7rmP9yc.js";
|
|
11
|
+
import "../../transformations-CzFmhZww.js";
|
|
12
|
+
import "../../math-D864seEs.js";
|
|
13
|
+
import "../../noiseColor-DuWjYRmO.js";
|
|
14
|
+
import { n as componentDefinition, t as WaveletNoise_default } from "../../WaveletNoise-CQqAufyv.js";
|
|
15
15
|
export { componentDefinition, WaveletNoise_default as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../tone-
|
|
4
|
-
import "../../patterns-
|
|
5
|
-
import "../../gradientPaints-
|
|
6
|
-
import "../../lightfields-
|
|
7
|
-
import "../../porters-
|
|
3
|
+
import "../../tone-BKhfiOBn.js";
|
|
4
|
+
import "../../patterns-Bg8lSdqH.js";
|
|
5
|
+
import "../../gradientPaints-5HpJVNfb.js";
|
|
6
|
+
import "../../lightfields-DvrUaH_6.js";
|
|
7
|
+
import "../../porters-OTkIMOyl.js";
|
|
8
8
|
import "../../device-m0ud8-Fn.js";
|
|
9
|
-
import "../../fields-
|
|
10
|
-
import "../../transformations-
|
|
11
|
-
import "../../math-
|
|
12
|
-
import "../../filter-
|
|
13
|
-
import { n as componentDefinition, t as Weave_default } from "../../Weave-
|
|
9
|
+
import "../../fields-DgADOKsP.js";
|
|
10
|
+
import "../../transformations-CzFmhZww.js";
|
|
11
|
+
import "../../math-D864seEs.js";
|
|
12
|
+
import "../../filter-BrhpSs3Z.js";
|
|
13
|
+
import { n as componentDefinition, t as Weave_default } from "../../Weave-DwX8T4_Q.js";
|
|
14
14
|
export { componentDefinition, Weave_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
3
|
import "../../mediaLifecycle-BTPb5i1-.js";
|
|
4
|
-
import "../../media-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-
|
|
4
|
+
import "../../media-DXUY3ltG.js";
|
|
5
|
+
import "../../transformations-CzFmhZww.js";
|
|
6
|
+
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-B4SLwIP1.js";
|
|
7
7
|
export { componentDefinition, WebcamTexture_default as default };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../tone-
|
|
4
|
-
import "../../gradientPaints-
|
|
5
|
-
import "../../noisePaints-
|
|
6
|
-
import "../../lightfields-
|
|
7
|
-
import "../../porters-
|
|
3
|
+
import "../../tone-BKhfiOBn.js";
|
|
4
|
+
import "../../gradientPaints-5HpJVNfb.js";
|
|
5
|
+
import "../../noisePaints-CfHcXL02.js";
|
|
6
|
+
import "../../lightfields-DvrUaH_6.js";
|
|
7
|
+
import "../../porters-OTkIMOyl.js";
|
|
8
8
|
import "../../device-m0ud8-Fn.js";
|
|
9
|
-
import "../../fields-
|
|
10
|
-
import "../../noise-
|
|
11
|
-
import "../../transformations-
|
|
12
|
-
import "../../math-
|
|
13
|
-
import "../../noiseStylize-
|
|
14
|
-
import { n as componentDefinition, t as Wool_default } from "../../Wool-
|
|
9
|
+
import "../../fields-DgADOKsP.js";
|
|
10
|
+
import "../../noise-d7rmP9yc.js";
|
|
11
|
+
import "../../transformations-CzFmhZww.js";
|
|
12
|
+
import "../../math-D864seEs.js";
|
|
13
|
+
import "../../noiseStylize-CUrW_HiC.js";
|
|
14
|
+
import { n as componentDefinition, t as Wool_default } from "../../Wool-qg-z_TFC.js";
|
|
15
15
|
export { componentDefinition, Wool_default as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../tone-
|
|
4
|
-
import "../../gradientPaints-
|
|
5
|
-
import "../../noisePaints-
|
|
6
|
-
import "../../lightfields-
|
|
7
|
-
import "../../porters-
|
|
3
|
+
import "../../tone-BKhfiOBn.js";
|
|
4
|
+
import "../../gradientPaints-5HpJVNfb.js";
|
|
5
|
+
import "../../noisePaints-CfHcXL02.js";
|
|
6
|
+
import "../../lightfields-DvrUaH_6.js";
|
|
7
|
+
import "../../porters-OTkIMOyl.js";
|
|
8
8
|
import "../../device-m0ud8-Fn.js";
|
|
9
|
-
import "../../fields-
|
|
10
|
-
import { A as worleyHash } from "../../noise-
|
|
11
|
-
import "../../transformations-
|
|
12
|
-
import "../../math-
|
|
13
|
-
import { n as componentDefinition, t as WorleyNoise_default } from "../../WorleyNoise-
|
|
9
|
+
import "../../fields-DgADOKsP.js";
|
|
10
|
+
import { A as worleyHash } from "../../noise-d7rmP9yc.js";
|
|
11
|
+
import "../../transformations-CzFmhZww.js";
|
|
12
|
+
import "../../math-D864seEs.js";
|
|
13
|
+
import { n as componentDefinition, t as WorleyNoise_default } from "../../WorleyNoise-CjVw20Fl.js";
|
|
14
14
|
export { componentDefinition, WorleyNoise_default as default, worleyHash };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../../lower-
|
|
1
|
+
import "../../lower-Bd2jez_2.js";
|
|
2
2
|
import "../../support-GJphyuEe.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../warpMaps-
|
|
5
|
-
import "../../blur-
|
|
6
|
-
import "../../motionBlur-
|
|
3
|
+
import "../../porters-OTkIMOyl.js";
|
|
4
|
+
import "../../warpMaps-Y8xSo-QJ.js";
|
|
5
|
+
import "../../blur-7yjVyMvI.js";
|
|
6
|
+
import "../../motionBlur-g_WSi2iq.js";
|
|
7
7
|
import "../../device-m0ud8-Fn.js";
|
|
8
|
-
import "../../transformations-
|
|
9
|
-
import "../../blurs-
|
|
10
|
-
import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-
|
|
8
|
+
import "../../transformations-CzFmhZww.js";
|
|
9
|
+
import "../../blurs-d4B9aUyx.js";
|
|
10
|
+
import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-Lm_pVpMf.js";
|
|
11
11
|
export { componentDefinition, ZoomBlur_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as heartSdf, B as vesicaSdf, E as crossSdf, F as roundedRectSdf, L as starSdf, N as polygonSdf, O as ellipseSdf, P as ringSdf, R as teardropSdf, T as crescentSdf, b as circleSdf, ct as call, ft as floatE, h as APERTURE_TO_HALFANGLE, j as parallelogramSdf, k as flowerSdf, v as arcSdf, z as trapezoidSdf } from "./lower-Bd2jez_2.js";
|
|
2
2
|
var toE = (v) => typeof v === "number" ? floatE(v) : v;
|
|
3
3
|
var field = (fn, hint) => (...args) => call(fn, hint, args.map(toE));
|
|
4
4
|
const circle = field(circleSdf, "circleSdf");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as luma601Dot } from "./tone-
|
|
3
|
-
import { a as chromaticRingBand, l as radialGaussianFalloff, t as angularCosineSpikes } from "./lightfields-
|
|
1
|
+
import { Br as struct, Cr as sin, Gn as typegpu_default, Mr as vec4f, Or as vec2f, Pn as DEG_TO_RAD, Tr as sqrt, _r as mix, ar as clamp, en as aspectCenteredDelta, er as select, fr as floor, gr as min, hr as max, in as aspectOf, jr as vec3f, ln as rotate2, lr as exp, mr as length, nn as aspectCorrectedUV, or as cos, qr as f32, rr as atan2, tn as aspectCentrePosition, tr as abs, wr as smoothstep, zn as TAU } from "./lower-Bd2jez_2.js";
|
|
2
|
+
import { t as luma601Dot } from "./tone-BKhfiOBn.js";
|
|
3
|
+
import { a as chromaticRingBand, l as radialGaussianFalloff, t as angularCosineSpikes } from "./lightfields-DvrUaH_6.js";
|
|
4
4
|
var EPS = 1e-5;
|
|
5
5
|
const segmentArcPerp = typegpu_default.fn([
|
|
6
6
|
vec2f,
|
|
@@ -205,6 +205,30 @@ export declare function scatterField(opts: {
|
|
|
205
205
|
aspect: Expr | number;
|
|
206
206
|
time: Expr | number;
|
|
207
207
|
softness: Expr | number;
|
|
208
|
+
/**
|
|
209
|
+
* The constellation pre-computed on the CPU (see {@link scatteredAnchors}) — an
|
|
210
|
+
* `array<vec4f, 4>` extraField holding the 8 anchors packed 4-per-vec4. When given, the GPU
|
|
211
|
+
* skips re-deriving every anchor per pixel (`drift`/`aspect`/`time` are then read on the CPU
|
|
212
|
+
* side and ignored here).
|
|
213
|
+
*/
|
|
214
|
+
anchors?: Expr;
|
|
215
|
+
}): Expr;
|
|
216
|
+
/**
|
|
217
|
+
* `scatteredAnchors` — drive an `array<vec4f, 4>` extraField with the {@link scatterField}
|
|
218
|
+
* constellation, computed ONCE per frame on the CPU (the pixel-invariant half of the field:
|
|
219
|
+
* 8 anchor positions from count/seed/drift/aspect/animated time). The definition declares
|
|
220
|
+
* `extraFields: {<field>: {schema: schema.arrayOf(schema.vec4f, 4), initial: 16 zeros}}`; this word
|
|
221
|
+
* registers the per-frame writer and returns the field's GPU accessor to pass as
|
|
222
|
+
* `scatterField({anchors})`. Reads the node's live `_animTime` (the same accumulator the GPU
|
|
223
|
+
* warp reads), so anchors and warp stay on one clock. Dirty-keyed: a static composition (speed 0,
|
|
224
|
+
* no edits) writes nothing. In a GPU-free composition (tests) `_animTime` is unavailable and the
|
|
225
|
+
* field keeps its initial value.
|
|
226
|
+
*/
|
|
227
|
+
export declare function scatteredAnchors(params: GpuFragmentParams, slots: {
|
|
228
|
+
count: PropRef;
|
|
229
|
+
seed: PropRef;
|
|
230
|
+
drift: PropRef;
|
|
231
|
+
field: string;
|
|
208
232
|
}): Expr;
|
|
209
233
|
/**
|
|
210
234
|
* `wrapRamp` — traverse a palette through `cycles` half-cycles as `t` rises, folding back at the
|
|
@@ -231,6 +255,7 @@ export declare function warpedPoint(opts: {
|
|
|
231
255
|
at: Expr;
|
|
232
256
|
time: Expr | number;
|
|
233
257
|
amount: Expr | number;
|
|
258
|
+
levels?: 1 | 2;
|
|
234
259
|
}): Expr;
|
|
235
260
|
/**
|
|
236
261
|
* `warpStep` — one chained Inigo-Quilez domain-warp level: displace a position by two
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/std/paint/fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAC,IAAI,EAAE,iBAAiB,EAAC,MAAM,oBAAoB,CAAA;AAK/D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AAEtC,OAAO,EAA2B,KAAK,OAAO,EAAC,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/std/paint/fields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAC,IAAI,EAAE,iBAAiB,EAAC,MAAM,oBAAoB,CAAA;AAK/D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AAEtC,OAAO,EAA2B,KAAK,OAAO,EAAC,MAAM,WAAW,CAAA;AAIhE,wFAAwF;AACxF,MAAM,MAAM,KAAK,GAAG,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAA;AAEvD,wGAAwG;AACxG,MAAM,MAAM,KAAK,GAAG,CAAC,MAAM,EAAE,iBAAiB,EA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,CAAA;IACb,CAAC,EAAE,IAAI,GAAG,MAAM,CAAA;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IAC7C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,IAAI,GAAG,MAAM,CAAA;CAC1B,GAAG,IAAI,CAQP;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAExE;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAAC,CAAC,EAAE,OAAO,CAAC;IAAC,CAAC,EAAE,OAAO,CAAC;IAAC,CAAC,EAAE,OAAO,CAAC;IAAC,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAC,QACjF,IAAI,MAAM,IAAI,UAAU,iBAAiB,KAAG,IAAI,CAsC/D"}
|
|
@@ -31,6 +31,9 @@ export interface SurfaceFrame {
|
|
|
31
31
|
sampler: (uv: Expr) => Expr;
|
|
32
32
|
/** Neighbour-tap sampler (cheap bilinear on the volumetric path unless `gradSampler: 'same'`). */
|
|
33
33
|
gradSampler: (uv: Expr) => Expr;
|
|
34
|
+
/** Unfiltered nearest-texel tap — for discrete payload a pre-march packs into the field
|
|
35
|
+
* (the voxel G-buffer's face/cell channels). Aliases `sampler` on the flat paths. */
|
|
36
|
+
texelSampler: (uv: Expr) => Expr;
|
|
34
37
|
/** Build-time: the active shape resolved to the compute-marched volumetric path. */
|
|
35
38
|
volumetric: boolean;
|
|
36
39
|
/** `volumetric` as the runtime 0/1 f32 the composite bodies `std.select` on. */
|