| ▲ | pier25 10 hours ago | ||||||||||||||||
Very cool. Shame there's not a webgl fallback though. It will be a couple of years until webgpu adoption is good enough. | |||||||||||||||||
| ▲ | johndough 9 hours ago | parent | next [-] | ||||||||||||||||
And even if WebGPU is enabled, the implementation might still be broken or inefficient in various ways. For example, Firefox uses some ridiculous polling-based approach [1] to check for completion, which disqualifies the implementation for many performance-critical applications. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1870699 And there is the issue of getting the browser to use the correct GPU in the first place, but that is a different can of worms. | |||||||||||||||||
| ▲ | m132 4 hours ago | parent | prev | next [-] | ||||||||||||||||
+1 Please support a fallback, ideally a 2D one too. WebGPU and WebGL are a privacy nightmare and the former is also highly experimental. I don't mind sub-60 FPS rendering, but I'd hate having to enable either of them just to see charts if websites were to adopt this library. The web is already bad requiring JavaScript to merely render text and images. Let's not make it any worse. | |||||||||||||||||
| ▲ | bhouston 10 hours ago | parent | prev | next [-] | ||||||||||||||||
You can also see extension support for webgpu via https://web3dsurvey.com/webgpu | |||||||||||||||||
| ▲ | sroussey 9 hours ago | parent | prev [-] | ||||||||||||||||
It’s available everywhere if you are on newest OS and newest browser. Biggest issue is MacOS users with newer Safari on older MacOS. | |||||||||||||||||
| |||||||||||||||||