Live data from Hacker News

WebGPU-Based WiFi Simulator

wifi-solver.com

41–50 of 95 posts

Re: WebGPU-Based WiFi Simulator

#41
post #36

Earlier quoted context omitted.

By what metric? It's a gentoo deriviative with glibc, coreutils, etc.

A JavaScript userspace juggling Chrome instances.

...no, it isn't?

Even if you're claiming (incorrectly) that the window manager, etc. contain javascript, the same would apply to GNOME!

Re: WebGPU-Based WiFi Simulator

#42
This is exceptionally cool.

A while ago I was trying to find realistic examples of what WiFi "looks like", to try to get an intuitive sense of how it operated in a house or outside a building -- to what extent it spreads in the same way as a normal lightbulb, or to what extent its vastly larger wavelength complicated the picture.

At the time, literally the only visualization I was able to find was this artistic seemingly nonsense:

https://inspirationist.net/what-wifi-looks-like/

So I'm very happy to see this tool. I'd be even more curious to see a non-animated version that lets you drag your router around and see "illumination" of the overall signal to see how it changes, continuing to take into account how reflections confuse and degrade the usable signal, etc. Instead of the animation of slow wave propagation. Maybe that exists somewhere?

Re: WebGPU-Based WiFi Simulator

#43

This is exceptionally cool. A while ago I was trying to find realistic examples of what WiFi "looks like", to try to get an intuitive sense of how it operated in a house or outside a building -- to what extent it spreads in the same way as a normal lightbulb, or to what extent its vastly larger wavelength complicated the picture. At the time, literally the only visualization I was able to find was this artistic seemi…

Thanks! If you navigate to one of the example simulations, you'll be able to change the instantaneous field visualisation to one of time-averaged power density, which sounds closer to what you're looking for.

The cool thing about the speed of WebGPU is that you can drag things around and watch changes in real-time, even if you have to average lots of simulation steps per rendered frame.

Re: WebGPU-Based WiFi Simulator

#44

Cool visualization but it focuses so much on the ``'-.,_,.-'`waves`'-.,_,.='`` and not on the actual coverage pattern of 6-12.5cm waves, so not as actually useful for showing coverage as other tools, but fun as an art project. And of course, I can't mention that without shouting out projectM (open-source Milkdrop) that supports WebGL https://github.com/projectM-visualizer/projectm/blob/master/... and one of the OGs,…

Hey, if you click through to one of the example simulations you'll be able to change the visualization from waves to time-averaged power density, which should be closer to what you're looking for.

Re: WebGPU-Based WiFi Simulator

#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.

Re: WebGPU-Based WiFi Simulator

#47

This is exceptionally cool. A while ago I was trying to find realistic examples of what WiFi "looks like", to try to get an intuitive sense of how it operated in a house or outside a building -- to what extent it spreads in the same way as a normal lightbulb, or to what extent its vastly larger wavelength complicated the picture. At the time, literally the only visualization I was able to find was this artistic seemi…

Thanks! If you navigate to one of the example simulations, you'll be able to change the instantaneous field visualisation to one of time-averaged power density, which sounds closer to what you're looking for. The cool thing about the speed of WebGPU is that you can drag things around and watch changes in real-time, even if you have to average lots of simulation steps per rendered frame.

Ah yes, I've found it -- changing "Signal" from "EM field" to "Power". That is fascinating to look at.

Is there a way to move the router around to see how the field changes in response?

As far as I can tell you can do that in the paid version, and I totally understand gating that for people modeling their own home/office layout. But it would be pretty cool as a free educational demo if you could move the router in the otherwise fixed example.

Re: WebGPU-Based WiFi Simulator

#48
post #18
post #3

It's so frustrating that WebGPU support was released 1.5 years ago on Chrome, and yet is still unavailable on all other browsers. This is a real killer feature that will dramatically slow adoption of non-Chromium browsers, even with Google defanging ad blockers.

Especially frustrating in the case of Safari, which only needs to support one native API backend (Metal) on a pretty narrow set of hardware and drivers. Firefox has a much bigger task with needing to support everything, like Chrome, but with far less resources than Google or Apple can afford to throw at it.

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

Re: WebGPU-Based WiFi Simulator

#49
post #48
post #18

Earlier quoted context omitted.

Especially frustrating in the case of Safari, which only needs to support one native API backend (Metal) on a pretty narrow set of hardware and drivers. Firefox has a much bigger task with needing to support everything, like Chrome, but with far less resources than Google or Apple can afford to throw at it.

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...

Re: WebGPU-Based WiFi Simulator

#50
What are the system requirements to run this? Fairly 'standard' Linux system running Chrome here.

"Sorry, there was an error starting the simulation

Sorry, WebGPU is not supported on our device

WiFi Solver may not be compatible with your device."

Post reply on HN