4 ms·
Did you consider using WebGPU, or creating a bridge between WebGPU / WebGL for this? Also, have you considered deploying on Cloudflare Pages [1] (unlimited band
by gtb_1 1y ago
Did you consider using WebGPU, or creating a bridge between WebGPU / WebGL for this? Also, have you considered deploying on Cloudflare Pages [1] (unlimited bandwidth) instead of netlify?
[1] - https://pages.cloudflare.com/ https://pages.cloudflare.com/
- axelMI 1y agoI did consider WebGPU but I couldn't find many advantages for the current use case. Yes I'm planning to move to the edge as soon as it's in a later stage of development
- zorgmonkey 1y agoThe biggest difference for you is probably that WebGPU has compute shaders and WebGL does not, they are pretty nice if you want to implement more complex algorithms.
- axelMI 1y agoThat's true. But current shaders are very simple. The big issue I have with WebGPU is that it's still not supported by all browser (see Safari) while WebGL is nowadays everywhere. I work on a MacBook and I need to make sure that at least Safari (soooo many issues/ bugs/ specific behaviours it drives my crazy) works fine
- zorgmonkey 1y agoI don't have a mac, but my understanding is that Safari Technology Preview [0] has WebGPU support (might need a change a setting too). [0]: https://developer.apple.com/safari/technology-preview/ https://developer.apple.com/safari/technology-preview/
- titaphraz 1y agoApparently it isn't unlimited: https://news.ycombinator.com/item?id=42713451 https://news.ycombinator.com/item?id=42713451
- sam1r 1y agooh wow, i had no idea. thanks!