Live data from Hacker News

WebGPU-Based WiFi Simulator

wifi-solver.com

61–70 of 95 posts

Re: WebGPU-Based WiFi Simulator

#62

When I run the Waveguide Simulator demo on my Alienware M15 Ryzen Ed. R5 (has a RTX 3070; Windows 11 Pro, Chrome v129), I hear a distinct high pitched flutter noise emanating from my laptop. I thought it was from the speakers, but no, with my volume down it was still present as long as the simulator was playing. Weird, but very cool demo (probably my hardware, never hear this during games or other WebGPU demos). The…

I get the same coil whine on my laptop (AMD Radeon Mobile GPU) whenever I run GPU heavy code.

Re: WebGPU-Based WiFi Simulator

#63

I have a Wifi 6E router, so I wonder if 6GHz vs 5 vs 2.4 acts noticeabley differently here? Is the overall shape the same or does the frequency make a big difference?

6 vs 5 is basically the same. 5 vs 2.4 should be quite a bit difference since absorption and reflection works differently.

Re: WebGPU-Based WiFi Simulator

#64
post #26

Earlier quoted context omitted.

I don't understand what other type of solution is there to render on a gpu other than a numeric one? Here is a very basic shader for what you want: float freq1 = 2.0; float freq2 = 3.0; float amp = 0.5; pos.z += sin(pos.x * freq1 + uTime) * amp; pos.z += cos(pos.y * freq2 + uTime) * amp; gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);

Did ChatGPT write that for you because it has missed the mark by 500 metres.

It's a sin + cos function.. you need an AI for that?

Re: WebGPU-Based WiFi Simulator

#66
post #46

Bugs: #1 if you spam the "add a new source" button you eventually get a JavaScript exception logged to the screen due to an array with a fixed max size of 128 elements overflowing. #2 this could be graphics card or driver specific (I have an AMD card), but scrolling just right can can break the simulation due the the text boxes; for example by quickly paging up and down, or scrolling all the way to the bottom and the…

I did get #2 on an Apple M1, so probably not video card specific.

Reproduced here on NVIDIA as well.

Re: WebGPU-Based WiFi Simulator

#67
post #49
post #48

Earlier quoted context omitted.

Its in technology preview, so likely to go GA at the next major OS cycle (1yish)

I'm not holding my breath, their WebGL2 support entered preview in early 2017 but didn't actually ship until late 2021...

And last I heard still has show-stopping performance bugs affecting eg Unity web target.

Re: WebGPU-Based WiFi Simulator

#70
I once wanted to make something similar, for sound. I wanted to create active noise cancelling "in the room", instead of via headphones. I pictured these devices combining a microphone and a speaker that you could set up in strategic location. After thinking about it for a bit, I realized that inference would cause areas with silence and others where the sound volume would be doubled. Less than ideal but still possibly interesting. But then I thought about it some more and realized that I needed to think in 3D, which makes the setup orders of magnitude more complex.

It seems like that would apply here as well, at least when looking at the effects of refraction?

Post reply on HN