shaders 3.1.457 → 3.1.458
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-CIw_xeFr.js → AngularBlur-BzY7RJ8k.js} +16 -32
- package/dist/core/{Arc-Dh0gjBrJ.js → Arc-mmJuqIrG.js} +15 -26
- package/dist/core/{Ascii-CUk527uY.js → Ascii-D67jsGPT.js} +64 -165
- package/dist/core/{Aurora-CJ7evt-F.js → Aurora-CpHlaOfW.js} +93 -289
- package/dist/core/{BarShift-BrOamln6.js → BarShift-B9wsOKYJ.js} +33 -68
- package/dist/core/{BarnDoors-D_lVAMPJ.js → BarnDoors-C7Uzc1at.js} +16 -28
- package/dist/core/{Beam-KKNLzfKR.js → Beam-8CoTk23e.js} +22 -62
- package/dist/core/{Bend-CRuu6NuH.js → Bend-BYVoLE8C.js} +50 -161
- package/dist/core/{Blob-1mhEIcv5.js → Blob--way9kNy.js} +62 -189
- package/dist/core/{BlockDissolve-B9xWZC6U.js → BlockDissolve-f5fwwXWH.js} +17 -32
- package/dist/core/{BlockNoise-DQUBYM1N.js → BlockNoise-BpIuLPlC.js} +17 -29
- package/dist/core/{BlueNoise-BN1q4V6k.js → BlueNoise-C2tYHQRB.js} +14 -23
- package/dist/core/{Blur-Bc8evwsz.js → Blur-CmE46Bvp.js} +41 -114
- package/dist/core/{Boids-C7NstB5L.js → Boids-BgsVOmp1.js} +227 -734
- package/dist/core/{BokehBlur-CWQm00ut.js → BokehBlur-CU5Qphip.js} +197 -722
- package/dist/core/{BrickPattern-CIejlS9-.js → BrickPattern-BIpInb0P.js} +41 -99
- package/dist/core/{BrightnessContrast-Bs8AV0he.js → BrightnessContrast-BAJYnvFu.js} +12 -22
- package/dist/core/{BrushedMetal-D2X_nM8z.js → BrushedMetal-C4a9G-dt.js} +113 -358
- package/dist/core/{Bulge-CdhRTWSH.js → Bulge-C7eYFYDP.js} +19 -46
- package/dist/core/{CRTScreen-BxnPxDw9.js → CRTScreen-CfCxUiP4.js} +34 -94
- package/dist/core/{CarbonFiber-BFogRBFa.js → CarbonFiber-CDWj-Oc3.js} +123 -420
- package/dist/core/{Chalkboard-DEuq4TWm.js → Chalkboard-BfiyhSfN.js} +86 -212
- package/dist/core/{ChannelBlur-Oz40DKPZ.js → ChannelBlur-D2pxXWLQ.js} +17 -45
- package/dist/core/{CheckerWipe-yv4dK6n5.js → CheckerWipe-Cxy0pc7v.js} +18 -36
- package/dist/core/{Checkerboard-BFFF9ajX.js → Checkerboard-Bdaf19G4.js} +12 -17
- package/dist/core/{Chevron-BHbGhnrT.js → Chevron-BsdILsaY.js} +28 -57
- package/dist/core/{ChromaFlow-BXw1jQkn.js → ChromaFlow-DGTgGdzI.js} +31 -86
- package/dist/core/{ChromaticAberration-CWhYEGDU.js → ChromaticAberration-npr_Zzu7.js} +15 -30
- package/dist/core/{Chrome-DdV9RY9D.js → Chrome-DirY2YRZ.js} +156 -546
- package/dist/core/{Circle-DGvP0Svo.js → Circle-CLO08218.js} +15 -31
- package/dist/core/{ColorWheel-BOfvt3mc.js → ColorWheel-D5Hfl4t7.js} +57 -128
- package/dist/core/{CompressionArtifacts-Cm0iOzys.js → CompressionArtifacts-DVlRMU-H.js} +119 -374
- package/dist/core/{ConcentricSpin-B3GHzoS1.js → ConcentricSpin-Dls_rak9.js} +41 -98
- package/dist/core/{ConicGradient-1RKI-gOR.js → ConicGradient-BjVmRAul.js} +18 -31
- package/dist/core/{ContourLines-DDzxvg9k.js → ContourLines-BKcyS-lX.js} +37 -81
- package/dist/core/{CornerPin-VFPI_Jzq.js → CornerPin-CrTdyHSy.js} +96 -268
- package/dist/core/{Crescent-DL6EeZZp.js → Crescent-C77DCA2i.js} +14 -23
- package/dist/core/{Cross-DQIgZt-C.js → Cross-C8SURmac.js} +14 -23
- package/dist/core/{Crystal-CB_U2g2k.js → Crystal-WbJgiOqh.js} +206 -753
- package/dist/core/{CurlNoise-FmbuZEYt.js → CurlNoise-BiFV2K5L.js} +17 -34
- package/dist/core/{CursorRipples-C1hLNWzZ.js → CursorRipples-hIYlb09k.js} +73 -200
- package/dist/core/{CursorTrail-CPW8orHG.js → CursorTrail-CjTJ9OJ0.js} +81 -172
- package/dist/core/{DataMosh-C_esIK54.js → DataMosh-Cmo5-E5_.js} +134 -521
- package/dist/core/{DiamondGradient-CjnjxWEM.js → DiamondGradient-DIxg1EP9.js} +31 -66
- package/dist/core/{DiamondWipe-Cscn7Dyy.js → DiamondWipe-D4T1q5ia.js} +17 -36
- package/dist/core/{DiffuseBlur-DmPHOfr_.js → DiffuseBlur-okj7zVss.js} +13 -22
- package/dist/core/{DisplacementMap-B-cVoGbC.js → DisplacementMap-CHB6_h0f.js} +31 -69
- package/dist/core/{Dither-CBsFenFW.js → Dither-DTnkeWP0.js} +161 -438
- package/dist/core/{DotGrid-CbxlW08N.js → DotGrid-BJBEwt4L.js} +36 -77
- package/dist/core/{DropShadow-B4msUftn.js → DropShadow-CPT5vr4K.js} +39 -86
- package/dist/core/{Duotone-DF3dn0kC.js → Duotone-BWuTPBIw.js} +14 -26
- package/dist/core/{Ellipse-WuGsM7Gr.js → Ellipse-gVe3stQJ.js} +14 -23
- package/dist/core/{Emboss-D5RYAc-U.js → Emboss-DOPfz-ox.js} +85 -200
- package/dist/core/{Engraving-CmNKAHmF.js → Engraving-YNrPy-c7.js} +82 -222
- package/dist/core/{ErosionNoise-DdHtOQl4.js → ErosionNoise-X_2sjC-x.js} +14 -23
- package/dist/core/{Exposure-BSsbosYN.js → Exposure-xVgsHAWw.js} +7 -12
- package/dist/core/{FallingLines-1q5WgiKa.js → FallingLines-DPHJRCvy.js} +68 -205
- package/dist/core/{FilmGrain-CgvcPFDC.js → FilmGrain-CDuL4T8C.js} +22 -51
- package/dist/core/{FilmStock-Bgn9OyQY.js → FilmStock-BmMC2ewO.js} +89 -264
- package/dist/core/{Flip-DJuox9qR.js → Flip-DhpEvnT7.js} +13 -26
- package/dist/core/{FloatingParticles-BGig0_Ks.js → FloatingParticles-Dx3J-Pbe.js} +177 -459
- package/dist/core/{FlowField-0I_PwtkD.js → FlowField-CLbiu5Xo.js} +38 -120
- package/dist/core/{Flower--1qeeCuA.js → Flower-nF4Zq0eP.js} +14 -23
- package/dist/core/{FlowingGradient-DMZ1E9ix.js → FlowingGradient-aNCwZ9nh.js} +61 -185
- package/dist/core/{FlutedGlass-CqSVa4kd.js → FlutedGlass-m19MvmKj.js} +44 -124
- package/dist/core/{Fog-DxFsHnT2.js → Fog-DVclS-y4.js} +125 -330
- package/dist/core/{Form3D-CabM27VZ.js → Form3D-Cv6l3hHQ.js} +328 -974
- package/dist/core/{FractalNoise-DPhwf7-X.js → FractalNoise-BMRqE4LG.js} +26 -55
- package/dist/core/{Frost-BL4zkGjj.js → Frost-Cqc7t9TR.js} +115 -422
- package/dist/core/{GaborNoise-GkEvNPeg.js → GaborNoise-BL4TH_Yh.js} +15 -24
- package/dist/core/{Glass-DPa3OWjZ.js → Glass-D5jcM7J7.js} +6 -6
- package/dist/core/{GlassTiles-B4Y8x78X.js → GlassTiles-BeKB3vfh.js} +29 -90
- package/dist/core/{Glitch-D-QTlz5D.js → Glitch-BmJj_vgQ.js} +83 -295
- package/dist/core/{Glow-C3VfGUb6.js → Glow-wdFqXqWh.js} +11 -20
- package/dist/core/{Godrays-pfr82Onh.js → Godrays-CQ7Gpeni.js} +68 -179
- package/dist/core/{Goo-BPaUKk1S.js → Goo-nc_51UOr.js} +92 -323
- package/dist/core/{GradientMap-DQ4IbzIx.js → GradientMap-BU9r1enO.js} +61 -141
- package/dist/core/{Grayscale-Bpp1Q2KT.js → Grayscale-CGtMggTH.js} +13 -25
- package/dist/core/{Grid-CQRC0rPf.js → Grid-BFx6ufzG.js} +51 -122
- package/dist/core/{GridDistortion-CAKSKhII.js → GridDistortion-B-Hq3rLo.js} +80 -195
- package/dist/core/{Group-UvbIuzy-.js → Group-DnA_clLB.js} +1 -1
- package/dist/core/{HTMLInCanvas-CMxSuq5H.js → HTMLInCanvas-DhCIQ97w.js} +2 -2
- package/dist/core/{Halftone-SiFx0wAg.js → Halftone-eX0AaYyB.js} +114 -283
- package/dist/core/{Heart-DLQnxsbQ.js → Heart-98zfiijj.js} +14 -23
- package/dist/core/{Heatmap-DhvtrL45.js → Heatmap-BCV4Pq0O.js} +92 -271
- package/dist/core/{HexGrid-DsEQNWJB.js → HexGrid-BlRlo8z4.js} +46 -117
- package/dist/core/{Hologram-DR88qD5X.js → Hologram-B5iMaK95.js} +87 -258
- package/dist/core/{Holographic-DKc_nNnT.js → Holographic-DBdODPjj.js} +99 -333
- package/dist/core/{HueShift-B7l4vcZP.js → HueShift-AsoQKt_z.js} +16 -33
- package/dist/core/{ImageTexture-D41xKACO.js → ImageTexture-CRL52DxI.js} +3 -3
- package/dist/core/{InkFlow-Bd4RXQmm.js → InkFlow-JMUVdkv1.js} +60 -148
- package/dist/core/{Invert-CEfJB0WN.js → Invert-BWV7zcBe.js} +7 -12
- package/dist/core/{IrisWipe-O6dc-Aq2.js → IrisWipe-5LICL9Oq.js} +14 -23
- package/dist/core/{IsometricCubes-BBK6Ec0q.js → IsometricCubes-DGFF6e8t.js} +61 -180
- package/dist/core/{Kaleidoscope-DQFV4-lX.js → Kaleidoscope-B7F2_L9x.js} +28 -69
- package/dist/core/{KeyFrames-BjH6gHSf.js → KeyFrames-CVH9NNY6.js} +298 -1172
- package/dist/core/{LensDistortion-BcodYk7_.js → LensDistortion-_QcaFbkh.js} +3 -3
- package/dist/core/{LensFlare-DLjQYsbx.js → LensFlare-h0EG0UVt.js} +119 -396
- package/dist/core/{LightEdge-CF0k0vMa.js → LightEdge-DO7stYlD.js} +169 -491
- package/dist/core/{LightLeak-Bu6xFjg-.js → LightLeak-BxqXrUyh.js} +80 -268
- package/dist/core/{Line-CRGYWOyW.js → Line-BtfkwqKJ.js} +79 -315
- package/dist/core/{LinearBlur-DGfbbIWb.js → LinearBlur-D0_W0tKF.js} +17 -33
- package/dist/core/{LinearGradient--54vTgc2.js → LinearGradient-BiATK9p7.js} +63 -145
- package/dist/core/{LinearWipe-0nTDgTcZ.js → LinearWipe-B1GFY0IT.js} +14 -23
- package/dist/core/{LiquidMetal-Bhenyeg-.js → LiquidMetal-07eJWR7z.js} +106 -341
- package/dist/core/{Liquify-Bg2tEc64.js → Liquify-CfPGxRC3.js} +72 -194
- package/dist/core/{MagneticFilings-Bn5DZWor.js → MagneticFilings-5iGBn4fr.js} +191 -545
- package/dist/core/{Marble-DixQe_Tu.js → Marble-RK87t7fT.js} +30 -88
- package/dist/core/{MeshGradient-Ca3pe_wB.js → MeshGradient-DxUlAoDr.js} +127 -341
- package/dist/core/{Mirror-DObS_qYr.js → Mirror-Bn0fpWtr.js} +26 -67
- package/dist/core/{MultiPointGradient-CtFBgPK6.js → MultiPointGradient-C44VD_6j.js} +26 -50
- package/dist/core/{Neon-m8PtEGdE.js → Neon-aO0w94H6.js} +119 -337
- package/dist/core/{NoiseDissolve-CB-Xj99z.js → NoiseDissolve-BYyXZMjF.js} +23 -64
- package/dist/core/{ObjectTracker-DQbxNZtb.js → ObjectTracker-ZgeKRvaK.js} +5 -5
- package/dist/core/{PagePeel-DOapA4QF.js → PagePeel-DqrIEWWF.js} +67 -215
- package/dist/core/{Paper-CVx1rZ1-.js → Paper-q-nDnqsG.js} +19 -45
- package/dist/core/{Parallelogram-BUR2Mg0g.js → Parallelogram-Cppv2GJm.js} +14 -23
- package/dist/core/{ParticleField-rfpfY_wr.js → ParticleField-B-O9nxdw.js} +247 -765
- package/dist/core/{ParticleFlow-DnZTqxMa.js → ParticleFlow-DVgTyGq4.js} +283 -840
- package/dist/core/{Particles-wfjtqAvF.js → Particles-B49_QWS_.js} +381 -1131
- package/dist/core/{PerlinNoise-B3PkQS1F.js → PerlinNoise-CZVb7VEh.js} +17 -29
- package/dist/core/{Perspective-Bp1nozq3.js → Perspective-Bl3AmawJ.js} +27 -73
- package/dist/core/{PixelSort-DF5Mm0uT.js → PixelSort-7VoL4Ck8.js} +174 -500
- package/dist/core/{PixelThrow-ANJ0F294.js → PixelThrow-CPqOSAmc.js} +25 -56
- package/dist/core/{Pixelate-Bl29QKdg.js → Pixelate-jMtbtFMG.js} +35 -109
- package/dist/core/{Plasma-DdEQKNa7.js → Plasma-DbilAdXY.js} +23 -47
- package/dist/core/{Plastic-RGRWPbc0.js → Plastic-DX61wGBx.js} +125 -379
- package/dist/core/{PolarCoordinates-kNqucXuj.js → PolarCoordinates-KOCO2sd-.js} +19 -44
- package/dist/core/{Polygon-Cg1Yb-TF.js → Polygon-Citu4Kgl.js} +18 -36
- package/dist/core/{Posterize-Bjfq_Et8.js → Posterize-D2-WcAiP.js} +18 -45
- package/dist/core/{Prism-CGeOs8pX.js → Prism-DYPWHdaf.js} +52 -144
- package/dist/core/{ProgressiveBlur-DHvM4Y4m.js → ProgressiveBlur-CTxD1yoj.js} +87 -223
- package/dist/core/{RadialGradient-CiFbgiiX.js → RadialGradient-B6I7KijG.js} +30 -63
- package/dist/core/{RadialWipe-BRvtJQN-.js → RadialWipe-CtjMG_pj.js} +14 -23
- package/dist/core/{RandomBars-BFJiR8ml.js → RandomBars-C6ksDuSF.js} +21 -47
- package/dist/core/{ReactionDiffusion-COFwdqMo.js → ReactionDiffusion-BzipteCn.js} +274 -755
- package/dist/core/{RectangularCoordinates-s25JfGDt.js → RectangularCoordinates-CfdZ347a.js} +18 -39
- package/dist/core/{ReflectivePlane-DP8vG4-U.js → ReflectivePlane-Cpv1p9O3.js} +48 -109
- package/dist/core/{Repeater-B6_lpYav.js → Repeater-H17zapDG.js} +2 -2
- package/dist/core/{Ring-CEaC7ILp.js → Ring-CDpyGwQ6.js} +15 -31
- package/dist/core/{RippleWipe-UrrIoCor.js → RippleWipe-BqL3WbjT.js} +20 -41
- package/dist/core/{Ripples-Cdha1qtk.js → Ripples-OFXx87jz.js} +16 -31
- package/dist/core/{RoundedRect-CLsMHcTd.js → RoundedRect-CuFSyEfW.js} +14 -23
- package/dist/core/{Saturation-Bpjxowys.js → Saturation-DjHX8rx2.js} +18 -45
- package/dist/core/{Scratches-RZkkhOMp.js → Scratches-Glgspe1m.js} +16 -33
- package/dist/core/{Sharpness-fFikIkE3.js → Sharpness-CSOtgpDq.js} +19 -40
- package/dist/core/{Shatter-C_v-Y_F_.js → Shatter-ydD72wnA.js} +79 -199
- package/dist/core/{SimplexNoise-CD-iTgJm.js → SimplexNoise-hkOBRbAM.js} +19 -35
- package/dist/core/{SineWave-D4hvW_8O.js → SineWave-Bp_0CoHZ.js} +20 -42
- package/dist/core/{SliceWipe-pGIB0xIc.js → SliceWipe-B77JxKQI.js} +31 -86
- package/dist/core/{Smoke-NgL8_Wlw.js → Smoke-BMhBhfbI.js} +50 -142
- package/dist/core/{SmokeFill-Cd-U58Bx.js → SmokeFill-L_3k9mKj.js} +173 -497
- package/dist/core/{SmokeFlow-BhjNSfcC.js → SmokeFlow-BNzNH5BF.js} +41 -102
- package/dist/core/{Solarize-DD2cjiZ7.js → Solarize-C7kAzXW_.js} +20 -50
- package/dist/core/{SolidColor-CmSX4SHb.js → SolidColor-Bp_KSGbp.js} +1 -1
- package/dist/core/{Spherize-Cpbor3M3.js → Spherize-Bj2nPPwK.js} +43 -125
- package/dist/core/{Spiral-BLM63kmf.js → Spiral-D3pxBQUb.js} +46 -115
- package/dist/core/{Star-UzeNW_jo.js → Star-CEH9XN1n.js} +14 -23
- package/dist/core/{Stone-B6MARs4o.js → Stone-DwYVLkb6.js} +2 -2
- package/dist/core/{Strands-DR_owki5.js → Strands-C3KJK5qj.js} +73 -224
- package/dist/core/{Stretch-Zhc5gz72.js → Stretch-D4dxm3Eq.js} +25 -62
- package/dist/core/{Stripes-C_i7QbEn.js → Stripes-C189VJJp.js} +27 -46
- package/dist/core/{StudioBackground-CZipQCG_.js → StudioBackground-DBftmr1t.js} +63 -207
- package/dist/core/{SunBurst-BKj7bLZn.js → SunBurst-BWiu3_T9.js} +20 -43
- package/dist/core/{Surface3D-BlexrpDJ.js → Surface3D-BHj5scrr.js} +236 -806
- package/dist/core/{Swirl-CKMRfpSx.js → Swirl-CG20s_S3.js} +35 -126
- package/dist/core/{Teardrop-Dcfd14iX.js → Teardrop-CaZaZqiU.js} +14 -23
- package/dist/core/{Text-2KkuVHxV.js → Text-BbSkUuRh.js} +26 -64
- package/dist/core/{ThinFilm-B7CTONK1.js → ThinFilm-DT5F71JM.js} +77 -202
- package/dist/core/{TiltShift-Yfz7yOnT.js → TiltShift-Bkj3TL8G.js} +90 -238
- package/dist/core/{TimeTrail-3YRaIap8.js → TimeTrail-DNI1as8t.js} +173 -403
- package/dist/core/{Tint-6e9QqUg4.js → Tint-C9ivnlbq.js} +35 -89
- package/dist/core/{Trapezoid-CTww_GcP.js → Trapezoid-Ba413G93.js} +14 -23
- package/dist/core/{TriangularGrid-DfrUVI8m.js → TriangularGrid-Cq7BdUyV.js} +50 -126
- package/dist/core/{Tritone-DmtMlvKc.js → Tritone-C4qZhK3A.js} +17 -41
- package/dist/core/{Truchet-B3__IHji.js → Truchet-BXK_Ot95.js} +60 -152
- package/dist/core/{Twirl-ECiB1asy.js → Twirl-BZDpTksa.js} +18 -41
- package/dist/core/{VHS-BIaAlx98.js → VHS-Ge_vluLk.js} +97 -295
- package/dist/core/{VenetianBlinds-DWnvvXJC.js → VenetianBlinds-Dp92230V.js} +16 -28
- package/dist/core/{Vesica-iFL8Vjcf.js → Vesica-5kOz3lTP.js} +14 -23
- package/dist/core/{Vibrance-CDeIsI81.js → Vibrance-B0y3zjRl.js} +18 -45
- package/dist/core/{VideoTexture-UIOWDMK6.js → VideoTexture-COYSXvPe.js} +3 -3
- package/dist/core/{Vignette-F2HgCda5.js → Vignette-BD_9PM6J.js} +23 -56
- package/dist/core/{Voronoi-DsHYdzB3.js → Voronoi-DIpQvBqc.js} +21 -46
- package/dist/core/{Water-T5GXFBCm.js → Water-D6Y7PaqY.js} +179 -639
- package/dist/core/{Watercolor-yog8LZOs.js → Watercolor-gXjW0cmP.js} +59 -184
- package/dist/core/{WaveDistortion-BWVqDVI3.js → WaveDistortion-CFVOiujJ.js} +84 -178
- package/dist/core/{WaveletNoise-pL_M8jha.js → WaveletNoise-Bm_C1dRt.js} +15 -24
- package/dist/core/{Weave-kQlWbHa6.js → Weave-a9i8xeTZ.js} +34 -74
- package/dist/core/{WebcamTexture-Barzo30S.js → WebcamTexture-BFP7WQuM.js} +13 -22
- package/dist/core/{Wool-CYzG-VrW.js → Wool-BwM9vbek.js} +2 -2
- package/dist/core/{WorleyNoise-Cju8qU_5.js → WorleyNoise-DsKMQk7S.js} +30 -56
- package/dist/core/{ZoomBlur-DqJUm1uw.js → ZoomBlur-DiEaGrqE.js} +10 -19
- package/dist/core/{aa-zeNRf4Lz.js → aa-C759fSpb.js} +108 -277
- package/dist/core/{agents-C_kohsYu.js → agents-BrNOCcxk.js} +246 -298
- package/dist/core/{bevel-ogqjoZKV.js → bevel-1wa44FF7.js} +14 -34
- package/dist/core/{blur-CZuIxzX6.js → blur-fsxhpklK.js} +314 -925
- package/dist/core/{cells-C72CLFsJ.js → cells-CmYMp4aV.js} +92 -191
- package/dist/core/{cellular-qYnxKdPx.js → cellular-7Xgxfk7O.js} +134 -385
- package/dist/core/derivative-p1TouwZG.js +93 -0
- package/dist/core/{device-B0ZwBfOg.js → device-DWPzs8TD.js} +528 -778
- package/dist/core/{edges-CD7gCAto.js → edges-BvIjDyJK.js} +11467 -13731
- package/dist/core/{fields-DgMkoZ6o.js → fields-DORoQP7V.js} +96 -260
- package/dist/core/{geom-B_TNdMNk.js → geom-D1eEB6WE.js} +110 -219
- package/dist/core/{glass-D8xs_kIG.js → glass-DEHkelE5.js} +164 -391
- package/dist/core/index.js +253 -246
- package/dist/core/{lightfields-ffHoLyJn.js → lightfields-Btxs_pA3.js} +125 -320
- package/dist/core/{lighting-D3jc6qOc.js → lighting-CT_di0hW.js} +111 -248
- package/dist/core/{media-fQMXfvXd.js → media-B4AiE8Wu.js} +63 -141
- package/dist/core/{mediaLifecycle-yHZ8w5aj.js → mediaLifecycle-DHrjB2zB.js} +1 -1
- package/dist/core/{noise-DX5Y_I--.js → noise-Be9_Xz5F.js} +939 -2742
- package/dist/core/{noiseColor-DYhX5Js1.js → noiseColor-CCePJCFN.js} +3 -3
- package/dist/core/{noiseColor-DRDY44sf.js → noiseColor-D0SCfBYp.js} +2 -2
- package/dist/core/{noiseStylize-BZD5cOJl.js → noiseStylize-B7Mis4X3.js} +20 -35
- package/dist/core/{porters-DUtQounc.js → porters-BnG6v9YC.js} +762 -2282
- package/dist/core/{propConfigs-k3hs8KYL.js → propConfigs-CvzF7Ot8.js} +1 -1
- package/dist/core/registry.js +225 -224
- package/dist/core/{reveal-DhktaT1C.js → reveal-BPF3DkX1.js} +99 -258
- package/dist/core/{sdf3d-CP87OlsQ.js → sdf3d-OWBwV8hi.js} +931 -3004
- package/dist/core/shaderRegistry-CnWd3DKN.js +433 -0
- package/dist/core/shaders/AngularBlur/index.js +8 -8
- package/dist/core/shaders/Arc/index.js +7 -7
- package/dist/core/shaders/Ascii/index.js +9 -9
- package/dist/core/shaders/Aurora/index.js +11 -10
- package/dist/core/shaders/BarShift/index.js +8 -8
- package/dist/core/shaders/BarnDoors/index.js +9 -9
- package/dist/core/shaders/Beam/index.js +10 -10
- package/dist/core/shaders/Bend/index.js +8 -8
- package/dist/core/shaders/Blob/index.js +7 -7
- package/dist/core/shaders/BlockDissolve/index.js +11 -10
- package/dist/core/shaders/BlockNoise/index.js +15 -14
- package/dist/core/shaders/BlueNoise/index.js +15 -14
- package/dist/core/shaders/Blur/index.js +8 -8
- package/dist/core/shaders/Boids/index.js +11 -10
- package/dist/core/shaders/BokehBlur/index.js +9 -9
- package/dist/core/shaders/BrickPattern/index.js +12 -11
- package/dist/core/shaders/BrightnessContrast/index.js +7 -7
- package/dist/core/shaders/BrushedMetal/index.js +14 -13
- package/dist/core/shaders/Bulge/index.js +7 -7
- package/dist/core/shaders/CRTScreen/index.js +7 -7
- package/dist/core/shaders/CarbonFiber/index.js +14 -13
- package/dist/core/shaders/Chalkboard/index.js +9 -8
- package/dist/core/shaders/ChannelBlur/index.js +8 -8
- package/dist/core/shaders/CheckerWipe/index.js +9 -9
- package/dist/core/shaders/Checkerboard/index.js +10 -9
- package/dist/core/shaders/Chevron/index.js +10 -9
- package/dist/core/shaders/ChromaFlow/index.js +7 -7
- package/dist/core/shaders/ChromaticAberration/index.js +7 -7
- package/dist/core/shaders/Chrome/index.js +14 -13
- package/dist/core/shaders/Circle/index.js +7 -7
- package/dist/core/shaders/ColorWheel/index.js +9 -9
- package/dist/core/shaders/CompressionArtifacts/index.js +7 -7
- package/dist/core/shaders/ConcentricSpin/index.js +8 -8
- package/dist/core/shaders/ConicGradient/index.js +11 -11
- package/dist/core/shaders/ContourLines/index.js +9 -8
- package/dist/core/shaders/CornerPin/index.js +7 -7
- package/dist/core/shaders/Crescent/index.js +7 -7
- package/dist/core/shaders/Cross/index.js +7 -7
- package/dist/core/shaders/Crystal/index.js +13 -12
- package/dist/core/shaders/CurlNoise/index.js +15 -14
- package/dist/core/shaders/CursorRipples/index.js +8 -8
- package/dist/core/shaders/CursorTrail/index.js +8 -8
- package/dist/core/shaders/DataMosh/index.js +9 -8
- package/dist/core/shaders/DiamondGradient/index.js +11 -11
- package/dist/core/shaders/DiamondWipe/index.js +9 -9
- package/dist/core/shaders/DiffuseBlur/index.js +9 -8
- package/dist/core/shaders/DisplacementMap/index.js +8 -8
- package/dist/core/shaders/Dither/index.js +9 -8
- package/dist/core/shaders/DotGrid/index.js +12 -11
- package/dist/core/shaders/DropShadow/index.js +9 -9
- package/dist/core/shaders/Duotone/index.js +7 -7
- package/dist/core/shaders/Ellipse/index.js +7 -7
- package/dist/core/shaders/Emboss/index.js +9 -9
- package/dist/core/shaders/Engraving/index.js +10 -9
- package/dist/core/shaders/ErosionNoise/index.js +15 -14
- package/dist/core/shaders/Exposure/index.js +7 -7
- package/dist/core/shaders/FallingLines/index.js +10 -9
- package/dist/core/shaders/FilmGrain/index.js +9 -8
- package/dist/core/shaders/FilmStock/index.js +8 -8
- package/dist/core/shaders/Flip/index.js +7 -7
- package/dist/core/shaders/FloatingParticles/index.js +11 -10
- package/dist/core/shaders/FlowField/index.js +10 -9
- package/dist/core/shaders/Flower/index.js +7 -7
- package/dist/core/shaders/FlowingGradient/index.js +10 -9
- package/dist/core/shaders/FlutedGlass/index.js +8 -8
- package/dist/core/shaders/Fog/index.js +11 -10
- package/dist/core/shaders/Form3D/index.js +8 -8
- package/dist/core/shaders/FractalNoise/index.js +14 -13
- package/dist/core/shaders/Frost/index.js +13 -12
- package/dist/core/shaders/GaborNoise/index.js +15 -14
- package/dist/core/shaders/Glass/index.js +10 -10
- package/dist/core/shaders/GlassTiles/index.js +8 -8
- package/dist/core/shaders/Glitch/index.js +9 -8
- package/dist/core/shaders/Glow/index.js +8 -8
- package/dist/core/shaders/Godrays/index.js +12 -11
- package/dist/core/shaders/Goo/index.js +10 -10
- package/dist/core/shaders/GradientMap/index.js +8 -8
- package/dist/core/shaders/Grayscale/index.js +7 -7
- package/dist/core/shaders/Grid/index.js +12 -11
- package/dist/core/shaders/GridDistortion/index.js +7 -7
- package/dist/core/shaders/Group/index.js +7 -7
- package/dist/core/shaders/HTMLInCanvas/index.js +8 -8
- package/dist/core/shaders/Halftone/index.js +8 -8
- package/dist/core/shaders/Heart/index.js +7 -7
- package/dist/core/shaders/Heatmap/index.js +12 -11
- package/dist/core/shaders/HexGrid/index.js +12 -11
- package/dist/core/shaders/Hologram/index.js +12 -11
- package/dist/core/shaders/Holographic/index.js +13 -12
- package/dist/core/shaders/HueShift/index.js +8 -8
- package/dist/core/shaders/ImageTexture/index.js +7 -7
- package/dist/core/shaders/InkFlow/index.js +8 -8
- package/dist/core/shaders/Invert/index.js +7 -7
- package/dist/core/shaders/IrisWipe/index.js +9 -9
- package/dist/core/shaders/IsometricCubes/index.js +12 -11
- package/dist/core/shaders/Kaleidoscope/index.js +8 -8
- package/dist/core/shaders/KeyFrames/index.js +8 -8
- package/dist/core/shaders/LensDistortion/index.js +7 -7
- package/dist/core/shaders/LensFlare/index.js +11 -11
- package/dist/core/shaders/LightEdge/index.js +12 -11
- package/dist/core/shaders/LightLeak/index.js +12 -11
- package/dist/core/shaders/Line/index.js +7 -7
- package/dist/core/shaders/LinearBlur/index.js +9 -9
- package/dist/core/shaders/LinearGradient/index.js +9 -9
- package/dist/core/shaders/LinearWipe/index.js +9 -9
- package/dist/core/shaders/LiquidMetal/index.js +14 -13
- package/dist/core/shaders/Liquify/index.js +7 -7
- package/dist/core/shaders/MagneticFilings/index.js +11 -10
- package/dist/core/shaders/Marble/index.js +11 -10
- package/dist/core/shaders/MeshGradient/index.js +15 -14
- package/dist/core/shaders/Mirror/index.js +8 -8
- package/dist/core/shaders/MultiPointGradient/index.js +8 -8
- package/dist/core/shaders/Neon/index.js +7 -7
- package/dist/core/shaders/NoiseDissolve/index.js +11 -10
- package/dist/core/shaders/ObjectTracker/index.js +10 -10
- package/dist/core/shaders/PagePeel/index.js +8 -8
- package/dist/core/shaders/Paper/index.js +9 -8
- package/dist/core/shaders/Parallelogram/index.js +7 -7
- package/dist/core/shaders/ParticleField/index.js +11 -10
- package/dist/core/shaders/ParticleFlow/index.js +11 -10
- package/dist/core/shaders/Particles/index.js +12 -11
- package/dist/core/shaders/PerlinNoise/index.js +15 -14
- package/dist/core/shaders/Perspective/index.js +8 -8
- package/dist/core/shaders/PixelSort/index.js +9 -8
- package/dist/core/shaders/PixelThrow/index.js +7 -7
- package/dist/core/shaders/Pixelate/index.js +7 -7
- package/dist/core/shaders/Plasma/index.js +14 -13
- package/dist/core/shaders/Plastic/index.js +13 -12
- package/dist/core/shaders/PolarCoordinates/index.js +8 -8
- package/dist/core/shaders/Polygon/index.js +7 -7
- package/dist/core/shaders/Posterize/index.js +7 -7
- package/dist/core/shaders/Prism/index.js +7 -7
- package/dist/core/shaders/ProgressiveBlur/index.js +9 -9
- package/dist/core/shaders/RadialGradient/index.js +11 -11
- package/dist/core/shaders/RadialWipe/index.js +9 -9
- package/dist/core/shaders/RandomBars/index.js +11 -10
- package/dist/core/shaders/ReactionDiffusion/index.js +11 -10
- package/dist/core/shaders/RectangularCoordinates/index.js +8 -8
- package/dist/core/shaders/ReflectivePlane/index.js +8 -8
- package/dist/core/shaders/Repeater/index.js +7 -7
- package/dist/core/shaders/Ring/index.js +7 -7
- package/dist/core/shaders/RippleWipe/index.js +9 -9
- package/dist/core/shaders/Ripples/index.js +7 -7
- package/dist/core/shaders/RoundedRect/index.js +7 -7
- package/dist/core/shaders/Saturation/index.js +7 -7
- package/dist/core/shaders/Scratches/index.js +12 -11
- package/dist/core/shaders/Sharpness/index.js +7 -7
- package/dist/core/shaders/Shatter/index.js +7 -7
- package/dist/core/shaders/SimplexNoise/index.js +15 -14
- package/dist/core/shaders/SineWave/index.js +8 -8
- package/dist/core/shaders/SliceWipe/index.js +8 -8
- package/dist/core/shaders/Smoke/index.js +8 -8
- package/dist/core/shaders/SmokeFill/index.js +10 -10
- package/dist/core/shaders/SmokeFlow/index.js +8 -8
- package/dist/core/shaders/Solarize/index.js +7 -7
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +7 -7
- package/dist/core/shaders/Spiral/index.js +9 -8
- package/dist/core/shaders/Star/index.js +7 -7
- package/dist/core/shaders/Stone/index.js +6 -5
- package/dist/core/shaders/Strands/index.js +8 -8
- package/dist/core/shaders/Stretch/index.js +8 -8
- package/dist/core/shaders/Stripes/index.js +11 -10
- package/dist/core/shaders/StudioBackground/index.js +10 -10
- package/dist/core/shaders/SunBurst/index.js +10 -10
- package/dist/core/shaders/Surface3D/index.js +10 -9
- package/dist/core/shaders/Swirl/index.js +7 -7
- package/dist/core/shaders/Teardrop/index.js +7 -7
- package/dist/core/shaders/Text/index.js +11 -11
- package/dist/core/shaders/ThinFilm/index.js +9 -9
- package/dist/core/shaders/TiltShift/index.js +9 -9
- package/dist/core/shaders/TimeTrail/index.js +7 -7
- package/dist/core/shaders/Tint/index.js +7 -7
- package/dist/core/shaders/Trapezoid/index.js +7 -7
- package/dist/core/shaders/TriangularGrid/index.js +12 -11
- package/dist/core/shaders/Tritone/index.js +7 -7
- package/dist/core/shaders/Truchet/index.js +12 -11
- package/dist/core/shaders/Twirl/index.js +7 -7
- package/dist/core/shaders/VHS/index.js +9 -8
- package/dist/core/shaders/VenetianBlinds/index.js +9 -9
- package/dist/core/shaders/Vesica/index.js +7 -7
- package/dist/core/shaders/Vibrance/index.js +7 -7
- package/dist/core/shaders/VideoTexture/index.js +7 -7
- package/dist/core/shaders/Vignette/index.js +7 -7
- package/dist/core/shaders/Voronoi/index.js +12 -12
- package/dist/core/shaders/Water/index.js +13 -12
- package/dist/core/shaders/Watercolor/index.js +9 -8
- package/dist/core/shaders/WaveDistortion/index.js +8 -8
- package/dist/core/shaders/WaveletNoise/index.js +15 -14
- package/dist/core/shaders/Weave/index.js +12 -11
- package/dist/core/shaders/WebcamTexture/index.js +9 -9
- package/dist/core/shaders/Wool/index.js +6 -5
- package/dist/core/shaders/WorleyNoise/index.js +13 -13
- package/dist/core/shaders/ZoomBlur/index.js +8 -8
- package/dist/core/telemetry/index.js +1 -1
- package/dist/core/{tone-DPUvX6X0.js → tone-DgOOeWNY.js} +67 -137
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/js/bundle.js +202 -187
- package/dist/js/createShader.js +1 -1
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +198 -183
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/svelte/index.js +1 -1
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/package.json +2 -2
- package/dist/core/shaderRegistry-BIDNV71c.js +0 -433
- /package/dist/core/{canvasRaster-BB2bNhS7.js → canvasRaster-B41z007g.js} +0 -0
- /package/dist/core/{constants-DoOzbl5b.js → constants-BKlzQFdJ.js} +0 -0
- /package/dist/core/{fonts-DPf2-jCd.js → fonts-BMxmjoBM.js} +0 -0
- /package/dist/core/{pointer-DGDGF-yO.js → pointer-DKBz1Qcc.js} +0 -0
- /package/dist/core/{support-6QRFK3xB.js → support-DVuLvN48.js} +0 -0
- /package/dist/core/{transformations-B-zNWNdd.js → transformations-u-UZrXjj.js} +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { Dt as sin, Gt as textureStorage2d, H as mixColorsLinear, Kt as arrayOf, Lt as vec4f, Mt as vec2f, Pt as vec2u, U as mixColorsVariants, Vt as atomic, _t as max, ct as clamp, d as ZERO, dt as dot, et as typegpu_default, ft as exp, gt as length, it as abs, ln as u32, lt as cos, mt as floor, ot as atan2, qt as struct, rt as select, sn as f32 } from "./edges-BvIjDyJK.js";
|
|
2
|
+
import { c as resolveAgentShape, d as atomicStore, i as makeAgentTexelWeightFn, l as atomicAdd, o as orientedShapeOptions, t as AGENT_SHAPES, u as atomicLoad } from "./agents-BrNOCcxk.js";
|
|
3
|
+
import { R as textureStore } from "./device-DWPzs8TD.js";
|
|
4
|
+
import { i as PI$1, r as HALF_PI$1 } from "./constants-BKlzQFdJ.js";
|
|
5
|
+
import { _ as readAgentFrame, b as worldSplatWindow, f as SIZE_REF_RES, g as makeCpuValueGetter, m as energyCoverageAlpha, p as createAgentSystem, u as FIXED_POINT_GAINS, v as resolveRenderRes } from "./porters-BnG6v9YC.js";
|
|
6
|
+
import { l as hash22, o as hash11 } from "./noise-Be9_Xz5F.js";
|
|
7
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-u-UZrXjj.js";
|
|
7
8
|
var MAX_FILINGS = 12288;
|
|
8
9
|
var RES = resolveRenderRes({
|
|
9
10
|
desktop: 1024,
|
|
@@ -55,7 +56,7 @@ var SimParams = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(
|
|
|
55
56
|
jitter: f32,
|
|
56
57
|
bodyR: f32
|
|
57
58
|
}), "SimParams");
|
|
58
|
-
var simLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(
|
|
59
|
+
var simLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(typegpu_default.bindGroupLayout({
|
|
59
60
|
filings: {
|
|
60
61
|
storage: arrayOf(vec4f, MAX_FILINGS),
|
|
61
62
|
access: "mutable"
|
|
@@ -75,7 +76,7 @@ var simLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(
|
|
|
75
76
|
params: { uniform: SimParams },
|
|
76
77
|
outTex: { storageTexture: textureStorage2d(STATE_FORMAT, "write-only") }
|
|
77
78
|
}), "simLayout");
|
|
78
|
-
var homeFn =
|
|
79
|
+
var homeFn = typegpu_default.fn([
|
|
79
80
|
f32,
|
|
80
81
|
f32,
|
|
81
82
|
f32,
|
|
@@ -90,7 +91,7 @@ var homeFn = src_default.fn([
|
|
|
90
91
|
const jy = __tsover_mul(__tsover_sub(h.y, .5), jitter);
|
|
91
92
|
return vec2f(__tsover_sub(__tsover_mul(__tsover_add(__tsover_add(col, .5), jx), cellW), OVERSCAN), __tsover_sub(__tsover_mul(__tsover_add(__tsover_add(row, .5), jy), cellH), OVERSCAN));
|
|
92
93
|
}), {
|
|
93
|
-
v:
|
|
94
|
+
v: 2,
|
|
94
95
|
name: void 0,
|
|
95
96
|
ast: {
|
|
96
97
|
"params": [
|
|
@@ -121,22 +122,14 @@ var homeFn = src_default.fn([
|
|
|
121
122
|
"row",
|
|
122
123
|
[
|
|
123
124
|
6,
|
|
124
|
-
|
|
125
|
-
7,
|
|
126
|
-
"std",
|
|
127
|
-
"floor"
|
|
128
|
-
],
|
|
125
|
+
"std.floor",
|
|
129
126
|
[[
|
|
130
127
|
1,
|
|
131
128
|
"fi",
|
|
132
129
|
"/",
|
|
133
130
|
[
|
|
134
131
|
6,
|
|
135
|
-
|
|
136
|
-
7,
|
|
137
|
-
"std",
|
|
138
|
-
"max"
|
|
139
|
-
],
|
|
132
|
+
"std.max",
|
|
140
133
|
["cols", [5, "1"]]
|
|
141
134
|
]
|
|
142
135
|
]]
|
|
@@ -155,11 +148,7 @@ var homeFn = src_default.fn([
|
|
|
155
148
|
"*",
|
|
156
149
|
[
|
|
157
150
|
6,
|
|
158
|
-
|
|
159
|
-
7,
|
|
160
|
-
"std",
|
|
161
|
-
"max"
|
|
162
|
-
],
|
|
151
|
+
"std.max",
|
|
163
152
|
["cols", [5, "1"]]
|
|
164
153
|
]
|
|
165
154
|
]
|
|
@@ -170,18 +159,10 @@ var homeFn = src_default.fn([
|
|
|
170
159
|
"h",
|
|
171
160
|
[
|
|
172
161
|
6,
|
|
173
|
-
|
|
174
|
-
7,
|
|
175
|
-
"noise",
|
|
176
|
-
"hash22"
|
|
177
|
-
],
|
|
162
|
+
"noise.hash22",
|
|
178
163
|
[[
|
|
179
164
|
6,
|
|
180
|
-
|
|
181
|
-
7,
|
|
182
|
-
"d",
|
|
183
|
-
"vec2f"
|
|
184
|
-
],
|
|
165
|
+
"d.vec2f",
|
|
185
166
|
[[
|
|
186
167
|
1,
|
|
187
168
|
[
|
|
@@ -246,11 +227,7 @@ var homeFn = src_default.fn([
|
|
|
246
227
|
],
|
|
247
228
|
[10, [
|
|
248
229
|
6,
|
|
249
|
-
|
|
250
|
-
7,
|
|
251
|
-
"d",
|
|
252
|
-
"vec2f"
|
|
253
|
-
],
|
|
230
|
+
"d.vec2f",
|
|
254
231
|
[[
|
|
255
232
|
1,
|
|
256
233
|
[
|
|
@@ -293,26 +270,21 @@ var homeFn = src_default.fn([
|
|
|
293
270
|
"OVERSCAN"
|
|
294
271
|
]]
|
|
295
272
|
]]
|
|
296
|
-
]]
|
|
297
|
-
"externalNames": [
|
|
298
|
-
"std",
|
|
299
|
-
"noise",
|
|
300
|
-
"d",
|
|
301
|
-
"OVERSCAN"
|
|
302
|
-
]
|
|
273
|
+
]]
|
|
303
274
|
},
|
|
304
|
-
externals:
|
|
305
|
-
std:
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
275
|
+
externals: {
|
|
276
|
+
"std.floor": () => floor,
|
|
277
|
+
"std.max": () => max,
|
|
278
|
+
"noise.hash22": () => hash22,
|
|
279
|
+
"d.vec2f": () => vec2f,
|
|
280
|
+
"OVERSCAN": () => OVERSCAN
|
|
281
|
+
}
|
|
310
282
|
}) && $.f)({})).$name("filingsHome");
|
|
311
|
-
var restAngleFn =
|
|
283
|
+
var restAngleFn = typegpu_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((fi, restMode) => {
|
|
312
284
|
"use gpu";
|
|
313
285
|
return select(select(__tsover_mul(hash11(__tsover_add(__tsover_mul(fi, 2.3987), .517)), PI), f32(0), restMode > .5), HALF_PI, restMode > 1.5);
|
|
314
286
|
}), {
|
|
315
|
-
v:
|
|
287
|
+
v: 2,
|
|
316
288
|
name: void 0,
|
|
317
289
|
ast: {
|
|
318
290
|
"params": [{
|
|
@@ -330,11 +302,7 @@ var restAngleFn = src_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globa
|
|
|
330
302
|
1,
|
|
331
303
|
[
|
|
332
304
|
6,
|
|
333
|
-
|
|
334
|
-
7,
|
|
335
|
-
"noise",
|
|
336
|
-
"hash11"
|
|
337
|
-
],
|
|
305
|
+
"noise.hash11",
|
|
338
306
|
[[
|
|
339
307
|
1,
|
|
340
308
|
[
|
|
@@ -356,20 +324,12 @@ var restAngleFn = src_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globa
|
|
|
356
324
|
"a",
|
|
357
325
|
[
|
|
358
326
|
6,
|
|
359
|
-
|
|
360
|
-
7,
|
|
361
|
-
"std",
|
|
362
|
-
"select"
|
|
363
|
-
],
|
|
327
|
+
"std.select",
|
|
364
328
|
[
|
|
365
329
|
"randAng",
|
|
366
330
|
[
|
|
367
331
|
6,
|
|
368
|
-
|
|
369
|
-
7,
|
|
370
|
-
"d",
|
|
371
|
-
"f32"
|
|
372
|
-
],
|
|
332
|
+
"d.f32",
|
|
373
333
|
[[5, "0"]]
|
|
374
334
|
],
|
|
375
335
|
[
|
|
@@ -383,11 +343,7 @@ var restAngleFn = src_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globa
|
|
|
383
343
|
],
|
|
384
344
|
[10, [
|
|
385
345
|
6,
|
|
386
|
-
|
|
387
|
-
7,
|
|
388
|
-
"std",
|
|
389
|
-
"select"
|
|
390
|
-
],
|
|
346
|
+
"std.select",
|
|
391
347
|
[
|
|
392
348
|
"a",
|
|
393
349
|
"HALF_PI",
|
|
@@ -399,31 +355,24 @@ var restAngleFn = src_default.fn([f32, f32], f32)(/* @__PURE__ */ (($) => (globa
|
|
|
399
355
|
]
|
|
400
356
|
]
|
|
401
357
|
]]
|
|
402
|
-
]]
|
|
403
|
-
"externalNames": [
|
|
404
|
-
"noise",
|
|
405
|
-
"PI",
|
|
406
|
-
"std",
|
|
407
|
-
"d",
|
|
408
|
-
"HALF_PI"
|
|
409
|
-
]
|
|
358
|
+
]]
|
|
410
359
|
},
|
|
411
|
-
externals:
|
|
412
|
-
noise:
|
|
413
|
-
PI,
|
|
414
|
-
std:
|
|
415
|
-
d:
|
|
416
|
-
HALF_PI
|
|
417
|
-
}
|
|
360
|
+
externals: {
|
|
361
|
+
"noise.hash11": () => hash11,
|
|
362
|
+
"PI": () => PI,
|
|
363
|
+
"std.select": () => select,
|
|
364
|
+
"d.f32": () => f32,
|
|
365
|
+
"HALF_PI": () => HALF_PI
|
|
366
|
+
}
|
|
418
367
|
}) && $.f)({})).$name("filingsRestAngle");
|
|
419
|
-
const filingsInitKernel =
|
|
368
|
+
const filingsInitKernel = typegpu_default.fn([u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((i) => {
|
|
420
369
|
"use gpu";
|
|
421
370
|
const fi = f32(i);
|
|
422
371
|
const theta0 = __tsover_mul(hash11(__tsover_add(__tsover_mul(fi, 1.618034), .31)), PI);
|
|
423
372
|
simLayout.$.filings[i] = vec4f(f32(0), f32(0), theta0, f32(0));
|
|
424
373
|
simLayout.$.agit[i] = f32(0);
|
|
425
374
|
}), {
|
|
426
|
-
v:
|
|
375
|
+
v: 2,
|
|
427
376
|
name: void 0,
|
|
428
377
|
ast: {
|
|
429
378
|
"params": [{
|
|
@@ -436,11 +385,7 @@ const filingsInitKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globalT
|
|
|
436
385
|
"fi",
|
|
437
386
|
[
|
|
438
387
|
6,
|
|
439
|
-
|
|
440
|
-
7,
|
|
441
|
-
"d",
|
|
442
|
-
"f32"
|
|
443
|
-
],
|
|
388
|
+
"d.f32",
|
|
444
389
|
["i"]
|
|
445
390
|
]
|
|
446
391
|
],
|
|
@@ -451,11 +396,7 @@ const filingsInitKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globalT
|
|
|
451
396
|
1,
|
|
452
397
|
[
|
|
453
398
|
6,
|
|
454
|
-
|
|
455
|
-
7,
|
|
456
|
-
"noise",
|
|
457
|
-
"hash11"
|
|
458
|
-
],
|
|
399
|
+
"noise.hash11",
|
|
459
400
|
[[
|
|
460
401
|
1,
|
|
461
402
|
[
|
|
@@ -490,38 +431,22 @@ const filingsInitKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globalT
|
|
|
490
431
|
"=",
|
|
491
432
|
[
|
|
492
433
|
6,
|
|
493
|
-
|
|
494
|
-
7,
|
|
495
|
-
"d",
|
|
496
|
-
"vec4f"
|
|
497
|
-
],
|
|
434
|
+
"d.vec4f",
|
|
498
435
|
[
|
|
499
436
|
[
|
|
500
437
|
6,
|
|
501
|
-
|
|
502
|
-
7,
|
|
503
|
-
"d",
|
|
504
|
-
"f32"
|
|
505
|
-
],
|
|
438
|
+
"d.f32",
|
|
506
439
|
[[5, "0"]]
|
|
507
440
|
],
|
|
508
441
|
[
|
|
509
442
|
6,
|
|
510
|
-
|
|
511
|
-
7,
|
|
512
|
-
"d",
|
|
513
|
-
"f32"
|
|
514
|
-
],
|
|
443
|
+
"d.f32",
|
|
515
444
|
[[5, "0"]]
|
|
516
445
|
],
|
|
517
446
|
"theta0",
|
|
518
447
|
[
|
|
519
448
|
6,
|
|
520
|
-
|
|
521
|
-
7,
|
|
522
|
-
"d",
|
|
523
|
-
"f32"
|
|
524
|
-
],
|
|
449
|
+
"d.f32",
|
|
525
450
|
[[5, "0"]]
|
|
526
451
|
]
|
|
527
452
|
]
|
|
@@ -545,28 +470,19 @@ const filingsInitKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globalT
|
|
|
545
470
|
"=",
|
|
546
471
|
[
|
|
547
472
|
6,
|
|
548
|
-
|
|
549
|
-
7,
|
|
550
|
-
"d",
|
|
551
|
-
"f32"
|
|
552
|
-
],
|
|
473
|
+
"d.f32",
|
|
553
474
|
[[5, "0"]]
|
|
554
475
|
]
|
|
555
476
|
]
|
|
556
|
-
]]
|
|
557
|
-
"externalNames": [
|
|
558
|
-
"d",
|
|
559
|
-
"noise",
|
|
560
|
-
"PI",
|
|
561
|
-
"simLayout"
|
|
562
|
-
]
|
|
477
|
+
]]
|
|
563
478
|
},
|
|
564
|
-
externals:
|
|
565
|
-
d:
|
|
566
|
-
noise:
|
|
567
|
-
PI,
|
|
568
|
-
simLayout
|
|
569
|
-
|
|
479
|
+
externals: {
|
|
480
|
+
"d.f32": () => f32,
|
|
481
|
+
"noise.hash11": () => hash11,
|
|
482
|
+
"PI": () => PI,
|
|
483
|
+
"simLayout": () => simLayout,
|
|
484
|
+
"d.vec4f": () => vec4f
|
|
485
|
+
}
|
|
570
486
|
}) && $.f)({})).$name("filingsInit");
|
|
571
487
|
function makeFilingsSplatKernel(shape) {
|
|
572
488
|
const name = resolveAgentShape(shape, "streak");
|
|
@@ -574,7 +490,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
574
490
|
const weightFn = makeAgentTexelWeightFn(name);
|
|
575
491
|
const EXT = s.ext;
|
|
576
492
|
const GAIN = s.soft ? SOFT_GAIN : HARD_GAIN;
|
|
577
|
-
const tnFn = !(s.kind === 0 && s.hl === 0) ?
|
|
493
|
+
const tnFn = !(s.kind === 0 && s.hl === 0) ? typegpu_default.fn([
|
|
578
494
|
f32,
|
|
579
495
|
f32,
|
|
580
496
|
vec2f
|
|
@@ -582,7 +498,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
582
498
|
"use gpu";
|
|
583
499
|
return vec2f(__tsover_add(__tsover_mul(ox, dir.x), __tsover_mul(oy, dir.y)), __tsover_add(__tsover_mul(ox, -dir.y), __tsover_mul(oy, dir.x)));
|
|
584
500
|
}), {
|
|
585
|
-
v:
|
|
501
|
+
v: 2,
|
|
586
502
|
name: void 0,
|
|
587
503
|
ast: {
|
|
588
504
|
"params": [
|
|
@@ -601,11 +517,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
601
517
|
],
|
|
602
518
|
"body": [0, [[10, [
|
|
603
519
|
6,
|
|
604
|
-
|
|
605
|
-
7,
|
|
606
|
-
"d",
|
|
607
|
-
"vec2f"
|
|
608
|
-
],
|
|
520
|
+
"d.vec2f",
|
|
609
521
|
[[
|
|
610
522
|
1,
|
|
611
523
|
[
|
|
@@ -657,11 +569,10 @@ function makeFilingsSplatKernel(shape) {
|
|
|
657
569
|
]
|
|
658
570
|
]
|
|
659
571
|
]]
|
|
660
|
-
]]]]
|
|
661
|
-
"externalNames": ["d"]
|
|
572
|
+
]]]]
|
|
662
573
|
},
|
|
663
|
-
externals: () =>
|
|
664
|
-
}) && $.f)({})).$name("filingsHeadingSpace") :
|
|
574
|
+
externals: { "d.vec2f": () => vec2f }
|
|
575
|
+
}) && $.f)({})).$name("filingsHeadingSpace") : typegpu_default.fn([
|
|
665
576
|
f32,
|
|
666
577
|
f32,
|
|
667
578
|
vec2f
|
|
@@ -669,7 +580,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
669
580
|
"use gpu";
|
|
670
581
|
return vec2f(ox, oy);
|
|
671
582
|
}), {
|
|
672
|
-
v:
|
|
583
|
+
v: 2,
|
|
673
584
|
name: void 0,
|
|
674
585
|
ast: {
|
|
675
586
|
"params": [
|
|
@@ -688,18 +599,13 @@ function makeFilingsSplatKernel(shape) {
|
|
|
688
599
|
],
|
|
689
600
|
"body": [0, [[10, [
|
|
690
601
|
6,
|
|
691
|
-
|
|
692
|
-
7,
|
|
693
|
-
"d",
|
|
694
|
-
"vec2f"
|
|
695
|
-
],
|
|
602
|
+
"d.vec2f",
|
|
696
603
|
["ox", "oy"]
|
|
697
|
-
]]]]
|
|
698
|
-
"externalNames": ["d"]
|
|
604
|
+
]]]]
|
|
699
605
|
},
|
|
700
|
-
externals: () =>
|
|
606
|
+
externals: { "d.vec2f": () => vec2f }
|
|
701
607
|
}) && $.f)({})).$name("filingsHeadingSpace");
|
|
702
|
-
return
|
|
608
|
+
return typegpu_default.fn([u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((i) => {
|
|
703
609
|
"use gpu";
|
|
704
610
|
const prm = simLayout.$.params;
|
|
705
611
|
const st = simLayout.$.filings[i];
|
|
@@ -732,7 +638,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
732
638
|
}
|
|
733
639
|
}
|
|
734
640
|
}), {
|
|
735
|
-
v:
|
|
641
|
+
v: 2,
|
|
736
642
|
name: void 0,
|
|
737
643
|
ast: {
|
|
738
644
|
"params": [{
|
|
@@ -779,11 +685,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
779
685
|
[
|
|
780
686
|
[
|
|
781
687
|
6,
|
|
782
|
-
|
|
783
|
-
7,
|
|
784
|
-
"d",
|
|
785
|
-
"f32"
|
|
786
|
-
],
|
|
688
|
+
"d.f32",
|
|
787
689
|
["i"]
|
|
788
690
|
],
|
|
789
691
|
[
|
|
@@ -814,11 +716,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
814
716
|
"pos",
|
|
815
717
|
[
|
|
816
718
|
6,
|
|
817
|
-
|
|
818
|
-
7,
|
|
819
|
-
"d",
|
|
820
|
-
"vec2f"
|
|
821
|
-
],
|
|
719
|
+
"d.vec2f",
|
|
822
720
|
[[
|
|
823
721
|
1,
|
|
824
722
|
[
|
|
@@ -862,26 +760,14 @@ function makeFilingsSplatKernel(shape) {
|
|
|
862
760
|
"dir",
|
|
863
761
|
[
|
|
864
762
|
6,
|
|
865
|
-
|
|
866
|
-
7,
|
|
867
|
-
"d",
|
|
868
|
-
"vec2f"
|
|
869
|
-
],
|
|
763
|
+
"d.vec2f",
|
|
870
764
|
[[
|
|
871
765
|
6,
|
|
872
|
-
|
|
873
|
-
7,
|
|
874
|
-
"std",
|
|
875
|
-
"cos"
|
|
876
|
-
],
|
|
766
|
+
"std.cos",
|
|
877
767
|
["theta"]
|
|
878
768
|
], [
|
|
879
769
|
6,
|
|
880
|
-
|
|
881
|
-
7,
|
|
882
|
-
"std",
|
|
883
|
-
"sin"
|
|
884
|
-
],
|
|
770
|
+
"std.sin",
|
|
885
771
|
["theta"]
|
|
886
772
|
]]
|
|
887
773
|
]
|
|
@@ -891,11 +777,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
891
777
|
"agitI",
|
|
892
778
|
[
|
|
893
779
|
6,
|
|
894
|
-
|
|
895
|
-
7,
|
|
896
|
-
"std",
|
|
897
|
-
"clamp"
|
|
898
|
-
],
|
|
780
|
+
"std.clamp",
|
|
899
781
|
[
|
|
900
782
|
[
|
|
901
783
|
8,
|
|
@@ -920,11 +802,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
920
802
|
"bodyR",
|
|
921
803
|
[
|
|
922
804
|
6,
|
|
923
|
-
|
|
924
|
-
7,
|
|
925
|
-
"std",
|
|
926
|
-
"clamp"
|
|
927
|
-
],
|
|
805
|
+
"std.clamp",
|
|
928
806
|
[
|
|
929
807
|
[
|
|
930
808
|
7,
|
|
@@ -936,11 +814,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
936
814
|
1,
|
|
937
815
|
[
|
|
938
816
|
6,
|
|
939
|
-
|
|
940
|
-
7,
|
|
941
|
-
"d",
|
|
942
|
-
"f32"
|
|
943
|
-
],
|
|
817
|
+
"d.f32",
|
|
944
818
|
["SPLAT_R"]
|
|
945
819
|
],
|
|
946
820
|
"*",
|
|
@@ -994,11 +868,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
994
868
|
"aspect",
|
|
995
869
|
[
|
|
996
870
|
6,
|
|
997
|
-
|
|
998
|
-
7,
|
|
999
|
-
"std",
|
|
1000
|
-
"max"
|
|
1001
|
-
],
|
|
871
|
+
"std.max",
|
|
1002
872
|
[[
|
|
1003
873
|
7,
|
|
1004
874
|
"prm",
|
|
@@ -1018,11 +888,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1018
888
|
"aspect",
|
|
1019
889
|
[
|
|
1020
890
|
6,
|
|
1021
|
-
|
|
1022
|
-
7,
|
|
1023
|
-
"d",
|
|
1024
|
-
"f32"
|
|
1025
|
-
],
|
|
891
|
+
"d.f32",
|
|
1026
892
|
["RES"]
|
|
1027
893
|
]
|
|
1028
894
|
]
|
|
@@ -1099,11 +965,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1099
965
|
1,
|
|
1100
966
|
[
|
|
1101
967
|
6,
|
|
1102
|
-
|
|
1103
|
-
7,
|
|
1104
|
-
"d",
|
|
1105
|
-
"f32"
|
|
1106
|
-
],
|
|
968
|
+
"d.f32",
|
|
1107
969
|
["py"]
|
|
1108
970
|
],
|
|
1109
971
|
"+",
|
|
@@ -1159,11 +1021,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1159
1021
|
1,
|
|
1160
1022
|
[
|
|
1161
1023
|
6,
|
|
1162
|
-
|
|
1163
|
-
7,
|
|
1164
|
-
"d",
|
|
1165
|
-
"f32"
|
|
1166
|
-
],
|
|
1024
|
+
"d.f32",
|
|
1167
1025
|
["px"]
|
|
1168
1026
|
],
|
|
1169
1027
|
"+",
|
|
@@ -1258,22 +1116,14 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1258
1116
|
"e",
|
|
1259
1117
|
[
|
|
1260
1118
|
6,
|
|
1261
|
-
|
|
1262
|
-
7,
|
|
1263
|
-
"d",
|
|
1264
|
-
"u32"
|
|
1265
|
-
],
|
|
1119
|
+
"d.u32",
|
|
1266
1120
|
[[
|
|
1267
1121
|
1,
|
|
1268
1122
|
"w",
|
|
1269
1123
|
"*",
|
|
1270
1124
|
[
|
|
1271
1125
|
6,
|
|
1272
|
-
|
|
1273
|
-
7,
|
|
1274
|
-
"d",
|
|
1275
|
-
"f32"
|
|
1276
|
-
],
|
|
1126
|
+
"d.f32",
|
|
1277
1127
|
["GAIN"]
|
|
1278
1128
|
]
|
|
1279
1129
|
]]
|
|
@@ -1287,11 +1137,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1287
1137
|
">",
|
|
1288
1138
|
[
|
|
1289
1139
|
6,
|
|
1290
|
-
|
|
1291
|
-
7,
|
|
1292
|
-
"d",
|
|
1293
|
-
"u32"
|
|
1294
|
-
],
|
|
1140
|
+
"d.u32",
|
|
1295
1141
|
[[5, "0"]]
|
|
1296
1142
|
]
|
|
1297
1143
|
],
|
|
@@ -1301,11 +1147,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1301
1147
|
"idx",
|
|
1302
1148
|
[
|
|
1303
1149
|
6,
|
|
1304
|
-
|
|
1305
|
-
7,
|
|
1306
|
-
"d",
|
|
1307
|
-
"u32"
|
|
1308
|
-
],
|
|
1150
|
+
"d.u32",
|
|
1309
1151
|
[[
|
|
1310
1152
|
1,
|
|
1311
1153
|
[
|
|
@@ -1321,11 +1163,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1321
1163
|
],
|
|
1322
1164
|
[
|
|
1323
1165
|
6,
|
|
1324
|
-
|
|
1325
|
-
7,
|
|
1326
|
-
"std",
|
|
1327
|
-
"atomicAdd"
|
|
1328
|
-
],
|
|
1166
|
+
"std.atomicAdd",
|
|
1329
1167
|
[[
|
|
1330
1168
|
8,
|
|
1331
1169
|
[
|
|
@@ -1350,11 +1188,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1350
1188
|
],
|
|
1351
1189
|
[0, [[
|
|
1352
1190
|
6,
|
|
1353
|
-
|
|
1354
|
-
7,
|
|
1355
|
-
"std",
|
|
1356
|
-
"atomicAdd"
|
|
1357
|
-
],
|
|
1191
|
+
"std.atomicAdd",
|
|
1358
1192
|
[[
|
|
1359
1193
|
8,
|
|
1360
1194
|
[
|
|
@@ -1369,11 +1203,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1369
1203
|
"idx"
|
|
1370
1204
|
], [
|
|
1371
1205
|
6,
|
|
1372
|
-
|
|
1373
|
-
7,
|
|
1374
|
-
"d",
|
|
1375
|
-
"u32"
|
|
1376
|
-
],
|
|
1206
|
+
"d.u32",
|
|
1377
1207
|
[[
|
|
1378
1208
|
1,
|
|
1379
1209
|
[
|
|
@@ -1385,11 +1215,7 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1385
1215
|
"*",
|
|
1386
1216
|
[
|
|
1387
1217
|
6,
|
|
1388
|
-
|
|
1389
|
-
7,
|
|
1390
|
-
"d",
|
|
1391
|
-
"f32"
|
|
1392
|
-
],
|
|
1218
|
+
"d.f32",
|
|
1393
1219
|
["GAIN"]
|
|
1394
1220
|
]
|
|
1395
1221
|
]]
|
|
@@ -1404,44 +1230,35 @@ function makeFilingsSplatKernel(shape) {
|
|
|
1404
1230
|
]]]
|
|
1405
1231
|
]]]
|
|
1406
1232
|
]
|
|
1407
|
-
]]
|
|
1408
|
-
"externalNames": [
|
|
1409
|
-
"simLayout",
|
|
1410
|
-
"homeFn",
|
|
1411
|
-
"d",
|
|
1412
|
-
"std",
|
|
1413
|
-
"SPLAT_R",
|
|
1414
|
-
"INV_RES",
|
|
1415
|
-
"EXT",
|
|
1416
|
-
"AA_W",
|
|
1417
|
-
"worldSplatWindow",
|
|
1418
|
-
"RES",
|
|
1419
|
-
"tnFn",
|
|
1420
|
-
"weightFn",
|
|
1421
|
-
"GAIN"
|
|
1422
|
-
]
|
|
1233
|
+
]]
|
|
1423
1234
|
},
|
|
1424
|
-
externals:
|
|
1425
|
-
simLayout,
|
|
1426
|
-
homeFn,
|
|
1427
|
-
d:
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1235
|
+
externals: {
|
|
1236
|
+
"simLayout": () => simLayout,
|
|
1237
|
+
"homeFn": () => homeFn,
|
|
1238
|
+
"d.f32": () => f32,
|
|
1239
|
+
"d.vec2f": () => vec2f,
|
|
1240
|
+
"std.cos": () => cos,
|
|
1241
|
+
"std.sin": () => sin,
|
|
1242
|
+
"std.clamp": () => clamp,
|
|
1243
|
+
"SPLAT_R": () => SPLAT_R,
|
|
1244
|
+
"INV_RES": () => INV_RES,
|
|
1245
|
+
"EXT": () => EXT,
|
|
1246
|
+
"AA_W": () => AA_W,
|
|
1247
|
+
"std.max": () => max,
|
|
1248
|
+
"worldSplatWindow": () => worldSplatWindow,
|
|
1249
|
+
"RES": () => RES,
|
|
1250
|
+
"tnFn": () => tnFn,
|
|
1251
|
+
"weightFn": () => weightFn,
|
|
1252
|
+
"d.u32": () => u32,
|
|
1253
|
+
"GAIN": () => GAIN,
|
|
1254
|
+
"std.atomicAdd": () => atomicAdd
|
|
1255
|
+
}
|
|
1439
1256
|
}) && $.f)({})).$name("filingsSplat");
|
|
1440
1257
|
}
|
|
1441
1258
|
const filingsSplatKernel = makeFilingsSplatKernel("streak");
|
|
1442
1259
|
function makeFilingsResolveKernel(colorSpaceMode) {
|
|
1443
1260
|
const mixFn = mixColorsVariants[colorSpaceMode] ?? mixColorsLinear;
|
|
1444
|
-
return
|
|
1261
|
+
return typegpu_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((x, y) => {
|
|
1445
1262
|
"use gpu";
|
|
1446
1263
|
const prm = simLayout.$.params;
|
|
1447
1264
|
const idx = __tsover_add(__tsover_mul(y, u32(RES)), x);
|
|
@@ -1457,7 +1274,7 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1457
1274
|
textureStore(simLayout.$.outTex, vec2u(x, y), vec4f(col.x, col.y, col.z, a));
|
|
1458
1275
|
} else textureStore(simLayout.$.outTex, vec2u(x, y), vec4f(prm.colA.x, prm.colA.y, prm.colA.z, f32(0)));
|
|
1459
1276
|
}), {
|
|
1460
|
-
v:
|
|
1277
|
+
v: 2,
|
|
1461
1278
|
name: void 0,
|
|
1462
1279
|
ast: {
|
|
1463
1280
|
"params": [{
|
|
@@ -1492,11 +1309,7 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1492
1309
|
"*",
|
|
1493
1310
|
[
|
|
1494
1311
|
6,
|
|
1495
|
-
|
|
1496
|
-
7,
|
|
1497
|
-
"d",
|
|
1498
|
-
"u32"
|
|
1499
|
-
],
|
|
1312
|
+
"d.u32",
|
|
1500
1313
|
["RES"]
|
|
1501
1314
|
]
|
|
1502
1315
|
],
|
|
@@ -1509,18 +1322,10 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1509
1322
|
"eRaw",
|
|
1510
1323
|
[
|
|
1511
1324
|
6,
|
|
1512
|
-
|
|
1513
|
-
7,
|
|
1514
|
-
"d",
|
|
1515
|
-
"f32"
|
|
1516
|
-
],
|
|
1325
|
+
"d.f32",
|
|
1517
1326
|
[[
|
|
1518
1327
|
6,
|
|
1519
|
-
|
|
1520
|
-
7,
|
|
1521
|
-
"std",
|
|
1522
|
-
"atomicLoad"
|
|
1523
|
-
],
|
|
1328
|
+
"std.atomicLoad",
|
|
1524
1329
|
[[
|
|
1525
1330
|
8,
|
|
1526
1331
|
[
|
|
@@ -1542,18 +1347,10 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1542
1347
|
"sRaw",
|
|
1543
1348
|
[
|
|
1544
1349
|
6,
|
|
1545
|
-
|
|
1546
|
-
7,
|
|
1547
|
-
"d",
|
|
1548
|
-
"f32"
|
|
1549
|
-
],
|
|
1350
|
+
"d.f32",
|
|
1550
1351
|
[[
|
|
1551
1352
|
6,
|
|
1552
|
-
|
|
1553
|
-
7,
|
|
1554
|
-
"std",
|
|
1555
|
-
"atomicLoad"
|
|
1556
|
-
],
|
|
1353
|
+
"std.atomicLoad",
|
|
1557
1354
|
[[
|
|
1558
1355
|
8,
|
|
1559
1356
|
[
|
|
@@ -1572,11 +1369,7 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1572
1369
|
],
|
|
1573
1370
|
[
|
|
1574
1371
|
6,
|
|
1575
|
-
|
|
1576
|
-
7,
|
|
1577
|
-
"std",
|
|
1578
|
-
"atomicStore"
|
|
1579
|
-
],
|
|
1372
|
+
"std.atomicStore",
|
|
1580
1373
|
[[
|
|
1581
1374
|
8,
|
|
1582
1375
|
[
|
|
@@ -1591,21 +1384,13 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1591
1384
|
"idx"
|
|
1592
1385
|
], [
|
|
1593
1386
|
6,
|
|
1594
|
-
|
|
1595
|
-
7,
|
|
1596
|
-
"d",
|
|
1597
|
-
"u32"
|
|
1598
|
-
],
|
|
1387
|
+
"d.u32",
|
|
1599
1388
|
[[5, "0"]]
|
|
1600
1389
|
]]
|
|
1601
1390
|
],
|
|
1602
1391
|
[
|
|
1603
1392
|
6,
|
|
1604
|
-
|
|
1605
|
-
7,
|
|
1606
|
-
"std",
|
|
1607
|
-
"atomicStore"
|
|
1608
|
-
],
|
|
1393
|
+
"std.atomicStore",
|
|
1609
1394
|
[[
|
|
1610
1395
|
8,
|
|
1611
1396
|
[
|
|
@@ -1620,11 +1405,7 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1620
1405
|
"idx"
|
|
1621
1406
|
], [
|
|
1622
1407
|
6,
|
|
1623
|
-
|
|
1624
|
-
7,
|
|
1625
|
-
"d",
|
|
1626
|
-
"u32"
|
|
1627
|
-
],
|
|
1408
|
+
"d.u32",
|
|
1628
1409
|
[[5, "0"]]
|
|
1629
1410
|
]]
|
|
1630
1411
|
],
|
|
@@ -1661,11 +1442,7 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1661
1442
|
"/",
|
|
1662
1443
|
[
|
|
1663
1444
|
6,
|
|
1664
|
-
|
|
1665
|
-
7,
|
|
1666
|
-
"std",
|
|
1667
|
-
"max"
|
|
1668
|
-
],
|
|
1445
|
+
"std.max",
|
|
1669
1446
|
["eRaw", [5, "1"]]
|
|
1670
1447
|
]
|
|
1671
1448
|
]
|
|
@@ -1689,11 +1466,7 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1689
1466
|
],
|
|
1690
1467
|
[
|
|
1691
1468
|
6,
|
|
1692
|
-
|
|
1693
|
-
7,
|
|
1694
|
-
"std",
|
|
1695
|
-
"clamp"
|
|
1696
|
-
],
|
|
1469
|
+
"std.clamp",
|
|
1697
1470
|
[
|
|
1698
1471
|
"agitAvg",
|
|
1699
1472
|
[5, "0"],
|
|
@@ -1723,11 +1496,7 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1723
1496
|
],
|
|
1724
1497
|
[
|
|
1725
1498
|
6,
|
|
1726
|
-
|
|
1727
|
-
7,
|
|
1728
|
-
"std",
|
|
1729
|
-
"textureStore"
|
|
1730
|
-
],
|
|
1499
|
+
"std.textureStore",
|
|
1731
1500
|
[
|
|
1732
1501
|
[
|
|
1733
1502
|
7,
|
|
@@ -1740,20 +1509,12 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1740
1509
|
],
|
|
1741
1510
|
[
|
|
1742
1511
|
6,
|
|
1743
|
-
|
|
1744
|
-
7,
|
|
1745
|
-
"d",
|
|
1746
|
-
"vec2u"
|
|
1747
|
-
],
|
|
1512
|
+
"d.vec2u",
|
|
1748
1513
|
["x", "y"]
|
|
1749
1514
|
],
|
|
1750
1515
|
[
|
|
1751
1516
|
6,
|
|
1752
|
-
|
|
1753
|
-
7,
|
|
1754
|
-
"d",
|
|
1755
|
-
"vec4f"
|
|
1756
|
-
],
|
|
1517
|
+
"d.vec4f",
|
|
1757
1518
|
[
|
|
1758
1519
|
[
|
|
1759
1520
|
7,
|
|
@@ -1778,11 +1539,7 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1778
1539
|
]],
|
|
1779
1540
|
[0, [[
|
|
1780
1541
|
6,
|
|
1781
|
-
|
|
1782
|
-
7,
|
|
1783
|
-
"std",
|
|
1784
|
-
"textureStore"
|
|
1785
|
-
],
|
|
1542
|
+
"std.textureStore",
|
|
1786
1543
|
[
|
|
1787
1544
|
[
|
|
1788
1545
|
7,
|
|
@@ -1795,20 +1552,12 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1795
1552
|
],
|
|
1796
1553
|
[
|
|
1797
1554
|
6,
|
|
1798
|
-
|
|
1799
|
-
7,
|
|
1800
|
-
"d",
|
|
1801
|
-
"vec2u"
|
|
1802
|
-
],
|
|
1555
|
+
"d.vec2u",
|
|
1803
1556
|
["x", "y"]
|
|
1804
1557
|
],
|
|
1805
1558
|
[
|
|
1806
1559
|
6,
|
|
1807
|
-
|
|
1808
|
-
7,
|
|
1809
|
-
"d",
|
|
1810
|
-
"vec4f"
|
|
1811
|
-
],
|
|
1560
|
+
"d.vec4f",
|
|
1812
1561
|
[
|
|
1813
1562
|
[
|
|
1814
1563
|
7,
|
|
@@ -1839,11 +1588,7 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1839
1588
|
],
|
|
1840
1589
|
[
|
|
1841
1590
|
6,
|
|
1842
|
-
|
|
1843
|
-
7,
|
|
1844
|
-
"d",
|
|
1845
|
-
"f32"
|
|
1846
|
-
],
|
|
1591
|
+
"d.f32",
|
|
1847
1592
|
[[5, "0"]]
|
|
1848
1593
|
]
|
|
1849
1594
|
]
|
|
@@ -1851,28 +1596,27 @@ function makeFilingsResolveKernel(colorSpaceMode) {
|
|
|
1851
1596
|
]
|
|
1852
1597
|
]]]
|
|
1853
1598
|
]
|
|
1854
|
-
]]
|
|
1855
|
-
"externalNames": [
|
|
1856
|
-
"simLayout",
|
|
1857
|
-
"d",
|
|
1858
|
-
"RES",
|
|
1859
|
-
"std",
|
|
1860
|
-
"mixFn",
|
|
1861
|
-
"energyCoverageAlpha"
|
|
1862
|
-
]
|
|
1599
|
+
]]
|
|
1863
1600
|
},
|
|
1864
|
-
externals:
|
|
1865
|
-
simLayout,
|
|
1866
|
-
d:
|
|
1867
|
-
RES,
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1601
|
+
externals: {
|
|
1602
|
+
"simLayout": () => simLayout,
|
|
1603
|
+
"d.u32": () => u32,
|
|
1604
|
+
"RES": () => RES,
|
|
1605
|
+
"d.f32": () => f32,
|
|
1606
|
+
"std.atomicLoad": () => atomicLoad,
|
|
1607
|
+
"std.atomicStore": () => atomicStore,
|
|
1608
|
+
"std.max": () => max,
|
|
1609
|
+
"mixFn": () => mixFn,
|
|
1610
|
+
"std.clamp": () => clamp,
|
|
1611
|
+
"energyCoverageAlpha": () => energyCoverageAlpha,
|
|
1612
|
+
"std.textureStore": () => textureStore,
|
|
1613
|
+
"d.vec2u": () => vec2u,
|
|
1614
|
+
"d.vec4f": () => vec4f
|
|
1615
|
+
}
|
|
1872
1616
|
}) && $.f)({})).$name("filingsResolve");
|
|
1873
1617
|
}
|
|
1874
1618
|
const filingsResolveKernel = makeFilingsResolveKernel(2);
|
|
1875
|
-
const filingsUpdateKernel =
|
|
1619
|
+
const filingsUpdateKernel = typegpu_default.fn([u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((i) => {
|
|
1876
1620
|
"use gpu";
|
|
1877
1621
|
const prm = simLayout.$.params;
|
|
1878
1622
|
const st = simLayout.$.filings[i];
|
|
@@ -1908,7 +1652,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
1908
1652
|
off = select(off, off.div(max(offLen, 1e-5)).mul(MAX_OFFSET), offLen > MAX_OFFSET);
|
|
1909
1653
|
simLayout.$.filings[i] = vec4f(off.x, off.y, theta, omega);
|
|
1910
1654
|
}), {
|
|
1911
|
-
v:
|
|
1655
|
+
v: 2,
|
|
1912
1656
|
name: void 0,
|
|
1913
1657
|
ast: {
|
|
1914
1658
|
"params": [{
|
|
@@ -1951,11 +1695,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
1951
1695
|
"off",
|
|
1952
1696
|
[
|
|
1953
1697
|
6,
|
|
1954
|
-
|
|
1955
|
-
7,
|
|
1956
|
-
"d",
|
|
1957
|
-
"vec2f"
|
|
1958
|
-
],
|
|
1698
|
+
"d.vec2f",
|
|
1959
1699
|
[[
|
|
1960
1700
|
7,
|
|
1961
1701
|
"st",
|
|
@@ -1999,11 +1739,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
1999
1739
|
"fi",
|
|
2000
1740
|
[
|
|
2001
1741
|
6,
|
|
2002
|
-
|
|
2003
|
-
7,
|
|
2004
|
-
"d",
|
|
2005
|
-
"f32"
|
|
2006
|
-
],
|
|
1742
|
+
"d.f32",
|
|
2007
1743
|
["i"]
|
|
2008
1744
|
]
|
|
2009
1745
|
],
|
|
@@ -2043,11 +1779,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2043
1779
|
"pos",
|
|
2044
1780
|
[
|
|
2045
1781
|
6,
|
|
2046
|
-
|
|
2047
|
-
7,
|
|
2048
|
-
"d",
|
|
2049
|
-
"vec2f"
|
|
2050
|
-
],
|
|
1782
|
+
"d.vec2f",
|
|
2051
1783
|
[[
|
|
2052
1784
|
1,
|
|
2053
1785
|
[
|
|
@@ -2082,11 +1814,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2082
1814
|
"cursor",
|
|
2083
1815
|
[
|
|
2084
1816
|
6,
|
|
2085
|
-
|
|
2086
|
-
7,
|
|
2087
|
-
"d",
|
|
2088
|
-
"vec2f"
|
|
2089
|
-
],
|
|
1817
|
+
"d.vec2f",
|
|
2090
1818
|
[[
|
|
2091
1819
|
7,
|
|
2092
1820
|
"prm",
|
|
@@ -2116,18 +1844,10 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2116
1844
|
"r",
|
|
2117
1845
|
[
|
|
2118
1846
|
6,
|
|
2119
|
-
|
|
2120
|
-
7,
|
|
2121
|
-
"std",
|
|
2122
|
-
"max"
|
|
2123
|
-
],
|
|
1847
|
+
"std.max",
|
|
2124
1848
|
[[
|
|
2125
1849
|
6,
|
|
2126
|
-
|
|
2127
|
-
7,
|
|
2128
|
-
"std",
|
|
2129
|
-
"length"
|
|
2130
|
-
],
|
|
1850
|
+
"std.length",
|
|
2131
1851
|
["delta"]
|
|
2132
1852
|
], [5, "0.0001"]]
|
|
2133
1853
|
]
|
|
@@ -2150,11 +1870,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2150
1870
|
"axis",
|
|
2151
1871
|
[
|
|
2152
1872
|
6,
|
|
2153
|
-
|
|
2154
|
-
7,
|
|
2155
|
-
"d",
|
|
2156
|
-
"vec2f"
|
|
2157
|
-
],
|
|
1873
|
+
"d.vec2f",
|
|
2158
1874
|
[[
|
|
2159
1875
|
7,
|
|
2160
1876
|
"prm",
|
|
@@ -2171,11 +1887,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2171
1887
|
"mdotr",
|
|
2172
1888
|
[
|
|
2173
1889
|
6,
|
|
2174
|
-
|
|
2175
|
-
7,
|
|
2176
|
-
"std",
|
|
2177
|
-
"dot"
|
|
2178
|
-
],
|
|
1890
|
+
"std.dot",
|
|
2179
1891
|
["axis", "rhat"]
|
|
2180
1892
|
]
|
|
2181
1893
|
],
|
|
@@ -2210,11 +1922,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2210
1922
|
"B",
|
|
2211
1923
|
[
|
|
2212
1924
|
6,
|
|
2213
|
-
|
|
2214
|
-
7,
|
|
2215
|
-
"std",
|
|
2216
|
-
"select"
|
|
2217
|
-
],
|
|
1925
|
+
"std.select",
|
|
2218
1926
|
[
|
|
2219
1927
|
"dipoleB",
|
|
2220
1928
|
"rhat",
|
|
@@ -2244,11 +1952,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2244
1952
|
"*",
|
|
2245
1953
|
[
|
|
2246
1954
|
6,
|
|
2247
|
-
|
|
2248
|
-
7,
|
|
2249
|
-
"std",
|
|
2250
|
-
"exp"
|
|
2251
|
-
],
|
|
1955
|
+
"std.exp",
|
|
2252
1956
|
[[
|
|
2253
1957
|
1,
|
|
2254
1958
|
[
|
|
@@ -2262,11 +1966,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2262
1966
|
"/",
|
|
2263
1967
|
[
|
|
2264
1968
|
6,
|
|
2265
|
-
|
|
2266
|
-
7,
|
|
2267
|
-
"std",
|
|
2268
|
-
"max"
|
|
2269
|
-
],
|
|
1969
|
+
"std.max",
|
|
2270
1970
|
[[
|
|
2271
1971
|
7,
|
|
2272
1972
|
"prm",
|
|
@@ -2289,11 +1989,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2289
1989
|
"phiField",
|
|
2290
1990
|
[
|
|
2291
1991
|
6,
|
|
2292
|
-
|
|
2293
|
-
7,
|
|
2294
|
-
"std",
|
|
2295
|
-
"atan2"
|
|
2296
|
-
],
|
|
1992
|
+
"std.atan2",
|
|
2297
1993
|
[[
|
|
2298
1994
|
7,
|
|
2299
1995
|
"B",
|
|
@@ -2336,11 +2032,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2336
2032
|
"*",
|
|
2337
2033
|
[
|
|
2338
2034
|
6,
|
|
2339
|
-
|
|
2340
|
-
7,
|
|
2341
|
-
"std",
|
|
2342
|
-
"sin"
|
|
2343
|
-
],
|
|
2035
|
+
"std.sin",
|
|
2344
2036
|
[[
|
|
2345
2037
|
1,
|
|
2346
2038
|
[5, "2"],
|
|
@@ -2368,11 +2060,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2368
2060
|
"*",
|
|
2369
2061
|
[
|
|
2370
2062
|
6,
|
|
2371
|
-
|
|
2372
|
-
7,
|
|
2373
|
-
"std",
|
|
2374
|
-
"sin"
|
|
2375
|
-
],
|
|
2063
|
+
"std.sin",
|
|
2376
2064
|
[[
|
|
2377
2065
|
1,
|
|
2378
2066
|
[5, "2"],
|
|
@@ -2418,11 +2106,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2418
2106
|
"*",
|
|
2419
2107
|
[
|
|
2420
2108
|
6,
|
|
2421
|
-
|
|
2422
|
-
7,
|
|
2423
|
-
"std",
|
|
2424
|
-
"exp"
|
|
2425
|
-
],
|
|
2109
|
+
"std.exp",
|
|
2426
2110
|
[[
|
|
2427
2111
|
1,
|
|
2428
2112
|
[
|
|
@@ -2466,31 +2150,19 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2466
2150
|
"raw",
|
|
2467
2151
|
[
|
|
2468
2152
|
6,
|
|
2469
|
-
|
|
2470
|
-
7,
|
|
2471
|
-
"std",
|
|
2472
|
-
"clamp"
|
|
2473
|
-
],
|
|
2153
|
+
"std.clamp",
|
|
2474
2154
|
[
|
|
2475
2155
|
[
|
|
2476
2156
|
1,
|
|
2477
2157
|
[
|
|
2478
2158
|
6,
|
|
2479
|
-
|
|
2480
|
-
7,
|
|
2481
|
-
"std",
|
|
2482
|
-
"abs"
|
|
2483
|
-
],
|
|
2159
|
+
"std.abs",
|
|
2484
2160
|
["omega"]
|
|
2485
2161
|
],
|
|
2486
2162
|
"/",
|
|
2487
2163
|
[
|
|
2488
2164
|
6,
|
|
2489
|
-
|
|
2490
|
-
7,
|
|
2491
|
-
"std",
|
|
2492
|
-
"max"
|
|
2493
|
-
],
|
|
2165
|
+
"std.max",
|
|
2494
2166
|
[[
|
|
2495
2167
|
7,
|
|
2496
2168
|
"prm",
|
|
@@ -2524,11 +2196,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2524
2196
|
"*",
|
|
2525
2197
|
[
|
|
2526
2198
|
6,
|
|
2527
|
-
|
|
2528
|
-
7,
|
|
2529
|
-
"std",
|
|
2530
|
-
"exp"
|
|
2531
|
-
],
|
|
2199
|
+
"std.exp",
|
|
2532
2200
|
[[
|
|
2533
2201
|
1,
|
|
2534
2202
|
"dt",
|
|
@@ -2564,11 +2232,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2564
2232
|
"=",
|
|
2565
2233
|
[
|
|
2566
2234
|
6,
|
|
2567
|
-
|
|
2568
|
-
7,
|
|
2569
|
-
"std",
|
|
2570
|
-
"max"
|
|
2571
|
-
],
|
|
2235
|
+
"std.max",
|
|
2572
2236
|
["raw", "cooled"]
|
|
2573
2237
|
]
|
|
2574
2238
|
],
|
|
@@ -2638,11 +2302,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2638
2302
|
],
|
|
2639
2303
|
[[
|
|
2640
2304
|
6,
|
|
2641
|
-
|
|
2642
|
-
7,
|
|
2643
|
-
"std",
|
|
2644
|
-
"exp"
|
|
2645
|
-
],
|
|
2305
|
+
"std.exp",
|
|
2646
2306
|
[[
|
|
2647
2307
|
1,
|
|
2648
2308
|
[
|
|
@@ -2670,11 +2330,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2670
2330
|
"offLen",
|
|
2671
2331
|
[
|
|
2672
2332
|
6,
|
|
2673
|
-
|
|
2674
|
-
7,
|
|
2675
|
-
"std",
|
|
2676
|
-
"length"
|
|
2677
|
-
],
|
|
2333
|
+
"std.length",
|
|
2678
2334
|
["off"]
|
|
2679
2335
|
]
|
|
2680
2336
|
],
|
|
@@ -2684,11 +2340,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2684
2340
|
"=",
|
|
2685
2341
|
[
|
|
2686
2342
|
6,
|
|
2687
|
-
|
|
2688
|
-
7,
|
|
2689
|
-
"std",
|
|
2690
|
-
"select"
|
|
2691
|
-
],
|
|
2343
|
+
"std.select",
|
|
2692
2344
|
[
|
|
2693
2345
|
"off",
|
|
2694
2346
|
[
|
|
@@ -2704,11 +2356,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2704
2356
|
],
|
|
2705
2357
|
[[
|
|
2706
2358
|
6,
|
|
2707
|
-
|
|
2708
|
-
7,
|
|
2709
|
-
"std",
|
|
2710
|
-
"max"
|
|
2711
|
-
],
|
|
2359
|
+
"std.max",
|
|
2712
2360
|
["offLen", [5, "0.00001"]]
|
|
2713
2361
|
]]
|
|
2714
2362
|
],
|
|
@@ -2743,11 +2391,7 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2743
2391
|
"=",
|
|
2744
2392
|
[
|
|
2745
2393
|
6,
|
|
2746
|
-
|
|
2747
|
-
7,
|
|
2748
|
-
"d",
|
|
2749
|
-
"vec4f"
|
|
2750
|
-
],
|
|
2394
|
+
"d.vec4f",
|
|
2751
2395
|
[
|
|
2752
2396
|
[
|
|
2753
2397
|
7,
|
|
@@ -2764,24 +2408,26 @@ const filingsUpdateKernel = src_default.fn([u32])(/* @__PURE__ */ (($) => (globa
|
|
|
2764
2408
|
]
|
|
2765
2409
|
]
|
|
2766
2410
|
]
|
|
2767
|
-
]]
|
|
2768
|
-
"externalNames": [
|
|
2769
|
-
"simLayout",
|
|
2770
|
-
"d",
|
|
2771
|
-
"homeFn",
|
|
2772
|
-
"std",
|
|
2773
|
-
"restAngleFn",
|
|
2774
|
-
"MAX_OFFSET"
|
|
2775
|
-
]
|
|
2411
|
+
]]
|
|
2776
2412
|
},
|
|
2777
|
-
externals:
|
|
2778
|
-
simLayout,
|
|
2779
|
-
d:
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2413
|
+
externals: {
|
|
2414
|
+
"simLayout": () => simLayout,
|
|
2415
|
+
"d.vec2f": () => vec2f,
|
|
2416
|
+
"d.f32": () => f32,
|
|
2417
|
+
"homeFn": () => homeFn,
|
|
2418
|
+
"std.max": () => max,
|
|
2419
|
+
"std.length": () => length,
|
|
2420
|
+
"std.dot": () => dot,
|
|
2421
|
+
"std.select": () => select,
|
|
2422
|
+
"std.exp": () => exp,
|
|
2423
|
+
"std.atan2": () => atan2,
|
|
2424
|
+
"restAngleFn": () => restAngleFn,
|
|
2425
|
+
"std.sin": () => sin,
|
|
2426
|
+
"std.clamp": () => clamp,
|
|
2427
|
+
"std.abs": () => abs,
|
|
2428
|
+
"MAX_OFFSET": () => MAX_OFFSET,
|
|
2429
|
+
"d.vec4f": () => vec4f
|
|
2430
|
+
}
|
|
2785
2431
|
}) && $.f)({})).$name("filingsUpdate");
|
|
2786
2432
|
const componentDefinition = {
|
|
2787
2433
|
name: "MagneticFilings",
|